summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/karambasessionmanaged.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
commit5f5ee2367157176ed223b86343eb0a9e4022e020 (patch)
tree6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /superkaramba/src/karambasessionmanaged.cpp
parent4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff)
downloadtdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz
tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'superkaramba/src/karambasessionmanaged.cpp')
-rw-r--r--superkaramba/src/karambasessionmanaged.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/superkaramba/src/karambasessionmanaged.cpp b/superkaramba/src/karambasessionmanaged.cpp
index eccff7e..952fb7d 100644
--- a/superkaramba/src/karambasessionmanaged.cpp
+++ b/superkaramba/src/karambasessionmanaged.cpp
@@ -24,7 +24,7 @@
#include <kconfig.h>
#include "karambasessionmanaged.h"
#include "karamba.h"
-#include "qwidgetlist.h"
+#include "tqwidgetlist.h"
bool KarambaSessionManaged::saveState(QSessionManager&)
{
@@ -32,20 +32,20 @@ bool KarambaSessionManaged::saveState(QSessionManager&)
config->setGroup("General Options");
- QString openThemes="";
+ TQString openThemes="";
- QWidgetList *list = QApplication::allWidgets();
- QWidgetListIt it( *list ); // iterate over the widgets
- QWidget * w;
+ TQWidgetList *list = TQApplication::allWidgets();
+ TQWidgetListIt it( *list ); // iterate over the widgets
+ TQWidget * w;
while ( (w=it.current()) != 0 ) // for each widget...
{
++it;
- if (QString(w->name()).startsWith("karamba"))
+ if (TQString(w->name()).startsWith("karamba"))
{
karamba* k = (karamba*) w;
if (k->isSubTheme())
continue;
- openThemes += QFileInfo(k->theme().file()).absFilePath();
+ openThemes += TQFileInfo(k->theme().file()).absFilePath();
k->writeConfigData();
openThemes += ";";
}