diff options
Diffstat (limited to 'kvoctrain/kvoctrain/query-dialogs/QueryDlgBase.h')
-rw-r--r-- | kvoctrain/kvoctrain/query-dialogs/QueryDlgBase.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kvoctrain/kvoctrain/query-dialogs/QueryDlgBase.h b/kvoctrain/kvoctrain/query-dialogs/QueryDlgBase.h index 6f62ddf0..4c67b096 100644 --- a/kvoctrain/kvoctrain/query-dialogs/QueryDlgBase.h +++ b/kvoctrain/kvoctrain/query-dialogs/QueryDlgBase.h @@ -51,27 +51,27 @@ class QueryDlgBase : public KDialogBase public: enum Result { Unknown, Known, Timeout, StopIt }; - QueryDlgBase(const QString & caption, QWidget *parent = 0, const char *name = 0, bool modal = false); + QueryDlgBase(const TQString & caption, TQWidget *parent = 0, const char *name = 0, bool modal = false); virtual ~QueryDlgBase (); - bool smartCompare (const QString&, const QString&, int level) const; + bool smartCompare (const TQString&, const TQString&, int level) const; - bool verifyField(QLineEdit *field, const QString &really); - void resetField (QLineEdit *field); + bool verifyField(TQLineEdit *field, const TQString &really); + void resetField (TQLineEdit *field); - bool verifyField(QMultiLineEdit *field, const QString &really, + bool verifyField(TQMultiLineEdit *field, const TQString &really, bool mixed); - void resetField (QMultiLineEdit *field); + void resetField (TQMultiLineEdit *field); - void verifyButton(QRadioButton *radio, bool is_ok, QWidget *widget2 = 0); - void resetButton (QRadioButton *radio, QWidget *widget2 = 0); + void verifyButton(TQRadioButton *radio, bool is_ok, TQWidget *widget2 = 0); + void resetButton (TQRadioButton *radio, TQWidget *widget2 = 0); // Show string after selceting known/unknown // depending on progress and randomness - QString getOKComment(int percent); - QString getNOKComment(int percent); - QString getTimeoutComment(int percent); + TQString getOKComment(int percent); + TQString getNOKComment(int percent); + TQString getTimeoutComment(int percent); int getRandom(int range) { @@ -86,15 +86,15 @@ signals: void sigEditEntry(int row, int col); protected: - virtual void closeEvent(QCloseEvent*e); + virtual void closeEvent(TQCloseEvent*e); virtual void slotUser1(); struct RB_Label { - RB_Label (QRadioButton* _rb, QLabel *_label) + RB_Label (TQRadioButton* _rb, TQLabel *_label) : rb(_rb), label(_label) {} - QRadioButton *rb; - QLabel *label; + TQRadioButton *rb; + TQLabel *label; }; int q_row, @@ -102,8 +102,8 @@ protected: q_tcol; kvoctrainDoc *kv_doc; kvoctrainExpr *kv_exp; - QString translation; - QTimer *qtimer; + TQString translation; + TQTimer *qtimer; int timercount; }; |