summaryrefslogtreecommitdiffstats
path: root/tdeprint/kprinter
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-12 10:51:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-16 10:04:33 +0900
commit1c65be77cd84b454f3fe69f211849a712ad99ed0 (patch)
treef9309bc873f0f7838ee21373c32d5fd388da79d9 /tdeprint/kprinter
parent55ba7bff2cd71ef2582b43c336afc55325b48a60 (diff)
downloadtdebase-1c65be77cd84b454f3fe69f211849a712ad99ed0.tar.gz
tdebase-1c65be77cd84b454f3fe69f211849a712ad99ed0.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit a4241b7911d2e0b36edfb02f616b8b282050c0ec)
Diffstat (limited to 'tdeprint/kprinter')
-rw-r--r--tdeprint/kprinter/main.cpp2
-rw-r--r--tdeprint/kprinter/printwrapper.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/tdeprint/kprinter/main.cpp b/tdeprint/kprinter/main.cpp
index fd528b705..b9e04be1f 100644
--- a/tdeprint/kprinter/main.cpp
+++ b/tdeprint/kprinter/main.cpp
@@ -49,7 +49,7 @@ extern "C" int KDE_EXPORT kdemain(int argc, char *argv[])
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 0ee7c2352..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, this );
- connect( notif, TQT_SIGNAL( activated( int )), this, TQT_SLOT( slotGotStdin()));
+ 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 );