summaryrefslogtreecommitdiffstats
path: root/tdeprint/kprinter
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/kprinter')
-rw-r--r--tdeprint/kprinter/main.cpp4
-rw-r--r--tdeprint/kprinter/printwrapper.cpp10
-rw-r--r--tdeprint/kprinter/printwrapper.h2
3 files changed, 8 insertions, 8 deletions
diff --git a/tdeprint/kprinter/main.cpp b/tdeprint/kprinter/main.cpp
index fd528b705..61ed345d1 100644
--- a/tdeprint/kprinter/main.cpp
+++ b/tdeprint/kprinter/main.cpp
@@ -42,14 +42,14 @@ static TDECmdLineOptions options[] =
TDECmdLineLastOption
};
-extern "C" int KDE_EXPORT kdemain(int argc, char *argv[])
+extern "C" int TDE_EXPORT kdemain(int argc, char *argv[])
{
TDECmdLineArgs::init(argc,argv,"kprinter",I18N_NOOP("KPrinter"),I18N_NOOP("A printer tool for TDE" ),"0.0.1");
TDECmdLineArgs::addCmdLineOptions(options);
TDEApplication app;
PrintWrapper *wrap = new PrintWrapper;
app.setMainWidget(wrap);
- TQTimer::singleShot(10,wrap,TQT_SLOT(slotPrint()));
+ TQTimer::singleShot(10,wrap,TQ_SLOT(slotPrint()));
int result = app.exec();
delete wrap;
diff --git a/tdeprint/kprinter/printwrapper.cpp b/tdeprint/kprinter/printwrapper.cpp
index 102951ffd..aed2065a1 100644
--- a/tdeprint/kprinter/printwrapper.cpp
+++ b/tdeprint/kprinter/printwrapper.cpp
@@ -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,kapp,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);
}*/
}
diff --git a/tdeprint/kprinter/printwrapper.h b/tdeprint/kprinter/printwrapper.h
index e34e8d964..734235252 100644
--- a/tdeprint/kprinter/printwrapper.h
+++ b/tdeprint/kprinter/printwrapper.h
@@ -28,7 +28,7 @@ class TQSocketNotifier;
class PrintWrapper : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
PrintWrapper();