widget/qt/nsPrintOptionsQt.cpp

branch
TOR_BUG_9701
changeset 10
ac0c01689b40
equal deleted inserted replaced
-1:000000000000 0:229f5fe23758
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2 *
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6 #include "nsPrintSettingsQt.h"
7 #include "nsPrintOptionsQt.h"
8
9 nsPrintOptionsQt::nsPrintOptionsQt()
10 {
11 }
12
13 nsPrintOptionsQt::~nsPrintOptionsQt()
14 {
15 }
16
17 nsresult nsPrintOptionsQt::_CreatePrintSettings(nsIPrintSettings** _retval)
18 {
19 nsPrintSettingsQt* printSettings =
20 new nsPrintSettingsQt(); // does not initially ref count
21 NS_ADDREF(*_retval = printSettings); // ref count
22 return NS_OK;
23 }

mercurial