diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
commit | 10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch) | |
tree | 4bc444c00a79e88105f2cfce5b6209994c413ca0 /kinit/autostart.cpp | |
parent | 307136d8eef0ba133b78ceee8e901138d4c996a1 (diff) | |
download | tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kinit/autostart.cpp')
-rw-r--r-- | kinit/autostart.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kinit/autostart.cpp b/kinit/autostart.cpp index 9647727f2..8c54a255c 100644 --- a/kinit/autostart.cpp +++ b/kinit/autostart.cpp @@ -82,10 +82,10 @@ void AutoStart::setPhaseDone() static TQString extractName(TQString path) { - int i = path.tqfindRev('/'); + int i = path.findRev('/'); if (i >= 0) path = path.mid(i+1); - i = path.tqfindRev('.'); + i = path.findRev('.'); if (i >= 0) path = path.left(i); return path; @@ -141,14 +141,14 @@ AutoStart::loadAutoStartList() // Same local file name? TQString localOuter; TQString localInner; - int slashPos = (*it).tqfindRev( '/', -1, TRUE ); + int slashPos = (*it).findRev( '/', -1, TRUE ); if (slashPos == -1) { localOuter = (*it); } else { localOuter = (*it).mid(slashPos+1); } - slashPos = (*localit).tqfindRev( '/', -1, TRUE ); + slashPos = (*localit).findRev( '/', -1, TRUE ); if (slashPos == -1) { localInner = (*localit); } @@ -172,23 +172,23 @@ AutoStart::loadAutoStartList() if (config.hasKey("OnlyShowIn")) { - if (!config.readListEntry("OnlyShowIn", ';').tqcontains("KDE")) + if (!config.readListEntry("OnlyShowIn", ';').contains("KDE")) continue; } if (config.hasKey("NotShowIn")) { - if (config.readListEntry("NotShowIn", ';').tqcontains("KDE")) + if (config.readListEntry("NotShowIn", ';').contains("KDE")) continue; } if (config.hasKey("OnlyShowIn")) { - if (!config.readListEntry("OnlyShowIn", ';').tqcontains("KDE")) + if (!config.readListEntry("OnlyShowIn", ';').contains("KDE")) continue; } if (config.hasKey("NotShowIn")) { - if (config.readListEntry("NotShowIn", ';').tqcontains("KDE")) + if (config.readListEntry("NotShowIn", ';').contains("KDE")) continue; } |