diff options
Diffstat (limited to 'kmymoney2/kmymoneyglobalsettings.cpp')
-rw-r--r-- | kmymoney2/kmymoneyglobalsettings.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kmymoney2/kmymoneyglobalsettings.cpp b/kmymoney2/kmymoneyglobalsettings.cpp index 2dcd964..8daaa2f 100644 --- a/kmymoney2/kmymoneyglobalsettings.cpp +++ b/kmymoney2/kmymoneyglobalsettings.cpp @@ -17,7 +17,7 @@ // ---------------------------------------------------------------------------- // QT Includes -#include <qregexp.h> +#include <tqregexp.h> // ---------------------------------------------------------------------------- // KDE Includes @@ -29,7 +29,7 @@ #include <kmymoney/kmymoneyglobalsettings.h> -QFont KMyMoneyGlobalSettings::listCellFont(void) +TQFont KMyMoneyGlobalSettings::listCellFont(void) { if(useSystemFont()) { return KGlobalSettings::generalFont(); @@ -38,10 +38,10 @@ QFont KMyMoneyGlobalSettings::listCellFont(void) } } -QFont KMyMoneyGlobalSettings::listHeaderFont(void) +TQFont KMyMoneyGlobalSettings::listHeaderFont(void) { if(useSystemFont()) { - QFont font = KGlobalSettings::generalFont(); + TQFont font = KGlobalSettings::generalFont(); font.setBold(true); return font; } else { @@ -49,7 +49,7 @@ QFont KMyMoneyGlobalSettings::listHeaderFont(void) } } -QColor KMyMoneyGlobalSettings::listColor(void) +TQColor KMyMoneyGlobalSettings::listColor(void) { if(useSystemColors()) return KGlobalSettings::baseColor(); @@ -57,7 +57,7 @@ QColor KMyMoneyGlobalSettings::listColor(void) return KMyMoneySettings::listColor(); } -QColor KMyMoneyGlobalSettings::listBGColor(void) +TQColor KMyMoneyGlobalSettings::listBGColor(void) { if(useSystemColors()) return KGlobalSettings::alternateBackgroundColor(); @@ -65,19 +65,19 @@ QColor KMyMoneyGlobalSettings::listBGColor(void) return KMyMoneySettings::listBGColor(); } -QStringList KMyMoneyGlobalSettings::itemList(void) +TQStringList KMyMoneyGlobalSettings::itemList(void) { bool prevValue = self()->useDefaults(true); - QStringList all = QStringList::split(",", KMyMoneySettings::itemList()); + TQStringList all = TQStringList::split(",", KMyMoneySettings::itemList()); self()->useDefaults(prevValue); - QStringList list = QStringList::split(",", KMyMoneySettings::itemList()); + TQStringList list = TQStringList::split(",", KMyMoneySettings::itemList()); // now add all from 'all' that are missing in 'list' - QRegExp exp("-?(\\d+)"); - QStringList::iterator it_s; + TQRegExp exp("-?(\\d+)"); + TQStringList::iterator it_s; for(it_s = all.begin(); it_s != all.end(); ++it_s) { exp.search(*it_s); - if(!list.contains(exp.cap(1)) && !list.contains(QString("-%1").arg(exp.cap(1)))) { + if(!list.tqcontains(exp.cap(1)) && !list.tqcontains(TQString("-%1").tqarg(exp.cap(1)))) { list << *it_s; } } |