diff options
Diffstat (limited to 'kbabel/catalogmanager/validateprogress.h')
-rw-r--r-- | kbabel/catalogmanager/validateprogress.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kbabel/catalogmanager/validateprogress.h b/kbabel/catalogmanager/validateprogress.h index 05133889..15c7c238 100644 --- a/kbabel/catalogmanager/validateprogress.h +++ b/kbabel/catalogmanager/validateprogress.h @@ -33,7 +33,7 @@ #ifndef VALIDATEDLG_H #define VALIDATEDLG_H -#include <qmap.h> +#include <tqmap.h> #include <kdialogbase.h> #include <kurl.h> @@ -47,31 +47,31 @@ class KPopupMenu; struct IgnoreItem { KURL fileURL; - QStringList msgid; - QStringList msgstr; + TQStringList msgid; + TQStringList msgstr; uint index; - QString validationTool; + TQString validationTool; }; -QDataStream & operator<<( QDataStream & stream, const IgnoreItem &ident ); -QDataStream & operator>>( QDataStream & stream, IgnoreItem & ident); +TQDataStream & operator<<( TQDataStream & stream, const IgnoreItem &ident ); +TQDataStream & operator>>( TQDataStream & stream, IgnoreItem & ident); class ValidateProgressDialog : public KDialogBase { Q_OBJECT public: - ValidateProgressDialog(const QString& ignoreURL, QWidget* parent, const char *name=0); + ValidateProgressDialog(const TQString& ignoreURL, TQWidget* parent, const char *name=0); virtual ~ValidateProgressDialog(); void setIgnoreFuzzy(bool enable) { _ignoreFuzzy = enable; } void setMarkAsFuzzy(bool enable) { _setAsFuzzy = enable; } public slots: - void validate(const KDataToolInfo &tool, const QPtrList<CatManListItem> files); + void validate(const KDataToolInfo &tool, const TQPtrList<CatManListItem> files); signals: - void errorDoubleClicked(const QString file, const int messageNumber); + void errorDoubleClicked(const TQString file, const int messageNumber); private slots: /** implementation of the validation itself */ @@ -82,28 +82,28 @@ private slots: /** If user doubleclicked an item, this slot will be invoked. * It emits errorDoubleClicked signal for corresponding error*/ - void errorItemDoubleClicked(QListBoxItem * item); + void errorItemDoubleClicked(TQListBoxItem * item); /** show our context menu */ - void showContextMenu(QListBoxItem * item, const QPoint & pos); + void showContextMenu(TQListBoxItem * item, const TQPoint & pos); private: void readIgnores(); void writeIgnores(); ValidateProgressWidget *_mainWidget; - QString _ignoreURL; + TQString _ignoreURL; KDataTool* _tool; - QString _toolID; - QPtrList<CatManListItem> _files; + TQString _toolID; + TQPtrList<CatManListItem> _files; bool _stopped; KPopupMenu* _errorMenu; bool _ignoreFuzzy; bool _setAsFuzzy; - QValueList<IgnoreItem> _ignores; - QMap<QString,IgnoreItem> _errors; + TQValueList<IgnoreItem> _ignores; + TQMap<TQString,IgnoreItem> _errors; }; #endif // VALIDATEDLG_H |