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 /libkdepim/kimportdialog.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 'libkdepim/kimportdialog.h')
-rw-r--r-- | libkdepim/kimportdialog.h | 74 |
1 files changed, 37 insertions, 37 deletions
diff --git a/libkdepim/kimportdialog.h b/libkdepim/kimportdialog.h index b372e6bfb..153da0347 100644 --- a/libkdepim/kimportdialog.h +++ b/libkdepim/kimportdialog.h @@ -22,11 +22,11 @@ #ifndef KIMPORTDIALOG_H #define KIMPORTDIALOG_H -#include <qintdict.h> -#include <qstringlist.h> -#include <qspinbox.h> -#include <qptrvector.h> -#include <qvaluevector.h> +#include <tqintdict.h> +#include <tqstringlist.h> +#include <tqspinbox.h> +#include <tqptrvector.h> +#include <tqvaluevector.h> #include <kdialogbase.h> @@ -41,34 +41,34 @@ class KImportColumn public: enum { FormatUndefined = 0, FormatPlain, FormatUnquoted, FormatBracketed, FormatLast }; - KImportColumn(KImportDialog *dlg, const QString &header, int count = 0); + KImportColumn(KImportDialog *dlg, const TQString &header, int count = 0); virtual ~KImportColumn() {} - QString header() const { return m_header; } + TQString header() const { return m_header; } - QValueList<int> formats(); - QString formatName(int format); + TQValueList<int> formats(); + TQString formatName(int format); int defaultFormat(); - QString convert(); -// virtual void convert(const QString &value,int format) = 0; - QString preview(const QString &value,int format); + TQString convert(); +// virtual void convert(const TQString &value,int format) = 0; + TQString preview(const TQString &value,int format); void addColId(int i); void removeColId(int i); - QValueList<int> colIdList(); + TQValueList<int> colIdList(); protected: private: int m_maxCount, m_refCount; - QString m_header; - QValueList<int> mFormats; + TQString m_header; + TQValueList<int> mFormats; int mDefaultFormat; - QValueList<int> mColIds; + TQValueList<int> mColIds; KImportDialog *mDialog; }; @@ -77,12 +77,12 @@ class KImportDialog : public KDialogBase { Q_OBJECT public: - KImportDialog(QWidget* parent); + KImportDialog(TQWidget* parent); public slots: - bool setFile(const QString& file); + bool setFile(const TQString& file); - QString cell(uint row); + TQString cell(uint row); void addColumn(KImportColumn *); @@ -97,40 +97,40 @@ class KImportDialog : public KDialogBase protected slots: void separatorClicked(int id); - void formatSelected(QListViewItem* item); - void headerSelected(QListViewItem* item); - void assignColumn(QListViewItem *); + void formatSelected(TQListViewItem* item); + void headerSelected(TQListViewItem* item); + void assignColumn(TQListViewItem *); void assignColumn(); void assignTemplate(); void removeColumn(); void applyConverter(); void tableSelected(); - void slotUrlChanged(const QString & ); + void slotUrlChanged(const TQString & ); void saveTemplate(); private: void updateFormatSelection(int column); - void setCellText(int row, int col, const QString& text); + void setCellText(int row, int col, const TQString& text); - void setData( uint row, uint col, const QString &text ); - QString data( uint row, uint col ); + void setData( uint row, uint col, const TQString &text ); + TQString data( uint row, uint col ); - QListView *mHeaderList; - QSpinBox *mStartRow; - QSpinBox *mEndRow; - QTable *mTable; + TQListView *mHeaderList; + TQSpinBox *mStartRow; + TQSpinBox *mEndRow; + TQTable *mTable; KComboBox *mFormatCombo; KComboBox *mSeparatorCombo; - QString mSeparator; + TQString mSeparator; int mCurrentRow; - QString mFile; - QIntDict<KImportColumn> mColumnDict; - QIntDict<uint> mTemplateDict; - QMap<int,int> mFormats; - QPtrList<KImportColumn> mColumns; - QPtrVector<QValueVector<QString> > mData; + TQString mFile; + TQIntDict<KImportColumn> mColumnDict; + TQIntDict<uint> mTemplateDict; + TQMap<int,int> mFormats; + TQPtrList<KImportColumn> mColumns; + TQPtrVector<TQValueVector<TQString> > mData; }; #endif |