summaryrefslogtreecommitdiffstats
path: root/ksysguard/gui/ksysguard.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:11:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:11:21 -0600
commitf537c21b68e08f649b1b297bce8f3904603137e0 (patch)
treefb33065387509dea898c90022ddec9c3f8ede86d /ksysguard/gui/ksysguard.cc
parentdc5f267664506a312203c26bfe9001a448b0bb0f (diff)
downloadtdebase-f537c21b68e08f649b1b297bce8f3904603137e0.tar.gz
tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'ksysguard/gui/ksysguard.cc')
-rw-r--r--ksysguard/gui/ksysguard.cc24
1 files changed, 12 insertions, 12 deletions
diff --git a/ksysguard/gui/ksysguard.cc b/ksysguard/gui/ksysguard.cc
index bd0f6290a..0d138917a 100644
--- a/ksysguard/gui/ksysguard.cc
+++ b/ksysguard/gui/ksysguard.cc
@@ -69,7 +69,7 @@ TopLevel* topLevel;
TaskMan widget.
*/
TopLevel::TopLevel( const char *name )
- : KMainWindow( 0, name ), DCOPObject( "KSysGuardIface" )
+ : TDEMainWindow( 0, name ), DCOPObject( "KSysGuardIface" )
{
setPlainCaption( i18n( "TDE System Guard" ) );
mDontSaveSession = false;
@@ -105,39 +105,39 @@ TopLevel::TopLevel( const char *name )
statusBar()->hide();
// create actions for menue entries
- new KAction( i18n( "&New Worksheet..." ), "tab_new", 0, TQT_TQOBJECT(mWorkSpace),
+ new TDEAction( i18n( "&New Worksheet..." ), "tab_new", 0, TQT_TQOBJECT(mWorkSpace),
TQT_SLOT( newWorkSheet() ), actionCollection(), "new_worksheet" );
- new KAction( i18n( "Import Worksheet..." ), "fileopen", 0, TQT_TQOBJECT(mWorkSpace),
+ new TDEAction( i18n( "Import Worksheet..." ), "fileopen", 0, TQT_TQOBJECT(mWorkSpace),
TQT_SLOT( loadWorkSheet() ), actionCollection(), "import_worksheet" );
- mActionOpenRecent = new KRecentFilesAction( i18n( "&Import Recent Worksheet" ),"fileopen", 0,
+ mActionOpenRecent = new TDERecentFilesAction( i18n( "&Import Recent Worksheet" ),"fileopen", 0,
TQT_TQOBJECT(mWorkSpace), TQT_SLOT( loadWorkSheet( const KURL& ) ), actionCollection(), "recent_import_worksheet" );
- new KAction( i18n( "&Remove Worksheet" ), "tab_remove", 0, TQT_TQOBJECT(mWorkSpace),
+ new TDEAction( i18n( "&Remove Worksheet" ), "tab_remove", 0, TQT_TQOBJECT(mWorkSpace),
TQT_SLOT( deleteWorkSheet() ), actionCollection(), "remove_worksheet" );
- new KAction( i18n( "&Export Worksheet..." ), "filesaveas", 0, TQT_TQOBJECT(mWorkSpace),
+ new TDEAction( i18n( "&Export Worksheet..." ), "filesaveas", 0, TQT_TQOBJECT(mWorkSpace),
TQT_SLOT( saveWorkSheetAs() ), actionCollection(), "export_worksheet" );
KStdAction::quit( TQT_TQOBJECT(this), TQT_SLOT( close() ), actionCollection() );
- new KAction( i18n( "C&onnect Host..." ), "connect_established", 0, TQT_TQOBJECT(this),
+ new TDEAction( i18n( "C&onnect Host..." ), "connect_established", 0, TQT_TQOBJECT(this),
TQT_SLOT( connectHost() ), actionCollection(), "connect_host" );
- new KAction( i18n( "D&isconnect Host" ), "connect_no", 0, TQT_TQOBJECT(this),
+ new TDEAction( i18n( "D&isconnect Host" ), "connect_no", 0, TQT_TQOBJECT(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 KAction( i18n( "&Worksheet Properties" ), "configure", 0, TQT_TQOBJECT(mWorkSpace),
+ new TDEAction( i18n( "&Worksheet Properties" ), "configure", 0, TQT_TQOBJECT(mWorkSpace),
TQT_SLOT( configure() ), actionCollection(), "configure_sheet" );
- new KAction( i18n( "Load Standard Sheets" ), "revert",
+ new TDEAction( i18n( "Load Standard Sheets" ), "revert",
0, TQT_TQOBJECT(this), TQT_SLOT( resetWorkSheets() ),
actionCollection(), "revert_all_worksheets" );
- new KAction( i18n( "Configure &Style..." ), "colorize", 0, TQT_TQOBJECT(this),
+ new TDEAction( i18n( "Configure &Style..." ), "colorize", 0, TQT_TQOBJECT(this),
TQT_SLOT( editStyle() ), actionCollection(), "configure_style" );
// TODO remove resize and fix so sizeHints() determines default size.
@@ -291,7 +291,7 @@ void TopLevel::initStatusBar()
updateStatusBar();
mServiceBrowser->startBrowse();
- KToggleAction *sb = dynamic_cast<KToggleAction*>(action("options_show_statusbar"));
+ TDEToggleAction *sb = dynamic_cast<TDEToggleAction*>(action("options_show_statusbar"));
if (sb)
connect(sb, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(updateStatusBar()));
}