diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /languages/cpp/app_templates/opieinput/simpleimpl.h | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/cpp/app_templates/opieinput/simpleimpl.h')
-rw-r--r-- | languages/cpp/app_templates/opieinput/simpleimpl.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/languages/cpp/app_templates/opieinput/simpleimpl.h b/languages/cpp/app_templates/opieinput/simpleimpl.h index 362e59b3..17972b29 100644 --- a/languages/cpp/app_templates/opieinput/simpleimpl.h +++ b/languages/cpp/app_templates/opieinput/simpleimpl.h @@ -1,16 +1,16 @@ #ifndef %{APPNAME}IMPL_H #define %{APPNAME}IMPL_H -#include <qhbox.h> +#include <tqhbox.h> #include <qpe/inputmethodinterface.h> class QPixmap; class QCheckBox; -class %{APPNAME} : public QHBox { +class %{APPNAME} : public TQHBox { Q_OBJECT public: - %{APPNAME}( QWidget *par, WFlags f ); + %{APPNAME}( TQWidget *par, WFlags f ); ~%{APPNAME}(); void resetState(); private slots: @@ -22,7 +22,7 @@ signals: void key(ushort,ushort,ushort,bool,bool); private: int m_state; - QCheckBox *m_alt,*m_shi,*m_ctrl; + TQCheckBox *m_alt,*m_shi,*m_ctrl; }; class %{APPNAME}Impl : public InputMethodInterface @@ -36,15 +36,15 @@ public: Q_REFCOUNT #endif - virtual QWidget *inputMethod( QWidget *parent, Qt::WFlags f ); + virtual TQWidget *inputMethod( TQWidget *parent, Qt::WFlags f ); virtual void resetState(); - virtual QPixmap *icon(); - virtual QString name(); - virtual void onKeyPress( QObject *receiver, const char *slot ); + virtual TQPixmap *icon(); + virtual TQString name(); + virtual void onKeyPress( TQObject *receiver, const char *slot ); private: %{APPNAME} *m_pickboard; - QPixmap *m_icn; + TQPixmap *m_icn; }; #endif |