diff options
Diffstat (limited to 'kfaxview')
-rw-r--r-- | kfaxview/faxmultipage.cpp | 4 | ||||
-rw-r--r-- | kfaxview/faxmultipage.h | 2 | ||||
-rw-r--r-- | kfaxview/faxrenderer.cpp | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/kfaxview/faxmultipage.cpp b/kfaxview/faxmultipage.cpp index 2362d281..2f3fc5b4 100644 --- a/kfaxview/faxmultipage.cpp +++ b/kfaxview/faxmultipage.cpp @@ -31,9 +31,9 @@ typedef KParts::GenericFactory<FaxMultiPage> FaxMultiPageFactory; K_EXPORT_COMPONENT_FACTORY(kfaxviewpart, FaxMultiPageFactory) -FaxMultiPage::FaxMultiPage(TQWidget *tqparentWidget, const char *widgetName, TQObject *tqparent, +FaxMultiPage::FaxMultiPage(TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name, const TQStringList&) - : KMultiPage(tqparentWidget, widgetName, tqparent, name), faxRenderer(tqparentWidget) + : KMultiPage(parentWidget, widgetName, tqparent, name), faxRenderer(parentWidget) { /* This is kparts wizardry that cannot be understood by man. Simply change the names to match your implementation. */ diff --git a/kfaxview/faxmultipage.h b/kfaxview/faxmultipage.h index 71e24b72..b9e3219d 100644 --- a/kfaxview/faxmultipage.h +++ b/kfaxview/faxmultipage.h @@ -90,7 +90,7 @@ public: kmultipage. Please have a look at the constructor's source code to see how to adjust this for your implementation. */ - FaxMultiPage(TQWidget *tqparentWidget, const char *widgetName, TQObject *tqparent, + FaxMultiPage(TQWidget *parentWidget, const char *widgetName, TQObject *tqparent, const char *name, const TQStringList& args = TQStringList()); /** Destructor diff --git a/kfaxview/faxrenderer.cpp b/kfaxview/faxrenderer.cpp index ec21ca06..ee4c84a0 100644 --- a/kfaxview/faxrenderer.cpp +++ b/kfaxview/faxrenderer.cpp @@ -135,7 +135,7 @@ bool FaxRenderer::setFile(const TQString &fname, const KURL &) TQFileInfo fi(fname); TQString filename = fi.absFilePath(); if (!fi.exists() || fi.isDir()) { - KMessageBox::error( tqparentWidget, + KMessageBox::error( parentWidget, i18n("<qt><strong>File error.</strong> The specified file '%1' does not exist.</qt>").tqarg(filename), i18n("File Error")); // the return value 'false' indicates that this operation was not successful. @@ -156,11 +156,11 @@ bool FaxRenderer::setFile(const TQString &fname, const KURL &) // leaving an error message in fax.errorString(). We try to handle // this case gracefully. if (fax.errorString().isEmpty()) - KMessageBox::error( tqparentWidget, + KMessageBox::error( parentWidget, i18n("<qt><strong>File error.</strong> The specified file '%1' could not be loaded.</qt>").tqarg(filename), i18n("File Error")); else - KMessageBox::detailedError( tqparentWidget, + KMessageBox::detailedError( parentWidget, i18n("<qt><strong>File error.</strong> The specified file '%1' could not be loaded.</qt>").tqarg(filename), fax.errorString(), i18n("File Error")); |