diff options
author | Timothy Pearson <[email protected]> | 2013-01-31 13:16:53 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-01-31 13:16:53 -0600 |
commit | cdb293e6371239f89692efac6074ab7b29008cdc (patch) | |
tree | 48c9b6bc06172ccab353a2283277292620c3b076 /src/autostart.cpp | |
parent | a09a1e0b6a49f269e315523929eb7db3278224dd (diff) | |
download | kcmautostart-cdb293e6371239f89692efac6074ab7b29008cdc.tar.gz kcmautostart-cdb293e6371239f89692efac6074ab7b29008cdc.zip |
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'src/autostart.cpp')
-rw-r--r-- | src/autostart.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/autostart.cpp b/src/autostart.cpp index 43aa25f..8c5c4b6 100644 --- a/src/autostart.cpp +++ b/src/autostart.cpp @@ -80,7 +80,7 @@ TQString fStartOn() { void setStartOn(int start) { iStartOn = start; setText(2, fStartOn() ); - KStandardDirs *ksd = new KStandardDirs(); + TDEStandardDirs *ksd = new TDEStandardDirs(); TDEGlobalSettings * kgs = new TDEGlobalSettings(); TQString path; switch (iStartOn) { @@ -183,7 +183,7 @@ void autostart::load() { kgs = new TDEGlobalSettings(); kdDebug() << "According to TDE your Autostart location is: " << kgs->autostartPath() << endl; - KStandardDirs *ksd = new KStandardDirs(); + TDEStandardDirs *ksd = new TDEStandardDirs(); TQString path; for (int x=0;x<3;x++) { @@ -194,8 +194,8 @@ void autostart::load() else if (x==2) path = ksd->localtdedir() + "/env"; - if (! KStandardDirs::exists(path)) - KStandardDirs::makeDir(path); + if (! TDEStandardDirs::exists(path)) + TDEStandardDirs::makeDir(path); TQDir *autostartdir = new TQDir( path ); autostartdir->setFilter( TQDir::Files); |