summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-31 13:26:45 -0600
committerTimothy Pearson <[email protected]>2013-01-31 13:26:45 -0600
commit01c60a267846a8712bca34218ecf7da57566c049 (patch)
treee851781b4ff0487aad8a48739ac0061186343e49
parent5e5409d89552fa6839ab6cd52a47306eb4d650f0 (diff)
downloadtdebase-01c60a267846a8712bca34218ecf7da57566c049.tar.gz
tdebase-01c60a267846a8712bca34218ecf7da57566c049.zip
Rename KStandard for enhanced compatibility with KDE4
-rw-r--r--drkonqi/backtrace.cpp2
-rw-r--r--kcontrol/background/bgdialog.h4
-rw-r--r--kcontrol/background/bgrender.cpp2
-rw-r--r--kcontrol/background/bgrender.h4
-rw-r--r--kcontrol/background/bgsettings.cpp6
-rw-r--r--kcontrol/background/bgsettings.h8
-rw-r--r--kcontrol/ebrowsing/plugins/localdomain/localdomainurifilter.cpp2
-rw-r--r--kcontrol/ebrowsing/plugins/shorturi/kshorturifilter.cpp2
-rw-r--r--kcontrol/input/xcursor/themepage.cpp2
-rw-r--r--kcontrol/kcontrol/modules.cpp2
-rw-r--r--kcontrol/kfontinst/lib/Misc.cpp2
-rw-r--r--kcontrol/kicker/main.cpp8
-rw-r--r--kcontrol/konq/rootopts.cpp2
-rw-r--r--kcontrol/krdb/krdb.cpp2
-rw-r--r--kcontrol/kthememanager/ktheme.h4
-rw-r--r--kcontrol/kthememanager/kthememanager.cpp2
-rw-r--r--kcontrol/screensaver/scrnsave.cpp2
-rw-r--r--kcontrol/style/kcmstyle.cpp2
-rw-r--r--kdesktop/kdiconview.cc6
-rw-r--r--kdesktop/lock/lockprocess.cc4
-rw-r--r--kdesktop/lockeng.cc6
-rw-r--r--kdesktop/minicli.cpp2
-rw-r--r--kfind/kftabdlg.cpp2
-rw-r--r--khelpcenter/docentry.cpp2
-rw-r--r--khelpcenter/docmetainfo.cpp2
-rw-r--r--khelpcenter/htmlsearch/htmlsearch.cpp2
-rw-r--r--khelpcenter/searchhandler.cpp2
-rw-r--r--khotkeys/shared/khotkeysglobal.cpp2
-rw-r--r--kicker/extensions/dockbar/dockbarextension.cpp2
-rw-r--r--kicker/kicker/core/kicker.cpp2
-rw-r--r--kicker/kicker/ui/exe_dlg.cpp2
-rw-r--r--kicker/kicker/ui/k_new_mnu.cpp8
-rw-r--r--kicker/kicker/ui/service_mnu.cpp4
-rw-r--r--kicker/menuext/konsole/konsolebookmarkhandler.cpp2
-rw-r--r--kicker/menuext/remote/remotemenu.cpp2
-rw-r--r--kicker/proxy/appletproxy.cpp2
-rw-r--r--kicker/proxy/extensiondebugger.cpp2
-rw-r--r--kicker/proxy/extensionproxy.cpp2
-rw-r--r--knetattach/knetattach.ui.h2
-rw-r--r--konqueror/sidebar/sidebar_widget.cpp8
-rw-r--r--konqueror/sidebar/trees/konq_sidebartree.cpp2
-rw-r--r--konqueror/sidebar/trees/konqsidebar_tree.cpp2
-rw-r--r--konqueror/sidebar/web_module/web_module.cpp2
-rw-r--r--konsole/konsole/main.cpp2
-rw-r--r--kpersonalizer/kospage.cpp2
-rw-r--r--kpersonalizer/kstylepage.cpp6
-rw-r--r--ksplashml/kcmksplash/installer.cpp2
-rw-r--r--ksplashml/kcmksplash/main.cpp2
-rw-r--r--ksysguard/gui/KSysGuardApplet.cc4
-rw-r--r--ksysguard/gui/Workspace.cc4
-rw-r--r--ksysguard/gui/ksysguard.cc2
-rw-r--r--tdeinit/phase1.cpp2
-rw-r--r--tdeioslave/cgi/cgi.cpp2
-rw-r--r--tdeioslave/fish/fish.cpp6
-rw-r--r--tdeioslave/man/tdeio_man.cpp4
-rw-r--r--tdeioslave/media/mediamanager/fstabbackend.cpp4
-rw-r--r--tdeioslave/media/mediamanager/halbackend.cpp8
-rw-r--r--tdeioslave/media/mediamanager/mediamanager.cpp2
-rw-r--r--tdeioslave/media/mediamanager/removablebackend.cpp2
-rw-r--r--tdeioslave/media/medianotifier/medianotifier.cpp2
-rw-r--r--tdeioslave/remote/kdedmodule/remotedirnotify.cpp2
-rw-r--r--tdeioslave/remote/remoteimpl.cpp2
-rw-r--r--tdeioslave/sftp/ksshprocess.cpp2
-rw-r--r--tdeioslave/sftp/process.cpp2
-rw-r--r--tdeioslave/smb/tdeio_smb_mount.cpp2
-rw-r--r--tdeioslave/system/kdedmodule/systemdirnotify.cpp2
-rw-r--r--tdeioslave/system/systemimpl.cpp2
-rw-r--r--tdeioslave/trash/trashimpl.cpp4
-rw-r--r--tdeprint/tdeprintfax/defcmds.cpp2
-rw-r--r--tdescreensaver/random.cpp4
-rw-r--r--tdesu/tdesu/tdesu.cpp2
-rw-r--r--tdm/kfrontend/kgreeter.cpp2
-rw-r--r--tdm/kfrontend/themer/tdmpixmap.cpp4
-rw-r--r--twin/client.cpp4
-rw-r--r--twin/clients/PORTING2
-rw-r--r--twin/kcmtwin/twindecoration/twindecoration.cpp2
76 files changed, 114 insertions, 114 deletions
diff --git a/drkonqi/backtrace.cpp b/drkonqi/backtrace.cpp
index a76f9c9ac..f6c3804b7 100644
--- a/drkonqi/backtrace.cpp
+++ b/drkonqi/backtrace.cpp
@@ -70,7 +70,7 @@ BackTrace::~BackTrace()
void BackTrace::start()
{
TQString exec = m_krashconf->tryExec();
- if ( !exec.isEmpty() && KStandardDirs::findExe(exec).isEmpty() )
+ if ( !exec.isEmpty() && TDEStandardDirs::findExe(exec).isEmpty() )
{
TQObject * o = parent();
diff --git a/kcontrol/background/bgdialog.h b/kcontrol/background/bgdialog.h
index 2a76acd52..08dfe13be 100644
--- a/kcontrol/background/bgdialog.h
+++ b/kcontrol/background/bgdialog.h
@@ -30,7 +30,7 @@
#include "bgdefaults.h"
class BGMonitorArrangement;
-class KStandardDirs;
+class TDEStandardDirs;
class BGDialog : public BGDialog_UI
{
@@ -84,7 +84,7 @@ protected slots:
protected:
void getEScreen();
TDEGlobalBackgroundSettings *m_pGlobals;
- KStandardDirs *m_pDirs;
+ TDEStandardDirs *m_pDirs;
bool m_multidesktop;
bool m_useViewports;
int m_curDesk;
diff --git a/kcontrol/background/bgrender.cpp b/kcontrol/background/bgrender.cpp
index 9c207e409..ce0dac119 100644
--- a/kcontrol/background/bgrender.cpp
+++ b/kcontrol/background/bgrender.cpp
@@ -990,7 +990,7 @@ void KBackgroundRenderer::saveCacheFile()
if( m_Image.isNull())
fullWallpaperBlend(); // generate from m_Pixmap
TQString f = cacheFileName();
- if( KStandardDirs::exists( f ) || m_Cached )
+ if( TDEStandardDirs::exists( f ) || m_Cached )
utime( TQFile::encodeName( f ), NULL );
else {
m_Image.save( f, "PNG" );
diff --git a/kcontrol/background/bgrender.h b/kcontrol/background/bgrender.h
index b10f4033c..56317013f 100644
--- a/kcontrol/background/bgrender.h
+++ b/kcontrol/background/bgrender.h
@@ -27,7 +27,7 @@ class TDEConfig;
class TDEProcess;
class KTempFile;
class KShellProcess;
-class KStandardDirs;
+class TDEStandardDirs;
/**
* This class renders a desktop background to a TQImage. The operation is
@@ -109,7 +109,7 @@ private:
TQPixmap m_Pixmap;
TQTimer *m_pTimer;
- KStandardDirs *m_pDirs;
+ TDEStandardDirs *m_pDirs;
KShellProcess *m_pProc;
};
diff --git a/kcontrol/background/bgsettings.cpp b/kcontrol/background/bgsettings.cpp
index 7bc17a215..b879d1216 100644
--- a/kcontrol/background/bgsettings.cpp
+++ b/kcontrol/background/bgsettings.cpp
@@ -182,7 +182,7 @@ int KBackgroundPattern::hash()
/* static */
TQStringList KBackgroundPattern::list()
{
- KStandardDirs *dirs = TDEGlobal::dirs();
+ TDEStandardDirs *dirs = TDEGlobal::dirs();
dirs->addResourceType("dtop_pattern", dirs->kde_default("data") +
"kdesktop/patterns");
TQStringList lst = dirs->findAllResources("dtop_pattern", "*.desktop",
@@ -393,7 +393,7 @@ int KBackgroundProgram::hash()
/* static */
TQStringList KBackgroundProgram::list()
{
- KStandardDirs *dirs = TDEGlobal::dirs();
+ TDEStandardDirs *dirs = TDEGlobal::dirs();
dirs->addResourceType("dtop_program", dirs->kde_default("data") +
"kdesktop/programs");
TQStringList lst = dirs->findAllResources("dtop_program", "*.desktop",
@@ -651,7 +651,7 @@ void KBackgroundSettings::setWallpaperMode(int mode)
void KBackgroundSettings::setWallpaperList(TQStringList list)
{
- KStandardDirs *d = TDEGlobal::dirs();
+ TDEStandardDirs *d = TDEGlobal::dirs();
if (m_WallpaperList == list)
return;
diff --git a/kcontrol/background/bgsettings.h b/kcontrol/background/bgsettings.h
index d007f5753..0e16a87e9 100644
--- a/kcontrol/background/bgsettings.h
+++ b/kcontrol/background/bgsettings.h
@@ -17,7 +17,7 @@
#include <tqvaluevector.h>
template <class TQString, class T> class TQMap;
-class KStandardDirs;
+class TDEStandardDirs;
class KSimpleConfig;
class TDEConfig;
class TQString;
@@ -66,7 +66,7 @@ private:
int m_Hash;
TQString m_Name, m_Comment;
TQString m_Pattern, m_File;
- KStandardDirs *m_pDirs;
+ TDEStandardDirs *m_pDirs;
KSimpleConfig *m_pConfig;
};
@@ -137,7 +137,7 @@ private:
TQString m_Name, m_Command;
TQString m_PreviewCommand, m_Comment;
TQString m_Executable, m_File;
- KStandardDirs *m_pDirs;
+ TDEStandardDirs *m_pDirs;
KSimpleConfig *m_pConfig;
};
@@ -283,7 +283,7 @@ private:
TQString m_CurrentWallpaperName;
TDEConfig *m_pConfig;
- KStandardDirs *m_pDirs;
+ TDEStandardDirs *m_pDirs;
bool m_bDeleteConfig;
bool m_bEnabled;
diff --git a/kcontrol/ebrowsing/plugins/localdomain/localdomainurifilter.cpp b/kcontrol/ebrowsing/plugins/localdomain/localdomainurifilter.cpp
index 1fc6ad629..c2e3af8fa 100644
--- a/kcontrol/ebrowsing/plugins/localdomain/localdomainurifilter.cpp
+++ b/kcontrol/ebrowsing/plugins/localdomain/localdomainurifilter.cpp
@@ -76,7 +76,7 @@ bool LocalDomainURIFilter::isLocalDomainHost( TQString& cmd ) const
if( !(host == last_host && last_time > time( NULL ) - 5 ) ) {
- TQString helper = KStandardDirs::findExe(TQString::fromLatin1( "klocaldomainurifilterhelper" ));
+ TQString helper = TDEStandardDirs::findExe(TQString::fromLatin1( "klocaldomainurifilterhelper" ));
if( helper.isEmpty())
return last_result = false;
diff --git a/kcontrol/ebrowsing/plugins/shorturi/kshorturifilter.cpp b/kcontrol/ebrowsing/plugins/shorturi/kshorturifilter.cpp
index 57bc2e92f..89310a137 100644
--- a/kcontrol/ebrowsing/plugins/shorturi/kshorturifilter.cpp
+++ b/kcontrol/ebrowsing/plugins/shorturi/kshorturifilter.cpp
@@ -441,7 +441,7 @@ bool KShortURIFilter::filterURI( KURIFilterData& data ) const
// line arguments or options that might have been supplied.
TQString exe = removeArgs( cmd );
//kdDebug() << k_funcinfo << "findExe with " << exe << endl;
- if( data.checkForExecutables() && !KStandardDirs::findExe( exe ).isNull() )
+ if( data.checkForExecutables() && !TDEStandardDirs::findExe( exe ).isNull() )
{
//kdDebug() << "EXECUTABLE exe=" << exe << endl;
setFilteredURI( data, KURL( exe ));
diff --git a/kcontrol/input/xcursor/themepage.cpp b/kcontrol/input/xcursor/themepage.cpp
index 0aa1224ec..e8a918512 100644
--- a/kcontrol/input/xcursor/themepage.cpp
+++ b/kcontrol/input/xcursor/themepage.cpp
@@ -298,7 +298,7 @@ bool ThemePage::installThemes( const TQString &file )
return false;
const TQString destDir = TQDir::homeDirPath() + "/.icons/";
- KStandardDirs::makeDir( destDir ); // Make sure the directory exists
+ TDEStandardDirs::makeDir( destDir ); // Make sure the directory exists
for ( TQStringList::ConstIterator it = themeDirs.begin(); it != themeDirs.end(); ++it )
{
diff --git a/kcontrol/kcontrol/modules.cpp b/kcontrol/kcontrol/modules.cpp
index 4c3ccbbc1..73ed1896e 100644
--- a/kcontrol/kcontrol/modules.cpp
+++ b/kcontrol/kcontrol/modules.cpp
@@ -186,7 +186,7 @@ void ConfigModule::runAsRoot()
}
// run the process
- TQString tdesu = KStandardDirs::findExe("tdesu");
+ TQString tdesu = TDEStandardDirs::findExe("tdesu");
if (!tdesu.isEmpty())
{
_rootProcess = new TDEProcess;
diff --git a/kcontrol/kfontinst/lib/Misc.cpp b/kcontrol/kfontinst/lib/Misc.cpp
index 5f39afec8..1a5952ce4 100644
--- a/kcontrol/kfontinst/lib/Misc.cpp
+++ b/kcontrol/kfontinst/lib/Misc.cpp
@@ -125,7 +125,7 @@ bool createDir(const TQString &dir)
//
// Clear any umask before dir is created
mode_t oldMask=umask(0000);
- bool status=KStandardDirs::makeDir(dir, DIR_PERMS);
+ bool status=TDEStandardDirs::makeDir(dir, DIR_PERMS);
// Reset umask
::umask(oldMask);
return status;
diff --git a/kcontrol/kicker/main.cpp b/kcontrol/kicker/main.cpp
index 035451e46..75f2baa90 100644
--- a/kcontrol/kicker/main.cpp
+++ b/kcontrol/kicker/main.cpp
@@ -383,14 +383,14 @@ extern "C"
KDE_EXPORT TDECModule *create_kicker_arrangement(TQWidget *parent, const char * /*name*/)
{
- TDEGlobal::dirs()->addResourceType("extensions", KStandardDirs::kde_default("data") +
+ TDEGlobal::dirs()->addResourceType("extensions", TDEStandardDirs::kde_default("data") +
"kicker/extensions");
return new PositionConfig(parent, "kcmkicker");
}
KDE_EXPORT TDECModule *create_kicker_hiding(TQWidget *parent, const char * /*name*/)
{
- TDEGlobal::dirs()->addResourceType("extensions", KStandardDirs::kde_default("data") +
+ TDEGlobal::dirs()->addResourceType("extensions", TDEStandardDirs::kde_default("data") +
"kicker/extensions");
return new HidingConfig(parent, "kcmkicker");
}
@@ -403,9 +403,9 @@ extern "C"
KDE_EXPORT TDECModule *create_kicker_appearance(TQWidget *parent, const char * /*name*/)
{
KImageIO::registerFormats();
- TDEGlobal::dirs()->addResourceType("tiles", KStandardDirs::kde_default("data") +
+ TDEGlobal::dirs()->addResourceType("tiles", TDEStandardDirs::kde_default("data") +
"kicker/tiles");
- TDEGlobal::dirs()->addResourceType("hb_pics", KStandardDirs::kde_default("data") +
+ TDEGlobal::dirs()->addResourceType("hb_pics", TDEStandardDirs::kde_default("data") +
"kcmkicker/pics");
return new LookAndFeelConfig(parent, "kcmkicker");
}
diff --git a/kcontrol/konq/rootopts.cpp b/kcontrol/konq/rootopts.cpp
index f2a15fd65..52e8a07cb 100644
--- a/kcontrol/konq/rootopts.cpp
+++ b/kcontrol/konq/rootopts.cpp
@@ -230,7 +230,7 @@ void DesktopPathConfig::save()
TQString path = urDocument->url();
if (!TQDir(path).exists())
{
- if (!KStandardDirs::makeDir(path))
+ if (!TDEStandardDirs::makeDir(path))
{
KMessageBox::sorry(this, TDEIO::buildErrorString(TDEIO::ERR_COULD_NOT_MKDIR, path));
urDocument->setURL(documentURL.path());
diff --git a/kcontrol/krdb/krdb.cpp b/kcontrol/krdb/krdb.cpp
index 613816f84..d8a2b026d 100644
--- a/kcontrol/krdb/krdb.cpp
+++ b/kcontrol/krdb/krdb.cpp
@@ -444,7 +444,7 @@ void runRdb( uint flags )
// Export colors to non-(KDE/Qt) apps (e.g. Motif, GTK+ apps)
if (exportColors)
{
- TDEGlobal::dirs()->addResourceType("appdefaults", KStandardDirs::kde_default("data") + "kdisplay/app-defaults/");
+ TDEGlobal::dirs()->addResourceType("appdefaults", TDEStandardDirs::kde_default("data") + "kdisplay/app-defaults/");
TQColorGroup cg = newPal.active();
TDEGlobal::locale()->insertCatalogue("krdb");
createGtkrc( true, cg, 1 );
diff --git a/kcontrol/kthememanager/ktheme.h b/kcontrol/kthememanager/ktheme.h
index 4efad8527..11fa6b056 100644
--- a/kcontrol/kthememanager/ktheme.h
+++ b/kcontrol/kthememanager/ktheme.h
@@ -27,7 +27,7 @@
#include <kurl.h>
-class KStandardDirs;
+class TDEStandardDirs;
class TDEConfig;
/// defines the syntax version used by the XML
@@ -216,7 +216,7 @@ private:
/// "general" section
TQDomElement m_general;
- KStandardDirs * m_kgd;
+ TDEStandardDirs * m_kgd;
TQGuardedPtr<TQWidget> m_parent;
};
diff --git a/kcontrol/kthememanager/kthememanager.cpp b/kcontrol/kthememanager/kthememanager.cpp
index a72766837..950d40ad8 100644
--- a/kcontrol/kthememanager/kthememanager.cpp
+++ b/kcontrol/kthememanager/kthememanager.cpp
@@ -106,7 +106,7 @@ kthememanager::~kthememanager()
void kthememanager::init()
{
- TDEGlobal::dirs()->addResourceType( "themes", KStandardDirs::kde_default("data") +
+ TDEGlobal::dirs()->addResourceType( "themes", TDEStandardDirs::kde_default("data") +
"kthememanager/themes/" );
}
diff --git a/kcontrol/screensaver/scrnsave.cpp b/kcontrol/screensaver/scrnsave.cpp
index ba3c0eb66..74d76d652 100644
--- a/kcontrol/screensaver/scrnsave.cpp
+++ b/kcontrol/screensaver/scrnsave.cpp
@@ -66,7 +66,7 @@ K_EXPORT_COMPONENT_FACTORY (kcm_screensaver, KSSFactory("kcmscreensaver") )
static TQString findExe(const TQString &exe) {
TQString result = locate("exe", exe);
if (result.isEmpty())
- result = KStandardDirs::findExe(exe);
+ result = TDEStandardDirs::findExe(exe);
return result;
}
diff --git a/kcontrol/style/kcmstyle.cpp b/kcontrol/style/kcmstyle.cpp
index 5c274d3cc..ea6c11a08 100644
--- a/kcontrol/style/kcmstyle.cpp
+++ b/kcontrol/style/kcmstyle.cpp
@@ -128,7 +128,7 @@ KCMStyle::KCMStyle( TQWidget* parent, const char* name )
m_bToolbarsDirty = false;
TDEGlobal::dirs()->addResourceType("themes",
- KStandardDirs::kde_default("data") + "kstyle/themes");
+ TDEStandardDirs::kde_default("data") + "kstyle/themes");
TDEAboutData *about =
new TDEAboutData( I18N_NOOP("kcmstyle"),
diff --git a/kdesktop/kdiconview.cc b/kdesktop/kdiconview.cc
index 57287014a..ba772c39d 100644
--- a/kdesktop/kdiconview.cc
+++ b/kdesktop/kdiconview.cc
@@ -996,9 +996,9 @@ bool KDIconView::makeFriendlyText( KFileIVI *fileIVI )
{
KURL u( item->url() );
u.addPath( ".directory" );
- // using KStandardDirs as this one checks for path being
+ // using TDEStandardDirs as this one checks for path being
// a file instead of a directory
- if ( KStandardDirs::exists( u.path() ) )
+ if ( TDEStandardDirs::exists( u.path() ) )
desktopFile = u.path();
}
else if ( isDesktopFile( item ) )
@@ -1029,7 +1029,7 @@ bool KDIconView::makeFriendlyText( KFileIVI *fileIVI )
}
if (cfg.hasKey("TryExec"))
{
- if (KStandardDirs::findExe( cfg.readEntry( "TryExec" ) ).isEmpty())
+ if (TDEStandardDirs::findExe( cfg.readEntry( "TryExec" ) ).isEmpty())
return false;
}
diff --git a/kdesktop/lock/lockprocess.cc b/kdesktop/lock/lockprocess.cc
index a3f5fb56f..c8fc7c3a4 100644
--- a/kdesktop/lock/lockprocess.cc
+++ b/kdesktop/lock/lockprocess.cc
@@ -1586,7 +1586,7 @@ bool LockProcess::startHack()
TQTextStream ts(&mSaverExec, IO_ReadOnly);
TQString word;
ts >> word;
- TQString path = KStandardDirs::findExe(word);
+ TQString path = TDEStandardDirs::findExe(word);
if (!path.isEmpty())
{
@@ -2345,7 +2345,7 @@ void LockProcess::showVkbd()
int status = system( "hal-find-by-property --key system.formfactor.subtype --string tabletpc" );
// status = 0; // enable for testing
run_vkbd = ( WIFEXITED( status ) && WEXITSTATUS( status ) == 0
- && !KStandardDirs::findExe( "xvkbd" ).isEmpty()) ? 1 : 0;
+ && !TDEStandardDirs::findExe( "xvkbd" ).isEmpty()) ? 1 : 0;
}
if( run_vkbd ) {
mVkbdWindows.clear();
diff --git a/kdesktop/lockeng.cc b/kdesktop/lockeng.cc
index 8a9e7cf88..9caf6f29b 100644
--- a/kdesktop/lockeng.cc
+++ b/kdesktop/lockeng.cc
@@ -95,7 +95,7 @@ SaverEngine::SaverEngine()
configure();
mLockProcess.clearArguments();
- TQString path = KStandardDirs::findExe( "kdesktop_lock" );
+ TQString path = TDEStandardDirs::findExe( "kdesktop_lock" );
if( path.isEmpty())
{
kdDebug( 1204 ) << "Can't find kdesktop_lock!" << endl;
@@ -361,7 +361,7 @@ bool SaverEngine::startLockProcess( LockType lock_type )
if (!mLockProcess.isRunning()) {
mLockProcess.clearArguments();
- TQString path = KStandardDirs::findExe( "kdesktop_lock" );
+ TQString path = TDEStandardDirs::findExe( "kdesktop_lock" );
if( path.isEmpty())
{
kdDebug( 1204 ) << "Can't find kdesktop_lock!" << endl;
@@ -467,7 +467,7 @@ void SaverEngine::lockProcessExited()
// Restart the lock process
if (!mLockProcess.isRunning()) {
mLockProcess.clearArguments();
- TQString path = KStandardDirs::findExe( "kdesktop_lock" );
+ TQString path = TDEStandardDirs::findExe( "kdesktop_lock" );
if( path.isEmpty())
{
kdDebug( 1204 ) << "Can't find kdesktop_lock!" << endl;
diff --git a/kdesktop/minicli.cpp b/kdesktop/minicli.cpp
index 6f940a5b2..ce6d20e34 100644
--- a/kdesktop/minicli.cpp
+++ b/kdesktop/minicli.cpp
@@ -1072,7 +1072,7 @@ void Minicli::slotPriority(int priority)
TQString Minicli::calculate(const TQString &exp)
{
TQString result, cmd;
- const TQString bc = KStandardDirs::findExe("bc");
+ const TQString bc = TDEStandardDirs::findExe("bc");
if ( !bc.isEmpty() )
cmd = TQString("echo %1 | %2").arg(TDEProcess::quote(TQString("scale=8; ")+exp), TDEProcess::quote(bc));
else
diff --git a/kfind/kftabdlg.cpp b/kfind/kftabdlg.cpp
index fa86a1240..7182a8d0f 100644
--- a/kfind/kftabdlg.cpp
+++ b/kfind/kftabdlg.cpp
@@ -76,7 +76,7 @@ KfindTabWidget::KfindTabWidget(TQWidget *parent, const char *name)
subdirsCb->setChecked(true);
caseSensCb->setChecked(false);
useLocateCb->setChecked(false);
- if(KStandardDirs::findExe("locate")==NULL)
+ if(TDEStandardDirs::findExe("locate")==NULL)
useLocateCb->setEnabled(false);
nameBox->setDuplicatesEnabled(FALSE);
diff --git a/khelpcenter/docentry.cpp b/khelpcenter/docentry.cpp
index 5c08592bd..c198dd75f 100644
--- a/khelpcenter/docentry.cpp
+++ b/khelpcenter/docentry.cpp
@@ -251,7 +251,7 @@ bool DocEntry::docExists() const
{
if ( !mUrl.isEmpty() ) {
KURL docUrl( mUrl );
- if ( docUrl.isLocalFile() && !KStandardDirs::exists( docUrl.path() ) ) {
+ if ( docUrl.isLocalFile() && !TDEStandardDirs::exists( docUrl.path() ) ) {
// kdDebug(1400) << "URL not found: " << docUrl.url() << endl;
return false;
}
diff --git a/khelpcenter/docmetainfo.cpp b/khelpcenter/docmetainfo.cpp
index 1f99f22f6..be4af6ba8 100644
--- a/khelpcenter/docmetainfo.cpp
+++ b/khelpcenter/docmetainfo.cpp
@@ -137,7 +137,7 @@ void DocMetaInfo::scanMetaInfo( bool force )
TQStringList metaInfos = config.readListEntry( "MetaInfoDirs" );
if ( metaInfos.isEmpty() ) {
- KStandardDirs* kstd = TDEGlobal::dirs();
+ TDEStandardDirs* kstd = TDEGlobal::dirs();
kstd->addResourceType( "data", "share/apps/khelpcenter" );
metaInfos = kstd->findDirs( "data", "plugins" );
}
diff --git a/khelpcenter/htmlsearch/htmlsearch.cpp b/khelpcenter/htmlsearch/htmlsearch.cpp
index 105914733..f6f7528ee 100644
--- a/khelpcenter/htmlsearch/htmlsearch.cpp
+++ b/khelpcenter/htmlsearch/htmlsearch.cpp
@@ -32,7 +32,7 @@ void HTMLSearch::scanDir(const TQString& dir)
TQStringList::ConstIterator it;
- if ( KStandardDirs::exists( dir + "index.docbook" ) ) {
+ if ( TDEStandardDirs::exists( dir + "index.docbook" ) ) {
_files.append(dir + "index.docbook");
progress->setFilesScanned(++_filesScanned);
} else {
diff --git a/khelpcenter/searchhandler.cpp b/khelpcenter/searchhandler.cpp
index adf0574a2..06ca584f9 100644
--- a/khelpcenter/searchhandler.cpp
+++ b/khelpcenter/searchhandler.cpp
@@ -87,7 +87,7 @@ bool SearchHandler::checkBinary( const TQString &cmd ) const
if ( pos < 0 ) binary = cmd;
else binary = cmd.left( pos );
- return !KStandardDirs::findExe( binary ).isEmpty();
+ return !TDEStandardDirs::findExe( binary ).isEmpty();
}
void SearchHandler::search( DocEntry *entry, const TQStringList &words,
diff --git a/khotkeys/shared/khotkeysglobal.cpp b/khotkeys/shared/khotkeysglobal.cpp
index 272c5c1c0..87fe74c38 100644
--- a/khotkeys/shared/khotkeysglobal.cpp
+++ b/khotkeys/shared/khotkeysglobal.cpp
@@ -57,7 +57,7 @@ bool khotkeys_active()
return _khotkeys_active;
}
-// does the opposite of KStandardDirs::findResource() i.e. e.g.
+// does the opposite of TDEStandardDirs::findResource() i.e. e.g.
// "/opt/kde2/share/applnk/System/konsole.desktop" -> "System/konsole.desktop"
TQString get_menu_entry_from_path( const TQString& path_P )
{
diff --git a/kicker/extensions/dockbar/dockbarextension.cpp b/kicker/extensions/dockbar/dockbarextension.cpp
index 79c504874..2f26b045f 100644
--- a/kicker/extensions/dockbar/dockbarextension.cpp
+++ b/kicker/extensions/dockbar/dockbarextension.cpp
@@ -205,7 +205,7 @@ void DockBarExtension::embedWindow(WId win, TQString command, TQString resName,
if (container == 0) {
TQString cmd = command.isNull() ? resClass : command;
- if (KStandardDirs::findExe(KShell::splitArgs(cmd).front()).isEmpty())
+ if (TDEStandardDirs::findExe(KShell::splitArgs(cmd).front()).isEmpty())
ncmd = true;
container = new DockContainer(cmd, this, resName, resClass);
addContainer(container);
diff --git a/kicker/kicker/core/kicker.cpp b/kicker/kicker/core/kicker.cpp
index 0521e6413..c39f9a775 100644
--- a/kicker/kicker/core/kicker.cpp
+++ b/kicker/kicker/core/kicker.cpp
@@ -95,7 +95,7 @@ Kicker::Kicker()
dcopClient()->setDefaultObject("Panel");
disableSessionManagement();
- TQString dataPathBase = KStandardDirs::kde_default("data").append("kicker/");
+ TQString dataPathBase = TDEStandardDirs::kde_default("data").append("kicker/");
TDEGlobal::dirs()->addResourceType("mini", dataPathBase + "pics/mini");
TDEGlobal::dirs()->addResourceType("icon", dataPathBase + "pics");
TDEGlobal::dirs()->addResourceType("builtinbuttons", dataPathBase + "builtins");
diff --git a/kicker/kicker/ui/exe_dlg.cpp b/kicker/kicker/ui/exe_dlg.cpp
index 209e08270..fcdc76176 100644
--- a/kicker/kicker/ui/exe_dlg.cpp
+++ b/kicker/kicker/ui/exe_dlg.cpp
@@ -128,7 +128,7 @@ void PanelExeDialog::updateIcon()
void PanelExeDialog::fillCompletion()
{
KCompletion *comp = ui->m_exec->completionObject();
- TQStringList exePaths = KStandardDirs::systemPaths();
+ TQStringList exePaths = TDEStandardDirs::systemPaths();
for (TQStringList::ConstIterator it = exePaths.begin(); it != exePaths.end(); it++)
{
diff --git a/kicker/kicker/ui/k_new_mnu.cpp b/kicker/kicker/ui/k_new_mnu.cpp
index c0b14d1c9..79ed0d6b6 100644
--- a/kicker/kicker/ui/k_new_mnu.cpp
+++ b/kicker/kicker/ui/k_new_mnu.cpp
@@ -122,7 +122,7 @@
static TQString calculate(const TQString &exp)
{
TQString result, cmd;
- const TQString bc = KStandardDirs::findExe("bc");
+ const TQString bc = TDEStandardDirs::findExe("bc");
if ( !bc.isEmpty() )
cmd = TQString("echo %1 | %2").arg(TDEProcess::quote(exp), TDEProcess::quote(bc));
else
@@ -302,7 +302,7 @@ KMenu::KMenu()
m_searchInternet->setPixmap(0,icon);
setTabOrder(m_kcommand, m_searchResultsWidget);
- m_kerryInstalled = !KStandardDirs::findExe(TQString::fromLatin1("kerry")).isEmpty();
+ m_kerryInstalled = !TDEStandardDirs::findExe(TQString::fromLatin1("kerry")).isEmpty();
m_isShowing = false;
if (!m_kerryInstalled) {
@@ -1353,7 +1353,7 @@ void KMenu::insertStaticItems()
m_systemView->insertItem( "folder_home", i18n( "Home Folder" ),
TQDir::homeDirPath(), "file://"+TQDir::homeDirPath(), nId++, index++ );
- if ( KStandardDirs::exists( TDEGlobalSettings::documentPath() + "/" ) )
+ if ( TDEStandardDirs::exists( TDEGlobalSettings::documentPath() + "/" ) )
{
TQString documentPath = TDEGlobalSettings::documentPath();
if ( documentPath.endsWith( "/" ) )
@@ -2934,7 +2934,7 @@ void KMenu::slotContextMenu(int selected)
case EditMenu:
accept();
proc = new TDEProcess(TQT_TQOBJECT(this));
- *proc << KStandardDirs::findExe(TQString::fromLatin1("kmenuedit"));
+ *proc << TDEStandardDirs::findExe(TQString::fromLatin1("kmenuedit"));
*proc << "/"+m_popupPath.menuPath.section('/',-200,-2) << m_popupPath.menuPath.section('/', -1);
proc->start();
break;
diff --git a/kicker/kicker/ui/service_mnu.cpp b/kicker/kicker/ui/service_mnu.cpp
index bb1c1fc85..62cc7ec75 100644
--- a/kicker/kicker/ui/service_mnu.cpp
+++ b/kicker/kicker/ui/service_mnu.cpp
@@ -695,7 +695,7 @@ void PanelServiceMenu::slotContextMenu(int selected)
case EditItem:
proc = new TDEProcess(TQT_TQOBJECT(this));
- *proc << KStandardDirs::findExe(TQString::fromLatin1("kmenuedit"));
+ *proc << TDEStandardDirs::findExe(TQString::fromLatin1("kmenuedit"));
*proc << "/"+relPath_ << static_cast<KService *>(contextKSycocaEntry_)->menuId();
proc->start();
break;
@@ -739,7 +739,7 @@ void PanelServiceMenu::slotContextMenu(int selected)
case EditMenu:
proc = new TDEProcess(TQT_TQOBJECT(this));
- *proc << KStandardDirs::findExe(TQString::fromLatin1("kmenuedit"));
+ *proc << TDEStandardDirs::findExe(TQString::fromLatin1("kmenuedit"));
*proc << "/"+static_cast<KServiceGroup *>(contextKSycocaEntry_)->relPath();
proc->start();
break;
diff --git a/kicker/menuext/konsole/konsolebookmarkhandler.cpp b/kicker/menuext/konsole/konsolebookmarkhandler.cpp
index e12d6ebc1..34bfb9649 100644
--- a/kicker/menuext/konsole/konsolebookmarkhandler.cpp
+++ b/kicker/menuext/konsole/konsolebookmarkhandler.cpp
@@ -28,7 +28,7 @@ KonsoleBookmarkHandler::KonsoleBookmarkHandler( KonsoleMenu *konsole, bool )
file = locateLocal( "data", "konsole/bookmarks.xml" );
// import old bookmarks
- if ( !KStandardDirs::exists( file ) ) {
+ if ( !TDEStandardDirs::exists( file ) ) {
TQString oldFile = locate( "data", "tdefile/bookmarks.html" );
if ( !oldFile.isEmpty() )
importOldBookmarks( oldFile, file );
diff --git a/kicker/menuext/remote/remotemenu.cpp b/kicker/menuext/remote/remotemenu.cpp
index 49cc0db79..f6b9a8a10 100644
--- a/kicker/menuext/remote/remotemenu.cpp
+++ b/kicker/menuext/remote/remotemenu.cpp
@@ -43,7 +43,7 @@ RemoteMenu::RemoteMenu(TQWidget *parent, const char *name,
: KPanelMenu(parent, name), KDirNotify()
{
TDEGlobal::dirs()->addResourceType("remote_entries",
- KStandardDirs::kde_default("data") + "remoteview");
+ TDEStandardDirs::kde_default("data") + "remoteview");
TQString path = TDEGlobal::dirs()->saveLocation("remote_entries");
diff --git a/kicker/proxy/appletproxy.cpp b/kicker/proxy/appletproxy.cpp
index d6de4c39d..6c15e55ac 100644
--- a/kicker/proxy/appletproxy.cpp
+++ b/kicker/proxy/appletproxy.cpp
@@ -84,7 +84,7 @@ extern "C" KDE_EXPORT int kdemain( int argc, char ** argv )
TDEApplication a;
a.disableSessionManagement();
- TDEGlobal::dirs()->addResourceType("applets", KStandardDirs::kde_default("data") +
+ TDEGlobal::dirs()->addResourceType("applets", TDEStandardDirs::kde_default("data") +
"kicker/applets");
// setup proxy object
diff --git a/kicker/proxy/extensiondebugger.cpp b/kicker/proxy/extensiondebugger.cpp
index 55c832439..8c63fd7a8 100644
--- a/kicker/proxy/extensiondebugger.cpp
+++ b/kicker/proxy/extensiondebugger.cpp
@@ -88,7 +88,7 @@ int main( int argc, char ** argv )
TDEApplication a;
a.disableSessionManagement();
- TDEGlobal::dirs()->addResourceType("extensions", KStandardDirs::kde_default("data") +
+ TDEGlobal::dirs()->addResourceType("extensions", TDEStandardDirs::kde_default("data") +
"kicker/extensions");
TQString df;
diff --git a/kicker/proxy/extensionproxy.cpp b/kicker/proxy/extensionproxy.cpp
index 23289c633..7f8835d5f 100644
--- a/kicker/proxy/extensionproxy.cpp
+++ b/kicker/proxy/extensionproxy.cpp
@@ -70,7 +70,7 @@ extern "C" KDE_EXPORT int kdemain( int argc, char ** argv )
TDEApplication a;
a.disableSessionManagement();
- TDEGlobal::dirs()->addResourceType("extensions", KStandardDirs::kde_default("data") +
+ TDEGlobal::dirs()->addResourceType("extensions", TDEStandardDirs::kde_default("data") +
"kicker/extensions");
// setup proxy object
diff --git a/knetattach/knetattach.ui.h b/knetattach/knetattach.ui.h
index b690f953b..352d711f4 100644
--- a/knetattach/knetattach.ui.h
+++ b/knetattach/knetattach.ui.h
@@ -170,7 +170,7 @@ void KNetAttach::finished()
if (_createIcon->isChecked()) {
TDEGlobal::dirs()->addResourceType("remote_entries",
- KStandardDirs::kde_default("data") + "remoteview");
+ TDEStandardDirs::kde_default("data") + "remoteview");
TQString path = TDEGlobal::dirs()->saveLocation("remote_entries");
path += name + ".desktop";
diff --git a/konqueror/sidebar/sidebar_widget.cpp b/konqueror/sidebar/sidebar_widget.cpp
index 44b3cca35..8dc49bb5c 100644
--- a/konqueror/sidebar/sidebar_widget.cpp
+++ b/konqueror/sidebar/sidebar_widget.cpp
@@ -67,7 +67,7 @@ void addBackEnd::aboutToShowAddMenu()
{
if (!menu)
return;
- KStandardDirs *dirs = TDEGlobal::dirs();
+ TDEStandardDirs *dirs = TDEGlobal::dirs();
TQStringList list = dirs->findAllResources("data","konqsidebartng/add/*.desktop",true,true);
libNames.setAutoDelete(true);
libNames.resize(0);
@@ -122,7 +122,7 @@ void addBackEnd::doRollBack()
{
if (KMessageBox::warningContinueCancel(m_parent, i18n("<qt>This removes all your entries from the sidebar and adds the system default ones.<BR><B>This procedure is irreversible</B><BR>Do you want to proceed?</qt>"))==KMessageBox::Continue)
{
- KStandardDirs *dirs = TDEGlobal::dirs();
+ TDEStandardDirs *dirs = TDEGlobal::dirs();
TQString loc=dirs->saveLocation("data","konqsidebartng/" + m_currentProfile + "/",true);
TQDir dir(loc);
TQStringList dirEntries = dir.entryList( TQDir::Dirs | TQDir::NoSymLinks );
@@ -139,7 +139,7 @@ void addBackEnd::doRollBack()
static TQString findFileName(const TQString* tmpl,bool universal, const TQString &profile) {
TQString myFile, filename;
- KStandardDirs *dirs = TDEGlobal::dirs();
+ TDEStandardDirs *dirs = TDEGlobal::dirs();
TQString tmp = *tmpl;
if (universal) {
@@ -331,7 +331,7 @@ void Sidebar_Widget::addWebSideBar(const KURL& url, const TQString& /*name*/) {
// << " [" << name << "]" << endl;
// Look for existing ones with this URL
- KStandardDirs *dirs = TDEGlobal::dirs();
+ TDEStandardDirs *dirs = TDEGlobal::dirs();
TQString list;
dirs->saveLocation("data", m_relPath, true);
list = locateLocal("data", m_relPath);
diff --git a/konqueror/sidebar/trees/konq_sidebartree.cpp b/konqueror/sidebar/trees/konq_sidebartree.cpp
index b53ce2635..af7177b2e 100644
--- a/konqueror/sidebar/trees/konq_sidebartree.cpp
+++ b/konqueror/sidebar/trees/konq_sidebartree.cpp
@@ -87,7 +87,7 @@ void KonqSidebarTree::loadModuleFactories()
{
pluginFactories.clear();
pluginInfo.clear();
- KStandardDirs *dirs=TDEGlobal::dirs();
+ TDEStandardDirs *dirs=TDEGlobal::dirs();
TQStringList list=dirs->findAllResources("data","konqsidebartng/dirtree/*.desktop",false,true);
diff --git a/konqueror/sidebar/trees/konqsidebar_tree.cpp b/konqueror/sidebar/trees/konqsidebar_tree.cpp
index 1cdf54da0..900d25e03 100644
--- a/konqueror/sidebar/trees/konqsidebar_tree.cpp
+++ b/konqueror/sidebar/trees/konqsidebar_tree.cpp
@@ -134,7 +134,7 @@ extern "C"
{
KDE_EXPORT bool add_konqsidebar_tree(TQString* fn, TQString*, TQMap<TQString,TQString> *map)
{
- KStandardDirs *dirs=TDEGlobal::dirs();
+ TDEStandardDirs *dirs=TDEGlobal::dirs();
TQStringList list=dirs->findAllResources("data","konqsidebartng/dirtree/*.desktop",false,true);
TQStringList names;
for (TQStringList::ConstIterator it=list.begin();it!=list.end();++it)
diff --git a/konqueror/sidebar/web_module/web_module.cpp b/konqueror/sidebar/web_module/web_module.cpp
index f0705ae3a..da5a5c9bb 100644
--- a/konqueror/sidebar/web_module/web_module.cpp
+++ b/konqueror/sidebar/web_module/web_module.cpp
@@ -191,7 +191,7 @@ extern "C" {
extern "C" {
KDE_EXPORT bool add_konqsidebar_web(TQString* fn, TQString* param, TQMap<TQString,TQString> *map) {
Q_UNUSED(param);
- TDEGlobal::dirs()->addResourceType("websidebardata", KStandardDirs::kde_default("data") + "konqsidebartng/websidebar");
+ TDEGlobal::dirs()->addResourceType("websidebardata", TDEStandardDirs::kde_default("data") + "konqsidebartng/websidebar");
KURL url;
url.setProtocol("file");
TQStringList paths = TDEGlobal::dirs()->resourceDirs("websidebardata");
diff --git a/konsole/konsole/main.cpp b/konsole/konsole/main.cpp
index 9e12a340d..dc5431f4e 100644
--- a/konsole/konsole/main.cpp
+++ b/konsole/konsole/main.cpp
@@ -255,7 +255,7 @@ extern "C" int KDE_EXPORT kdemain(int argc, char* argv[])
a = new TDEApplication;
#endif
- TQString dataPathBase = KStandardDirs::kde_default("data").append("konsole/");
+ TQString dataPathBase = TDEStandardDirs::kde_default("data").append("konsole/");
TDEGlobal::dirs()->addResourceType("wallpaper", dataPathBase + "wallpapers");
KImageIO::registerFormats(); // add io for additional image formats
diff --git a/kpersonalizer/kospage.cpp b/kpersonalizer/kospage.cpp
index bc514d9c8..6b7590bd3 100644
--- a/kpersonalizer/kospage.cpp
+++ b/kpersonalizer/kospage.cpp
@@ -105,7 +105,7 @@ void KOSPage::save(bool currSettings){
void KOSPage::saveCheckState(bool currSettings){
if(currSettings){
// Set the path for the keysscheme resource files
- TDEGlobal::dirs()->addResourceType("keys", KStandardDirs::kde_default("data")+"kcmkeys");
+ TDEGlobal::dirs()->addResourceType("keys", TDEStandardDirs::kde_default("data")+"kcmkeys");
// write the settings to the configfiles, depending on wich radiobutton is checked
if(rb_kde->isChecked()){
writeKDE();
diff --git a/kpersonalizer/kstylepage.cpp b/kpersonalizer/kstylepage.cpp
index eff55cb39..a44084608 100644
--- a/kpersonalizer/kstylepage.cpp
+++ b/kpersonalizer/kstylepage.cpp
@@ -118,7 +118,7 @@ void KStylePage::saveKWin(bool curSettings){
TQString twin = origKWinStyle;
if(curSettings) {
KDesktopFile* kdf = 0L;
- KStandardDirs* kstd = TDEGlobal::dirs();
+ TDEStandardDirs* kstd = TDEGlobal::dirs();
if (cde->isSelected() && twin_cde_exist)
kdf = new KDesktopFile(kstd->findResource("data", "twin/cde.desktop"));
else if (win->isSelected() && twin_win_exist)
@@ -324,7 +324,7 @@ void KStylePage::getColors(colorSet *set, bool colorfile ){
bool deleteConfig = false;
// get the color scheme file and go to the color scheme group
if(colorfile){
- TDEGlobal::dirs()->addResourceType("colors", KStandardDirs::kde_default("data")+"kdisplay/color-schemes");
+ TDEGlobal::dirs()->addResourceType("colors", TDEStandardDirs::kde_default("data")+"kdisplay/color-schemes");
// set the style
if (kde->isSelected()) {
set->bgMode="Flat";
@@ -439,7 +439,7 @@ void KStylePage::getAvailability() {
twin_keramik_exist = twin_system_exist = twin_plastik_exist
= twin_default_exist = twin_win_exist
= twin_cde_exist = twin_quartz_exist = false;
- KStandardDirs* kstd = TDEGlobal::dirs();
+ TDEStandardDirs* kstd = TDEGlobal::dirs();
if (!kstd->findResource("data", "twin/keramik.desktop").isNull())
twin_keramik_exist = true;
if (!kstd->findResource("data", "twin/plastik.desktop").isNull())
diff --git a/ksplashml/kcmksplash/installer.cpp b/ksplashml/kcmksplash/installer.cpp
index 73c5da99e..4c1c23549 100644
--- a/ksplashml/kcmksplash/installer.cpp
+++ b/ksplashml/kcmksplash/installer.cpp
@@ -88,7 +88,7 @@ void ThemeListBox::mouseMoveEvent(TQMouseEvent *e)
SplashInstaller::SplashInstaller (TQWidget *aParent, const char *aName, bool aInit)
: TQWidget(aParent, aName), mGui(!aInit)
{
- TDEGlobal::dirs()->addResourceType("ksplashthemes", KStandardDirs::kde_default("data") + "ksplash/Themes");
+ TDEGlobal::dirs()->addResourceType("ksplashthemes", TDEStandardDirs::kde_default("data") + "ksplash/Themes");
if (!mGui)
return;
diff --git a/ksplashml/kcmksplash/main.cpp b/ksplashml/kcmksplash/main.cpp
index 3344145a5..04c890fdd 100644
--- a/ksplashml/kcmksplash/main.cpp
+++ b/ksplashml/kcmksplash/main.cpp
@@ -86,7 +86,7 @@ TQString KSplashThemeMgr::quickHelp() const
void KSplashThemeMgr::init()
{
- TDEGlobal::dirs()->addResourceType("ksplashthemes", KStandardDirs::kde_default("data") + "ksplash/Themes");
+ TDEGlobal::dirs()->addResourceType("ksplashthemes", TDEStandardDirs::kde_default("data") + "ksplash/Themes");
}
void KSplashThemeMgr::save()
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" );
diff --git a/tdeinit/phase1.cpp b/tdeinit/phase1.cpp
index f42d258a0..f1004759f 100644
--- a/tdeinit/phase1.cpp
+++ b/tdeinit/phase1.cpp
@@ -68,7 +68,7 @@ int main(int argc, char **argv)
}
// Make sure the specified WM exists
- if (KStandardDirs::findExe(wmToLaunch) == TQString::null) {
+ if (TDEStandardDirs::findExe(wmToLaunch) == TQString::null) {
wmToLaunch = "";
}
diff --git a/tdeioslave/cgi/cgi.cpp b/tdeioslave/cgi/cgi.cpp
index e0e03e454..b17ab6209 100644
--- a/tdeioslave/cgi/cgi.cpp
+++ b/tdeioslave/cgi/cgi.cpp
@@ -132,7 +132,7 @@ void CgiProtocol::get( const KURL& url )
if ( !(*it).endsWith("/") )
cmd += "/";
cmd += file;
- if ( KStandardDirs::exists( cmd ) ) {
+ if ( TDEStandardDirs::exists( cmd ) ) {
forwardFile = false;
stripHeader = true;
break;
diff --git a/tdeioslave/fish/fish.cpp b/tdeioslave/fish/fish.cpp
index 30f033753..2fc837f58 100644
--- a/tdeioslave/fish/fish.cpp
+++ b/tdeioslave/fish/fish.cpp
@@ -254,12 +254,12 @@ fishProtocol::fishProtocol(const TQCString &pool_socket, const TQCString &app_so
// disabled: currently not needed. Didn't work reliably.
// isOpenSSH = !system("ssh -V 2>&1 | grep OpenSSH > /dev/null");
if (isNXFish)
- sshPath = strdup(TQFile::encodeName(KStandardDirs::findExe("nxfish")));
+ sshPath = strdup(TQFile::encodeName(TDEStandardDirs::findExe("nxfish")));
else
- sshPath = strdup(TQFile::encodeName(KStandardDirs::findExe("ssh")));
+ sshPath = strdup(TQFile::encodeName(TDEStandardDirs::findExe("ssh")));
}
if (suPath == NULL) {
- suPath = strdup(TQFile::encodeName(KStandardDirs::findExe("su")));
+ suPath = strdup(TQFile::encodeName(TDEStandardDirs::findExe("su")));
}
childPid = 0;
connectionPort = 0;
diff --git a/tdeioslave/man/tdeio_man.cpp b/tdeioslave/man/tdeio_man.cpp
index 4c4f1945c..032de3ecf 100644
--- a/tdeioslave/man/tdeio_man.cpp
+++ b/tdeioslave/man/tdeio_man.cpp
@@ -83,7 +83,7 @@ bool parseUrl(const TQString& _url, TQString &title, TQString &section)
TQString url = _url;
if (url.at(0) == '/') {
- if (KStandardDirs::exists(url)) {
+ if (TDEStandardDirs::exists(url)) {
title = url;
return true;
} else
@@ -559,7 +559,7 @@ char *MANProtocol::readManPage(const char *_filename)
if (TQDir::isRelativePath(filename)) {
kdDebug(7107) << "relative " << filename << endl;
filename = TQDir::cleanDirPath(lastdir + "/" + filename).utf8();
- if (!KStandardDirs::exists(filename)) { // exists perhaps with suffix
+ if (!TDEStandardDirs::exists(filename)) { // exists perhaps with suffix
lastdir = filename.left(filename.findRev('/'));
TQDir mandir(lastdir);
mandir.setNameFilter(filename.mid(filename.findRev('/') + 1) + ".*");
diff --git a/tdeioslave/media/mediamanager/fstabbackend.cpp b/tdeioslave/media/mediamanager/fstabbackend.cpp
index 0069a8e8e..2f5bea220 100644
--- a/tdeioslave/media/mediamanager/fstabbackend.cpp
+++ b/tdeioslave/media/mediamanager/fstabbackend.cpp
@@ -313,8 +313,8 @@ void FstabBackend::handleFstabChange(bool allowNotification)
TQString FstabBackend::generateId(const TQString &devNode,
const TQString &mountPoint)
{
- TQString d = KStandardDirs::realFilePath(devNode);
- TQString m = KStandardDirs::realPath(mountPoint);
+ TQString d = TDEStandardDirs::realFilePath(devNode);
+ TQString m = TDEStandardDirs::realPath(mountPoint);
return "/org/kde/mediamanager/fstab/"
+d.replace("/", "")
diff --git a/tdeioslave/media/mediamanager/halbackend.cpp b/tdeioslave/media/mediamanager/halbackend.cpp
index 1022b36be..1e168e13f 100644
--- a/tdeioslave/media/mediamanager/halbackend.cpp
+++ b/tdeioslave/media/mediamanager/halbackend.cpp
@@ -1164,12 +1164,12 @@ TQString startPrivilegedProcess(const TQString& command, const TQString& dialogC
{
TQString error;
- TQString tdesudoPath = KStandardDirs::findExe("tdesudo");
+ TQString tdesudoPath = TDEStandardDirs::findExe("tdesudo");
if (!tdesudoPath.isEmpty())
error = startKdeSudoProcess(tdesudoPath, command, dialogCaption, dialogComment);
else {
- TQString tdesuPath = KStandardDirs::findExe("tdesu");
+ TQString tdesuPath = TDEStandardDirs::findExe("tdesu");
if (!tdesuPath.isEmpty())
error = startKdeSuProcess(tdesuPath, command, dialogCaption);
@@ -1184,7 +1184,7 @@ TQString privilegedMount(const char* udi, const char* mountPoint, const char** o
kdDebug() << "run privileged mount for " << udi << endl;
- TQString dbusSendPath = KStandardDirs::findExe("dbus-send");
+ TQString dbusSendPath = TDEStandardDirs::findExe("dbus-send");
// @todo return error message
if (dbusSendPath.isEmpty())
@@ -1219,7 +1219,7 @@ TQString privilegedUnmount(const char* udi)
kdDebug() << "run privileged unmount for " << udi << endl;
- TQString dbusSendPath = KStandardDirs::findExe("dbus-send");
+ TQString dbusSendPath = TDEStandardDirs::findExe("dbus-send");
// @todo return error message
if (dbusSendPath.isEmpty())
diff --git a/tdeioslave/media/mediamanager/mediamanager.cpp b/tdeioslave/media/mediamanager/mediamanager.cpp
index 511eb6c64..295f4269a 100644
--- a/tdeioslave/media/mediamanager/mediamanager.cpp
+++ b/tdeioslave/media/mediamanager/mediamanager.cpp
@@ -188,7 +188,7 @@ TQStringList MediaManager::properties(const TQString &name)
for (; it!=end; ++it)
{
- path = KStandardDirs::realFilePath(u.path());
+ path = TDEStandardDirs::realFilePath(u.path());
kdDebug() << "comparing " << (*it)->mountPoint() << " " << path << " " << (*it)->deviceNode() << endl;
if ((*it)->mountPoint() == path || (*it)->deviceNode() == path) {
m = *it;
diff --git a/tdeioslave/media/mediamanager/removablebackend.cpp b/tdeioslave/media/mediamanager/removablebackend.cpp
index 6b83ae1ea..dc619701a 100644
--- a/tdeioslave/media/mediamanager/removablebackend.cpp
+++ b/tdeioslave/media/mediamanager/removablebackend.cpp
@@ -166,7 +166,7 @@ void RemovableBackend::handleMtabChange()
TQString RemovableBackend::generateId(const TQString &devNode)
{
- TQString dev = KStandardDirs::realFilePath(devNode);
+ TQString dev = TDEStandardDirs::realFilePath(devNode);
return "/org/kde/mediamanager/removable/"
+dev.replace("/", "");
diff --git a/tdeioslave/media/medianotifier/medianotifier.cpp b/tdeioslave/media/medianotifier/medianotifier.cpp
index de6a56645..74cf1c08e 100644
--- a/tdeioslave/media/medianotifier/medianotifier.cpp
+++ b/tdeioslave/media/medianotifier/medianotifier.cpp
@@ -230,7 +230,7 @@ bool MediaNotifier::execAutoopen( const KFileItem &medium, const TQString &path,
// The desktop environment MUST verify that the relative path points
// to a file that is actually located on the medium [...]
TQString resolved_path
- = KStandardDirs::realFilePath( path+"/"+relative_path );
+ = TDEStandardDirs::realFilePath( path+"/"+relative_path );
if ( !resolved_path.startsWith( path ) )
{
diff --git a/tdeioslave/remote/kdedmodule/remotedirnotify.cpp b/tdeioslave/remote/kdedmodule/remotedirnotify.cpp
index fa880b78b..7ed66ce06 100644
--- a/tdeioslave/remote/kdedmodule/remotedirnotify.cpp
+++ b/tdeioslave/remote/kdedmodule/remotedirnotify.cpp
@@ -31,7 +31,7 @@
RemoteDirNotify::RemoteDirNotify()
{
TDEGlobal::dirs()->addResourceType("remote_entries",
- KStandardDirs::kde_default("data") + "remoteview");
+ TDEStandardDirs::kde_default("data") + "remoteview");
TQString path = TDEGlobal::dirs()->saveLocation("remote_entries");
m_baseURL.setPath(path);
diff --git a/tdeioslave/remote/remoteimpl.cpp b/tdeioslave/remote/remoteimpl.cpp
index 2ca263768..d977781ea 100644
--- a/tdeioslave/remote/remoteimpl.cpp
+++ b/tdeioslave/remote/remoteimpl.cpp
@@ -37,7 +37,7 @@
RemoteImpl::RemoteImpl()
{
TDEGlobal::dirs()->addResourceType("remote_entries",
- KStandardDirs::kde_default("data") + "remoteview");
+ TDEStandardDirs::kde_default("data") + "remoteview");
TQString path = TDEGlobal::dirs()->saveLocation("remote_entries");
diff --git a/tdeioslave/sftp/ksshprocess.cpp b/tdeioslave/sftp/ksshprocess.cpp
index 3393f8934..678806605 100644
--- a/tdeioslave/sftp/ksshprocess.cpp
+++ b/tdeioslave/sftp/ksshprocess.cpp
@@ -206,7 +206,7 @@ void KSshProcess::removeSignalHandlers() {
KSshProcess::KSshProcess()
: mVersion(UNKNOWN_VER), mConnected(false),
mRunning(false), mConnectState(0) {
- mSshPath = KStandardDirs::findExe(TQString::fromLatin1("ssh"));
+ mSshPath = TDEStandardDirs::findExe(TQString::fromLatin1("ssh"));
kdDebug(KSSHPROC) << "KSshProcess::KSshProcess(): ssh path [" <<
mSshPath << "]" << endl;
diff --git a/tdeioslave/sftp/process.cpp b/tdeioslave/sftp/process.cpp
index 885fe7636..bcb686df0 100644
--- a/tdeioslave/sftp/process.cpp
+++ b/tdeioslave/sftp/process.cpp
@@ -264,7 +264,7 @@ int MyPtyProcess::exec(TQCString command, QCStringList args)
path = command;
else
{
- TQString file = KStandardDirs::findExe(command);
+ TQString file = TDEStandardDirs::findExe(command);
if (file.isEmpty())
{
kdError(PTYPROC) << k_lineinfo << command << " not found\n";
diff --git a/tdeioslave/smb/tdeio_smb_mount.cpp b/tdeioslave/smb/tdeio_smb_mount.cpp
index 1cda7f5f4..0cf9775d0 100644
--- a/tdeioslave/smb/tdeio_smb_mount.cpp
+++ b/tdeioslave/smb/tdeio_smb_mount.cpp
@@ -64,7 +64,7 @@ void SMBSlave::special( const TQByteArray & data)
kdDebug(KIO_SMB) << "mounting: " << remotePath.local8Bit() << " to " << mountPoint.local8Bit() << endl;
if (tmp==3) {
- if (!KStandardDirs::makeDir(mountPoint)) {
+ if (!TDEStandardDirs::makeDir(mountPoint)) {
error(TDEIO::ERR_COULD_NOT_MKDIR, mountPoint);
return;
}
diff --git a/tdeioslave/system/kdedmodule/systemdirnotify.cpp b/tdeioslave/system/kdedmodule/systemdirnotify.cpp
index 3a6f029e6..bd27af597 100644
--- a/tdeioslave/system/kdedmodule/systemdirnotify.cpp
+++ b/tdeioslave/system/kdedmodule/systemdirnotify.cpp
@@ -42,7 +42,7 @@ void SystemDirNotify::init()
return;
mInited = true;
TDEGlobal::dirs()->addResourceType("system_entries",
- KStandardDirs::kde_default("data") + "systemview");
+ TDEStandardDirs::kde_default("data") + "systemview");
TQStringList names_found;
TQStringList dirList = TDEGlobal::dirs()->resourceDirs("system_entries");
diff --git a/tdeioslave/system/systemimpl.cpp b/tdeioslave/system/systemimpl.cpp
index 12732767c..84f7c9866 100644
--- a/tdeioslave/system/systemimpl.cpp
+++ b/tdeioslave/system/systemimpl.cpp
@@ -34,7 +34,7 @@
SystemImpl::SystemImpl() : TQObject()
{
TDEGlobal::dirs()->addResourceType("system_entries",
- KStandardDirs::kde_default("data") + "systemview");
+ TDEStandardDirs::kde_default("data") + "systemview");
}
bool SystemImpl::listRoot(TQValueList<TDEIO::UDSEntry> &list)
diff --git a/tdeioslave/trash/trashimpl.cpp b/tdeioslave/trash/trashimpl.cpp
index b78427d12..d49123572 100644
--- a/tdeioslave/trash/trashimpl.cpp
+++ b/tdeioslave/trash/trashimpl.cpp
@@ -133,7 +133,7 @@ bool TrashImpl::init()
m_initStatus = InitError;
// $XDG_DATA_HOME/Trash, i.e. ~/.local/share/Trash by default.
const TQString xdgDataDir = TDEGlobal::dirs()->localxdgdatadir();
- if ( !KStandardDirs::makeDir( xdgDataDir, 0700 ) ) {
+ if ( !TDEStandardDirs::makeDir( xdgDataDir, 0700 ) ) {
kdWarning() << "failed to create " << xdgDataDir << endl;
return false;
}
@@ -282,7 +282,7 @@ bool TrashImpl::createInfo( const TQString& origPath, int& trashId, TQString& fi
TQString TrashImpl::makeRelativePath( const TQString& topdir, const TQString& path )
{
- const TQString realPath = KStandardDirs::realFilePath( path );
+ const TQString realPath = TDEStandardDirs::realFilePath( path );
// topdir ends with '/'
if ( realPath.startsWith( topdir ) ) {
const TQString rel = realPath.mid( topdir.length() );
diff --git a/tdeprint/tdeprintfax/defcmds.cpp b/tdeprint/tdeprintfax/defcmds.cpp
index a2d58c17e..9529c757d 100644
--- a/tdeprint/tdeprintfax/defcmds.cpp
+++ b/tdeprint/tdeprintfax/defcmds.cpp
@@ -29,7 +29,7 @@ TQString defaultCommand(const TQString& cmd)
int p(-1);
if ((p=r.search(str)) != -1)
{
- TQString exe = KStandardDirs::findExe(r.cap(1));
+ TQString exe = TDEStandardDirs::findExe(r.cap(1));
if (exe.isEmpty())
exe = "/usr/bin/"+r.cap(1);
str.replace(p, r.matchedLength(), exe);
diff --git a/tdescreensaver/random.cpp b/tdescreensaver/random.cpp
index eb6401b6a..5ee255453 100644
--- a/tdescreensaver/random.cpp
+++ b/tdescreensaver/random.cpp
@@ -144,7 +144,7 @@ int main(int argc, char *argv[])
bool opengl = type.readBoolEntry("OpenGL", hasDirectRendering());
kdDebug() << "hasOPEN " << opengl << endl;
bool manipulatescreen = type.readBoolEntry("ManipulateScreen");
- bool fortune = !KStandardDirs::findExe("fortune").isEmpty();
+ bool fortune = !TDEStandardDirs::findExe("fortune").isEmpty();
TQStringList defaults = type.readListEntry( "Defaults" );
TQMap<TQString, int> def_numbers;
for ( TQStringList::ConstIterator it = defaults.begin(); it != defaults.end(); ++it ) {
@@ -219,7 +219,7 @@ int main(int argc, char *argv[])
TQTextStream ts(&cmd, IO_ReadOnly);
TQString word;
ts >> word;
- TQString exeFile = KStandardDirs::findExe(word);
+ TQString exeFile = TDEStandardDirs::findExe(word);
if (!exeFile.isEmpty())
{
diff --git a/tdesu/tdesu/tdesu.cpp b/tdesu/tdesu/tdesu.cpp
index 753125903..ab3abce5c 100644
--- a/tdesu/tdesu/tdesu.cpp
+++ b/tdesu/tdesu/tdesu.cpp
@@ -181,7 +181,7 @@ static int startApp()
{
if (file.at(0) != '/')
{
- KStandardDirs dirs;
+ TDEStandardDirs dirs;
dirs.addKDEDefaults();
file = dirs.findResource("config", file);
if (file.isEmpty())
diff --git a/tdm/kfrontend/kgreeter.cpp b/tdm/kfrontend/kgreeter.cpp
index 77b827ff2..c2fb0c6f5 100644
--- a/tdm/kfrontend/kgreeter.cpp
+++ b/tdm/kfrontend/kgreeter.cpp
@@ -641,7 +641,7 @@ KGreeter::insertSessions()
dsk.readEntry( "Name" ),
(dsk.readBoolEntry( "Hidden", false ) ||
(dsk.hasKey( "TryExec" ) &&
- KStandardDirs::findExe( dsk.readEntry( "TryExec" ) ).isEmpty())),
+ TDEStandardDirs::findExe( dsk.readEntry( "TryExec" ) ).isEmpty())),
dsk.readEntry( "Exec" ).latin1() );
}
}
diff --git a/tdm/kfrontend/themer/tdmpixmap.cpp b/tdm/kfrontend/themer/tdmpixmap.cpp
index 56ece936c..35e3dcc40 100644
--- a/tdm/kfrontend/themer/tdmpixmap.cpp
+++ b/tdm/kfrontend/themer/tdmpixmap.cpp
@@ -72,7 +72,7 @@ KdmPixmap::KdmPixmap( KdmItem *parent, const TQDomNode &node, const char *name )
if ((_compositor.isEmpty()) || (!argb_visual_available)) {
// Software blend only (no compositing support)
// Use the preset TDM background...
- KStandardDirs *m_pDirs = TDEGlobal::dirs();
+ TDEStandardDirs *m_pDirs = TDEGlobal::dirs();
KSimpleConfig *config = new KSimpleConfig( TQFile::decodeName( _backgroundCfg ) );
config->setGroup("Desktop0");
pixmap.normal.fullpath = m_pDirs->findResource("wallpaper", config->readPathEntry("Wallpaper"));
@@ -179,7 +179,7 @@ KdmPixmap::loadPixmap( PixmapStruct::PixmapClass *pClass )
kdDebug() << timestamp() << " ext " << ext << " " << fullpath << endl;
TQString testpath = TQString("-%1x%2").arg(area.width()).arg(area.height()) + ext;
kdDebug() << timestamp() << " testing for " << fullpath + testpath << endl;
- if (KStandardDirs::exists(fullpath + testpath))
+ if (TDEStandardDirs::exists(fullpath + testpath))
pClass->pixmap.load(fullpath + testpath);
else
pClass->pixmap.load( fullpath + ext );
diff --git a/twin/client.cpp b/twin/client.cpp
index 4f5d618eb..3efe87f89 100644
--- a/twin/client.cpp
+++ b/twin/client.cpp
@@ -1829,7 +1829,7 @@ void Client::killProcess( bool ask, Time timestamp )
else
{ // SELI TODO handle the window created by handler specially (on top,urgent?)
process_killer = new TDEProcess( this );
- *process_killer << KStandardDirs::findExe( "twin_killer_helper" )
+ *process_killer << TDEStandardDirs::findExe( "twin_killer_helper" )
<< "--pid" << TQCString().setNum( pid ) << "--hostname" << machine
<< "--windowname" << caption().utf8()
<< "--applicationname" << resourceClass()
@@ -1958,7 +1958,7 @@ bool Client::queryUserSuspendedResume()
}
// FIXME We should display a busy cursor until twin_resumer_helper loads
process_resumer = new TDEProcess( this );
- *process_resumer << KStandardDirs::findExe( "twin_resumer_helper" )
+ *process_resumer << TDEStandardDirs::findExe( "twin_resumer_helper" )
<< "--pid" << TQCString().setNum( info->pid() ) << "--hostname" << wmClientMachine( true )
<< "--windowname" << caption().utf8()
<< "--applicationname" << resourceClass()
diff --git a/twin/clients/PORTING b/twin/clients/PORTING
index 398d81b9c..0c0c1a6ea 100644
--- a/twin/clients/PORTING
+++ b/twin/clients/PORTING
@@ -153,7 +153,7 @@ extern "C"
(usually 'widget()->resize( s );' is enough).
- Review mousePosition() if it's implemented. Position constants need 'Position' prepended,
e.g. Top -> PositionTop.
-- Note that you cannot use "appdata" with KStandardDirs, as the decoration will be used
+- Note that you cannot use "appdata" with TDEStandardDirs, as the decoration will be used
also in other applications than twin.
- Implement all missing pure virtual functions. For mousePosition(), you may call
KDecoration::mousePosition() if it's sufficient.
diff --git a/twin/kcmtwin/twindecoration/twindecoration.cpp b/twin/kcmtwin/twindecoration/twindecoration.cpp
index 788a0d3e7..e533ad87f 100644
--- a/twin/kcmtwin/twindecoration/twindecoration.cpp
+++ b/twin/kcmtwin/twindecoration/twindecoration.cpp
@@ -465,7 +465,7 @@ void KWinDecorationModule::createThirdPartyWMList()
if (descStart >= 0) {
wmExecutable.truncate(descStart);
}
- if (KStandardDirs::findExe(wmExecutable) != TQString::null) {
+ if (TDEStandardDirs::findExe(wmExecutable) != TQString::null) {
wmAvailableNames.append(*it);
}
}