From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- languages/cpp/app_templates/opieinput/simpleimpl.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'languages/cpp/app_templates/opieinput/simpleimpl.h') 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 +#include #include 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 -- cgit v1.2.1