diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:39:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:39:55 +0000 |
commit | 0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch) | |
tree | 2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kiten/widgets.h | |
parent | 83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff) | |
download | tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kiten/widgets.h')
-rw-r--r-- | kiten/widgets.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/kiten/widgets.h b/kiten/widgets.h index ab9b7725..82592bae 100644 --- a/kiten/widgets.h +++ b/kiten/widgets.h @@ -21,7 +21,7 @@ #ifndef KITEN_WIDGETS_H #define KITEN_WIDGETS_H -#include <qguardedptr.h> +#include <tqguardedptr.h> #include <kaction.h> #include <klineedit.h> @@ -39,16 +39,16 @@ class KDE_EXPORT ResultView : public KTextBrowser Q_OBJECT public: - ResultView(bool showLinks, QWidget *parent = 0, const char *name = 0); + ResultView(bool showLinks, TQWidget *parent = 0, const char *name = 0); void addResult(Dict::Entry result, bool common = false); void addKanjiResult(Dict::Entry, bool common = false, Radical = Radical()); - void addHeader(const QString &, unsigned int degree = 3); + void addHeader(const TQString &, unsigned int degree = 3); public slots: - void print(QString = QString::null); - void append(const QString &); + void print(TQString = TQString::null); + void append(const TQString &); void flush(); void clear(); void setBasicMode(bool yes) { basicMode = yes; } @@ -56,8 +56,8 @@ class KDE_EXPORT ResultView : public KTextBrowser void updateFont(); private: - QString putchars(const QString &); - QString printText; + TQString putchars(const TQString &); + TQString printText; bool links; bool basicMode; @@ -68,7 +68,7 @@ class KDE_EXPORT eEdit : public KMainWindow Q_OBJECT public: - eEdit(const QString &, QWidget *parent = 0, const char *name = 0); + eEdit(const TQString &, TQWidget *parent = 0, const char *name = 0); ~eEdit(); private slots: @@ -76,11 +76,11 @@ class KDE_EXPORT eEdit : public KMainWindow void save(); void del(); void disable(); - void openFile(const QString &); + void openFile(const TQString &); private: KListView *List; - QString filename; + TQString filename; KStatusBar *StatusBar; KAction *addAct; KAction *removeAct; @@ -92,20 +92,20 @@ class KDE_EXPORT EditAction : public KAction { Q_OBJECT public: - EditAction( const QString& text, int accel, const QObject *receiver, const char *member, QObject* parent, const char* name ); + EditAction( const TQString& text, int accel, const TQObject *receiver, const char *member, TQObject* parent, const char* name ); virtual ~EditAction(); - virtual int plug( QWidget *w, int index = -1 ); + virtual int plug( TQWidget *w, int index = -1 ); - virtual void unplug( QWidget *w ); + virtual void unplug( TQWidget *w ); - QString text() { return m_combo->text(); } - void setText(const QString &text); + TQString text() { return m_combo->text(); } + void setText(const TQString &text); - QGuardedPtr<KLineEdit> editor(); + TQGuardedPtr<KLineEdit> editor(); public slots: - void insert(const QString &); + void insert(const TQString &); // also sets focus to the lineedit widget void clear(); @@ -114,8 +114,8 @@ class KDE_EXPORT EditAction : public KAction void plugged(); private: - QGuardedPtr<KLineEdit> m_combo; - const QObject *m_receiver; + TQGuardedPtr<KLineEdit> m_combo; + const TQObject *m_receiver; const char *m_member; }; |