summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/settings
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
commitfecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch)
tree6b8614802f0d01b353bc9ba78aff2090846c198e /kmymoney2/dialogs/settings
parentdadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff)
downloadkmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.tar.gz
kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.zip
TQt4 port kmymoney
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239855 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/dialogs/settings')
-rw-r--r--kmymoney2/dialogs/settings/ksettingscolors.cpp4
-rw-r--r--kmymoney2/dialogs/settings/ksettingscolors.h3
-rw-r--r--kmymoney2/dialogs/settings/ksettingscolorsdecl.ui42
-rw-r--r--kmymoney2/dialogs/settings/ksettingsfonts.cpp4
-rw-r--r--kmymoney2/dialogs/settings/ksettingsfonts.h3
-rw-r--r--kmymoney2/dialogs/settings/ksettingsfontsdecl.ui18
-rw-r--r--kmymoney2/dialogs/settings/ksettingsforecast.cpp4
-rw-r--r--kmymoney2/dialogs/settings/ksettingsforecast.h3
-rw-r--r--kmymoney2/dialogs/settings/ksettingsforecastdecl.ui52
-rw-r--r--kmymoney2/dialogs/settings/ksettingsgeneral.cpp14
-rw-r--r--kmymoney2/dialogs/settings/ksettingsgeneral.h5
-rw-r--r--kmymoney2/dialogs/settings/ksettingsgeneraldecl.ui99
-rw-r--r--kmymoney2/dialogs/settings/ksettingsgpg.cpp50
-rw-r--r--kmymoney2/dialogs/settings/ksettingsgpg.h3
-rw-r--r--kmymoney2/dialogs/settings/ksettingsgpgdecl.ui34
-rw-r--r--kmymoney2/dialogs/settings/ksettingshome.cpp54
-rw-r--r--kmymoney2/dialogs/settings/ksettingshome.h7
-rw-r--r--kmymoney2/dialogs/settings/ksettingshomedecl.ui36
-rw-r--r--kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp74
-rw-r--r--kmymoney2/dialogs/settings/ksettingsonlinequotes.h13
-rw-r--r--kmymoney2/dialogs/settings/ksettingsonlinequotesdecl.ui26
-rw-r--r--kmymoney2/dialogs/settings/ksettingsplugins.cpp18
-rw-r--r--kmymoney2/dialogs/settings/ksettingsplugins.h7
-rw-r--r--kmymoney2/dialogs/settings/ksettingsregister.cpp22
-rw-r--r--kmymoney2/dialogs/settings/ksettingsregister.h3
-rw-r--r--kmymoney2/dialogs/settings/ksettingsregisterdecl.ui85
-rw-r--r--kmymoney2/dialogs/settings/ksettingsschedules.cpp4
-rw-r--r--kmymoney2/dialogs/settings/ksettingsschedules.h3
-rw-r--r--kmymoney2/dialogs/settings/ksettingsschedulesdecl.ui24
29 files changed, 365 insertions, 349 deletions
diff --git a/kmymoney2/dialogs/settings/ksettingscolors.cpp b/kmymoney2/dialogs/settings/ksettingscolors.cpp
index 727241c..06a5199 100644
--- a/kmymoney2/dialogs/settings/ksettingscolors.cpp
+++ b/kmymoney2/dialogs/settings/ksettingscolors.cpp
@@ -25,8 +25,8 @@
#include "ksettingscolors.h"
-KSettingsColors::KSettingsColors(QWidget* parent, const char* name) :
- KSettingsColorsDecl(parent, name)
+KSettingsColors::KSettingsColors(TQWidget* tqparent, const char* name) :
+ KSettingsColorsDecl(tqparent, name)
{
}
diff --git a/kmymoney2/dialogs/settings/ksettingscolors.h b/kmymoney2/dialogs/settings/ksettingscolors.h
index 896ad85..0f877a2 100644
--- a/kmymoney2/dialogs/settings/ksettingscolors.h
+++ b/kmymoney2/dialogs/settings/ksettingscolors.h
@@ -31,9 +31,10 @@
class KSettingsColors : public KSettingsColorsDecl
{
Q_OBJECT
+ TQ_OBJECT
public:
- KSettingsColors(QWidget* parent = 0, const char* name = 0);
+ KSettingsColors(TQWidget* tqparent = 0, const char* name = 0);
~KSettingsColors();
};
#endif
diff --git a/kmymoney2/dialogs/settings/ksettingscolorsdecl.ui b/kmymoney2/dialogs/settings/ksettingscolorsdecl.ui
index 2d4d15b..98fe42b 100644
--- a/kmymoney2/dialogs/settings/ksettingscolorsdecl.ui
+++ b/kmymoney2/dialogs/settings/ksettingscolorsdecl.ui
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>KSettingsColorsDecl</class>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>KSettingsColorsDecl</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>groupBox3</cstring>
</property>
@@ -45,7 +45,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel" row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel3</cstring>
</property>
@@ -53,7 +53,7 @@
<string>Grid color</string>
</property>
</widget>
- <widget class="QLabel" row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel1_3</cstring>
</property>
@@ -61,7 +61,7 @@
<string>Erronous transaction</string>
</property>
</widget>
- <widget class="QLabel" row="2" column="0">
+ <widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>textLabel4</cstring>
</property>
@@ -99,7 +99,7 @@
</color>
</property>
</widget>
- <widget class="QLabel" row="3" column="0">
+ <widget class="TQLabel" row="3" column="0">
<property name="name">
<cstring>textLabel5</cstring>
</property>
@@ -157,7 +157,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>21</width>
<height>20</height>
@@ -166,7 +166,7 @@
</spacer>
</vbox>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
@@ -177,7 +177,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_useSystemColors</cstring>
</property>
@@ -185,7 +185,7 @@
<string>Use system colors</string>
</property>
</widget>
- <widget class="QGroupBox">
+ <widget class="TQGroupBox">
<property name="name">
<cstring>m_individualColorFrame</cstring>
</property>
@@ -196,7 +196,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel" row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel2</cstring>
</property>
@@ -204,7 +204,7 @@
<string>Normal</string>
</property>
</widget>
- <widget class="QLabel" row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel1</cstring>
</property>
@@ -252,7 +252,7 @@
</widget>
</grid>
</widget>
- <widget class="QGroupBox">
+ <widget class="TQGroupBox">
<property name="name">
<cstring>groupBox5</cstring>
</property>
@@ -263,7 +263,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel" row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel1_5</cstring>
</property>
@@ -286,7 +286,7 @@
</color>
</property>
</widget>
- <widget class="QLabel" row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
@@ -317,7 +317,7 @@
</color>
</property>
</widget>
- <widget class="QLabel" row="2" column="0">
+ <widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>textLabel1_4</cstring>
</property>
@@ -340,7 +340,7 @@
</color>
</property>
</widget>
- <widget class="QLabel" row="3" column="0">
+ <widget class="TQLabel" row="3" column="0">
<property name="name">
<cstring>textLabel2_2</cstring>
</property>
@@ -382,7 +382,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -402,5 +402,5 @@
<slot>setDisabled(bool)</slot>
</connection>
</connections>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kmymoney2/dialogs/settings/ksettingsfonts.cpp b/kmymoney2/dialogs/settings/ksettingsfonts.cpp
index a4aef71..c21437d 100644
--- a/kmymoney2/dialogs/settings/ksettingsfonts.cpp
+++ b/kmymoney2/dialogs/settings/ksettingsfonts.cpp
@@ -25,8 +25,8 @@
#include "ksettingsfonts.h"
-KSettingsFonts::KSettingsFonts(QWidget* parent, const char* name) :
- KSettingsFontsDecl(parent, name)
+KSettingsFonts::KSettingsFonts(TQWidget* tqparent, const char* name) :
+ KSettingsFontsDecl(tqparent, name)
{
}
diff --git a/kmymoney2/dialogs/settings/ksettingsfonts.h b/kmymoney2/dialogs/settings/ksettingsfonts.h
index 40cb9de..eda94fd 100644
--- a/kmymoney2/dialogs/settings/ksettingsfonts.h
+++ b/kmymoney2/dialogs/settings/ksettingsfonts.h
@@ -31,9 +31,10 @@
class KSettingsFonts : public KSettingsFontsDecl
{
Q_OBJECT
+ TQ_OBJECT
public:
- KSettingsFonts(QWidget* parent = 0, const char* name = 0);
+ KSettingsFonts(TQWidget* tqparent = 0, const char* name = 0);
~KSettingsFonts();
};
#endif
diff --git a/kmymoney2/dialogs/settings/ksettingsfontsdecl.ui b/kmymoney2/dialogs/settings/ksettingsfontsdecl.ui
index cbaefeb..6cb100a 100644
--- a/kmymoney2/dialogs/settings/ksettingsfontsdecl.ui
+++ b/kmymoney2/dialogs/settings/ksettingsfontsdecl.ui
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>KSettingsFontsDecl</class>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>KSettingsFontsDecl</cstring>
</property>
@@ -19,7 +19,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_useSystemFont</cstring>
</property>
@@ -27,7 +27,7 @@
<string>Use system fonts</string>
</property>
</widget>
- <widget class="QGroupBox">
+ <widget class="TQGroupBox">
<property name="name">
<cstring>m_individualFontsFrame</cstring>
</property>
@@ -58,7 +58,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>110</width>
<height>20</height>
@@ -75,14 +75,14 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>100</width>
<height>20</height>
</size>
</property>
</spacer>
- <widget class="QLabel" row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel1</cstring>
</property>
@@ -90,7 +90,7 @@
<string>Cell font</string>
</property>
</widget>
- <widget class="QLabel" row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel2</cstring>
</property>
@@ -110,7 +110,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>30</height>
@@ -127,5 +127,5 @@
<slot>setDisabled(bool)</slot>
</connection>
</connections>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kmymoney2/dialogs/settings/ksettingsforecast.cpp b/kmymoney2/dialogs/settings/ksettingsforecast.cpp
index 0a74252..d3e8770 100644
--- a/kmymoney2/dialogs/settings/ksettingsforecast.cpp
+++ b/kmymoney2/dialogs/settings/ksettingsforecast.cpp
@@ -25,8 +25,8 @@
#include "ksettingsforecast.h"
-KSettingsForecast::KSettingsForecast(QWidget* parent, const char* name) :
- KSettingsForecastDecl(parent, name)
+KSettingsForecast::KSettingsForecast(TQWidget* tqparent, const char* name) :
+ KSettingsForecastDecl(tqparent, name)
{
}
diff --git a/kmymoney2/dialogs/settings/ksettingsforecast.h b/kmymoney2/dialogs/settings/ksettingsforecast.h
index 7195eee..4423a39 100644
--- a/kmymoney2/dialogs/settings/ksettingsforecast.h
+++ b/kmymoney2/dialogs/settings/ksettingsforecast.h
@@ -32,9 +32,10 @@
class KSettingsForecast : public KSettingsForecastDecl
{
Q_OBJECT
+ TQ_OBJECT
public:
- KSettingsForecast(QWidget* parent = 0, const char* name = 0);
+ KSettingsForecast(TQWidget* tqparent = 0, const char* name = 0);
~KSettingsForecast();
};
#endif
diff --git a/kmymoney2/dialogs/settings/ksettingsforecastdecl.ui b/kmymoney2/dialogs/settings/ksettingsforecastdecl.ui
index c412f81..c3f90df 100644
--- a/kmymoney2/dialogs/settings/ksettingsforecastdecl.ui
+++ b/kmymoney2/dialogs/settings/ksettingsforecastdecl.ui
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>KSettingsForecastDecl</class>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>KSettingsForecastDecl</cstring>
</property>
@@ -19,7 +19,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QGroupBox" row="0" column="0">
+ <widget class="TQGroupBox" row="0" column="0">
<property name="name">
<cstring>groupBox6</cstring>
</property>
@@ -38,28 +38,28 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget" row="0" column="0">
+ <widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
- <cstring>layout7</cstring>
+ <cstring>tqlayout7</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget" row="0" column="0">
+ <widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
- <cstring>layout5</cstring>
+ <cstring>tqlayout5</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QSpinBox" row="1" column="1">
+ <widget class="TQSpinBox" row="1" column="1">
<property name="name">
<cstring>kcfg_forecastAccountCycle</cstring>
</property>
</widget>
- <widget class="QLabel" row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel2</cstring>
</property>
@@ -67,12 +67,12 @@
<string>Number of Days of Account Cycle:</string>
</property>
</widget>
- <widget class="QSpinBox" row="0" column="1">
+ <widget class="TQSpinBox" row="0" column="1">
<property name="name">
<cstring>kcfg_forecastDays</cstring>
</property>
</widget>
- <widget class="QLabel" row="2" column="0">
+ <widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>textLabel1</cstring>
</property>
@@ -80,12 +80,12 @@
<string>Day of Month to start Forecast:</string>
</property>
</widget>
- <widget class="QSpinBox" row="2" column="1">
+ <widget class="TQSpinBox" row="2" column="1">
<property name="name">
<cstring>kcfg_beginForecastDay</cstring>
</property>
</widget>
- <widget class="QLabel" row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel4</cstring>
</property>
@@ -105,7 +105,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>133</width>
<height>21</height>
@@ -114,7 +114,7 @@
</spacer>
</grid>
</widget>
- <widget class="QButtonGroup" row="1" column="0">
+ <widget class="TQButtonGroup" row="1" column="0">
<property name="name">
<cstring>kcfg_forecastMethod</cstring>
</property>
@@ -125,7 +125,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QRadioButton">
+ <widget class="TQRadioButton">
<property name="name">
<cstring>radioButton9</cstring>
</property>
@@ -136,7 +136,7 @@
<number>0</number>
</property>
</widget>
- <widget class="QRadioButton">
+ <widget class="TQRadioButton">
<property name="name">
<cstring>radioButton10</cstring>
</property>
@@ -149,7 +149,7 @@
</widget>
</vbox>
</widget>
- <widget class="QGroupBox" row="2" column="0">
+ <widget class="TQGroupBox" row="2" column="0">
<property name="name">
<cstring>groupBox3</cstring>
</property>
@@ -164,7 +164,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel3</cstring>
</property>
@@ -172,7 +172,7 @@
<string>Number of Cycles to use in Forecast:</string>
</property>
</widget>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>kcfg_forecastCycles</cstring>
</property>
@@ -187,7 +187,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>130</width>
<height>21</height>
@@ -195,7 +195,7 @@
</property>
</spacer>
</hbox>
- <widget class="QButtonGroup" row="1" column="0">
+ <widget class="TQButtonGroup" row="1" column="0">
<property name="name">
<cstring>kcfg_historyMethod</cstring>
</property>
@@ -206,7 +206,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QRadioButton">
+ <widget class="TQRadioButton">
<property name="name">
<cstring>radioButton11</cstring>
</property>
@@ -217,7 +217,7 @@
<number>0</number>
</property>
</widget>
- <widget class="QRadioButton">
+ <widget class="TQRadioButton">
<property name="name">
<cstring>radioButton12</cstring>
</property>
@@ -228,7 +228,7 @@
<number>1</number>
</property>
</widget>
- <widget class="QRadioButton">
+ <widget class="TQRadioButton">
<property name="name">
<cstring>radioButton13</cstring>
</property>
@@ -255,7 +255,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>40</height>
@@ -264,5 +264,5 @@
</spacer>
</grid>
</widget>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kmymoney2/dialogs/settings/ksettingsgeneral.cpp b/kmymoney2/dialogs/settings/ksettingsgeneral.cpp
index 5acdd08..e36530f 100644
--- a/kmymoney2/dialogs/settings/ksettingsgeneral.cpp
+++ b/kmymoney2/dialogs/settings/ksettingsgeneral.cpp
@@ -17,7 +17,7 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qlabel.h>
+#include <tqlabel.h>
// ----------------------------------------------------------------------------
// KDE Includes
@@ -31,8 +31,8 @@
#include <kmymoney/kmymoneydateinput.h>
#include "ksettingsgeneral.h"
-KSettingsGeneral::KSettingsGeneral(QWidget* parent, const char* name) :
- KSettingsGeneralDecl(parent, name)
+KSettingsGeneral::KSettingsGeneral(TQWidget* tqparent, const char* name) :
+ KSettingsGeneralDecl(tqparent, name)
{
// hide the internally used date field
kcfg_StartDate->hide();
@@ -43,20 +43,20 @@ KSettingsGeneral::KSettingsGeneral(QWidget* parent, const char* name) :
m_viewList->hide();
// setup connections, so that the sort optios get loaded once the edit fields are filled
- connect(kcfg_StartDate, SIGNAL(valueChanged(const QDate&)), this, SLOT(slotLoadStartDate(const QDate&)));
+ connect(kcfg_StartDate, TQT_SIGNAL(valueChanged(const TQDate&)), this, TQT_SLOT(slotLoadStartDate(const TQDate&)));
// setup connections, so that changes by the user are forwarded to the (hidden) edit fields
- connect(m_startDateEdit, SIGNAL(dateChanged(const QDate&)), kcfg_StartDate, SLOT(setDate(const QDate&)));
+ connect(m_startDateEdit, TQT_SIGNAL(dateChanged(const TQDate&)), kcfg_StartDate, TQT_SLOT(setDate(const TQDate&)));
}
KSettingsGeneral::~KSettingsGeneral()
{
}
-void KSettingsGeneral::slotLoadStartDate(const QDate&)
+void KSettingsGeneral::slotLoadStartDate(const TQDate&)
{
// only need this once
- disconnect(kcfg_StartDate, SIGNAL(valueChanged(const QDate&)), this, SLOT(slotLoadStartDate(const QDate&)));
+ disconnect(kcfg_StartDate, TQT_SIGNAL(valueChanged(const TQDate&)), this, TQT_SLOT(slotLoadStartDate(const TQDate&)));
m_startDateEdit->setDate(kcfg_StartDate->date());
}
diff --git a/kmymoney2/dialogs/settings/ksettingsgeneral.h b/kmymoney2/dialogs/settings/ksettingsgeneral.h
index 3bd0992..246a600 100644
--- a/kmymoney2/dialogs/settings/ksettingsgeneral.h
+++ b/kmymoney2/dialogs/settings/ksettingsgeneral.h
@@ -31,13 +31,14 @@
class KSettingsGeneral : public KSettingsGeneralDecl
{
Q_OBJECT
+ TQ_OBJECT
public:
- KSettingsGeneral(QWidget* parent = 0, const char* name = 0);
+ KSettingsGeneral(TQWidget* tqparent = 0, const char* name = 0);
~KSettingsGeneral();
protected slots:
- void slotLoadStartDate(const QDate&);
+ void slotLoadStartDate(const TQDate&);
};
#endif
diff --git a/kmymoney2/dialogs/settings/ksettingsgeneraldecl.ui b/kmymoney2/dialogs/settings/ksettingsgeneraldecl.ui
index 9eeb181..b851f2b 100644
--- a/kmymoney2/dialogs/settings/ksettingsgeneraldecl.ui
+++ b/kmymoney2/dialogs/settings/ksettingsgeneraldecl.ui
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>KSettingsGeneralDecl</class>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>KSettingsGeneralDecl</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="QButtonGroup">
+ <widget class="TQButtonGroup">
<property name="name">
<cstring>kcfg_StartLastViewSelected</cstring>
</property>
@@ -48,7 +48,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QRadioButton">
+ <widget class="TQRadioButton">
<property name="name">
<cstring>radioButton1</cstring>
</property>
@@ -62,7 +62,7 @@
<number>0</number>
</property>
</widget>
- <widget class="QRadioButton">
+ <widget class="TQRadioButton">
<property name="name">
<cstring>radioButton2</cstring>
</property>
@@ -75,7 +75,7 @@
</widget>
</vbox>
</widget>
- <widget class="QGroupBox">
+ <widget class="TQGroupBox">
<property name="name">
<cstring>groupBox1</cstring>
</property>
@@ -86,7 +86,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1</cstring>
</property>
@@ -94,7 +94,7 @@
<string>Price precision</string>
</property>
</widget>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>kcfg_PricePrecision</cstring>
</property>
@@ -102,7 +102,7 @@
<number>10</number>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel2</cstring>
</property>
@@ -120,7 +120,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>61</width>
<height>21</height>
@@ -129,7 +129,7 @@
</spacer>
</hbox>
</widget>
- <widget class="QGroupBox">
+ <widget class="TQGroupBox">
<property name="name">
<cstring>groupBox3</cstring>
</property>
@@ -140,7 +140,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_AutoSaveFile</cstring>
</property>
@@ -148,7 +148,7 @@
<string>Autosave periodically</string>
</property>
</widget>
- <widget class="QFrame">
+ <widget class="TQFrame">
<property name="name">
<cstring>m_periodFrame</cstring>
</property>
@@ -168,7 +168,7 @@
<property name="margin">
<number>0</number>
</property>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>kcfg_AutoSavePeriod</cstring>
</property>
@@ -176,7 +176,7 @@
<number>60</number>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel3</cstring>
</property>
@@ -194,7 +194,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>354</width>
<height>20</height>
@@ -205,7 +205,7 @@
</widget>
</hbox>
</widget>
- <widget class="QGroupBox">
+ <widget class="TQGroupBox">
<property name="name">
<cstring>groupBox6</cstring>
</property>
@@ -216,7 +216,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_2_2</cstring>
</property>
@@ -304,7 +304,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>90</width>
<height>20</height>
@@ -323,7 +323,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -332,7 +332,7 @@
</spacer>
</vbox>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
@@ -343,7 +343,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_syncLedgerInvestment</cstring>
</property>
@@ -359,14 +359,14 @@
<bool>true</bool>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>m_viewLabel</cstring>
</property>
<property name="text">
<string>Check the views you want to enable, uncheck those you want to hide, because you don't need the functionality.</string>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -383,7 +383,7 @@
</sizepolicy>
</property>
</widget>
- <widget class="QButtonGroup">
+ <widget class="TQButtonGroup">
<property name="name">
<cstring>kcfg_iconSize</cstring>
</property>
@@ -397,7 +397,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QRadioButton" row="0" column="0">
+ <widget class="TQRadioButton" row="0" column="0">
<property name="name">
<cstring>radioButton3</cstring>
</property>
@@ -405,7 +405,7 @@
<string>Micro (16px)</string>
</property>
</widget>
- <widget class="QRadioButton" row="1" column="0">
+ <widget class="TQRadioButton" row="1" column="0">
<property name="name">
<cstring>radioButton4</cstring>
</property>
@@ -413,7 +413,7 @@
<string>Small (32px)</string>
</property>
</widget>
- <widget class="QRadioButton" row="0" column="1">
+ <widget class="TQRadioButton" row="0" column="1">
<property name="name">
<cstring>radioButton5</cstring>
</property>
@@ -424,7 +424,7 @@
<bool>true</bool>
</property>
</widget>
- <widget class="QRadioButton" row="1" column="1">
+ <widget class="TQRadioButton" row="1" column="1">
<property name="name">
<cstring>radioButton6</cstring>
</property>
@@ -434,7 +434,7 @@
</widget>
</grid>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_showTitleBar</cstring>
</property>
@@ -452,7 +452,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>21</height>
@@ -461,7 +461,7 @@
</spacer>
</vbox>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>TabPage</cstring>
</property>
@@ -472,7 +472,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QGroupBox">
+ <widget class="TQGroupBox">
<property name="name">
<cstring>groupBox2</cstring>
</property>
@@ -483,7 +483,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_HideUnusedCategory</cstring>
</property>
@@ -494,7 +494,7 @@
<string>This option hides all categories in the categories view that are not used in at least a single transaction. They are still shown in the category selection lists.</string>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_HideClosedAccounts</cstring>
</property>
@@ -507,7 +507,7 @@
You can use &lt;b&gt;View/Show all accounts&lt;/b&gt; to temporarily show hidden accounts in the views.</string>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_ExpertMode</cstring>
</property>
@@ -517,7 +517,7 @@ You can use &lt;b&gt;View/Show all accounts&lt;/b&gt; to temporarily show hidden
</widget>
</vbox>
</widget>
- <widget class="QGroupBox">
+ <widget class="TQGroupBox">
<property name="name">
<cstring>groupBox4</cstring>
</property>
@@ -528,7 +528,7 @@ You can use &lt;b&gt;View/Show all accounts&lt;/b&gt; to temporarily show hidden
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_HideFinishedSchedules</cstring>
</property>
@@ -541,7 +541,7 @@ You can use &lt;b&gt;View/Show all accounts&lt;/b&gt; to temporarily show hidden
</widget>
</vbox>
</widget>
- <widget class="QGroupBox">
+ <widget class="TQGroupBox">
<property name="name">
<cstring>groupBox5</cstring>
</property>
@@ -552,15 +552,15 @@ You can use &lt;b&gt;View/Show all accounts&lt;/b&gt; to temporarily show hidden
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout2</cstring>
+ <cstring>tqlayout2</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_3</cstring>
</property>
@@ -573,7 +573,7 @@ You can use &lt;b&gt;View/Show all accounts&lt;/b&gt; to temporarily show hidden
<cstring>m_startDateEdit</cstring>
</property>
</widget>
- <widget class="QDateEdit">
+ <widget class="TQDateEdit">
<property name="name">
<cstring>kcfg_StartDate</cstring>
</property>
@@ -588,7 +588,7 @@ You can use &lt;b&gt;View/Show all accounts&lt;/b&gt; to temporarily show hidden
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>63</width>
<height>20</height>
@@ -597,7 +597,7 @@ You can use &lt;b&gt;View/Show all accounts&lt;/b&gt; to temporarily show hidden
</spacer>
</hbox>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_HideReconciledTransactions</cstring>
</property>
@@ -620,7 +620,7 @@ You can use &lt;b&gt;View/Show all accounts&lt;/b&gt; to temporarily show hidden
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>30</height>
@@ -642,5 +642,8 @@ You can use &lt;b&gt;View/Show all accounts&lt;/b&gt; to temporarily show hidden
<slot>setEnabled(bool)</slot>
</connection>
</connections>
-<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kmymoney/kmymoneydateinput.h</include>
+</includes>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kmymoney2/dialogs/settings/ksettingsgpg.cpp b/kmymoney2/dialogs/settings/ksettingsgpg.cpp
index 2dba83e..133700d 100644
--- a/kmymoney2/dialogs/settings/ksettingsgpg.cpp
+++ b/kmymoney2/dialogs/settings/ksettingsgpg.cpp
@@ -17,9 +17,9 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qgroupbox.h>
-#include <qcheckbox.h>
-#include <qregexp.h>
+#include <tqgroupbox.h>
+#include <tqcheckbox.h>
+#include <tqregexp.h>
// ----------------------------------------------------------------------------
// KDE Includes
@@ -40,8 +40,8 @@
#define RECOVER_KEY_ID "0xD2B08440"
#define RECOVER_KEY_ID_FULL "59B0F826D2B08440"
-KSettingsGpg::KSettingsGpg(QWidget* parent, const char* name) :
- KSettingsGpgDecl(parent, name),
+KSettingsGpg::KSettingsGpg(TQWidget* tqparent, const char* name) :
+ KSettingsGpgDecl(tqparent, name),
m_checkCount(0),
m_needCheckList(true),
m_listOk(false)
@@ -51,11 +51,11 @@ KSettingsGpg::KSettingsGpg(QWidget* parent, const char* name) :
// don't show the widget in which the master key is actually kept
kcfg_GpgRecipient->hide();
- connect(kcfg_WriteDataEncrypted, SIGNAL(toggled(bool)), this, SLOT(slotStatusChanged(bool)));
- connect(m_masterKeyCombo, SIGNAL(activated(int)), this, SLOT(slotIdChanged()));
- connect(kcfg_GpgRecipientList, SIGNAL(changed()), this, SLOT(slotIdChanged()));
- connect(kcfg_GpgRecipientList, SIGNAL(added(const QString&)), this, SLOT(slotKeyListChanged()));
- connect(kcfg_GpgRecipientList, SIGNAL(removed(const QString&)), this, SLOT(slotKeyListChanged()));
+ connect(kcfg_WriteDataEncrypted, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotStatusChanged(bool)));
+ connect(m_masterKeyCombo, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotIdChanged()));
+ connect(kcfg_GpgRecipientList, TQT_SIGNAL(changed()), this, TQT_SLOT(slotIdChanged()));
+ connect(kcfg_GpgRecipientList, TQT_SIGNAL(added(const TQString&)), this, TQT_SLOT(slotKeyListChanged()));
+ connect(kcfg_GpgRecipientList, TQT_SIGNAL(removed(const TQString&)), this, TQT_SLOT(slotKeyListChanged()));
// Initial state setup
slotStatusChanged(kcfg_WriteDataEncrypted->isChecked());
@@ -93,8 +93,8 @@ void KSettingsGpg::slotIdChanged(void)
// if it is available, then scan the current list if we need to
if(keysOk) {
if(m_needCheckList) {
- QStringList keys = kcfg_GpgRecipientList->items();
- QStringList::const_iterator it_s;
+ TQStringList keys = kcfg_GpgRecipientList->items();
+ TQStringList::const_iterator it_s;
for(it_s = keys.begin(); keysOk && it_s != keys.end(); ++it_s) {
if(!KGPGFile::keyAvailable(*it_s))
keysOk = false;
@@ -115,7 +115,7 @@ void KSettingsGpg::slotIdChanged(void)
// if we have a master key, we store it in the hidden widget
if(m_masterKeyCombo->currentItem() != 0) {
- QRegExp keyExp(".* \\((.*)\\)");
+ TQRegExp keyExp(".* \\((.*)\\)");
if(keyExp.search(m_masterKeyCombo->currentText()) != -1) {
kcfg_GpgRecipient->setText(keyExp.cap(1));
}
@@ -131,10 +131,10 @@ void KSettingsGpg::slotIdChanged(void)
void KSettingsGpg::show(void)
{
- QString masterKey;
+ TQString masterKey;
if(m_masterKeyCombo->currentItem() != 0) {
- QRegExp keyExp(".* \\((.*)\\)");
+ TQRegExp keyExp(".* \\((.*)\\)");
if(keyExp.search(m_masterKeyCombo->currentText()) != -1) {
masterKey = keyExp.cap(1);
}
@@ -143,19 +143,19 @@ void KSettingsGpg::show(void)
// fill the secret key combobox with a fresh list
m_masterKeyCombo->clear();
- QStringList keyList;
+ TQStringList keyList;
KGPGFile::secretKeyList(keyList);
- for(QStringList::iterator it = keyList.begin(); it != keyList.end(); ++it) {
- QStringList fields = QStringList::split(":", *it);
+ for(TQStringList::iterator it = keyList.begin(); it != keyList.end(); ++it) {
+ TQStringList fields = TQStringList::split(":", *it);
if(fields[0] != RECOVER_KEY_ID_FULL) {
- // replace parenthesis in name field with brackets
- QString name = fields[1];
- name.replace('(', "[");
- name.replace(')', "]");
- name = QString("%1 (0x%2)").arg(name).arg(fields[0]);
+ // replace tqparenthesis in name field with brackets
+ TQString name = fields[1];
+ name.tqreplace('(', "[");
+ name.tqreplace(')', "]");
+ name = TQString("%1 (0x%2)").tqarg(name).tqarg(fields[0]);
m_masterKeyCombo->insertItem(name);
- if(name.contains(masterKey))
+ if(name.tqcontains(masterKey))
m_masterKeyCombo->setCurrentItem(name);
}
}
@@ -177,7 +177,7 @@ void KSettingsGpg::slotStatusChanged(bool state)
state = false;
if((state == true) && (oncePerSession == true) && isVisible()) {
- KMessageBox::information(this, QString("<qt>%1</qt>").arg(i18n("You have turned on the GPG encryption support. This means, that new files will be stored encrypted. Existing files will not be encrypted automatically. To achieve encryption of existing files, please use the <b>File/Save as...</b> feature and store the file under a different name. Once confident with the result, feel free to delete the old file and rename the encrypted one to the old name.")), i18n("GPG encryption activated"), "GpgEncryptionActivated");
+ KMessageBox::information(this, TQString("<qt>%1</qt>").tqarg(i18n("You have turned on the GPG encryption support. This means, that new files will be stored encrypted. Existing files will not be encrypted automatically. To achieve encryption of existing files, please use the <b>File/Save as...</b> feature and store the file under a different name. Once confident with the result, feel free to delete the old file and rename the encrypted one to the old name.")), i18n("GPG encryption activated"), "GpgEncryptionActivated");
oncePerSession = false;
}
diff --git a/kmymoney2/dialogs/settings/ksettingsgpg.h b/kmymoney2/dialogs/settings/ksettingsgpg.h
index ecea6ab..2508192 100644
--- a/kmymoney2/dialogs/settings/ksettingsgpg.h
+++ b/kmymoney2/dialogs/settings/ksettingsgpg.h
@@ -32,9 +32,10 @@
class KSettingsGpg : public KSettingsGpgDecl
{
Q_OBJECT
+ TQ_OBJECT
public:
- KSettingsGpg(QWidget* parent = 0, const char* name = 0);
+ KSettingsGpg(TQWidget* tqparent = 0, const char* name = 0);
~KSettingsGpg();
public slots:
diff --git a/kmymoney2/dialogs/settings/ksettingsgpgdecl.ui b/kmymoney2/dialogs/settings/ksettingsgpgdecl.ui
index 15d3bbe..0d82e45 100644
--- a/kmymoney2/dialogs/settings/ksettingsgpgdecl.ui
+++ b/kmymoney2/dialogs/settings/ksettingsgpgdecl.ui
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>KSettingsGpgDecl</class>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>KSettingsGpgDecl</cstring>
</property>
@@ -24,7 +24,7 @@ The &lt;i&gt;additional recovery encryption&lt;/i&gt; is only accessible, if the
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_WriteDataEncrypted</cstring>
</property>
@@ -32,7 +32,7 @@ The &lt;i&gt;additional recovery encryption&lt;/i&gt; is only accessible, if the
<string>Use GPG encryption</string>
</property>
</widget>
- <widget class="QGroupBox">
+ <widget class="TQGroupBox">
<property name="name">
<cstring>m_idGroup</cstring>
</property>
@@ -46,15 +46,15 @@ The &lt;i&gt;additional recovery encryption&lt;/i&gt; is only accessible, if the
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout3</cstring>
+ <cstring>tqlayout3</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
@@ -102,9 +102,9 @@ The &lt;i&gt;additional recovery encryption&lt;/i&gt; is only accessible, if the
<string>Enter the id of the key you want to use for data encryption. This can either be an e-mail address or the hexadecimal key id. In case of the key id don't forget the leading 0x.</string>
</property>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout6</cstring>
+ <cstring>tqlayout6</cstring>
</property>
<hbox>
<property name="name">
@@ -124,7 +124,7 @@ The &lt;i&gt;additional recovery encryption&lt;/i&gt; is only accessible, if the
<string>This symbol denotes, if the key for the given user id has been found in your keyring. It is green when found, dark otherwise.</string>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1</cstring>
</property>
@@ -142,7 +142,7 @@ The &lt;i&gt;additional recovery encryption&lt;/i&gt; is only accessible, if the
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>50</width>
<height>20</height>
@@ -151,9 +151,9 @@ The &lt;i&gt;additional recovery encryption&lt;/i&gt; is only accessible, if the
</spacer>
</hbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout5</cstring>
+ <cstring>tqlayout5</cstring>
</property>
<hbox>
<property name="name">
@@ -173,7 +173,7 @@ The &lt;i&gt;additional recovery encryption&lt;/i&gt; is only accessible, if the
<string>This symbol denotes, if the KMyMoney recovery key has been found in your keyring. It is green when found, dark otherwise.</string>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel2</cstring>
</property>
@@ -191,7 +191,7 @@ The &lt;i&gt;additional recovery encryption&lt;/i&gt; is only accessible, if the
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>16</width>
<height>20</height>
@@ -200,7 +200,7 @@ The &lt;i&gt;additional recovery encryption&lt;/i&gt; is only accessible, if the
</spacer>
</hbox>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_EncryptRecover</cstring>
</property>
@@ -225,7 +225,7 @@ This mechanism is provided for the case that you have lost your key and cannot a
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>21</width>
<height>30</height>
@@ -234,5 +234,5 @@ This mechanism is provided for the case that you have lost your key and cannot a
</spacer>
</vbox>
</widget>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kmymoney2/dialogs/settings/ksettingshome.cpp b/kmymoney2/dialogs/settings/ksettingshome.cpp
index d2f471b..a874de7 100644
--- a/kmymoney2/dialogs/settings/ksettingshome.cpp
+++ b/kmymoney2/dialogs/settings/ksettingshome.cpp
@@ -17,8 +17,8 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qstringlist.h>
-#include <qheader.h>
+#include <tqstringlist.h>
+#include <tqheader.h>
// ----------------------------------------------------------------------------
// KDE Includes
@@ -38,8 +38,8 @@
#include "kmymoney2/kmymoneyglobalsettings.h"
#include "kmymoney2/kmymoneyutils.h"
-KSettingsHome::KSettingsHome(QWidget* parent, const char* name) :
- KSettingsHomeDecl(parent, name),
+KSettingsHome::KSettingsHome(TQWidget* tqparent, const char* name) :
+ KSettingsHomeDecl(tqparent, name),
m_noNeedToUpdateList(false)
{
m_homePageList->addColumn("");
@@ -49,11 +49,11 @@ KSettingsHome::KSettingsHome(QWidget* parent, const char* name) :
KIconLoader* il = KGlobal::iconLoader();
KGuiItem upButtonItem( i18n( "&Up" ),
- QIconSet(il->loadIcon("up", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("up", KIcon::Small, KIcon::SizeSmall)),
i18n("Move selected item up"),
i18n("Use this to move the selected item up by one position in the list."));
KGuiItem downButtonItem( i18n( "&Down" ),
- QIconSet(il->loadIcon("down", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("down", KIcon::Small, KIcon::SizeSmall)),
i18n("Move selected item down"),
i18n("Use this to move the selected item down by one position in the list."));
@@ -63,14 +63,14 @@ KSettingsHome::KSettingsHome(QWidget* parent, const char* name) :
m_downButton->setEnabled(false);
// connect this, so that the list gets loaded once the edit field is filled
- connect(kcfg_ItemList, SIGNAL(textChanged()), this, SLOT(slotLoadItems()));
+ connect(kcfg_ItemList, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotLoadItems()));
- connect(m_homePageList, SIGNAL(selectionChanged(QListViewItem*)),
- this, SLOT(slotSelectHomePageItem(QListViewItem *)));
- connect(m_homePageList, SIGNAL(pressed(QListViewItem*)), this, SLOT(slotUpdateItemList()));
+ connect(m_homePageList, TQT_SIGNAL(selectionChanged(TQListViewItem*)),
+ this, TQT_SLOT(slotSelectHomePageItem(TQListViewItem *)));
+ connect(m_homePageList, TQT_SIGNAL(pressed(TQListViewItem*)), this, TQT_SLOT(slotUpdateItemList()));
- connect(m_upButton, SIGNAL(clicked()), this, SLOT(slotMoveUp()));
- connect(m_downButton, SIGNAL(clicked()), this, SLOT(slotMoveDown()));
+ connect(m_upButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotMoveUp()));
+ connect(m_downButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotMoveDown()));
// Don't show it to the user, we only need it to load and save the settings
kcfg_ItemList->hide();
@@ -85,14 +85,14 @@ void KSettingsHome::slotLoadItems(void)
if(m_noNeedToUpdateList)
return;
- QStringList list = KMyMoneyGlobalSettings::itemList();
- QStringList::ConstIterator it;
+ TQStringList list = KMyMoneyGlobalSettings::itemList();
+ TQStringList::ConstIterator it;
int w = 0;
m_homePageList->clear();
- QCheckListItem *sel = 0;
+ TQCheckListItem *sel = 0;
- QFontMetrics fm( KGlobalSettings::generalFont());
- QCheckListItem* last = 0;
+ TQFontMetrics fm( KGlobalSettings::generalFont());
+ TQCheckListItem* last = 0;
for(it = list.begin(); it != list.end(); ++it) {
int idx = (*it).toInt();
@@ -101,7 +101,7 @@ void KSettingsHome::slotLoadItems(void)
continue;
bool enabled = idx > 0;
if(!enabled) idx = -idx;
- QCheckListItem* item = new QCheckListItem(m_homePageList, KMyMoneyUtils::homePageItemToString(idx), QCheckListItem::CheckBox);
+ TQCheckListItem* item = new TQCheckListItem(m_homePageList, KMyMoneyUtils::homePageItemToString(idx), TQCheckListItem::CheckBox);
if(last)
item->moveItem(last);
@@ -123,14 +123,14 @@ void KSettingsHome::slotLoadItems(void)
void KSettingsHome::slotUpdateItemList(void)
{
- QString list;
- QListViewItem *it;
+ TQString list;
+ TQListViewItem *it;
for(it = m_homePageList->firstChild(); it; ) {
int item = KMyMoneyUtils::stringToHomePageItem(it->text(0));
- if(!(static_cast<QCheckListItem*>(it)->isOn()))
+ if(!(static_cast<TQCheckListItem*>(it)->isOn()))
item = -item;
- list += QString::number(item);
+ list += TQString::number(item);
it = it->nextSibling();
if(it)
list += ",";
@@ -142,7 +142,7 @@ void KSettingsHome::slotUpdateItemList(void)
m_noNeedToUpdateList = false;
}
-void KSettingsHome::slotSelectHomePageItem(QListViewItem *item)
+void KSettingsHome::slotSelectHomePageItem(TQListViewItem *item)
{
m_upButton->setEnabled(m_homePageList->firstChild() != item);
m_downButton->setEnabled(item->nextSibling());
@@ -150,8 +150,8 @@ void KSettingsHome::slotSelectHomePageItem(QListViewItem *item)
void KSettingsHome::slotMoveUp(void)
{
- QListViewItem *item = m_homePageList->currentItem();
- QListViewItem *prev = item->itemAbove();
+ TQListViewItem *item = m_homePageList->currentItem();
+ TQListViewItem *prev = item->itemAbove();
if(prev) {
prev->moveItem(item);
slotSelectHomePageItem(item);
@@ -161,8 +161,8 @@ void KSettingsHome::slotMoveUp(void)
void KSettingsHome::slotMoveDown(void)
{
- QListViewItem *item = m_homePageList->currentItem();
- QListViewItem *next = item->nextSibling();
+ TQListViewItem *item = m_homePageList->currentItem();
+ TQListViewItem *next = item->nextSibling();
if(next) {
item->moveItem(next);
slotSelectHomePageItem(item);
diff --git a/kmymoney2/dialogs/settings/ksettingshome.h b/kmymoney2/dialogs/settings/ksettingshome.h
index c461210..9717b2d 100644
--- a/kmymoney2/dialogs/settings/ksettingshome.h
+++ b/kmymoney2/dialogs/settings/ksettingshome.h
@@ -20,7 +20,7 @@
// ----------------------------------------------------------------------------
// QT Includes
-class QListViewItem;
+class TQListViewItem;
// ----------------------------------------------------------------------------
// KDE Includes
@@ -33,15 +33,16 @@ class QListViewItem;
class KSettingsHome : public KSettingsHomeDecl
{
Q_OBJECT
+ TQ_OBJECT
public:
- KSettingsHome(QWidget* parent = 0, const char* name = 0);
+ KSettingsHome(TQWidget* tqparent = 0, const char* name = 0);
~KSettingsHome();
protected slots:
void slotLoadItems(void);
void slotUpdateItemList(void);
- void slotSelectHomePageItem(QListViewItem *);
+ void slotSelectHomePageItem(TQListViewItem *);
void slotMoveUp(void);
void slotMoveDown(void);
diff --git a/kmymoney2/dialogs/settings/ksettingshomedecl.ui b/kmymoney2/dialogs/settings/ksettingshomedecl.ui
index 49f6251..c248697 100644
--- a/kmymoney2/dialogs/settings/ksettingshomedecl.ui
+++ b/kmymoney2/dialogs/settings/ksettingshomedecl.ui
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>KSettingsHomeDecl</class>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>KSettingsHomeDecl</cstring>
</property>
@@ -19,17 +19,17 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout9</cstring>
+ <cstring>tqlayout9</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget" row="0" column="2">
+ <widget class="TQLayoutWidget" row="0" column="2">
<property name="name">
- <cstring>layout6</cstring>
+ <cstring>tqlayout6</cstring>
</property>
<vbox>
<property name="name">
@@ -45,7 +45,7 @@
<property name="sizeType">
<enum>Fixed</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -78,7 +78,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>21</width>
<height>70</height>
@@ -97,14 +97,14 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>80</width>
<height>21</height>
</size>
</property>
</spacer>
- <widget class="QLabel" row="1" column="2" rowspan="1" colspan="2">
+ <widget class="TQLabel" row="1" column="2" rowspan="1" colspan="2">
<property name="name">
<cstring>textLabel4</cstring>
</property>
@@ -118,9 +118,9 @@
</property>
<property name="text">
<string>Selected entries are shown on the home page of the application.&lt;p&gt;
-Use the buttons and checkboxes to customize the layout of the home page.</string>
+Use the buttons and checkboxes to customize the tqlayout of the home page.</string>
</property>
- <property name="alignment">
+ <property name="tqalignment">
<set>WordBreak|AlignTop</set>
</property>
</widget>
@@ -142,7 +142,7 @@ Use the buttons and checkboxes to customize the layout of the home page.</string
</widget>
</grid>
</widget>
- <widget class="QGroupBox">
+ <widget class="TQGroupBox">
<property name="name">
<cstring>groupbox</cstring>
</property>
@@ -153,7 +153,7 @@ Use the buttons and checkboxes to customize the layout of the home page.</string
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel" row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>percentageLabel</cstring>
</property>
@@ -161,7 +161,7 @@ Use the buttons and checkboxes to customize the layout of the home page.</string
<string>Percentage of default font size:</string>
</property>
</widget>
- <widget class="QCheckBox" row="1" column="0" rowspan="1" colspan="3">
+ <widget class="TQCheckBox" row="1" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>kcfg_RememberFontSize</cstring>
</property>
@@ -193,7 +193,7 @@ Use the buttons and checkboxes to customize the layout of the home page.</string
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>40</width>
<height>20</height>
@@ -202,7 +202,7 @@ Use the buttons and checkboxes to customize the layout of the home page.</string
</spacer>
</grid>
</widget>
- <widget class="QGroupBox">
+ <widget class="TQGroupBox">
<property name="name">
<cstring>groupbox2</cstring>
</property>
@@ -213,7 +213,7 @@ Use the buttons and checkboxes to customize the layout of the home page.</string
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox" row="0" column="0" rowspan="1" colspan="3">
+ <widget class="TQCheckBox" row="0" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>kcfg_ShowLimitInfo</cstring>
</property>
@@ -227,5 +227,5 @@ Use the buttons and checkboxes to customize the layout of the home page.</string
</widget>
<customwidgets>
</customwidgets>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp b/kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp
index db4dc1e..a17fd6e 100644
--- a/kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp
+++ b/kmymoney2/dialogs/settings/ksettingsonlinequotes.cpp
@@ -18,8 +18,8 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qregexp.h>
-#include <qcheckbox.h>
+#include <tqregexp.h>
+#include <tqcheckbox.h>
// ----------------------------------------------------------------------------
// KDE Includes
@@ -39,10 +39,10 @@
#include "ksettingsonlinequotes.h"
#include "kmymoney2/converter/webpricequote.h"
-KSettingsOnlineQuotes::KSettingsOnlineQuotes(QWidget *parent, const char *name )
- : KSettingsOnlineQuotesDecl(parent, name)
+KSettingsOnlineQuotes::KSettingsOnlineQuotes(TQWidget *tqparent, const char *name )
+ : KSettingsOnlineQuotesDecl(tqparent, name)
{
- QStringList groups = WebPriceQuote::quoteSources();
+ TQStringList groups = WebPriceQuote::quoteSources();
loadList(true /*updateResetList*/);
@@ -50,36 +50,36 @@ KSettingsOnlineQuotes::KSettingsOnlineQuotes(QWidget *parent, const char *name )
KIconLoader* il = KGlobal::iconLoader();
KGuiItem updateButtenItem( i18n("&Update" ),
- QIconSet(il->loadIcon("button_ok", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("button_ok", KIcon::Small, KIcon::SizeSmall)),
i18n("Accepts the entered data and stores it"),
i18n("Use this to accept the modified data."));
m_updateButton->setGuiItem(updateButtenItem);
KGuiItem deleteButtenItem( i18n( "&Delete" ),
- QIconSet(il->loadIcon("editdelete", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("editdelete", KIcon::Small, KIcon::SizeSmall)),
i18n("Delete the selected source entry"),
i18n("Use this to delete the selected online source entry"));
m_deleteButton->setGuiItem(deleteButtenItem);
KGuiItem newButtenItem( i18n( "&New..." ),
- QIconSet(il->loadIcon("filenew", KIcon::Small, KIcon::SizeSmall)),
+ TQIconSet(il->loadIcon("filenew", KIcon::Small, KIcon::SizeSmall)),
i18n("Create a new source entry for online quotes"),
i18n("Use this to create a new entry for online quotes"));
m_newButton->setGuiItem(newButtenItem);
- connect(m_updateButton, SIGNAL(clicked()), this, SLOT(slotUpdateEntry()));
- connect(m_newButton, SIGNAL(clicked()), this, SLOT(slotNewEntry()));
+ connect(m_updateButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotUpdateEntry()));
+ connect(m_newButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNewEntry()));
- connect(m_quoteSourceList, SIGNAL(selectionChanged(QListViewItem*)), this, SLOT(slotLoadWidgets(QListViewItem*)));
- connect(m_quoteSourceList, SIGNAL(clicked(QListViewItem*)), this, SLOT(slotLoadWidgets(QListViewItem*)));
- connect(m_quoteSourceList, SIGNAL(itemRenamed(QListViewItem*,const QString&,int)), this, SLOT(slotEntryRenamed(QListViewItem*,const QString&,int)));
+ connect(m_quoteSourceList, TQT_SIGNAL(selectionChanged(TQListViewItem*)), this, TQT_SLOT(slotLoadWidgets(TQListViewItem*)));
+ connect(m_quoteSourceList, TQT_SIGNAL(clicked(TQListViewItem*)), this, TQT_SLOT(slotLoadWidgets(TQListViewItem*)));
+ connect(m_quoteSourceList, TQT_SIGNAL(itemRenamed(TQListViewItem*,const TQString&,int)), this, TQT_SLOT(slotEntryRenamed(TQListViewItem*,const TQString&,int)));
- connect(m_editURL, SIGNAL(textChanged(const QString&)), this, SLOT(slotEntryChanged()));
- connect(m_editSymbol, SIGNAL(textChanged(const QString&)), this, SLOT(slotEntryChanged()));
- connect(m_editDate, SIGNAL(textChanged(const QString&)), this, SLOT(slotEntryChanged()));
- connect(m_editDateFormat, SIGNAL(textChanged(const QString&)), this, SLOT(slotEntryChanged()));
- connect(m_editPrice, SIGNAL(textChanged(const QString&)), this, SLOT(slotEntryChanged()));
- connect(m_skipStripping, SIGNAL(toggled(bool)), this, SLOT(slotEntryChanged()));
+ connect(m_editURL, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotEntryChanged()));
+ connect(m_editSymbol, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotEntryChanged()));
+ connect(m_editDate, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotEntryChanged()));
+ connect(m_editDateFormat, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotEntryChanged()));
+ connect(m_editPrice, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(slotEntryChanged()));
+ connect(m_skipStripping, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotEntryChanged()));
// FIXME deleting a source is not yet implemented
m_deleteButton->setEnabled(false);
@@ -87,30 +87,30 @@ KSettingsOnlineQuotes::KSettingsOnlineQuotes(QWidget *parent, const char *name )
void KSettingsOnlineQuotes::loadList(const bool updateResetList)
{
- QStringList groups = WebPriceQuote::quoteSources();
+ TQStringList groups = WebPriceQuote::quoteSources();
if(updateResetList)
m_resetList.clear();
m_quoteSourceList->clear();
- QStringList::Iterator it;
+ TQStringList::Iterator it;
for(it = groups.begin(); it != groups.end(); ++it) {
- new QListViewItem(m_quoteSourceList, *it);
+ new TQListViewItem(m_quoteSourceList, *it);
if(updateResetList)
m_resetList += WebPriceQuoteSource(*it);
}
- QListViewItem* first = m_quoteSourceList->firstChild();
+ TQListViewItem* first = m_quoteSourceList->firstChild();
if(first)
m_quoteSourceList->setSelected(first, true);
slotLoadWidgets(first);
- m_newButton->setEnabled(m_quoteSourceList->findItem(i18n("New Quote Source"), 0) == 0);
+ m_newButton->setEnabled(m_quoteSourceList->tqfindItem(i18n("New Quote Source"), 0) == 0);
}
void KSettingsOnlineQuotes::resetConfig(void)
{
- QStringList::ConstIterator it;
- QStringList groups = WebPriceQuote::quoteSources();
+ TQStringList::ConstIterator it;
+ TQStringList groups = WebPriceQuote::quoteSources();
// delete all currently defined entries
for(it = groups.begin(); it != groups.end(); ++it) {
@@ -118,7 +118,7 @@ void KSettingsOnlineQuotes::resetConfig(void)
}
// and write back the one's from the reset list
- QValueList<WebPriceQuoteSource>::ConstIterator itr;
+ TQValueList<WebPriceQuoteSource>::ConstIterator itr;
for(itr = m_resetList.begin(); itr != m_resetList.end(); ++itr) {
(*itr).write();
}
@@ -126,7 +126,7 @@ void KSettingsOnlineQuotes::resetConfig(void)
loadList();
}
-void KSettingsOnlineQuotes::slotLoadWidgets(QListViewItem* item)
+void KSettingsOnlineQuotes::slotLoadWidgets(TQListViewItem* item)
{
m_editURL->setEnabled(true);
m_editSymbol->setEnabled(true);
@@ -134,11 +134,11 @@ void KSettingsOnlineQuotes::slotLoadWidgets(QListViewItem* item)
m_editDate->setEnabled(true);
m_editDateFormat->setEnabled(true);
m_skipStripping->setEnabled(true);
- m_editURL->setText(QString());
- m_editSymbol->setText(QString());
- m_editPrice->setText(QString());
- m_editDate->setText(QString());
- m_editDateFormat->setText(QString());
+ m_editURL->setText(TQString());
+ m_editSymbol->setText(TQString());
+ m_editPrice->setText(TQString());
+ m_editDate->setText(TQString());
+ m_editDateFormat->setText(TQString());
if(item) {
m_currentItem = WebPriceQuoteSource(item->text(0));
@@ -190,17 +190,17 @@ void KSettingsOnlineQuotes::slotNewEntry(void)
WebPriceQuoteSource newSource(i18n("New Quote Source"));
newSource.write();
loadList();
- QListViewItem* item = m_quoteSourceList->findItem(i18n("New Quote Source"), 0);
+ TQListViewItem* item = m_quoteSourceList->tqfindItem(i18n("New Quote Source"), 0);
if(item) {
m_quoteSourceList->setSelected(item, true);
slotLoadWidgets(item);
}
}
-void KSettingsOnlineQuotes::slotEntryRenamed(QListViewItem* item, const QString& text, int /* col */)
+void KSettingsOnlineQuotes::slotEntryRenamed(TQListViewItem* item, const TQString& text, int /* col */)
{
int nameCount = 0;
- QListViewItemIterator it(m_quoteSourceList);
+ TQListViewItemIterator it(m_quoteSourceList);
while(it.current()) {
if(it.current()->text(0) == text)
++nameCount;
@@ -213,7 +213,7 @@ void KSettingsOnlineQuotes::slotEntryRenamed(QListViewItem* item, const QString&
} else {
item->setText(0, m_currentItem.m_name);
}
- m_newButton->setEnabled(m_quoteSourceList->findItem(i18n("New Quote Source"), 0) == 0);
+ m_newButton->setEnabled(m_quoteSourceList->tqfindItem(i18n("New Quote Source"), 0) == 0);
}
#include "ksettingsonlinequotes.moc"
diff --git a/kmymoney2/dialogs/settings/ksettingsonlinequotes.h b/kmymoney2/dialogs/settings/ksettingsonlinequotes.h
index 8c0b6f0..ef9abe2 100644
--- a/kmymoney2/dialogs/settings/ksettingsonlinequotes.h
+++ b/kmymoney2/dialogs/settings/ksettingsonlinequotes.h
@@ -15,8 +15,8 @@
* *
***************************************************************************/
-#ifndef KSETTINGSONLINEQUOTES_H
-#define KSETTINGSONLINEQUOTES_H
+#ifndef KSETTINGSONLINETQUOTES_H
+#define KSETTINGSONLINETQUOTES_H
// ----------------------------------------------------------------------------
// QT Includes
@@ -33,8 +33,9 @@
class KSettingsOnlineQuotes : public KSettingsOnlineQuotesDecl
{
Q_OBJECT
+ TQ_OBJECT
public:
- KSettingsOnlineQuotes(QWidget* parent = 0, const char *name = 0);
+ KSettingsOnlineQuotes(TQWidget* tqparent = 0, const char *name = 0);
virtual ~KSettingsOnlineQuotes() {}
void writeConfig(void) {}
@@ -43,16 +44,16 @@ public:
protected slots:
void slotUpdateEntry(void);
- void slotLoadWidgets(QListViewItem* item);
+ void slotLoadWidgets(TQListViewItem* item);
void slotEntryChanged(void);
void slotNewEntry(void);
- void slotEntryRenamed(QListViewItem* item, const QString& text, int col);
+ void slotEntryRenamed(TQListViewItem* item, const TQString& text, int col);
protected:
void loadList(const bool updateResetList = false);
private:
- QValueList<WebPriceQuoteSource> m_resetList;
+ TQValueList<WebPriceQuoteSource> m_resetList;
WebPriceQuoteSource m_currentItem;
};
diff --git a/kmymoney2/dialogs/settings/ksettingsonlinequotesdecl.ui b/kmymoney2/dialogs/settings/ksettingsonlinequotesdecl.ui
index 3077b78..88678ec 100644
--- a/kmymoney2/dialogs/settings/ksettingsonlinequotesdecl.ui
+++ b/kmymoney2/dialogs/settings/ksettingsonlinequotesdecl.ui
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>KSettingsOnlineQuotesDecl</class>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>KSettingsOnlineQuotesDecl</cstring>
</property>
@@ -12,7 +12,7 @@
<height>442</height>
</rect>
</property>
- <property name="minimumSize">
+ <property name="tqminimumSize">
<size>
<width>0</width>
<height>0</height>
@@ -58,7 +58,7 @@
<bool>true</bool>
</property>
</widget>
- <widget class="QGroupBox">
+ <widget class="TQGroupBox">
<property name="name">
<cstring>groupParsing</cstring>
</property>
@@ -72,7 +72,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel" row="3" column="0">
+ <widget class="TQLabel" row="3" column="0">
<property name="name">
<cstring>textLabel4</cstring>
</property>
@@ -80,7 +80,7 @@
<string>Date</string>
</property>
</widget>
- <widget class="QLabel" row="1" column="0">
+ <widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel2</cstring>
</property>
@@ -115,7 +115,7 @@
<string>Enter the URL from which stock quotes will be fetched. &lt;b&gt;%1&lt;/b&gt; will be replaced with the symbol for the security being quoted. For currency conversions, &lt;b&gt;%2&lt;/b&gt; will be replaced with the currency to be quoted and &lt;b&gt;%1&lt;/b&gt; with the currency the quote is based on.</string>
</property>
</widget>
- <widget class="QLabel" row="2" column="0">
+ <widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>textLabel3</cstring>
</property>
@@ -131,7 +131,7 @@
<string>Regular Expression to extract the date from the downloaded data</string>
</property>
</widget>
- <widget class="QLabel" row="4" column="0">
+ <widget class="TQLabel" row="4" column="0">
<property name="name">
<cstring>textLabel4_2</cstring>
</property>
@@ -139,7 +139,7 @@
<string>Date Format</string>
</property>
</widget>
- <widget class="QLabel" row="0" column="0">
+ <widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel1</cstring>
</property>
@@ -155,7 +155,7 @@
<string>Regular Expression to extract the date from the downloaded data</string>
</property>
</widget>
- <widget class="QCheckBox" row="4" column="2">
+ <widget class="TQCheckBox" row="4" column="2">
<property name="name">
<cstring>m_skipStripping</cstring>
</property>
@@ -177,9 +177,9 @@
</widget>
</grid>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout15</cstring>
+ <cstring>tqlayout15</cstring>
</property>
<hbox>
<property name="name">
@@ -211,7 +211,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>240</width>
<height>20</height>
@@ -230,5 +230,5 @@
</widget>
</vbox>
</widget>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kmymoney2/dialogs/settings/ksettingsplugins.cpp b/kmymoney2/dialogs/settings/ksettingsplugins.cpp
index 0887315..b44e124 100644
--- a/kmymoney2/dialogs/settings/ksettingsplugins.cpp
+++ b/kmymoney2/dialogs/settings/ksettingsplugins.cpp
@@ -18,9 +18,9 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qlayout.h>
-#include <qstring.h>
-#include <qlabel.h>
+#include <tqlayout.h>
+#include <tqstring.h>
+#include <tqlabel.h>
// ----------------------------------------------------------------------------
// KDE Includes
@@ -35,13 +35,13 @@
#include "kmymoney2/plugins/pluginloader.h"
#include "ksettingsplugins.h"
-KSettingsPlugins::KSettingsPlugins(QWidget* parent)
- : QWidget(parent)
+KSettingsPlugins::KSettingsPlugins(TQWidget* tqparent)
+ : TQWidget(tqparent)
{
- QVBoxLayout *layout = new QVBoxLayout(this);
- KMyMoneyPlugin::PluginLoader::instance()->pluginSelectorWidget()->reparent(this, QPoint());
- layout->addWidget(KMyMoneyPlugin::PluginLoader::instance()->pluginSelectorWidget());
- layout->setSpacing(KDialog::spacingHint());
+ TQVBoxLayout *tqlayout = new TQVBoxLayout(this);
+ KMyMoneyPlugin::PluginLoader::instance()->pluginSelectorWidget()->reparent(this, TQPoint());
+ tqlayout->addWidget(KMyMoneyPlugin::PluginLoader::instance()->pluginSelectorWidget());
+ tqlayout->setSpacing(KDialog::spacingHint());
}
KSettingsPlugins::~KSettingsPlugins()
diff --git a/kmymoney2/dialogs/settings/ksettingsplugins.h b/kmymoney2/dialogs/settings/ksettingsplugins.h
index 9c36f67..0106afb 100644
--- a/kmymoney2/dialogs/settings/ksettingsplugins.h
+++ b/kmymoney2/dialogs/settings/ksettingsplugins.h
@@ -21,7 +21,7 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qwidget.h>
+#include <tqwidget.h>
// ----------------------------------------------------------------------------
// KDE Includes
@@ -29,13 +29,14 @@
// ----------------------------------------------------------------------------
// Project Includes
-class KSettingsPlugins : public QWidget
+class KSettingsPlugins : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- KSettingsPlugins(QWidget* parent = 0);
+ KSettingsPlugins(TQWidget* tqparent = 0);
~KSettingsPlugins();
public slots:
diff --git a/kmymoney2/dialogs/settings/ksettingsregister.cpp b/kmymoney2/dialogs/settings/ksettingsregister.cpp
index 9f1fda2..e6a278e 100644
--- a/kmymoney2/dialogs/settings/ksettingsregister.cpp
+++ b/kmymoney2/dialogs/settings/ksettingsregister.cpp
@@ -28,8 +28,8 @@
#include "ksettingsregister.h"
#include <kmymoney/transactionsortoption.h>
-KSettingsRegister::KSettingsRegister(QWidget* parent, const char* name) :
- KSettingsRegisterDecl(parent, name)
+KSettingsRegister::KSettingsRegister(TQWidget* tqparent, const char* name) :
+ KSettingsRegisterDecl(tqparent, name)
{
// hide the internally used text fields
kcfg_sortNormalView->hide();
@@ -37,14 +37,14 @@ KSettingsRegister::KSettingsRegister(QWidget* parent, const char* name) :
kcfg_sortSearchView->hide();
// setup connections, so that the sort optios get loaded once the edit fields are filled
- connect(kcfg_sortNormalView, SIGNAL(textChanged()), this, SLOT(slotLoadNormal()));
- connect(kcfg_sortReconcileView, SIGNAL(textChanged()), this, SLOT(slotLoadReconcile()));
- connect(kcfg_sortSearchView, SIGNAL(textChanged()), this, SLOT(slotLoadSearch()));
+ connect(kcfg_sortNormalView, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotLoadNormal()));
+ connect(kcfg_sortReconcileView, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotLoadReconcile()));
+ connect(kcfg_sortSearchView, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotLoadSearch()));
// setup connections, so that changes by the user are forwarded to the (hidden) edit fields
- connect(m_sortNormalView, SIGNAL(settingsChanged(const QString&)), kcfg_sortNormalView, SLOT(setText(const QString&)));
- connect(m_sortReconcileView, SIGNAL(settingsChanged(const QString&)), kcfg_sortReconcileView, SLOT(setText(const QString&)));
- connect(m_sortSearchView, SIGNAL(settingsChanged(const QString&)), kcfg_sortSearchView, SLOT(setText(const QString&)));
+ connect(m_sortNormalView, TQT_SIGNAL(settingsChanged(const TQString&)), kcfg_sortNormalView, TQT_SLOT(setText(const TQString&)));
+ connect(m_sortReconcileView, TQT_SIGNAL(settingsChanged(const TQString&)), kcfg_sortReconcileView, TQT_SLOT(setText(const TQString&)));
+ connect(m_sortSearchView, TQT_SIGNAL(settingsChanged(const TQString&)), kcfg_sortSearchView, TQT_SLOT(setText(const TQString&)));
}
KSettingsRegister::~KSettingsRegister()
@@ -54,21 +54,21 @@ KSettingsRegister::~KSettingsRegister()
void KSettingsRegister::slotLoadNormal(void)
{
// only need this once
- disconnect(kcfg_sortNormalView, SIGNAL(textChanged()), this, SLOT(slotLoadNormal()));
+ disconnect(kcfg_sortNormalView, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotLoadNormal()));
m_sortNormalView->setSettings(kcfg_sortNormalView->text());
}
void KSettingsRegister::slotLoadReconcile(void)
{
// only need this once
- disconnect(kcfg_sortReconcileView, SIGNAL(textChanged()), this, SLOT(slotLoadReconcile()));
+ disconnect(kcfg_sortReconcileView, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotLoadReconcile()));
m_sortReconcileView->setSettings(kcfg_sortReconcileView->text());
}
void KSettingsRegister::slotLoadSearch(void)
{
// only need this once
- disconnect(kcfg_sortSearchView, SIGNAL(textChanged()), this, SLOT(slotLoadSearch()));
+ disconnect(kcfg_sortSearchView, TQT_SIGNAL(textChanged()), this, TQT_SLOT(slotLoadSearch()));
m_sortSearchView->setSettings(kcfg_sortSearchView->text());
}
diff --git a/kmymoney2/dialogs/settings/ksettingsregister.h b/kmymoney2/dialogs/settings/ksettingsregister.h
index bcad7eb..7fa475f 100644
--- a/kmymoney2/dialogs/settings/ksettingsregister.h
+++ b/kmymoney2/dialogs/settings/ksettingsregister.h
@@ -31,9 +31,10 @@
class KSettingsRegister : public KSettingsRegisterDecl
{
Q_OBJECT
+ TQ_OBJECT
public:
- KSettingsRegister(QWidget* parent = 0, const char* name = 0);
+ KSettingsRegister(TQWidget* tqparent = 0, const char* name = 0);
~KSettingsRegister();
protected slots:
diff --git a/kmymoney2/dialogs/settings/ksettingsregisterdecl.ui b/kmymoney2/dialogs/settings/ksettingsregisterdecl.ui
index c03807e..1ad71bf 100644
--- a/kmymoney2/dialogs/settings/ksettingsregisterdecl.ui
+++ b/kmymoney2/dialogs/settings/ksettingsregisterdecl.ui
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>KSettingsRegisterDecl</class>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>KSettingsRegisterDecl</cstring>
</property>
@@ -19,11 +19,11 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QTabWidget">
+ <widget class="TQTabWidget">
<property name="name">
<cstring>tab</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="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_ShowGrid</cstring>
</property>
@@ -45,7 +45,7 @@
<string></string>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_LedgerLens</cstring>
</property>
@@ -59,7 +59,7 @@
<string>Using the ledger lens shows the details for the transaction that has focus in the ledger. Usually, when using the transaction form, only a one line summary is displayed for each transaction as the details are shown in the form.</string>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_TransactionForm</cstring>
</property>
@@ -67,7 +67,7 @@
<string>Show transaction form</string>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_AlwaysShowNrField</cstring>
</property>
@@ -78,7 +78,7 @@
<string></string>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_ShowFancyMarker</cstring>
</property>
@@ -92,7 +92,7 @@
<string>Draws a larger header above each group of transaction. The grouping depends on the current sort order.</string>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_ShowFiscalMarker</cstring>
</property>
@@ -110,7 +110,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>40</height>
@@ -119,7 +119,7 @@
</spacer>
</vbox>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>sorting</cstring>
</property>
@@ -130,11 +130,11 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QTabWidget">
+ <widget class="TQTabWidget">
<property name="name">
<cstring>tabWidget3</cstring>
</property>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
@@ -157,7 +157,7 @@
</widget>
</hbox>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
@@ -180,7 +180,7 @@
</widget>
</hbox>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>TabPage</cstring>
</property>
@@ -214,7 +214,7 @@
</widget>
</vbox>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>TabPage</cstring>
</property>
@@ -225,7 +225,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_CopyTypeToNr</cstring>
</property>
@@ -233,7 +233,7 @@
<string>Insert transaction type into No. field for new transactions</string>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_AutoIncCheckNumber</cstring>
</property>
@@ -244,7 +244,7 @@
<string></string>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_FocusChangeIsEnter</cstring>
</property>
@@ -252,7 +252,7 @@
<string>Keep changes when selecting a different transaction/split</string>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_EnterMovesBetweenFields</cstring>
</property>
@@ -263,7 +263,7 @@
<string></string>
</property>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_stringMatchFromStart</cstring>
</property>
@@ -274,15 +274,15 @@
<string>Mark this option, if you always want to match names e.g. for payees from the start. If unset, any substring is matched.</string>
</property>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout5</cstring>
+ <cstring>tqlayout5</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel2_2</cstring>
</property>
@@ -323,7 +323,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>31</width>
<height>20</height>
@@ -332,7 +332,7 @@
</spacer>
</hbox>
</widget>
- <widget class="QButtonGroup">
+ <widget class="TQButtonGroup">
<property name="name">
<cstring>kcfg_AutoFillTransaction</cstring>
</property>
@@ -349,7 +349,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QRadioButton">
+ <widget class="TQRadioButton">
<property name="name">
<cstring>radioButton1</cstring>
</property>
@@ -360,15 +360,15 @@
<string>Don't do autofill of transaction data at all.</string>
</property>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout4</cstring>
+ <cstring>tqlayout4</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QRadioButton">
+ <widget class="TQRadioButton">
<property name="name">
<cstring>radioButton2</cstring>
</property>
@@ -398,7 +398,7 @@ Selecting 0% will list all transactions.</string>
<string>Two transactions are usually treated identical for autofill, if they refer the same accounts. They are treated as different transactions though, when their amount varies by more than the percentage given here.</string>
</property>
</widget>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel2</cstring>
</property>
@@ -409,7 +409,7 @@ Selecting 0% will list all transactions.</string>
</widget>
</hbox>
</widget>
- <widget class="QRadioButton">
+ <widget class="TQRadioButton">
<property name="name">
<cstring>radioButton3</cstring>
</property>
@@ -432,7 +432,7 @@ Selecting 0% will list all transactions.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>20</height>
@@ -441,7 +441,7 @@ Selecting 0% will list all transactions.</string>
</spacer>
</vbox>
</widget>
- <widget class="QWidget">
+ <widget class="TQWidget">
<property name="name">
<cstring>TabPage</cstring>
</property>
@@ -452,15 +452,15 @@ Selecting 0% will list all transactions.</string>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout4</cstring>
+ <cstring>tqlayout4</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
@@ -498,7 +498,7 @@ Selecting 0% will list all transactions.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>61</width>
<height>20</height>
@@ -507,7 +507,7 @@ Selecting 0% will list all transactions.</string>
</spacer>
</hbox>
</widget>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_askForPayeeCategory</cstring>
</property>
@@ -531,7 +531,7 @@ Selecting 0% will list all transactions.</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>60</height>
@@ -545,5 +545,8 @@ Selecting 0% will list all transactions.</string>
</widget>
<customwidgets>
</customwidgets>
-<layoutdefaults spacing="6" margin="11"/>
+<includes>
+ <include location="global" impldecl="in implementation">kmymoney/transactionsortoption.h</include>
+</includes>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>
diff --git a/kmymoney2/dialogs/settings/ksettingsschedules.cpp b/kmymoney2/dialogs/settings/ksettingsschedules.cpp
index 6f9a77c..05dc80f 100644
--- a/kmymoney2/dialogs/settings/ksettingsschedules.cpp
+++ b/kmymoney2/dialogs/settings/ksettingsschedules.cpp
@@ -25,8 +25,8 @@
#include "ksettingsschedules.h"
-KSettingsSchedules::KSettingsSchedules(QWidget* parent, const char* name) :
- KSettingsSchedulesDecl(parent, name)
+KSettingsSchedules::KSettingsSchedules(TQWidget* tqparent, const char* name) :
+ KSettingsSchedulesDecl(tqparent, name)
{
}
diff --git a/kmymoney2/dialogs/settings/ksettingsschedules.h b/kmymoney2/dialogs/settings/ksettingsschedules.h
index caa7d33..06e5af6 100644
--- a/kmymoney2/dialogs/settings/ksettingsschedules.h
+++ b/kmymoney2/dialogs/settings/ksettingsschedules.h
@@ -32,9 +32,10 @@
class KSettingsSchedules : public KSettingsSchedulesDecl
{
Q_OBJECT
+ TQ_OBJECT
public:
- KSettingsSchedules(QWidget* parent = 0, const char* name = 0);
+ KSettingsSchedules(TQWidget* tqparent = 0, const char* name = 0);
~KSettingsSchedules();
};
#endif
diff --git a/kmymoney2/dialogs/settings/ksettingsschedulesdecl.ui b/kmymoney2/dialogs/settings/ksettingsschedulesdecl.ui
index fca9aa9..4f7bd28 100644
--- a/kmymoney2/dialogs/settings/ksettingsschedulesdecl.ui
+++ b/kmymoney2/dialogs/settings/ksettingsschedulesdecl.ui
@@ -1,6 +1,6 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>KSettingsSchedulesDecl</class>
-<widget class="QWidget">
+<widget class="TQWidget">
<property name="name">
<cstring>KSettingsSchedulesDecl</cstring>
</property>
@@ -19,7 +19,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QGroupBox">
+ <widget class="TQGroupBox">
<property name="name">
<cstring>groupBox6</cstring>
</property>
@@ -30,7 +30,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QCheckBox">
+ <widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_CheckSchedule</cstring>
</property>
@@ -38,7 +38,7 @@
<string>Check schedules on startup</string>
</property>
</widget>
- <widget class="QFrame">
+ <widget class="TQFrame">
<property name="name">
<cstring>m_dayCountFrame</cstring>
</property>
@@ -55,7 +55,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel3</cstring>
</property>
@@ -63,7 +63,7 @@
<string>Enter transactions this number of days in advance</string>
</property>
</widget>
- <widget class="QSpinBox">
+ <widget class="TQSpinBox">
<property name="name">
<cstring>kcfg_CheckSchedulePreview</cstring>
</property>
@@ -72,15 +72,15 @@
</widget>
</vbox>
</widget>
- <widget class="QLayoutWidget">
+ <widget class="TQLayoutWidget">
<property name="name">
- <cstring>layout2</cstring>
+ <cstring>tqlayout2</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="QLabel">
+ <widget class="TQLabel">
<property name="name">
<cstring>textLabel1</cstring>
</property>
@@ -103,7 +103,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>41</width>
<height>21</height>
@@ -122,7 +122,7 @@
<property name="sizeType">
<enum>Expanding</enum>
</property>
- <property name="sizeHint">
+ <property name="tqsizeHint">
<size>
<width>20</width>
<height>40</height>
@@ -141,5 +141,5 @@
<slot>setEnabled(bool)</slot>
</connection>
</connections>
-<layoutdefaults spacing="6" margin="11"/>
+<tqlayoutdefaults spacing="6" margin="11"/>
</UI>