diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /knode/knconvert.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knode/knconvert.h')
-rw-r--r-- | knode/knconvert.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/knode/knconvert.h b/knode/knconvert.h index c75e0da00..e81e048a5 100644 --- a/knode/knconvert.h +++ b/knode/knconvert.h @@ -17,10 +17,10 @@ #include <time.h> -#include <qdialog.h> +#include <tqdialog.h> -#include <qglobal.h> -#include <qvaluelist.h> +#include <tqglobal.h> +#include <tqvaluelist.h> #include <kdepimmacros.h> class QListBox; @@ -32,14 +32,14 @@ class KLineEdit; class KProcess; -class KDE_EXPORT KNConvert : public QDialog { +class KDE_EXPORT KNConvert : public TQDialog { Q_OBJECT public: - static bool needToConvert(const QString &oldVersion); + static bool needToConvert(const TQString &oldVersion); - KNConvert(const QString &version); + KNConvert(const TQString &version); ~KNConvert(); bool conversionDone()const { return c_onversionDone; } @@ -52,12 +52,12 @@ class KDE_EXPORT KNConvert : public QDialog { class Converter { public: - Converter(QStringList *log) { l_og=log; } + Converter(TQStringList *log) { l_og=log; } virtual ~Converter() {} virtual bool doConvert()=0; protected: - QStringList *l_og; + TQStringList *l_og; }; @@ -65,12 +65,12 @@ class KDE_EXPORT KNConvert : public QDialog { class Converter04 : public Converter { public: - Converter04(QStringList *log) : Converter(log) {} + Converter04(TQStringList *log) : Converter(log) {} ~Converter04() {} bool doConvert(); protected: - int convertFolder(QString srcPrefix, QString dstPrefix); + int convertFolder(TQString srcPrefix, TQString dstPrefix); struct OldFolderIndex { int id, @@ -93,23 +93,23 @@ class KDE_EXPORT KNConvert : public QDialog { //------------ </Converter-classes> -------------- - QWidgetStack *s_tack; - QWidget *w_1, + TQWidgetStack *s_tack; + TQWidget *w_1, *w_3; - QCheckBox *c_reateBkup; - QLabel *b_ackupPathLabel, + TQCheckBox *c_reateBkup; + TQLabel *b_ackupPathLabel, *w_2, *r_esultLabel; KLineEdit *b_ackupPath; - QPushButton *b_rowseBtn, + TQPushButton *b_rowseBtn, *s_tartBtn, *c_ancelBtn; - QListBox *l_ogList; + TQListBox *l_ogList; - QValueList<Converter*> mConverters; - QStringList l_og; + TQValueList<Converter*> mConverters; + TQStringList l_og; bool c_onversionDone; - QString v_ersion; + TQString v_ersion; KProcess *t_ar; void convert(); |