diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-29 16:05:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-29 16:05:55 +0000 |
commit | 87a016680e3677da3993f333561e79eb0cead7d5 (patch) | |
tree | cbda2b4df8b8ee0d8d1617e6c75bec1e3ee0ccba /src/gui/microselectwidget.h | |
parent | 6ce3d1ad09c1096b5ed3db334e02859e45d5c32b (diff) | |
download | ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.tar.gz ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.zip |
TQt4 port ktechlab
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1238801 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/microselectwidget.h')
-rw-r--r-- | src/gui/microselectwidget.h | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/src/gui/microselectwidget.h b/src/gui/microselectwidget.h index 3730c8f..6555a1e 100644 --- a/src/gui/microselectwidget.h +++ b/src/gui/microselectwidget.h @@ -11,29 +11,30 @@ #ifndef MICROSELECTWIDGET_H #define MICROSELECTWIDGET_H -#include <qgroupbox.h> +#include <tqgroupbox.h> -class QVBoxLayout; -class QHBoxLayout; -class QGridLayout; -class QSpacerItem; -class QGroupBox; -class QLabel; +class TQVBoxLayout; +class TQHBoxLayout; +class TQGridLayout; +class TQSpacerItem; +class TQGroupBox; +class TQLabel; class KComboBox; /** @author David Saxton */ -class MicroSelectWidget : public QGroupBox +class MicroSelectWidget : public TQGroupBox { Q_OBJECT + TQ_OBJECT public: - MicroSelectWidget( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); + MicroSelectWidget( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 ); ~MicroSelectWidget(); - void setMicro( const QString & id ); - QString micro() const; + void setMicro( const TQString & id ); + TQString micro() const; /** * @see MicroLibrary::microIDs @@ -53,7 +54,7 @@ class MicroSelectWidget : public QGroupBox void setAllowedMicrobeSupport( unsigned allowed ); protected slots: - void microFamilyChanged( const QString & family ); + void microFamilyChanged( const TQString & family ); protected: void updateFromAllowed(); @@ -63,10 +64,10 @@ class MicroSelectWidget : public QGroupBox unsigned int m_allowedFlowCodeSupport; unsigned int m_allowedMicrobeSupport; - QHBoxLayout * m_pWidgetLayout; - QLabel * m_pMicroFamilyLabel; + TQHBoxLayout * m_pWidgetLayout; + TQLabel * m_pMicroFamilyLabel; KComboBox * m_pMicroFamily; - QLabel * m_pMicroLabel; + TQLabel * m_pMicroLabel; KComboBox * m_pMicro; }; |