diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 13:26:45 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 13:26:45 -0600 |
commit | 01c60a267846a8712bca34218ecf7da57566c049 (patch) | |
tree | e851781b4ff0487aad8a48739ac0061186343e49 /ksysguard | |
parent | 5e5409d89552fa6839ab6cd52a47306eb4d650f0 (diff) | |
download | tdebase-01c60a267846a8712bca34218ecf7da57566c049.tar.gz tdebase-01c60a267846a8712bca34218ecf7da57566c049.zip |
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'ksysguard')
-rw-r--r-- | ksysguard/gui/KSysGuardApplet.cc | 4 | ||||
-rw-r--r-- | ksysguard/gui/Workspace.cc | 4 | ||||
-rw-r--r-- | ksysguard/gui/ksysguard.cc | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/ksysguard/gui/KSysGuardApplet.cc b/ksysguard/gui/KSysGuardApplet.cc index adf6b7b7c..6295ef652 100644 --- a/ksysguard/gui/KSysGuardApplet.cc +++ b/ksysguard/gui/KSysGuardApplet.cc @@ -309,7 +309,7 @@ void KSysGuardApplet::resizeDocks( uint newDockCount ) bool KSysGuardApplet::load() { - KStandardDirs* kstd = TDEGlobal::dirs(); + TDEStandardDirs* kstd = TDEGlobal::dirs(); kstd->addResourceType( "data", "share/apps/ksysguard" ); TQString fileName = kstd->findResource( "data", "KSysGuardApplet.xml" ); @@ -458,7 +458,7 @@ bool KSysGuardApplet::save() ((KSGRD::SensorDisplay*)mDockList[ i ])->saveSettings( doc, element ); } - KStandardDirs* kstd = TDEGlobal::dirs(); + TDEStandardDirs* kstd = TDEGlobal::dirs(); kstd->addResourceType( "data", "share/apps/ksysguard" ); TQString fileName = kstd->saveLocation( "data", "ksysguard" ); fileName += "/KSysGuardApplet.xml"; diff --git a/ksysguard/gui/Workspace.cc b/ksysguard/gui/Workspace.cc index 123c3f2d4..e13f2620a 100644 --- a/ksysguard/gui/Workspace.cc +++ b/ksysguard/gui/Workspace.cc @@ -91,7 +91,7 @@ void Workspace::readProperties( TDEConfig *cfg ) /* If workDir is not specified in the config file, it's * probably the first time the user has started KSysGuard. We * then "restore" a special default configuration. */ - KStandardDirs* kstd = TDEGlobal::dirs(); + TDEStandardDirs* kstd = TDEGlobal::dirs(); kstd->addResourceType( "data", "share/apps/ksysguard" ); mWorkDir = kstd->saveLocation( "data", "ksysguard" ); @@ -440,7 +440,7 @@ void Workspace::applyStyle() void Workspace::showProcesses() { - KStandardDirs* kstd = TDEGlobal::dirs(); + TDEStandardDirs* kstd = TDEGlobal::dirs(); kstd->addResourceType( "data", "share/apps/ksysguard" ); TQString file = kstd->findResource( "data", "ProcessTable.sgrd" ); diff --git a/ksysguard/gui/ksysguard.cc b/ksysguard/gui/ksysguard.cc index aeac861af..bd0f6290a 100644 --- a/ksysguard/gui/ksysguard.cc +++ b/ksysguard/gui/ksysguard.cc @@ -162,7 +162,7 @@ void TopLevel::resetWorkSheets() mWorkSpace->removeAllWorkSheets(); - KStandardDirs* kstd = TDEGlobal::dirs(); + TDEStandardDirs* kstd = TDEGlobal::dirs(); kstd->addResourceType( "data", "share/apps/ksysguard" ); TQString workDir = kstd->saveLocation( "data", "ksysguard" ); |