diff options
author | Michele Calgaro <[email protected]> | 2025-01-14 15:08:54 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2025-02-03 21:34:30 +0900 |
commit | 834496cf73084adeb3959b6e2c11f104955bb69a (patch) | |
tree | 4e9221c9c4bcaa2c2681f3e255b0c771379c379c /tdeprint | |
parent | 1a5b54f42c0218aef7def4bc2d5cbcc0ed6cfadd (diff) | |
download | tdebase-834496cf73084adeb3959b6e2c11f104955bb69a.tar.gz tdebase-834496cf73084adeb3959b6e2c11f104955bb69a.zip |
Use tdeApp
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeprint')
-rw-r--r-- | tdeprint/kjobviewer/kjobviewer.cpp | 6 | ||||
-rw-r--r-- | tdeprint/kprinter/printwrapper.cpp | 2 | ||||
-rw-r--r-- | tdeprint/slave/tdeio_print.cpp | 4 | ||||
-rw-r--r-- | tdeprint/tdeprintfax/faxctrl.cpp | 2 | ||||
-rw-r--r-- | tdeprint/tdeprintfax/tdeprintfax.cpp | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/tdeprint/kjobviewer/kjobviewer.cpp b/tdeprint/kjobviewer/kjobviewer.cpp index 28d7e02f9..6e75ef474 100644 --- a/tdeprint/kjobviewer/kjobviewer.cpp +++ b/tdeprint/kjobviewer/kjobviewer.cpp @@ -39,7 +39,7 @@ class JobTray : public KSystemTray { public: JobTray(KJobViewerApp *parent, const char *name = 0) - : KSystemTray(0, name), m_app(parent) { connect( this, TQ_SIGNAL( quitSelected() ), kapp, TQ_SLOT( quit() ) ); } + : KSystemTray(0, name), m_app(parent) { connect( this, TQ_SIGNAL( quitSelected() ), tdeApp, TQ_SLOT( quit() ) ); } protected: void mousePressEvent(TQMouseEvent*); private: @@ -184,7 +184,7 @@ void KJobViewerApp::slotJobsShown(KMJobViewer *view, bool hasJobs) } else { TDEStartupInfo::appStarted(); - kapp->quit(); + tdeApp->quit(); } } @@ -230,7 +230,7 @@ void KJobViewerApp::slotViewerDestroyed(KMJobViewer *view) if (view) m_views.take(view->printer()); if (m_views.count() == 0) - kapp->quit(); + tdeApp->quit(); } #include "kjobviewer.moc" diff --git a/tdeprint/kprinter/printwrapper.cpp b/tdeprint/kprinter/printwrapper.cpp index aed2065a1..16adb438a 100644 --- a/tdeprint/kprinter/printwrapper.cpp +++ b/tdeprint/kprinter/printwrapper.cpp @@ -276,7 +276,7 @@ void PrintWrapper::slotPrint() errormsg(i18n("Unable to construct the print dialog.")); } - TQTimer::singleShot(10,kapp,TQ_SLOT(quit())); + TQTimer::singleShot(10,tdeApp,TQ_SLOT(quit())); } void hack( KPrintDialog* dlg ); diff --git a/tdeprint/slave/tdeio_print.cpp b/tdeprint/slave/tdeio_print.cpp index b98953627..9c9ecd1b1 100644 --- a/tdeprint/slave/tdeio_print.cpp +++ b/tdeprint/slave/tdeio_print.cpp @@ -459,7 +459,7 @@ bool TDEIO_Print::getDBFile( const KURL& src ) connect( job, TQ_SIGNAL( data( TDEIO::Job*, const TQByteArray& ) ), TQ_SLOT( slotData( TDEIO::Job*, const TQByteArray& ) ) ); connect( job, TQ_SIGNAL( totalSize( TDEIO::Job*, TDEIO::filesize_t ) ), TQ_SLOT( slotTotalSize( TDEIO::Job*, TDEIO::filesize_t ) ) ); connect( job, TQ_SIGNAL( processedSize( TDEIO::Job*, TDEIO::filesize_t ) ), TQ_SLOT( slotProcessedSize( TDEIO::Job*, TDEIO::filesize_t ) ) ); - kapp->enter_loop(); + tdeApp->enter_loop(); m_httpBuffer.close(); /* return the result */ @@ -510,7 +510,7 @@ void TDEIO_Print::slotResult( TDEIO::Job *j ) m_httpError = j->error(); m_httpErrorTxt = j->errorText(); } - kapp->exit_loop(); + tdeApp->exit_loop(); } void TDEIO_Print::slotData( TDEIO::Job *j, const TQByteArray& d ) diff --git a/tdeprint/tdeprintfax/faxctrl.cpp b/tdeprint/tdeprintfax/faxctrl.cpp index 1e256a538..d96f6c93c 100644 --- a/tdeprint/tdeprintfax/faxctrl.cpp +++ b/tdeprint/tdeprintfax/faxctrl.cpp @@ -486,7 +486,7 @@ void FaxCtrl::filter() } else { - TQString tmp = locateLocal("tmp","tdeprintfax_") + kapp->randomString(8); + TQString tmp = locateLocal("tmp","tdeprintfax_") + tdeApp->randomString(8); m_filteredfiles.prepend(tmp); m_tempfiles.append(tmp); m_process->clearArguments(); diff --git a/tdeprint/tdeprintfax/tdeprintfax.cpp b/tdeprint/tdeprintfax/tdeprintfax.cpp index 4538bc7ae..3511b2bae 100644 --- a/tdeprint/tdeprintfax/tdeprintfax.cpp +++ b/tdeprint/tdeprintfax/tdeprintfax.cpp @@ -178,7 +178,7 @@ KdeprintFax::KdeprintFax(TQWidget *parent, const char *name) updateState(); resize(550,500); - TQWidget *d = kapp->desktop(); + TQWidget *d = tdeApp->desktop(); move((d->width()-width())/2, (d->height()-height())/2); } |