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-21 19:10:24 +0900
commit3ec2e5d1452640f61934f62bb4d5820c09812710 (patch)
tree850cb1382cc875ec62d4ae1811247f5fddc0d69b /cervisia
parente116e9630fefaa0aa8d999e8eb34949ca8fa0724 (diff)
downloadtdesdk-3ec2e5d1452640f61934f62bb4d5820c09812710.tar.gz
tdesdk-3ec2e5d1452640f61934f62bb4d5820c09812710.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 );