1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
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"
9 nsPrintOptionsQt::nsPrintOptionsQt()
13 nsPrintOptionsQt::~nsPrintOptionsQt()
17 nsresult
nsPrintOptionsQt::_CreatePrintSettings(nsIPrintSettings
** _retval
)
19 nsPrintSettingsQt
* printSettings
=
20 new nsPrintSettingsQt(); // does not initially ref count
21 NS_ADDREF(*_retval
= printSettings
); // ref count