diff options
Diffstat (limited to 'kode/kwsdl/kung/binaryinputfield.h')
-rw-r--r-- | kode/kwsdl/kung/binaryinputfield.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kode/kwsdl/kung/binaryinputfield.h b/kode/kwsdl/kung/binaryinputfield.h index eeb721d5..479828f5 100644 --- a/kode/kwsdl/kung/binaryinputfield.h +++ b/kode/kwsdl/kung/binaryinputfield.h @@ -22,7 +22,7 @@ #ifndef BINARY_INPUTFIELD_H #define BINARY_INPUTFIELD_H -#include <qwidget.h> +#include <tqwidget.h> #include "inputfield.h" @@ -35,24 +35,24 @@ class BinaryInputField : public SimpleInputField Q_OBJECT public: - BinaryInputField( const QString &name, const QString &typeName, const Schema::SimpleType *type ); + BinaryInputField( const TQString &name, const TQString &typeName, const Schema::SimpleType *type ); - virtual void setXMLData( const QDomElement &element ); - virtual void xmlData( QDomDocument &document, QDomElement &parent ); + virtual void setXMLData( const TQDomElement &element ); + virtual void xmlData( TQDomDocument &document, TQDomElement &parent ); - virtual void setData( const QString &data ); - virtual QString data() const; + virtual void setData( const TQString &data ); + virtual TQString data() const; - virtual QWidget *createWidget( QWidget *parent ); + virtual TQWidget *createWidget( TQWidget *parent ); private slots: - void valueChanged( const QByteArray &value ); + void valueChanged( const TQByteArray &value ); private: BinaryWidget *mInputWidget; - QByteArray mValue; - QString mTypeName; + TQByteArray mValue; + TQString mTypeName; }; class BinaryWidget : public QWidget @@ -60,24 +60,24 @@ class BinaryWidget : public QWidget Q_OBJECT public: - BinaryWidget( QWidget *parent ); + BinaryWidget( TQWidget *parent ); - void setData( const QByteArray &data ); + void setData( const TQByteArray &data ); signals: - void valueChanged( const QByteArray &data ); + void valueChanged( const TQByteArray &data ); private slots: void load(); void save(); private: - QByteArray mData; + TQByteArray mData; - QGridLayout *mLayout; - QPushButton *mLoadButton; - QPushButton *mSaveButton; - QWidget* mMainWidget; + TQGridLayout *mLayout; + TQPushButton *mLoadButton; + TQPushButton *mSaveButton; + TQWidget* mMainWidget; }; #endif |