summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/src/kdevdesigner.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-29 23:01:28 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-29 23:59:58 +0900
commitb9186693ada54762210d51282c15e2248e76a586 (patch)
tree6e7e82a9639e67a50aa121eb08b8d7c1f6ba0229 /kdevdesigner/src/kdevdesigner.cpp
parentf12db681be834f7027132156c05afcbcb2346278 (diff)
downloadtdevelop-b9186693ada54762210d51282c15e2248e76a586.tar.gz
tdevelop-b9186693ada54762210d51282c15e2248e76a586.zip
Replaced various '#define' with actual strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 61cd5b18f00b0d36a7953596c5295e358324ebb7)
Diffstat (limited to 'kdevdesigner/src/kdevdesigner.cpp')
-rw-r--r--kdevdesigner/src/kdevdesigner.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kdevdesigner/src/kdevdesigner.cpp b/kdevdesigner/src/kdevdesigner.cpp
index f846e99b..bc83e670 100644
--- a/kdevdesigner/src/kdevdesigner.cpp
+++ b/kdevdesigner/src/kdevdesigner.cpp
@@ -59,7 +59,7 @@ KDevDesigner::KDevDesigner()
// our hands on it
TQStringList args;
args.append("in shell");
- m_part = static_cast<KParts::ReadWritePart *>(factory->create(TQT_TQOBJECT(this),
+ m_part = static_cast<KParts::ReadWritePart *>(factory->create(this,
"kdevdesigner_part", "KParts::ReadWritePart", args));
if (m_part)
@@ -99,16 +99,16 @@ void KDevDesigner::load(const KURL& url)
void KDevDesigner::setupActions()
{
-/* KStdAction::openNew(TQT_TQOBJECT(this), TQT_SLOT(fileNew()), actionCollection());
- KStdAction::open(TQT_TQOBJECT(this), TQT_SLOT(fileOpen()), actionCollection());*/
+/* KStdAction::openNew(this, TQT_SLOT(fileNew()), actionCollection());
+ KStdAction::open(this, TQT_SLOT(fileOpen()), actionCollection());*/
- KStdAction::quit(TQT_TQOBJECT(kapp), TQT_SLOT(quit()), actionCollection());
+ KStdAction::quit(kapp, TQT_SLOT(quit()), actionCollection());
- m_toolbarAction = KStdAction::showToolbar(TQT_TQOBJECT(this), TQT_SLOT(optionsShowToolbar()), actionCollection());
- m_statusbarAction = KStdAction::showStatusbar(TQT_TQOBJECT(this), TQT_SLOT(optionsShowStatusbar()), actionCollection());
+ m_toolbarAction = KStdAction::showToolbar(this, TQT_SLOT(optionsShowToolbar()), actionCollection());
+ m_statusbarAction = KStdAction::showStatusbar(this, TQT_SLOT(optionsShowStatusbar()), actionCollection());
- KStdAction::keyBindings(TQT_TQOBJECT(this), TQT_SLOT(optionsConfigureKeys()), actionCollection());
- KStdAction::configureToolbars(TQT_TQOBJECT(this), TQT_SLOT(optionsConfigureToolbars()), actionCollection());
+ KStdAction::keyBindings(this, TQT_SLOT(optionsConfigureKeys()), actionCollection());
+ KStdAction::configureToolbars(this, TQT_SLOT(optionsConfigureToolbars()), actionCollection());
}
void KDevDesigner::saveProperties(TDEConfig* /*config*/)