summaryrefslogtreecommitdiffstats
path: root/quanta/src
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/src')
-rw-r--r--quanta/src/document.cpp2
-rw-r--r--quanta/src/dtds.cpp4
-rw-r--r--quanta/src/kqapp.cpp4
-rw-r--r--quanta/src/quanta.cpp10
-rw-r--r--quanta/src/quanta_init.cpp2
5 files changed, 11 insertions, 11 deletions
diff --git a/quanta/src/document.cpp b/quanta/src/document.cpp
index 49b3d195..8e667b3b 100644
--- a/quanta/src/document.cpp
+++ b/quanta/src/document.cpp
@@ -2793,7 +2793,7 @@ void Document::convertCase()
progressDlg.setLabel(i18n("Changing tag and attribute case. This may take some time, depending on the document complexity."));
progressDlg.setAllowCancel(false);
progressDlg.show();
- kapp->eventLoop()->processEvents( TQEventLoop::ExcludeUserInput | TQEventLoop::ExcludeSocketNotifiers);
+ tdeApp->eventLoop()->processEvents( TQEventLoop::ExcludeUserInput | TQEventLoop::ExcludeSocketNotifiers);
KProgress *pBar = progressDlg.progressBar();
pBar->setValue(0);
pBar->setTotalSteps(nodeNum);
diff --git a/quanta/src/dtds.cpp b/quanta/src/dtds.cpp
index bf257a0c..c9e8e83c 100644
--- a/quanta/src/dtds.cpp
+++ b/quanta/src/dtds.cpp
@@ -239,7 +239,7 @@ bool DTDs::readTagDir2(DTDStruct *dtd)
if (!TQFile::exists(dtd->fileName)) return false;
- kapp->setOverrideCursor( TQCursor(TQt::WaitCursor) );
+ tdeApp->setOverrideCursor( TQCursor(TQt::WaitCursor) );
TDEConfig *dtdConfig = new TDEConfig(dtd->fileName, true);
@@ -610,7 +610,7 @@ bool DTDs::readTagDir2(DTDStruct *dtd)
delete dtdConfig;
dtd->loaded = true;
resolveInherited(dtd);
- kapp->restoreOverrideCursor();
+ tdeApp->restoreOverrideCursor();
return true;
}
diff --git a/quanta/src/kqapp.cpp b/quanta/src/kqapp.cpp
index 5b0a8e2b..e4aab4b3 100644
--- a/quanta/src/kqapp.cpp
+++ b/quanta/src/kqapp.cpp
@@ -77,7 +77,7 @@ KQApplication::KQApplication()
}
else */
{
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("General Options");
int mdiMode = config->readNumEntry("MDI mode", KMdi::IDEAlMode);
TQString layout = config->readEntry("Window layout", "Default");
@@ -148,7 +148,7 @@ int KQUniqueApplication::newInstance()
else
{
splash = 0L;
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup("General Options");
int mdiMode = config->readNumEntry("MDI mode", KMdi::IDEAlMode);
TQString layout = config->readEntry("Window layout", "Default");
diff --git a/quanta/src/quanta.cpp b/quanta/src/quanta.cpp
index 49457eda..de24c83a 100644
--- a/quanta/src/quanta.cpp
+++ b/quanta/src/quanta.cpp
@@ -217,7 +217,7 @@ QuantaApp::QuantaApp(int mdiMode) : DCOPObject("WindowManagerIf"), KMdiMainFrm(
userToolbarsCount = 0;
baseNode = 0L;
currentToolbarDTD = TQString();
- m_config=kapp->config();
+ m_config=tdeApp->config();
idleTimer = new TQTimer(this);
connect(idleTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotIdleTimerExpired()));
m_idleTimerEnabled = true;
@@ -230,7 +230,7 @@ QuantaApp::QuantaApp(int mdiMode) : DCOPObject("WindowManagerIf"), KMdiMainFrm(
kdWarning() << i18n("Quanta data files were not found.") << endl;
kdWarning() << i18n("You may have forgotten to run \"make install\", or your TDEDIR, TDEDIRS or PATH are not set correctly.") << endl;
kdWarning() << "***************************************************************************" << endl;
- TQTimer::singleShot(20, kapp, TQ_SLOT(quit()));
+ TQTimer::singleShot(20, tdeApp, TQ_SLOT(quit()));
return;
}
qConfig.enableDTDToolbar = true;
@@ -715,7 +715,7 @@ void QuantaApp::slotStatusMsg(const TQString &msg)
statusbarTimer->stop();
statusBar()->changeItem(" " + KStringHandler::cPixelSqueeze(msg, statusBar()->fontMetrics(), progressBar->x() - 20), IDS_STATUS);
statusBar()->repaint();
- kapp->processEvents(TQEventLoop::ExcludeUserInput | TQEventLoop::ExcludeSocketNotifiers);
+ tdeApp->processEvents(TQEventLoop::ExcludeUserInput | TQEventLoop::ExcludeSocketNotifiers);
statusbarTimer->start(10000, true);
}
@@ -2763,7 +2763,7 @@ void QuantaApp::slotSendToolbar()
return;
}
- kapp->invokeMailer(toStr, TQString(), TQString(), subjectStr, message, TQString(), toolbarFile);
+ tdeApp->invokeMailer(toStr, TQString(), TQString(), subjectStr, message, TQString(), toolbarFile);
}
delete mailDlg;
}
@@ -3619,7 +3619,7 @@ void QuantaApp::slotEmailDTEP()
return;
}
- kapp->invokeMailer(toStr, TQString(), TQString(), subjectStr, message, TQString(), dtdFile);
+ tdeApp->invokeMailer(toStr, TQString(), TQString(), subjectStr, message, TQString(), dtdFile);
}
delete mailDlg;
}
diff --git a/quanta/src/quanta_init.cpp b/quanta/src/quanta_init.cpp
index a3de6154..f9026761 100644
--- a/quanta/src/quanta_init.cpp
+++ b/quanta/src/quanta_init.cpp
@@ -1601,7 +1601,7 @@ void QuantaInit::readAbbreviations()
int QuantaInit::runningQuantas()
{
- QCStringList list = kapp->dcopClient()->registeredApplications();
+ QCStringList list = tdeApp->dcopClient()->registeredApplications();
int i = 0;
for (QCStringList::iterator it = list.begin(); it != list.end(); ++it)
{