1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/widget/qt/nsPrintDialogQt.cpp Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,43 @@ 1.4 +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- 1.5 + * 1.6 + * This Source Code Form is subject to the terms of the Mozilla Public 1.7 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.9 + 1.10 +#include "nsPrintSettingsQt.h" 1.11 +#include "nsPrintDialogQt.h" 1.12 + 1.13 +// For Qt, we only support printing to PDF, and that doesn't need a 1.14 +// print dialog at this point. So, this class's methods are left 1.15 +// un-implemented for now. 1.16 + 1.17 +NS_IMPL_ISUPPORTS(nsPrintDialogServiceQt, nsIPrintDialogService) 1.18 + 1.19 +nsPrintDialogServiceQt::nsPrintDialogServiceQt() 1.20 +{ 1.21 +} 1.22 + 1.23 +nsPrintDialogServiceQt::~nsPrintDialogServiceQt() 1.24 +{ 1.25 +} 1.26 + 1.27 +NS_IMETHODIMP 1.28 +nsPrintDialogServiceQt::Init() 1.29 +{ 1.30 + return NS_ERROR_NOT_IMPLEMENTED; 1.31 +} 1.32 + 1.33 +NS_IMETHODIMP 1.34 +nsPrintDialogServiceQt::Show(nsIDOMWindow* aParent, 1.35 + nsIPrintSettings* aSettings, 1.36 + nsIWebBrowserPrint* aWebBrowserPrint) 1.37 +{ 1.38 + return NS_ERROR_NOT_IMPLEMENTED; 1.39 +} 1.40 + 1.41 +NS_IMETHODIMP 1.42 +nsPrintDialogServiceQt::ShowPageSetup(nsIDOMWindow* aParent, 1.43 + nsIPrintSettings* aNSSettings) 1.44 +{ 1.45 + return NS_ERROR_NOT_IMPLEMENTED; 1.46 +}