summaryrefslogtreecommitdiffstats
path: root/client/config
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2021-06-26 16:06:40 +0300
committerMavridis Philippe <mavridisf@gmail.com>2021-06-26 16:35:30 +0300
commit2bc11f9dc783f26bf99f44515e92e49e8d2348fc (patch)
treecf09be0be2bd1caea1d7faed0c0afdb7ccc3a45f /client/config
parent9ef5a045dd516e8223b7aa97a46ac94bbd5839ae (diff)
downloadtwin-style-dekorator-2bc11f9dc783f26bf99f44515e92e49e8d2348fc.tar.gz
twin-style-dekorator-2bc11f9dc783f26bf99f44515e92e49e8d2348fc.zip
Conversion Qt3→TQt
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'client/config')
-rw-r--r--client/config/Makefile.in2
-rw-r--r--client/config/configdialog.ui262
-rw-r--r--client/config/deKoratorconfig.cc94
-rw-r--r--client/config/deKoratorconfig.h8
-rw-r--r--client/config/themes.cpp132
-rw-r--r--client/config/themes.h28
-rw-r--r--client/config/themes.moc.cc72
7 files changed, 299 insertions, 299 deletions
diff --git a/client/config/Makefile.in b/client/config/Makefile.in
index db931cb..ab4cbac 100644
--- a/client/config/Makefile.in
+++ b/client/config/Makefile.in
@@ -819,6 +819,6 @@ configdialog.cc: $(srcdir)/configdialog.ui configdialog.h configdialog.moc
configdialog.h: $(srcdir)/configdialog.ui
rm -rf configdialog.h;
- $(UIC) $(srcdir)/configdialog.ui | $(PERL) -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> configdialog.h ;
+ $(UIC) $(srcdir)/configdialog.ui | $(PERL) -pi -e "s,public QWizard,public KWizard,g; s,#include <tqwizard.h>,#include <kwizard.h>,g" >> configdialog.h ;
configdialog.moc: configdialog.h
$(MOC) configdialog.h -o configdialog.moc
diff --git a/client/config/configdialog.ui b/client/config/configdialog.ui
index 0fd4ee1..bce071a 100644
--- a/client/config/configdialog.ui
+++ b/client/config/configdialog.ui
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>ConfigDialog</class>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>ConfigDialog</cstring>
</property>
@@ -19,11 +19,11 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QTabWidget">
+ <widget class="TQTabWidget">
<property name="name">
<cstring>tabWidget2</cstring>
</property>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
@@ -34,7 +34,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QGroupBox">
+ <widget class="TQGroupBox">
<property name="name">
<cstring>generalbox</cstring>
</property>
@@ -51,7 +51,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QButtonGroup">
+ <widget class="TQButtonGroup">
<property name="name">
<cstring>titlealign</cstring>
</property>
@@ -65,7 +65,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QRadioButton">
+ <widget class="TQRadioButton">
<property name="name">
<cstring>AlignLeft</cstring>
</property>
@@ -79,7 +79,7 @@
<string></string>
</property>
</widget>
- <widget class="QRadioButton">
+ <widget class="TQRadioButton">
<property name="name">
<cstring>AlignHCenter</cstring>
</property>
@@ -96,7 +96,7 @@
<string></string>
</property>
</widget>
- <widget class="QRadioButton">
+ <widget class="TQRadioButton">
<property name="name">
<cstring>AlignRight</cstring>
</property>
@@ -112,7 +112,7 @@
</widget>
</hbox>
</widget>
- <widget class="QButtonGroup">
+ <widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup6</cstring>
</property>
@@ -123,7 +123,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>useShdtextChkBox</cstring>
</property>
@@ -134,7 +134,7 @@
<string>Alt+U</string>
</property>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout15</cstring>
</property>
@@ -142,7 +142,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QButtonGroup">
+ <widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup7</cstring>
</property>
@@ -156,7 +156,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout11</cstring>
</property>
@@ -164,7 +164,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_5</cstring>
</property>
@@ -175,7 +175,7 @@
<string>X :</string>
</property>
</widget>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>activeShdtextXSpinBox</cstring>
</property>
@@ -189,7 +189,7 @@
<number>-3</number>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_5_2</cstring>
</property>
@@ -200,7 +200,7 @@
<string>Y :</string>
</property>
</widget>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>activeShdtextYSpinBox</cstring>
</property>
@@ -216,7 +216,7 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout10</cstring>
</property>
@@ -224,7 +224,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_6</cstring>
</property>
@@ -250,7 +250,7 @@
</widget>
</vbox>
</widget>
- <widget class="QButtonGroup">
+ <widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup7_2</cstring>
</property>
@@ -264,7 +264,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout11_2</cstring>
</property>
@@ -272,7 +272,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_5_4</cstring>
</property>
@@ -283,7 +283,7 @@
<string>X :</string>
</property>
</widget>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>inActiveShdtextXSpinBox</cstring>
</property>
@@ -297,7 +297,7 @@
<number>-3</number>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_5_2_3</cstring>
</property>
@@ -308,7 +308,7 @@
<string>Y :</string>
</property>
</widget>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>inActiveShdtextYSpinBox</cstring>
</property>
@@ -324,7 +324,7 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout14</cstring>
</property>
@@ -332,7 +332,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_6_3</cstring>
</property>
@@ -362,7 +362,7 @@
</widget>
</vbox>
</widget>
- <widget class="QButtonGroup">
+ <widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup9</cstring>
</property>
@@ -373,7 +373,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout17</cstring>
</property>
@@ -381,7 +381,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout16</cstring>
</property>
@@ -389,7 +389,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_5_3</cstring>
</property>
@@ -397,7 +397,7 @@
<string>X :</string>
</property>
</widget>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>btnShiftXSpinBox</cstring>
</property>
@@ -408,7 +408,7 @@
<number>-3</number>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_5_2_2</cstring>
</property>
@@ -416,7 +416,7 @@
<string>Y :</string>
</property>
</widget>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>btnShiftYSpinBox</cstring>
</property>
@@ -450,7 +450,7 @@
</widget>
</vbox>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>useMenuImageChkBox</cstring>
</property>
@@ -461,7 +461,7 @@
<string>Alt+F</string>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>ignoreAppIcnCol</cstring>
</property>
@@ -469,7 +469,7 @@
<string>Ignore app icon colorizing</string>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>dblClkCloseChkBox</cstring>
</property>
@@ -480,7 +480,7 @@
<string>Alt+W</string>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>showBtmBorderChkBox</cstring>
</property>
@@ -512,7 +512,7 @@
</spacer>
</vbox>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>TabPage</cstring>
</property>
@@ -523,7 +523,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QButtonGroup">
+ <widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup2</cstring>
</property>
@@ -534,7 +534,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout19</cstring>
</property>
@@ -542,7 +542,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QButtonGroup">
+ <widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup14</cstring>
</property>
@@ -553,7 +553,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>colorizeActFramesChkBox</cstring>
</property>
@@ -564,7 +564,7 @@
<string>Alt+F</string>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>colorizeActButtonsChkBox</cstring>
</property>
@@ -577,7 +577,7 @@
</widget>
</vbox>
</widget>
- <widget class="QButtonGroup">
+ <widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup14_2</cstring>
</property>
@@ -588,7 +588,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>colorizeInActFramesChkBox</cstring>
</property>
@@ -599,7 +599,7 @@
<string>Alt+F</string>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>colorizeInActButtonsChkBox</cstring>
</property>
@@ -616,7 +616,7 @@
</widget>
</vbox>
</widget>
- <widget class="QButtonGroup">
+ <widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup5</cstring>
</property>
@@ -627,7 +627,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>useAnimChkBox</cstring>
</property>
@@ -638,7 +638,7 @@
<string>Alt+U</string>
</property>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout18</cstring>
</property>
@@ -646,7 +646,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QButtonGroup">
+ <widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup12</cstring>
</property>
@@ -657,7 +657,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QComboBox">
+ <widget class="TQComboBox">
<item>
<property name="text">
<string>Intensity</string>
@@ -695,7 +695,7 @@
<bool>false</bool>
</property>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout37</cstring>
</property>
@@ -703,7 +703,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_8</cstring>
</property>
@@ -714,7 +714,7 @@
<string>Steps :</string>
</property>
</widget>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>stepsSpinBox</cstring>
</property>
@@ -728,7 +728,7 @@
<number>1</number>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel2_5</cstring>
</property>
@@ -739,7 +739,7 @@
<string>Interval</string>
</property>
</widget>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>intervalSpinBox</cstring>
</property>
@@ -755,7 +755,7 @@
</widget>
</hbox>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>KeepAnimateChkBox</cstring>
</property>
@@ -765,7 +765,7 @@
</widget>
</vbox>
</widget>
- <widget class="QButtonGroup">
+ <widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup11</cstring>
</property>
@@ -776,7 +776,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QComboBox">
+ <widget class="TQComboBox">
<item>
<property name="text">
<string>To Gray</string>
@@ -806,7 +806,7 @@
<cstring>hoverTypeCombo</cstring>
</property>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout14</cstring>
</property>
@@ -814,7 +814,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_4</cstring>
</property>
@@ -822,7 +822,7 @@
<string>Amount :</string>
</property>
</widget>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>effectsAmount_SpinBox</cstring>
</property>
@@ -839,7 +839,7 @@
</widget>
</hbox>
</widget>
- <widget class="QButtonGroup">
+ <widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup13</cstring>
</property>
@@ -850,7 +850,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout19</cstring>
</property>
@@ -858,7 +858,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout17</cstring>
</property>
@@ -866,7 +866,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_3</cstring>
</property>
@@ -884,7 +884,7 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout18</cstring>
</property>
@@ -892,7 +892,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_3_2</cstring>
</property>
@@ -916,7 +916,7 @@
</widget>
</vbox>
</widget>
- <widget class="QButtonGroup">
+ <widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup5_2</cstring>
</property>
@@ -927,7 +927,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout38</cstring>
</property>
@@ -935,7 +935,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel2_4</cstring>
</property>
@@ -943,7 +943,7 @@
<string>Deco's</string>
</property>
</widget>
- <widget class="QComboBox">
+ <widget class="TQComboBox">
<item>
<property name="text">
<string>Liquid Method</string>
@@ -965,7 +965,7 @@
</widget>
</vbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout39</cstring>
</property>
@@ -973,7 +973,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel3</cstring>
</property>
@@ -981,7 +981,7 @@
<string>Buttons</string>
</property>
</widget>
- <widget class="QComboBox">
+ <widget class="TQComboBox">
<item>
<property name="text">
<string>Liquid Method</string>
@@ -1024,7 +1024,7 @@
</spacer>
</vbox>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>TabPage</cstring>
</property>
@@ -1035,7 +1035,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>useCusBtnClrChkBox</cstring>
</property>
@@ -1043,7 +1043,7 @@
<string>Use custom buttons colors</string>
</property>
</widget>
- <widget class="QButtonGroup">
+ <widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup16</cstring>
</property>
@@ -1057,7 +1057,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_7</cstring>
</property>
@@ -1065,7 +1065,7 @@
<string>Apply custom colors to:</string>
</property>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout37</cstring>
</property>
@@ -1073,7 +1073,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>cusColActBtnChkBox</cstring>
</property>
@@ -1081,7 +1081,7 @@
<string>Active buttons</string>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>cusColInActBtnChkBox</cstring>
</property>
@@ -1108,7 +1108,7 @@
</size>
</property>
</spacer>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout42</cstring>
</property>
@@ -1116,7 +1116,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout41</cstring>
</property>
@@ -1124,7 +1124,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout38</cstring>
</property>
@@ -1132,7 +1132,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel9</cstring>
</property>
@@ -1150,7 +1150,7 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout25</cstring>
</property>
@@ -1158,7 +1158,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1</cstring>
</property>
@@ -1176,7 +1176,7 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout28</cstring>
</property>
@@ -1184,7 +1184,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel4_2</cstring>
</property>
@@ -1202,7 +1202,7 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout29</cstring>
</property>
@@ -1210,7 +1210,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel5</cstring>
</property>
@@ -1228,7 +1228,7 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout32</cstring>
</property>
@@ -1236,7 +1236,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel7</cstring>
</property>
@@ -1254,7 +1254,7 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout28_2</cstring>
</property>
@@ -1262,7 +1262,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel4_2_2</cstring>
</property>
@@ -1280,7 +1280,7 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout31_2</cstring>
</property>
@@ -1288,7 +1288,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel6_2</cstring>
</property>
@@ -1308,7 +1308,7 @@
</widget>
</vbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout36</cstring>
</property>
@@ -1316,7 +1316,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout27</cstring>
</property>
@@ -1324,7 +1324,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel3_2</cstring>
</property>
@@ -1342,7 +1342,7 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout26</cstring>
</property>
@@ -1350,7 +1350,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel2_2</cstring>
</property>
@@ -1368,7 +1368,7 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout33_2</cstring>
</property>
@@ -1376,7 +1376,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel8_2</cstring>
</property>
@@ -1394,7 +1394,7 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout31</cstring>
</property>
@@ -1402,7 +1402,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel6</cstring>
</property>
@@ -1420,7 +1420,7 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout33</cstring>
</property>
@@ -1428,7 +1428,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel8</cstring>
</property>
@@ -1446,7 +1446,7 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout29_2</cstring>
</property>
@@ -1454,7 +1454,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel5_2</cstring>
</property>
@@ -1472,7 +1472,7 @@
</widget>
</hbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout32_2</cstring>
</property>
@@ -1480,7 +1480,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel7_2</cstring>
</property>
@@ -1523,7 +1523,7 @@
</spacer>
</vbox>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>TabPage</cstring>
</property>
@@ -1534,7 +1534,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QButtonGroup">
+ <widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup3</cstring>
</property>
@@ -1545,7 +1545,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
@@ -1558,7 +1558,7 @@
<cstring>framesPathKurl</cstring>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel2</cstring>
</property>
@@ -1571,7 +1571,7 @@
<cstring>buttonsPathKurl</cstring>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>useMasks_Chkbox</cstring>
</property>
@@ -1582,7 +1582,7 @@
<string>Alt+U</string>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel2_3</cstring>
</property>
@@ -1622,7 +1622,7 @@
</spacer>
</vbox>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>TabPage</cstring>
</property>
@@ -1633,7 +1633,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QButtonGroup">
+ <widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup10</cstring>
</property>
@@ -1644,7 +1644,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout12</cstring>
</property>
@@ -1669,7 +1669,7 @@
</size>
</property>
</spacer>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>previewLabael</cstring>
</property>
@@ -1728,7 +1728,7 @@
<bool>true</bool>
</property>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
<cstring>layout13</cstring>
</property>
@@ -1736,7 +1736,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QPushButton">
+ <widget class="TQPushButton">
<property name="name">
<cstring>installthemeBtn</cstring>
</property>
@@ -1744,7 +1744,7 @@
<string>Install Ne&amp;w Theme</string>
</property>
</widget>
- <widget class="QPushButton">
+ <widget class="TQPushButton">
<property name="name">
<cstring>removeThemBtn</cstring>
</property>
@@ -1755,7 +1755,7 @@
<string>Alt+E</string>
</property>
</widget>
- <widget class="QPushButton">
+ <widget class="TQPushButton">
<property name="name">
<cstring>applyThemeBtn</cstring>
</property>
@@ -1770,7 +1770,7 @@
</widget>
</vbox>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>TabPage</cstring>
</property>
@@ -1781,7 +1781,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QTextEdit">
+ <widget class="TQTextEdit">
<property name="name">
<cstring>textEdit1</cstring>
</property>
@@ -1887,7 +1887,7 @@ Allways start up building your theme from the template-theme.
</widget>
</vbox>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
diff --git a/client/config/deKoratorconfig.cc b/client/config/deKoratorconfig.cc
index b3b686f..cae4fa9 100644
--- a/client/config/deKoratorconfig.cc
+++ b/client/config/deKoratorconfig.cc
@@ -34,14 +34,14 @@
#include <kconfig.h>
#include <klocale.h>
#include <kglobal.h>
-#include <qbuttongroup.h>
-#include <qgroupbox.h>
-#include <qradiobutton.h>
-#include <qwhatsthis.h>
-#include <qcheckbox.h>
-#include <qcombobox.h>
-#include <qspinbox.h>
-#include <qcheckbox.h>
+#include <tqbuttongroup.h>
+#include <tqgroupbox.h>
+#include <tqradiobutton.h>
+#include <tqwhatsthis.h>
+#include <tqcheckbox.h>
+#include <tqcombobox.h>
+#include <tqspinbox.h>
+#include <tqcheckbox.h>
#include <kcolorbutton.h>
#include <klistview.h>
@@ -56,8 +56,8 @@
// -------------
// Constructor
-DeKoratorConfig::DeKoratorConfig( KConfig* config, QWidget* parent )
- : QObject( parent ), config_( 0 ), dialog_( 0 )
+DeKoratorConfig::DeKoratorConfig( KConfig* config, TQWidget* parent )
+ : TQObject( parent ), config_( 0 ), dialog_( 0 )
{
// create the configuration object
config_ = new KConfig( "kwindeKoratorrc" );
@@ -102,19 +102,19 @@ DeKoratorConfig::DeKoratorConfig( KConfig* config, QWidget* parent )
connect( dialog_->colorizeInActFramesChkBox, SIGNAL( clicked() ), SIGNAL( changed() ) );
connect( dialog_->colorizeInActButtonsChkBox, SIGNAL( clicked() ), SIGNAL( changed() ) );
connect( dialog_->useAnimChkBox, SIGNAL( clicked() ), SIGNAL( changed() ) );
- connect( dialog_->animateEfeectsCombo, SIGNAL( activated( const QString& ) ), SIGNAL( changed() ) );
+ connect( dialog_->animateEfeectsCombo, SIGNAL( activated( const TQString& ) ), SIGNAL( changed() ) );
connect( dialog_->stepsSpinBox, SIGNAL( valueChanged( int ) ), SIGNAL( changed() ) );
connect( dialog_->intervalSpinBox, SIGNAL( valueChanged( int ) ), SIGNAL( changed() ) );
connect( dialog_->KeepAnimateChkBox, SIGNAL( clicked() ), SIGNAL( changed() ) );
- connect( dialog_->hoverTypeCombo, SIGNAL( activated( const QString& ) ), SIGNAL( changed() ) );
+ connect( dialog_->hoverTypeCombo, SIGNAL( activated( const TQString& ) ), SIGNAL( changed() ) );
connect( dialog_->effectsAmount_SpinBox, SIGNAL( valueChanged( int ) ), SIGNAL( changed() ) );
connect( dialog_->activeHighlightClrBtn, SIGNAL( clicked( ) ), SIGNAL( changed() ) );
connect( dialog_->inActiveHighlightClrBtn, SIGNAL( clicked( ) ), SIGNAL( changed() ) );
- connect( dialog_->decoColorizeComboBox, SIGNAL( activated( const QString& ) ), SIGNAL( changed() ) );
- connect( dialog_->buttonsColorizeComboBox, SIGNAL( activated( const QString& ) ), SIGNAL( changed() ) );
- // connect( dialog_->buttonsHoverColorizeComboBox, SIGNAL( activated( const QString& ) ), SIGNAL( changed() ) );
+ connect( dialog_->decoColorizeComboBox, SIGNAL( activated( const TQString& ) ), SIGNAL( changed() ) );
+ connect( dialog_->buttonsColorizeComboBox, SIGNAL( activated( const TQString& ) ), SIGNAL( changed() ) );
+ // connect( dialog_->buttonsHoverColorizeComboBox, SIGNAL( activated( const TQString& ) ), SIGNAL( changed() ) );
// buttons
connect( dialog_->useCusBtnClrChkBox, SIGNAL( clicked() ), SIGNAL( changed() ) );
@@ -137,17 +137,17 @@ DeKoratorConfig::DeKoratorConfig( KConfig* config, QWidget* parent )
connect( dialog_->shadeDownClrBtn, SIGNAL( clicked( ) ), SIGNAL( changed() ) );
// path's
- connect( dialog_->framesPathKurl, SIGNAL( textChanged( const QString& ) ), SIGNAL( changed() ) );
+ connect( dialog_->framesPathKurl, SIGNAL( textChanged( const TQString& ) ), SIGNAL( changed() ) );
dialog_->framesPathKurl->setMode( 2 );
- connect( dialog_->buttonsPathKurl, SIGNAL( textChanged( const QString& ) ), SIGNAL( changed() ) );
+ connect( dialog_->buttonsPathKurl, SIGNAL( textChanged( const TQString& ) ), SIGNAL( changed() ) );
dialog_->buttonsPathKurl->setMode( 2 );
connect( dialog_->useMasks_Chkbox, SIGNAL( clicked() ), SIGNAL( changed() ) );
- connect( dialog_->masksPathKurl, SIGNAL( textChanged( const QString& ) ), SIGNAL( changed() ) );
+ connect( dialog_->masksPathKurl, SIGNAL( textChanged( const TQString& ) ), SIGNAL( changed() ) );
dialog_->masksPathKurl->setMode( 2 );
// themes
- connect( dialog_->themesKlstView, SIGNAL( selectionChanged( QListViewItem * ) ),
- SLOT( themeSelected( QListViewItem * ) ) );
+ connect( dialog_->themesKlstView, SIGNAL( selectionChanged( TQListViewItem * ) ),
+ SLOT( themeSelected( TQListViewItem * ) ) );
connect( dialog_->installthemeBtn, SIGNAL( clicked( ) ), SLOT( installNewTheme() ) );
connect( dialog_->removeThemBtn, SIGNAL( clicked( ) ), SLOT( removeSelectedTheme() ) );
connect( dialog_->applyThemeBtn, SIGNAL( clicked( ) ), SLOT( setTheme() ) );
@@ -186,14 +186,14 @@ void DeKoratorConfig::load( KConfig* )
// misc
config_->setGroup( "MISC" );
- QString value = config_->readEntry( "TitleAlignment", "AlignHCenter" );
- QRadioButton *button = ( QRadioButton* ) dialog_->titlealign->child( value );
+ TQString value = config_->readEntry( "TitleAlignment", "AlignHCenter" );
+ TQRadioButton *button = ( TQRadioButton* ) dialog_->titlealign->child( value );
if ( button ) button->setChecked( TRUE );
dialog_->useMenuImageChkBox->setChecked( config_->readBoolEntry( "UseMenuImage", FALSE ) );
dialog_->ignoreAppIcnCol->setChecked( config_->readBoolEntry( "IgnoreAppIconCol", FALSE ) );
dialog_->dblClkCloseChkBox->setChecked( config_->readBoolEntry( "DblClkClose", FALSE ) );
dialog_->showBtmBorderChkBox->setChecked( config_->readBoolEntry( "ShowBtmBorder", FALSE ) );
- QColor color = QColor( 150, 150, 150 );
+ TQColor color = TQColor( 150, 150, 150 );
dialog_->useShdtextChkBox->setChecked( config_->readBoolEntry( "UseShdtext", FALSE ) );
dialog_->activeShdtextXSpinBox->setValue( config_->readNumEntry( "ActiveShdtextX", 0 ) );
dialog_->activeShdtextYSpinBox->setValue( config_->readNumEntry( "ActiveShdtextY", 0 ) );
@@ -267,8 +267,8 @@ void DeKoratorConfig::save( KConfig* )
// misc
config_->setGroup( "MISC" );
- QRadioButton *button = ( QRadioButton* ) dialog_->titlealign->selected();
- if ( button ) config_->writeEntry( "TitleAlignment", QString( button->name() ) );
+ TQRadioButton *button = ( TQRadioButton* ) dialog_->titlealign->selected();
+ if ( button ) config_->writeEntry( "TitleAlignment", TQString( button->name() ) );
config_->writeEntry( "UseMenuImage", dialog_->useMenuImageChkBox->isChecked() );
config_->writeEntry( "IgnoreAppIconCol", dialog_->ignoreAppIcnCol->isChecked() );
config_->writeEntry( "DblClkClose", dialog_->dblClkCloseChkBox->isChecked() );
@@ -346,8 +346,8 @@ void DeKoratorConfig::defaults()
{
// misc
- QRadioButton * button =
- ( QRadioButton* ) dialog_->titlealign->child( "AlignHCenter" );
+ TQRadioButton * button =
+ ( TQRadioButton* ) dialog_->titlealign->child( "AlignHCenter" );
if ( button ) button->setChecked( TRUE );
dialog_->useMenuImageChkBox->setChecked( FALSE );
dialog_->ignoreAppIcnCol->setChecked( FALSE );
@@ -356,10 +356,10 @@ void DeKoratorConfig::defaults()
dialog_->useShdtextChkBox->setChecked( FALSE );
dialog_->activeShdtextXSpinBox->setValue( 0 );
dialog_->activeShdtextYSpinBox->setValue( 0 );
- dialog_->activeShdColBtn->setColor( QColor( 150, 150, 150 ) );
+ dialog_->activeShdColBtn->setColor( TQColor( 150, 150, 150 ) );
dialog_->inActiveShdtextXSpinBox->setValue( 0 );
dialog_->inActiveShdtextYSpinBox->setValue( 0 );
- dialog_->inActiveShdColBtn->setColor( QColor( 150, 150, 150 ) );
+ dialog_->inActiveShdColBtn->setColor( TQColor( 150, 150, 150 ) );
dialog_->btnShiftXSpinBox->setValue( 0 );
dialog_->btnShiftYSpinBox->setValue( 0 );
@@ -377,8 +377,8 @@ void DeKoratorConfig::defaults()
dialog_->hoverTypeCombo->setCurrentText( "To Gray" );
dialog_->effectsAmount_SpinBox->setValue( 5 );
- dialog_->activeHighlightClrBtn->setColor( QColor( 150, 150, 150 ) );
- dialog_->inActiveHighlightClrBtn->setColor( QColor( 150, 150, 150 ) );
+ dialog_->activeHighlightClrBtn->setColor( TQColor( 150, 150, 150 ) );
+ dialog_->inActiveHighlightClrBtn->setColor( TQColor( 150, 150, 150 ) );
dialog_->decoColorizeComboBox->setCurrentText( "Liquid Method" );
dialog_->buttonsColorizeComboBox->setCurrentText( "Liquid Method" );
// dialog_->buttonsHoverColorizeComboBox->setCurrentText( "Liquid Method" );
@@ -387,20 +387,20 @@ void DeKoratorConfig::defaults()
dialog_->useCusBtnClrChkBox->setChecked( FALSE );
dialog_->cusColActBtnChkBox->setChecked( FALSE );
dialog_->cusColInActBtnChkBox->setChecked( FALSE );
- dialog_->closeClrBtn->setColor( QColor( 150, 150, 150 ) );
- dialog_->minClrBtn->setColor( QColor( 150, 150, 150 ) );
- dialog_->maxClrBtn->setColor( QColor( 150, 150, 150 ) );
- dialog_->restoreClrBtn->setColor( QColor( 150, 150, 150 ) );
- dialog_->helpClrBtn->setColor( QColor( 150, 150, 150 ) );
- dialog_->menuClrBtn->setColor( QColor( 150, 150, 150 ) );
- dialog_->stickyClrBtn->setColor( QColor( 150, 150, 150 ) );
- dialog_->stickyDownClrBtn->setColor( QColor( 150, 150, 150 ) );
- dialog_->aboveClrBtn->setColor( QColor( 150, 150, 150 ) );
- dialog_->aboveDownClrBtn->setColor( QColor( 150, 150, 150 ) );
- dialog_->belowClrBtn->setColor( QColor( 150, 150, 150 ) );
- dialog_->belowDownClrBtn->setColor( QColor( 150, 150, 150 ) );
- dialog_->shadeClrBtn->setColor( QColor( 150, 150, 150 ) );
- dialog_->shadeDownClrBtn->setColor( QColor( 150, 150, 150 ) );
+ dialog_->closeClrBtn->setColor( TQColor( 150, 150, 150 ) );
+ dialog_->minClrBtn->setColor( TQColor( 150, 150, 150 ) );
+ dialog_->maxClrBtn->setColor( TQColor( 150, 150, 150 ) );
+ dialog_->restoreClrBtn->setColor( TQColor( 150, 150, 150 ) );
+ dialog_->helpClrBtn->setColor( TQColor( 150, 150, 150 ) );
+ dialog_->menuClrBtn->setColor( TQColor( 150, 150, 150 ) );
+ dialog_->stickyClrBtn->setColor( TQColor( 150, 150, 150 ) );
+ dialog_->stickyDownClrBtn->setColor( TQColor( 150, 150, 150 ) );
+ dialog_->aboveClrBtn->setColor( TQColor( 150, 150, 150 ) );
+ dialog_->aboveDownClrBtn->setColor( TQColor( 150, 150, 150 ) );
+ dialog_->belowClrBtn->setColor( TQColor( 150, 150, 150 ) );
+ dialog_->belowDownClrBtn->setColor( TQColor( 150, 150, 150 ) );
+ dialog_->shadeClrBtn->setColor( TQColor( 150, 150, 150 ) );
+ dialog_->shadeDownClrBtn->setColor( TQColor( 150, 150, 150 ) );
// path's
dialog_->framesPathKurl->setURL( "" );
@@ -414,7 +414,7 @@ void DeKoratorConfig::defaults()
// ----------
//
-void DeKoratorConfig::themeSelected( QListViewItem *item )
+void DeKoratorConfig::themeSelected( TQListViewItem *item )
{
themes_->themeSelected( item, dialog_->previewLabael, dialog_->removeThemBtn );
}
@@ -455,7 +455,7 @@ void DeKoratorConfig::setTheme()
extern "C"
{
- QObject * allocate_config( KConfig * config, QWidget * parent )
+ TQObject * allocate_config( KConfig * config, TQWidget * parent )
{
return ( new DeKoratorConfig( config, parent ) );
}
diff --git a/client/config/deKoratorconfig.h b/client/config/deKoratorconfig.h
index 0505c98..399002f 100644
--- a/client/config/deKoratorconfig.h
+++ b/client/config/deKoratorconfig.h
@@ -34,18 +34,18 @@
#ifndef EXAMPLECONFIG_H
#define EXAMPLECONFIG_H
-#include <qobject.h>
+#include <tqobject.h>
class KConfig;
class ConfigDialog;
class IconThemesConfig;
-class DeKoratorConfig : public QObject
+class DeKoratorConfig : public TQObject
{
Q_OBJECT
public:
- DeKoratorConfig( KConfig* config, QWidget* parent );
+ DeKoratorConfig( KConfig* config, TQWidget* parent );
~DeKoratorConfig();
signals:
@@ -58,7 +58,7 @@ public slots:
protected slots:
- void themeSelected( QListViewItem *item );
+ void themeSelected( TQListViewItem *item );
void selectionChanged( int );
void installNewTheme();
void removeSelectedTheme();
diff --git a/client/config/themes.cpp b/client/config/themes.cpp
index f612ad6..4820954 100644
--- a/client/config/themes.cpp
+++ b/client/config/themes.cpp
@@ -36,10 +36,10 @@
#include <stdlib.h>
#include <unistd.h>
-#include <qfileinfo.h>
-#include <qlayout.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
+#include <tqfileinfo.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
+#include <tqpushbutton.h>
#include <kdebug.h>
#include <kapplication.h>
@@ -64,9 +64,9 @@
#include <ksvgiconengine.h>
#endif
-#include <qdir.h>
-#include <qpainter.h>
-#include <qregexp.h>
+#include <tqdir.h>
+#include <tqpainter.h>
+#include <tqregexp.h>
#include "themes.h"
#include <kurlrequester.h>
@@ -77,7 +77,7 @@
// ----------
//
-IconThemesConfig::IconThemesConfig( QWidget *parent, KListView *themesView /*, QPushButton *removethemeBtn*/ )
+IconThemesConfig::IconThemesConfig( TQWidget *parent, KListView *themesView /*, TQPushButton *removethemeBtn*/ )
{
parent_ = parent;
themesView_ = themesView;
@@ -99,9 +99,9 @@ IconThemesConfig::~IconThemesConfig()
// ----------
//
-QListViewItem *IconThemesConfig::iconThemeItem( const QString &name )
+TQListViewItem *IconThemesConfig::iconThemeItem( const TQString &name )
{
- QListViewItem * item;
+ TQListViewItem * item;
for ( item = themesView_->firstChild(); item ; item = item->nextSibling() )
if ( item->text( 0 ) == name ) return item;
@@ -118,38 +118,38 @@ void IconThemesConfig::loadThemes()
{
themesView_->clear();
m_themeNames.clear();
- QStringList themelist;
- QString name;
- QString place;
- QStringList::Iterator it, itj;
- QStringList themesDirs;
+ TQStringList themelist;
+ TQString name;
+ TQString place;
+ TQStringList::Iterator it, itj;
+ TQStringList themesDirs;
// if no local deKorator folders
- if ( ! QDir( QDir::homeDirPath() + "/.kde/share/apps/" ).exists( "deKorator" ) )
+ if ( ! TQDir( TQDir::homeDirPath() + "/.kde/share/apps/" ).exists( "deKorator" ) )
{
- qWarning( "no dirs, will make them..." );
- KIO::mkdir( QDir::homeDirPath() + "/.kde/share/apps/deKorator/" );
- KIO::mkdir( QDir::homeDirPath() + "/.kde/share/apps/deKorator/themes/" );
+ tqWarning( "no dirs, will make them..." );
+ KIO::mkdir( TQDir::homeDirPath() + "/.kde/share/apps/deKorator/" );
+ KIO::mkdir( TQDir::homeDirPath() + "/.kde/share/apps/deKorator/themes/" );
}
else
{
- qWarning( "exist" );
+ tqWarning( "exist" );
}
themesDirs = KGlobal::dirs() ->findDirs( "data", "deKorator/themes" ) ;
for ( it = themesDirs.begin(); it != themesDirs.end(); ++it )
{
- QDir dir = QDir( *it );
+ TQDir dir = TQDir( *it );
themelist = dir.entryList( "*-theme" );
for ( itj = themelist.begin(); itj != themelist.end(); ++itj )
{
place = *it;
- name = ( QString ) * itj;
+ name = ( TQString ) * itj;
- themesView_->insertItem( new QListViewItem( themesView_, name ) );
+ themesView_->insertItem( new TQListViewItem( themesView_, name ) );
m_themeNames.insert( name, place );
}
@@ -164,7 +164,7 @@ void IconThemesConfig::loadThemes()
void IconThemesConfig::installNewTheme()
{
- KURL themeURL = KURLRequesterDlg::getURL( QString::null, parent_,
+ KURL themeURL = KURLRequesterDlg::getURL( TQString::null, parent_,
i18n( "Drag or Type Theme URL" ) );
kdDebug() << themeURL.prettyURL() << endl;
@@ -172,11 +172,11 @@ void IconThemesConfig::installNewTheme()
return ;
// themeTmpFile contains the name of the downloaded file
- QString themeTmpFile;
+ TQString themeTmpFile;
if ( !KIO::NetAccess::download( themeURL, themeTmpFile, parent_ ) )
{
- QString sorryText;
+ TQString sorryText;
if ( themeURL.isLocalFile() )
sorryText = i18n( "Unable to find the deKorator theme archive %1." );
else
@@ -187,10 +187,10 @@ void IconThemesConfig::installNewTheme()
}
//
- QStringList themesNames = findThemeDirs( themeTmpFile );
+ TQStringList themesNames = findThemeDirs( themeTmpFile );
if ( themesNames.isEmpty() )
{
- QString invalidArch( i18n( "The file is not a valid deKorator theme archive." ) );
+ TQString invalidArch( i18n( "The file is not a valid deKorator theme archive." ) );
KMessageBox::error( parent_, invalidArch );
KIO::NetAccess::removeTempFile( themeTmpFile );
@@ -200,8 +200,8 @@ void IconThemesConfig::installNewTheme()
if ( !installThemes( themesNames, themeTmpFile ) )
{
//FIXME: make me able to know what is wrong....
- // QStringList instead of bool?
- QString somethingWrong =
+ // TQStringList instead of bool?
+ TQString somethingWrong =
i18n( "A problem occurred during the installation process; "
"however, most of the themes in the archive have been installed" );
KMessageBox::error( parent_, somethingWrong );
@@ -211,9 +211,9 @@ void IconThemesConfig::installNewTheme()
loadThemes();
- QStringList::Iterator cur = themesNames.at( 0 );
+ TQStringList::Iterator cur = themesNames.at( 0 );
- QListViewItem *item = iconThemeItem( *cur );
+ TQListViewItem *item = iconThemeItem( *cur );
themesView_->setSelected( item, true );
}
@@ -222,14 +222,14 @@ void IconThemesConfig::installNewTheme()
// ----------
//
-bool IconThemesConfig::installThemes( const QStringList &themes, const QString &archiveName )
+bool IconThemesConfig::installThemes( const TQStringList &themes, const TQString &archiveName )
{
bool everythingOk = true;
- QString localThemesDir = QDir::homeDirPath() + "/.kde/share/apps/deKorator/themes/";
+ TQString localThemesDir = TQDir::homeDirPath() + "/.kde/share/apps/deKorator/themes/";
//
KProgressDialog progressDiag( parent_, "themeinstallprogress",
i18n( "Installing icon themes" ),
- QString::null,
+ TQString::null,
true );
progressDiag.setAutoClose( true );
progressDiag.progressBar() ->setTotalSteps( themes.count() );
@@ -242,7 +242,7 @@ bool IconThemesConfig::installThemes( const QStringList &themes, const QString &
const KArchiveDirectory* rootDir = archive.directory();
KArchiveDirectory* currentTheme;
- for ( QStringList::ConstIterator it = themes.begin(); it != themes.end(); ++it )
+ for ( TQStringList::ConstIterator it = themes.begin(); it != themes.end(); ++it )
{
progressDiag.setLabel(
i18n( "<qt>Installing <strong>%1</strong> theme</qt>" )
@@ -276,9 +276,9 @@ bool IconThemesConfig::installThemes( const QStringList &themes, const QString &
// ----------
//
-QStringList IconThemesConfig::findThemeDirs( const QString &archiveName )
+TQStringList IconThemesConfig::findThemeDirs( const TQString &archiveName )
{
- QStringList foundThemes;
+ TQStringList foundThemes;
KTar archive( archiveName );
archive.open( IO_ReadOnly );
@@ -288,11 +288,11 @@ QStringList IconThemesConfig::findThemeDirs( const QString &archiveName )
KArchiveDirectory* subDir = 0L;
// iterate all the dirs looking for an index.theme or index.desktop file
- QStringList entries = themeDir->entries();
- for ( QStringList::Iterator it = entries.begin(); it != entries.end(); ++it )
+ TQStringList entries = themeDir->entries();
+ for ( TQStringList::Iterator it = entries.begin(); it != entries.end(); ++it )
{
- QString name = ( QString ) * it;
- QRegExp rxp = QRegExp( "*-theme", TRUE, TRUE );
+ TQString name = ( TQString ) * it;
+ TQRegExp rxp = TQRegExp( "*-theme", TRUE, TRUE );
int i = name.contains( rxp );
if ( !i )
{
@@ -306,7 +306,7 @@ QStringList IconThemesConfig::findThemeDirs( const QString &archiveName )
if ( subDir && ( subDir->entry( "deco" ) != NULL && subDir->entry( "buttons" ) != NULL && subDir->entry( "masks" ) != NULL ) )
{
foundThemes.append( subDir->name() );
- //qWarning( "found" );
+ //tqWarning( "found" );
}
}
}
@@ -323,11 +323,11 @@ QStringList IconThemesConfig::findThemeDirs( const QString &archiveName )
void IconThemesConfig::removeSelectedTheme()
{
- QListViewItem * selected = themesView_->selectedItem();
+ TQListViewItem * selected = themesView_->selectedItem();
if ( !selected )
return ;
- QString question = i18n( "<qt>Are you sure you want to remove the "
+ TQString question = i18n( "<qt>Are you sure you want to remove the "
"<strong>%1</strong> theme?<br>"
"<br>"
"This will delete the files installed by this theme.</qt>" ).
@@ -336,9 +336,9 @@ void IconThemesConfig::removeSelectedTheme()
int r = KMessageBox::warningContinueCancel( parent_, question, i18n( "Confirmation" ), KStdGuiItem::del() );
if ( r != KMessageBox::Continue ) return ;
- QString delTheme = selected->text( 0 );
- QString deldirStr = QDir::homeDirPath() + "/.kde/share/apps/deKorator/themes/" + delTheme;
- QDir dir = QDir( deldirStr );
+ TQString delTheme = selected->text( 0 );
+ TQString deldirStr = TQDir::homeDirPath() + "/.kde/share/apps/deKorator/themes/" + delTheme;
+ TQDir dir = TQDir( deldirStr );
dir.rename( deldirStr, deldirStr + "del" );
KIO::del( KURL( deldirStr + "del" ) );
@@ -351,25 +351,25 @@ void IconThemesConfig::removeSelectedTheme()
// ----------
//
-void IconThemesConfig::themeSelected( QListViewItem *item, QLabel *previewLabel, QPushButton *btn )
+void IconThemesConfig::themeSelected( TQListViewItem *item, TQLabel *previewLabel, TQPushButton *btn )
{
- QPixmap previewPix, topLeftCornerBg, leftButtonsBg, leftTitleBg, midTitleBg, rightTitleBg, rightButtonsBg, topRightCornerBg;
- QPainter painter;
+ TQPixmap previewPix, topLeftCornerBg, leftButtonsBg, leftTitleBg, midTitleBg, rightTitleBg, rightButtonsBg, topRightCornerBg;
+ TQPainter painter;
int w, h, x;
- QString dirName( m_themeNames[ item->text( 0 ) ] );
+ TQString dirName( m_themeNames[ item->text( 0 ) ] );
if ( dirName.contains( "home" ) )
{
- //qWarning("true");
+ //tqWarning("true");
btn->setEnabled( true );
}
else
{
btn->setEnabled( false );
- //qWarning("false");
+ //tqWarning("false");
}
- QString dirNameStr = dirName + item->text( 0 ) + "/deco/" ;
+ TQString dirNameStr = dirName + item->text( 0 ) + "/deco/" ;
topLeftCornerBg.load( dirNameStr + "topLeftCornerBg.png" );
leftButtonsBg.load( dirNameStr + "leftButtonsBg" );
leftTitleBg.load( dirNameStr + "leftTitleBg.png" );
@@ -381,23 +381,23 @@ void IconThemesConfig::themeSelected( QListViewItem *item, QLabel *previewLabel,
w = topLeftCornerBg.width() + leftButtonsBg.width() + leftTitleBg.width() + midTitleBg.width() + rightTitleBg.width() + rightButtonsBg.width() + topRightCornerBg.width() + 8;
h = midTitleBg.height() + 8;
previewPix.resize( w, h );
- //qWarning("%d",w);
+ //tqWarning("%d",w);
painter.begin( &previewPix );
// paint outer rect
- painter.fillRect( 0, 0, w, h, QColor( 20, 20, 20 ) );
+ painter.fillRect( 0, 0, w, h, TQColor( 20, 20, 20 ) );
- painter.setPen( QColor( 60, 60, 60 ) );
+ painter.setPen( TQColor( 60, 60, 60 ) );
painter.drawRect( 0, 0, w , h );
- painter.setPen( QColor( 80, 80, 80 ) );
+ painter.setPen( TQColor( 80, 80, 80 ) );
painter.drawRect( 1, 1, w - 2 , h - 2 );
- painter.setPen( QColor( 180, 180, 180 ) );
+ painter.setPen( TQColor( 180, 180, 180 ) );
painter.drawLine( w - 1, 1, w - 1, h - 1 );
painter.drawLine( 1, h - 1, w - 2, h - 1 );
- painter.setPen( QColor( 150, 150, 150 ) );
+ painter.setPen( TQColor( 150, 150, 150 ) );
painter.drawLine( w - 2, 2, w - 2, h - 2 );
painter.drawLine( 2, h - 2, w - 3, h - 2 );
@@ -424,7 +424,7 @@ void IconThemesConfig::themeSelected( QListViewItem *item, QLabel *previewLabel,
x += rightButtonsBg.width();
painter.drawPixmap( x, 4, topRightCornerBg );
- painter.setPen( QColor( 0, 0, 0 ) );
+ painter.setPen( TQColor( 0, 0, 0 ) );
painter.drawLine( 4, h - 5, w - 4 , h - 5 );
painter.end();
@@ -440,14 +440,14 @@ void IconThemesConfig::themeSelected( QListViewItem *item, QLabel *previewLabel,
void IconThemesConfig::setTheme( KURLRequester *framesPath, KURLRequester *buttonsPath, KURLRequester *masksPath )
{
- QListViewItem * selected = themesView_->selectedItem();
+ TQListViewItem * selected = themesView_->selectedItem();
if ( !selected )
return ;
- QString dirName( m_themeNames[ selected->text( 0 ) ] );
+ TQString dirName( m_themeNames[ selected->text( 0 ) ] );
- QString setTheme = selected->text( 0 );
- QString setThemeStr = dirName + setTheme;
+ TQString setTheme = selected->text( 0 );
+ TQString setThemeStr = dirName + setTheme;
framesPath->setURL( setThemeStr + "/deco" );
buttonsPath->setURL( setThemeStr + "/buttons" );
diff --git a/client/config/themes.h b/client/config/themes.h
index feb2cf5..238bbe1 100644
--- a/client/config/themes.h
+++ b/client/config/themes.h
@@ -35,39 +35,39 @@
#define ICONTHEMES_H
#include <kcmodule.h>
-#include <qmap.h>
+#include <tqmap.h>
#include <klistview.h>
-class QPushButton;
+class TQPushButton;
class DeviceManager;
-class QCheckBox;
-class QStringList;
+class TQCheckBox;
+class TQStringList;
-class IconThemesConfig : public QObject
+class IconThemesConfig : public TQObject
{
Q_OBJECT
public:
- IconThemesConfig( QWidget *parent, KListView *themesView/*, QPushButton *removethemeBtn*/ );
+ IconThemesConfig( TQWidget *parent, KListView *themesView/*, TQPushButton *removethemeBtn*/ );
virtual ~IconThemesConfig();
void loadThemes();
- bool installThemes( const QStringList &themes, const QString &archiveName );
- QStringList findThemeDirs( const QString &archiveName );
- void themeSelected( QListViewItem *item, QLabel *preview, QPushButton *btn );
+ bool installThemes( const TQStringList &themes, const TQString &archiveName );
+ TQStringList findThemeDirs( const TQString &archiveName );
+ void themeSelected( TQListViewItem *item, TQLabel *preview, TQPushButton *btn );
void installNewTheme();
void removeSelectedTheme();
void setTheme( KURLRequester *framesPath, KURLRequester *buttonsPath, KURLRequester *masksPath );
private:
- QListViewItem *iconThemeItem( const QString &name );
+ TQListViewItem *iconThemeItem( const TQString &name );
KListView *themesView_;
- QWidget *parent_;
- //QPushButton *removeThemeBtn_;
- QListViewItem *m_defaultTheme;
- QMap <QString, QString>m_themeNames;
+ TQWidget *parent_;
+ //TQPushButton *removeThemeBtn_;
+ TQListViewItem *m_defaultTheme;
+ TQMap <TQString, TQString>m_themeNames;
};
#endif // ICONTHEMES_H
diff --git a/client/config/themes.moc.cc b/client/config/themes.moc.cc
index 111855b..d64c1a9 100644
--- a/client/config/themes.moc.cc
+++ b/client/config/themes.moc.cc
@@ -2,20 +2,20 @@
** IconThemesConfig meta object code from reading C++ file 'themes.h'
**
** Created: Wed Dec 7 20:20:14 2005
-** by: The Qt MOC ($Id: qt/moc_yacc.cpp 3.3.5 edited Sep 2 14:41 $)
+** by: The TQt MOC ($Id: qt/moc_yacc.cpp 3.3.5 edited Sep 2 14:41 $)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#undef QT_NO_COMPAT
#include "themes.h"
-#include <qmetaobject.h>
-#include <qapplication.h>
+#include <tqmetaobject.h>
+#include <tqapplication.h>
#include <private/qucomextra_p.h>
#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
#error "This file was generated using the moc from 3.3.5. It"
-#error "cannot be used with the include files from this version of Qt."
+#error "cannot be used with the include files from this version of TQt."
#error "(The moc has changed too much.)"
#endif
@@ -24,46 +24,46 @@ const char *IconThemesConfig::className() const
return "IconThemesConfig";
}
-QMetaObject *IconThemesConfig::metaObj = 0;
-static QMetaObjectCleanUp cleanUp_IconThemesConfig( "IconThemesConfig", &IconThemesConfig::staticMetaObject );
+TQMetaObject *IconThemesConfig::metaObj = 0;
+static TQMetaObjectCleanUp cleanUp_IconThemesConfig( "IconThemesConfig", &IconThemesConfig::staticMetaObject );
#ifndef QT_NO_TRANSLATION
-QString IconThemesConfig::tr( const char *s, const char *c )
+TQString IconThemesConfig::tr( const char *s, const char *c )
{
- if ( qApp )
- return qApp->translate( "IconThemesConfig", s, c, QApplication::DefaultCodec );
+ if ( tqApp )
+ return tqApp->translate( "IconThemesConfig", s, c, TQApplication::DefaultCodec );
else
- return QString::fromLatin1( s );
+ return TQString::fromLatin1( s );
}
#ifndef QT_NO_TRANSLATION_UTF8
-QString IconThemesConfig::trUtf8( const char *s, const char *c )
+TQString IconThemesConfig::trUtf8( const char *s, const char *c )
{
- if ( qApp )
- return qApp->translate( "IconThemesConfig", s, c, QApplication::UnicodeUTF8 );
+ if ( tqApp )
+ return tqApp->translate( "IconThemesConfig", s, c, TQApplication::UnicodeUTF8 );
else
- return QString::fromUtf8( s );
+ return TQString::fromUtf8( s );
}
#endif // QT_NO_TRANSLATION_UTF8
#endif // QT_NO_TRANSLATION
-QMetaObject* IconThemesConfig::staticMetaObject()
+TQMetaObject* IconThemesConfig::staticMetaObject()
{
if ( metaObj )
return metaObj;
- QMetaObject* parentObject = KCModule::staticMetaObject();
- static const QUParameter param_slot_0[] = {
- { "item", &static_QUType_ptr, "QListViewItem", QUParameter::In }
+ TQMetaObject* parentObject = KCModule::staticMetaObject();
+ static const TQUParameter param_slot_0[] = {
+ { "item", &static_QUType_ptr, "TQListViewItem", TQUParameter::In }
};
- static const QUMethod slot_0 = {"themeSelected", 1, param_slot_0 };
- static const QUMethod slot_1 = {"installNewTheme", 0, 0 };
- static const QUMethod slot_2 = {"removeSelectedTheme", 0, 0 };
- static const QMetaData slot_tbl[] = {
- { "themeSelected(QListViewItem*)", &slot_0, QMetaData::Protected },
- { "installNewTheme()", &slot_1, QMetaData::Protected },
- { "removeSelectedTheme()", &slot_2, QMetaData::Protected }
+ static const TQUMethod slot_0 = {"themeSelected", 1, param_slot_0 };
+ static const TQUMethod slot_1 = {"installNewTheme", 0, 0 };
+ static const TQUMethod slot_2 = {"removeSelectedTheme", 0, 0 };
+ static const TQMetaData slot_tbl[] = {
+ { "themeSelected(TQListViewItem*)", &slot_0, TQMetaData::Protected },
+ { "installNewTheme()", &slot_1, TQMetaData::Protected },
+ { "removeSelectedTheme()", &slot_2, TQMetaData::Protected }
};
- metaObj = QMetaObject::new_metaobject(
+ metaObj = TQMetaObject::new_metaobject(
"IconThemesConfig", parentObject,
slot_tbl, 3,
0, 0,
@@ -76,35 +76,35 @@ QMetaObject* IconThemesConfig::staticMetaObject()
return metaObj;
}
-void* IconThemesConfig::qt_cast( const char* clname )
+void* IconThemesConfig::tqt_cast( const char* clname )
{
if ( !qstrcmp( clname, "IconThemesConfig" ) )
return this;
- return KCModule::qt_cast( clname );
+ return KCModule::tqt_cast( clname );
}
-bool IconThemesConfig::qt_invoke( int _id, QUObject* _o )
+bool IconThemesConfig::tqt_invoke( int _id, TQUObject* _o )
{
switch ( _id - staticMetaObject()->slotOffset() ) {
- case 0: themeSelected((QListViewItem*)static_QUType_ptr.get(_o+1)); break;
+ case 0: themeSelected((TQListViewItem*)static_QUType_ptr.get(_o+1)); break;
case 1: installNewTheme(); break;
case 2: removeSelectedTheme(); break;
default:
- return KCModule::qt_invoke( _id, _o );
+ return KCModule::tqt_invoke( _id, _o );
}
return TRUE;
}
-bool IconThemesConfig::qt_emit( int _id, QUObject* _o )
+bool IconThemesConfig::tqt_emit( int _id, TQUObject* _o )
{
- return KCModule::qt_emit(_id,_o);
+ return KCModule::tqt_emit(_id,_o);
}
#ifndef QT_NO_PROPERTIES
-bool IconThemesConfig::qt_property( int id, int f, QVariant* v)
+bool IconThemesConfig::tqt_property( int id, int f, TQVariant* v)
{
- return KCModule::qt_property( id, f, v);
+ return KCModule::tqt_property( id, f, v);
}
-bool IconThemesConfig::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
+bool IconThemesConfig::tqt_static_property( TQObject* , int , int , TQVariant* ){ return FALSE; }
#endif // QT_NO_PROPERTIES