summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui/ksysguard.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-22 18:45:07 +0900
committerMichele Calgaro <[email protected]>2023-12-26 21:27:31 +0900
commit0e5ef873f0394ebc87c08d030130cf4089cb1d42 (patch)
tree39b0a54ef4dfc173c556d6e6c7ece5107aed464a /ksysguard/gui/ksysguard.cpp
parentdcda00127ea03e99ca6253422624e2d3c2e62f3a (diff)
downloadtdebase-0e5ef873f0394ebc87c08d030130cf4089cb1d42.tar.gz
tdebase-0e5ef873f0394ebc87c08d030130cf4089cb1d42.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit c4a6487c827add9382001ff1892b8fb3bfa94682)
Diffstat (limited to 'ksysguard/gui/ksysguard.cpp')
-rw-r--r--ksysguard/gui/ksysguard.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/ksysguard/gui/ksysguard.cpp b/ksysguard/gui/ksysguard.cpp
index 2c2994eaa..2375cf8ee 100644
--- a/ksysguard/gui/ksysguard.cpp
+++ b/ksysguard/gui/ksysguard.cpp
@@ -105,39 +105,39 @@ TopLevel::TopLevel( const char *name )
statusBar()->hide();
// create actions for menue entries
- new TDEAction( i18n( "&New Worksheet..." ), "tab_new", 0, TQT_TQOBJECT(mWorkSpace),
+ new TDEAction( i18n( "&New Worksheet..." ), "tab_new", 0, mWorkSpace,
TQT_SLOT( newWorkSheet() ), actionCollection(), "new_worksheet" );
- new TDEAction( i18n( "Import Worksheet..." ), "document-open", 0, TQT_TQOBJECT(mWorkSpace),
+ new TDEAction( i18n( "Import Worksheet..." ), "document-open", 0, mWorkSpace,
TQT_SLOT( loadWorkSheet() ), actionCollection(), "import_worksheet" );
mActionOpenRecent = new TDERecentFilesAction( i18n( "&Import Recent Worksheet" ),"document-open", 0,
- TQT_TQOBJECT(mWorkSpace), TQT_SLOT( loadWorkSheet( const KURL& ) ), actionCollection(), "recent_import_worksheet" );
+ mWorkSpace, TQT_SLOT( loadWorkSheet( const KURL& ) ), actionCollection(), "recent_import_worksheet" );
- new TDEAction( i18n( "&Remove Worksheet" ), "tab_remove", 0, TQT_TQOBJECT(mWorkSpace),
+ new TDEAction( i18n( "&Remove Worksheet" ), "tab_remove", 0, mWorkSpace,
TQT_SLOT( deleteWorkSheet() ), actionCollection(), "remove_worksheet" );
- new TDEAction( i18n( "&Export Worksheet..." ), "document-save-as", 0, TQT_TQOBJECT(mWorkSpace),
+ new TDEAction( i18n( "&Export Worksheet..." ), "document-save-as", 0, mWorkSpace,
TQT_SLOT( saveWorkSheetAs() ), actionCollection(), "export_worksheet" );
- KStdAction::quit( TQT_TQOBJECT(this), TQT_SLOT( close() ), actionCollection() );
+ KStdAction::quit( this, TQT_SLOT( close() ), actionCollection() );
- new TDEAction( i18n( "C&onnect Host..." ), "connect_established", 0, TQT_TQOBJECT(this),
+ new TDEAction( i18n( "C&onnect Host..." ), "connect_established", 0, this,
TQT_SLOT( connectHost() ), actionCollection(), "connect_host" );
- new TDEAction( i18n( "D&isconnect Host" ), "connect_no", 0, TQT_TQOBJECT(this),
+ new TDEAction( i18n( "D&isconnect Host" ), "connect_no", 0, this,
TQT_SLOT( disconnectHost() ), actionCollection(), "disconnect_host" );
// KStdAction::cut( mWorkSpace, TQT_SLOT( cut() ), actionCollection() );
// KStdAction::copy( mWorkSpace, TQT_SLOT( copy() ), actionCollection() );
// KStdAction::paste( mWorkSpace, TQT_SLOT( paste() ), actionCollection() );
- new TDEAction( i18n( "&Worksheet Properties" ), "configure", 0, TQT_TQOBJECT(mWorkSpace),
+ new TDEAction( i18n( "&Worksheet Properties" ), "configure", 0, mWorkSpace,
TQT_SLOT( configure() ), actionCollection(), "configure_sheet" );
new TDEAction( i18n( "Load Standard Sheets" ), "document-revert",
- 0, TQT_TQOBJECT(this), TQT_SLOT( resetWorkSheets() ),
+ 0, this, TQT_SLOT( resetWorkSheets() ),
actionCollection(), "revert_all_worksheets" );
- new TDEAction( i18n( "Configure &Style..." ), "colorize", 0, TQT_TQOBJECT(this),
+ new TDEAction( i18n( "Configure &Style..." ), "colorize", 0, this,
TQT_SLOT( editStyle() ), actionCollection(), "configure_style" );
// TODO remove resize and fix so sizeHints() determines default size.