summaryrefslogtreecommitdiffstats
path: root/kbabel/catalogmanager/validateprogress.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
commit4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch)
treeb0a7cd1c184f0003c0292eb416ed27f674f9cc43 /kbabel/catalogmanager/validateprogress.h
parent1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff)
downloadtdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz
tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbabel/catalogmanager/validateprogress.h')
-rw-r--r--kbabel/catalogmanager/validateprogress.h32
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