diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-15 09:34:36 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-10-15 09:34:36 +0000 |
commit | 586a5f786f9af3ddccdb6eba16fd529a5e88ed4c (patch) | |
tree | a889bda9cdb4e705ef7bf50ea2a0a8e53b33a3bc /kiosktool/panelComponent.cpp | |
parent | 281b2113b209bd51bd923ad8f289f4041ff03a0f (diff) | |
download | kiosktool-586a5f786f9af3ddccdb6eba16fd529a5e88ed4c.tar.gz kiosktool-586a5f786f9af3ddccdb6eba16fd529a5e88ed4c.zip |
Raw TQt conversion of kiosktool
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kiosktool@1258970 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kiosktool/panelComponent.cpp')
-rw-r--r-- | kiosktool/panelComponent.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kiosktool/panelComponent.cpp b/kiosktool/panelComponent.cpp index 1e541e3..9f0b984 100644 --- a/kiosktool/panelComponent.cpp +++ b/kiosktool/panelComponent.cpp @@ -19,8 +19,8 @@ #include "panelComponent.h" -#include <qdir.h> -#include <qfileinfo.h> +#include <tqdir.h> +#include <tqfileinfo.h> #include <kdebug.h> #include <kmimetype.h> @@ -32,7 +32,7 @@ #include "kioskrun.h" -PanelComponent::PanelComponent( QObject *parent) +PanelComponent::PanelComponent( TQObject *parent) : Component(parent) { } @@ -58,15 +58,15 @@ PanelComponent::setupFinished() // Install .desktop files { - QString kickerApplications = KioskRun::self()->locateLocal("data", "kicker/"); - QString kickerSaveApplications = KioskRun::self()->locateSave("data", "kicker/"); + TQString kickerApplications = KioskRun::self()->locateLocal("data", "kicker/"); + TQString kickerSaveApplications = KioskRun::self()->locateSave("data", "kicker/"); - QDir dir(kickerApplications); - QStringList newKickerApplications = dir.entryList(QDir::All, QDir::Unsorted); + TQDir dir(kickerApplications); + TQStringList newKickerApplications = dir.entryList(TQDir::All, TQDir::Unsorted); newKickerApplications.remove("."); newKickerApplications.remove(".."); - for(QStringList::ConstIterator it = newKickerApplications.begin(); + for(TQStringList::ConstIterator it = newKickerApplications.begin(); it != newKickerApplications.end(); ++it) { if ((*it).endsWith(".desktop")) |