summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2025-01-21 14:24:02 +0900
committerMichele Calgaro <[email protected]>2025-02-03 22:18:42 +0900
commitc7235ac2cca006228387b6baf3576aff2050e786 (patch)
treec45d6ed76f37314d4e60024538d8e1c496185a80
parentec6fc3514da8ec9321e7165e02fef44e29318287 (diff)
downloadkdbg-master.tar.gz
kdbg-master.zip
Use tdeAppHEADmaster
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--kdbg/brkpt.cpp2
-rw-r--r--kdbg/dbgmainwnd.cpp8
-rw-r--r--kdbg/debugger.cpp4
-rw-r--r--kdbg/mainwndbase.cpp4
-rw-r--r--kdbg/pgmargs.cpp2
-rw-r--r--kdbg/pgmsettings.cpp2
-rw-r--r--kdbg/procattach.cpp2
-rw-r--r--kdbg/winstack.cpp2
8 files changed, 13 insertions, 13 deletions
diff --git a/kdbg/brkpt.cpp b/kdbg/brkpt.cpp
index 122d824..cf209e9 100644
--- a/kdbg/brkpt.cpp
+++ b/kdbg/brkpt.cpp
@@ -439,7 +439,7 @@ ConditionalDlg::ConditionalDlg(TQWidget* parent) :
m_inputs(2, 2, 10),
m_buttons(4)
{
- TQString title = kapp->caption();
+ TQString title = tdeApp->caption();
title += i18n(": Conditional breakpoint");
setCaption(title);
diff --git a/kdbg/dbgmainwnd.cpp b/kdbg/dbgmainwnd.cpp
index d4abb45..6aabbbe 100644
--- a/kdbg/dbgmainwnd.cpp
+++ b/kdbg/dbgmainwnd.cpp
@@ -149,7 +149,7 @@ DebuggerMainWnd::DebuggerMainWnd(const char* name) :
connect(m_localVariables, TQ_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int)),
this, TQ_SLOT(slotLocalsPopup(TQListViewItem*, const TQPoint&)));
- restoreSettings(kapp->config());
+ restoreSettings(tdeApp->config());
updateUI();
m_bpTable->updateUI();
@@ -157,7 +157,7 @@ DebuggerMainWnd::DebuggerMainWnd(const char* name) :
DebuggerMainWnd::~DebuggerMainWnd()
{
- saveSettings(kapp->config());
+ saveSettings(tdeApp->config());
// must delete m_debugger early since it references our windows
delete m_debugger;
m_debugger = 0;
@@ -191,7 +191,7 @@ void DebuggerMainWnd::initKAction()
actionCollection(), "file_executable_recent");
(void)new TDEAction(i18n("&Core dump..."), 0, this, TQ_SLOT(slotFileCore()),
actionCollection(), "file_core_dump");
- KStdAction::quit(kapp, TQ_SLOT(closeAllWindows()), actionCollection());
+ KStdAction::quit(tdeApp, TQ_SLOT(closeAllWindows()), actionCollection());
// settings menu
(void)new TDEAction(i18n("This &Program..."), 0, this,
@@ -742,7 +742,7 @@ void DebuggerMainWnd::slotLocalsToWatch()
void DebuggerMainWnd::slotEditValue()
{
// does one of the value trees have the focus
- TQWidget* f = kapp->focusWidget();
+ TQWidget* f = tdeApp->focusWidget();
ExprWnd* wnd;
if (f == m_localVariables) {
wnd = m_localVariables;
diff --git a/kdbg/debugger.cpp b/kdbg/debugger.cpp
index 54068fe..ca608bc 100644
--- a/kdbg/debugger.cpp
+++ b/kdbg/debugger.cpp
@@ -614,13 +614,13 @@ void KDebugger::stopDriver()
* this timeout be reached, the only reasonable thing one could do then
* is exiting kdbg.
*/
- kapp->processEvents(1000); /* ideally, this will already shut it down */
+ tdeApp->processEvents(1000); /* ideally, this will already shut it down */
int maxTime = 20; /* about 20 seconds */
while (m_haveExecutable && maxTime > 0) {
// give gdb time to die (and send a SIGCLD)
::sleep(1);
--maxTime;
- kapp->processEvents(1000);
+ tdeApp->processEvents(1000);
}
}
diff --git a/kdbg/mainwndbase.cpp b/kdbg/mainwndbase.cpp
index fd85b6c..62a2eae 100644
--- a/kdbg/mainwndbase.cpp
+++ b/kdbg/mainwndbase.cpp
@@ -414,7 +414,7 @@ void DebuggerMainWndBase::newStatusMsg(KStatusBar* statusbar)
void DebuggerMainWndBase::doGlobalOptions(TQWidget* parent)
{
TQTabDialog dlg(parent, "global_options", true);
- TQString title = kapp->caption();
+ TQString title = tdeApp->caption();
title += i18n(": Global options");
dlg.setCaption(title);
dlg.setCancelButton(i18n("Cancel"));
@@ -502,7 +502,7 @@ TQString DebuggerMainWndBase::createOutputWindow()
shellScript.replace("%s", fifoName);
TRACE("output window script is " + shellScript);
- TQString title = kapp->caption();
+ TQString title = tdeApp->caption();
title += i18n(": Program output");
// parse the command line specified in the preferences
diff --git a/kdbg/pgmargs.cpp b/kdbg/pgmargs.cpp
index d375a02..15a7b9a 100644
--- a/kdbg/pgmargs.cpp
+++ b/kdbg/pgmargs.cpp
@@ -240,7 +240,7 @@ void PgmArgs::browseArgDir()
void PgmArgs::invokeHelp()
{
- kapp->invokeHTMLHelp("kdbg/argspwdenv.html");
+ tdeApp->invokeHTMLHelp("kdbg/argspwdenv.html");
}
#include "pgmargs.moc"
diff --git a/kdbg/pgmsettings.cpp b/kdbg/pgmsettings.cpp
index 5a19e55..0bfed8d 100644
--- a/kdbg/pgmsettings.cpp
+++ b/kdbg/pgmsettings.cpp
@@ -101,7 +101,7 @@ ProgramSettings::ProgramSettings(TQWidget* parent, TQString exeName, bool modal)
{
// construct title
TQFileInfo fi(exeName);
- TQString cap = kapp->caption();
+ TQString cap = tdeApp->caption();
TQString title = i18n("%1: Settings for %2");
setCaption(title.arg(cap, fi.fileName()));
diff --git a/kdbg/procattach.cpp b/kdbg/procattach.cpp
index 0a1ae1a..50b1184 100644
--- a/kdbg/procattach.cpp
+++ b/kdbg/procattach.cpp
@@ -267,7 +267,7 @@ ProcAttach::ProcAttach(TQWidget* parent) :
m_layout(this, 8),
m_buttons(4)
{
- TQString title = kapp->caption();
+ TQString title = tdeApp->caption();
title += i18n(": Attach to process");
setCaption(title);
diff --git a/kdbg/winstack.cpp b/kdbg/winstack.cpp
index 5c56937..525267e 100644
--- a/kdbg/winstack.cpp
+++ b/kdbg/winstack.cpp
@@ -387,7 +387,7 @@ FindDialog::FindDialog() :
m_layout(this, 8),
m_buttons(4)
{
- setCaption(TQString(kapp->caption()) + i18n(": Search"));
+ setCaption(TQString(tdeApp->caption()) + i18n(": Search"));
m_searchText.setMinimumSize(330, 24);
m_searchText.setMaxLength(10000);