Rename KStandard for enhanced compatibility with KDE4

pull/1/head
Timothy Pearson 12 years ago
parent a09a1e0b6a
commit cdb293e637

@ -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);

Loading…
Cancel
Save