widget/qt/nsPrintDialogQt.cpp

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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/. */
     7 #include "nsPrintSettingsQt.h"
     8 #include "nsPrintDialogQt.h"
    10 // For Qt, we only support printing to PDF, and that doesn't need a
    11 // print dialog at this point.  So, this class's methods are left
    12 // un-implemented for now.
    14 NS_IMPL_ISUPPORTS(nsPrintDialogServiceQt, nsIPrintDialogService)
    16 nsPrintDialogServiceQt::nsPrintDialogServiceQt()
    17 {
    18 }
    20 nsPrintDialogServiceQt::~nsPrintDialogServiceQt()
    21 {
    22 }
    24 NS_IMETHODIMP
    25 nsPrintDialogServiceQt::Init()
    26 {
    27     return NS_ERROR_NOT_IMPLEMENTED;
    28 }
    30 NS_IMETHODIMP
    31 nsPrintDialogServiceQt::Show(nsIDOMWindow* aParent,
    32                              nsIPrintSettings* aSettings,
    33                              nsIWebBrowserPrint* aWebBrowserPrint)
    34 {
    35     return NS_ERROR_NOT_IMPLEMENTED;
    36 }
    38 NS_IMETHODIMP
    39 nsPrintDialogServiceQt::ShowPageSetup(nsIDOMWindow* aParent,
    40                                       nsIPrintSettings* aNSSettings)
    41 {
    42     return NS_ERROR_NOT_IMPLEMENTED;
    43 }

mercurial