summaryrefslogtreecommitdiffstats
path: root/cervisia
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 11:50:27 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-24 19:40:32 +0900
commit8fc5cf274d67814099fccda96426c1e6724d984a (patch)
tree6b21fc2725e20ebfc25dc7caa3400013f430a869 /cervisia
parent74c34bcade3b3969b9e4d9af42c55eddeb2b437a (diff)
downloadtdesdk-8fc5cf274d67814099fccda96426c1e6724d984a.tar.gz
tdesdk-8fc5cf274d67814099fccda96426c1e6724d984a.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 3ec2e5d1452640f61934f62bb4d5820c09812710)
Diffstat (limited to 'cervisia')
-rw-r--r--cervisia/cervisiapart.cpp2
-rw-r--r--cervisia/cervisiashell.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/cervisia/cervisiapart.cpp b/cervisia/cervisiapart.cpp
index 63fb5976..2de0ef6c 100644
--- a/cervisia/cervisiapart.cpp
+++ b/cervisia/cervisiapart.cpp
@@ -322,7 +322,7 @@ void CervisiaPart::setupActions()
// View Menu
//
action = new TDEAction( i18n("Stop"), "process-stop", Key_Escape,
- TQT_TQOBJECT(protocol), TQT_SLOT(cancelJob()),
+ protocol, TQT_SLOT(cancelJob()),
actionCollection(), "stop_job" );
action->setEnabled( false );
hint = i18n("Stops any running sub-processes");
diff --git a/cervisia/cervisiashell.cpp b/cervisia/cervisiashell.cpp
index 27fdb2dd..7cc0cb17 100644
--- a/cervisia/cervisiashell.cpp
+++ b/cervisia/cervisiashell.cpp
@@ -43,7 +43,7 @@ CervisiaShell::CervisiaShell( const char *name )
KLibFactory* factory = KLibLoader::self()->factory("libcervisiapart");
if( factory )
{
- m_part = static_cast<KParts::ReadOnlyPart*>(factory->create(TQT_TQOBJECT(this),
+ m_part = static_cast<KParts::ReadOnlyPart*>(factory->create(this,
"cervisiaview", "KParts::ReadOnlyPart"));
if( m_part )
setCentralWidget(m_part->widget());
@@ -92,19 +92,19 @@ void CervisiaShell::setupActions()
{
setStandardToolBarMenuEnabled( true );
- TDEAction *action = KStdAction::configureToolbars( TQT_TQOBJECT(this), TQT_SLOT(slotConfigureToolBars()),
+ TDEAction *action = KStdAction::configureToolbars( this, TQT_SLOT(slotConfigureToolBars()),
actionCollection() );
TQString hint = i18n("Allows you to configure the toolbar");
action->setToolTip( hint );
action->setWhatsThis( hint );
- action = KStdAction::keyBindings( TQT_TQOBJECT(this), TQT_SLOT(slotConfigureKeys()),
+ action = KStdAction::keyBindings( this, TQT_SLOT(slotConfigureKeys()),
actionCollection() );
hint = i18n("Allows you to customize the keybindings");
action->setToolTip( hint );
action->setWhatsThis( hint );
- action = KStdAction::quit( TQT_TQOBJECT(kapp), TQT_SLOT( quit() ), actionCollection() );
+ action = KStdAction::quit( kapp, TQT_SLOT( quit() ), actionCollection() );
hint = i18n("Exits Cervisia");
action->setToolTip( hint );
action->setWhatsThis( hint );