From cdb293e6371239f89692efac6074ab7b29008cdc Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:16:53 -0600 Subject: [PATCH] Rename KStandard for enhanced compatibility with KDE4 --- src/autostart.cpp | 8 ++++---- 1 file 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);