diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-13 23:01:29 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-01-15 16:22:14 +0900 |
commit | b71912fbcb90d5504aad9f17530c94169a661fed (patch) | |
tree | e9039e4a956fb8af5ba2878db5320236eb0f93b1 /tdeprint/management | |
parent | 8ee06ec529e375693eaefa6fb68dc496d36fd367 (diff) | |
download | tdelibs-b71912fbcb90d5504aad9f17530c94169a661fed.tar.gz tdelibs-b71912fbcb90d5504aad9f17530c94169a661fed.zip |
Rename TDEApplication::kApplication() to TDEApplication::tdeApplication() and kapp to tdeApp.rename/kapp-tdeapp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeprint/management')
-rw-r--r-- | tdeprint/management/kmdbcreator.cpp | 2 | ||||
-rw-r--r-- | tdeprint/management/kmdriverdb.cpp | 2 | ||||
-rw-r--r-- | tdeprint/management/kmjobviewer.cpp | 4 | ||||
-rw-r--r-- | tdeprint/management/kmwizard.cpp | 2 | ||||
-rw-r--r-- | tdeprint/management/kmwsocketutil.cpp | 2 | ||||
-rw-r--r-- | tdeprint/management/kxmlcommanddlg.cpp | 4 |
6 files changed, 8 insertions, 8 deletions
diff --git a/tdeprint/management/kmdbcreator.cpp b/tdeprint/management/kmdbcreator.cpp index 720b213a3..50020aec9 100644 --- a/tdeprint/management/kmdbcreator.cpp +++ b/tdeprint/management/kmdbcreator.cpp @@ -51,7 +51,7 @@ KMDBCreator::~KMDBCreator() bool KMDBCreator::checkDriverDB(const TQString& dirname, const TQDateTime& d) { // don't block GUI - kapp->processEvents(); + tdeApp->processEvents(); // first check current directory TQFileInfo dfi(dirname); diff --git a/tdeprint/management/kmdriverdb.cpp b/tdeprint/management/kmdriverdb.cpp index 80c44a5a8..11c717ff4 100644 --- a/tdeprint/management/kmdriverdb.cpp +++ b/tdeprint/management/kmdriverdb.cpp @@ -177,7 +177,7 @@ void KMDriverDB::insertEntry(KMDBEntry *entry) } // don't block GUI - kapp->processEvents(); + tdeApp->processEvents(); } /* diff --git a/tdeprint/management/kmjobviewer.cpp b/tdeprint/management/kmjobviewer.cpp index c64f765a8..5f0c6756b 100644 --- a/tdeprint/management/kmjobviewer.cpp +++ b/tdeprint/management/kmjobviewer.cpp @@ -324,7 +324,7 @@ void KMJobViewer::initActions() } else {// stand-alone application - KStdAction::quit(kapp,TQ_SLOT(quit()),actionCollection()); + KStdAction::quit(tdeApp,TQ_SLOT(quit()),actionCollection()); KStdAction::close(this,TQ_SLOT(slotClose()),actionCollection()); KStdAction::preferences(this, TQ_SLOT(slotConfigure()), actionCollection()); @@ -674,7 +674,7 @@ void KMJobViewer::reload() void KMJobViewer::closeEvent(TQCloseEvent *e) { - if (m_standalone && !kapp->sessionSaving()) + if (m_standalone && !tdeApp->sessionSaving()) { hide(); e->ignore(); diff --git a/tdeprint/management/kmwizard.cpp b/tdeprint/management/kmwizard.cpp index 87f2e21f2..6d7b20399 100644 --- a/tdeprint/management/kmwizard.cpp +++ b/tdeprint/management/kmwizard.cpp @@ -244,7 +244,7 @@ void KMWizard::slotNext() void KMWizard::slotHelp() { - kapp->invokeHelp(TQString::null, "tdeprint"); + tdeApp->invokeHelp(TQString::null, "tdeprint"); } void KMWizard::enableWizard() diff --git a/tdeprint/management/kmwsocketutil.cpp b/tdeprint/management/kmwsocketutil.cpp index 27c7bba47..7467440e8 100644 --- a/tdeprint/management/kmwsocketutil.cpp +++ b/tdeprint/management/kmwsocketutil.cpp @@ -178,7 +178,7 @@ bool KMWSocketUtil::scanNetwork(TQProgressBar *bar) if (bar) { bar->setProgress(i); - kapp->flushX(); + tdeApp->flushX(); } } return true; diff --git a/tdeprint/management/kxmlcommanddlg.cpp b/tdeprint/management/kxmlcommanddlg.cpp index 1b0ecb183..a052c69d8 100644 --- a/tdeprint/management/kxmlcommanddlg.cpp +++ b/tdeprint/management/kxmlcommanddlg.cpp @@ -403,7 +403,7 @@ void KXmlCommandAdvancedDlg::parseGroupItem(DrGroup *grp, TQListViewItem *parent TQString namestr = git.current()->name(); if (namestr.isEmpty()) { - namestr = "group_"+kapp->randomString(4); + namestr = "group_"+tdeApp->randomString(4); } git.current()->setName(namestr); item = new TQListViewItem(parent, item, git.current()->get("text"), git.current()->name()); @@ -420,7 +420,7 @@ void KXmlCommandAdvancedDlg::parseGroupItem(DrGroup *grp, TQListViewItem *parent TQString namestr = oit.current()->name().mid(m_xmlcmd->name().length()+6); if (namestr.isEmpty()) { - namestr = "option_"+kapp->randomString(4); + namestr = "option_"+tdeApp->randomString(4); } oit.current()->setName(namestr); item = new TQListViewItem(parent, item, oit.current()->get("text"), namestr); |