diff options
Diffstat (limited to 'tdeprint/kprinter/printwrapper.cpp')
-rw-r--r-- | tdeprint/kprinter/printwrapper.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tdeprint/kprinter/printwrapper.cpp b/tdeprint/kprinter/printwrapper.cpp index 102951ffd..77f5012c8 100644 --- a/tdeprint/kprinter/printwrapper.cpp +++ b/tdeprint/kprinter/printwrapper.cpp @@ -35,7 +35,7 @@ #include <tdeapplication.h> #include <tdecmdlineargs.h> #include <tdelocale.h> -#include <kstandarddirs.h> +#include <tdestandarddirs.h> #include <tdeio/netaccess.h> #include <kurl.h> #include <kdebug.h> @@ -262,11 +262,11 @@ void PrintWrapper::slotPrint() dlg = KPrintDialog::printerDialog(&kprinter, 0); if (dlg) { - connect(dlg, TQT_SIGNAL(printRequested(KPrinter*)), TQT_SLOT(slotPrintRequested(KPrinter*))); + connect(dlg, TQ_SIGNAL(printRequested(KPrinter*)), TQ_SLOT(slotPrintRequested(KPrinter*))); if( check_stdin ) { - notif = new TQSocketNotifier( 0, TQSocketNotifier::Read, TQT_TQOBJECT(this) ); - connect( notif, TQT_SIGNAL( activated( int )), this, TQT_SLOT( slotGotStdin())); + notif = new TQSocketNotifier( 0, TQSocketNotifier::Read, this ); + connect( notif, TQ_SIGNAL( activated( int )), this, TQ_SLOT( slotGotStdin())); kdDebug( 500 ) << "waiting for input on stdin" << endl; } dlg->exec(); @@ -276,7 +276,7 @@ void PrintWrapper::slotPrint() errormsg(i18n("Unable to construct the print dialog.")); } - TQTimer::singleShot(10,kapp,TQT_SLOT(quit())); + TQTimer::singleShot(10,tdeApp,TQ_SLOT(quit())); } void hack( KPrintDialog* dlg ); @@ -395,7 +395,7 @@ void PrintWrapper::slotPrintRequested(KPrinter *kprinter) // if nobody complains. /*else { - QString msg = i18n("<nobr>File(s) sent to printer <b>%1</b>.</nobr>").arg(kprinter->printerName()); + TQString msg = i18n("<nobr>File(s) sent to printer <b>%1</b>.</nobr>").arg(kprinter->printerName()); showmsg(msg,0); }*/ } |