summaryrefslogtreecommitdiffstats
path: root/src/progs/gui/port_selector.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/gui/port_selector.h')
-rw-r--r--src/progs/gui/port_selector.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/src/progs/gui/port_selector.h b/src/progs/gui/port_selector.h
index 6304d1a..86a0d4d 100644
--- a/src/progs/gui/port_selector.h
+++ b/src/progs/gui/port_selector.h
@@ -9,24 +9,25 @@
#ifndef PORT_SELECTOR_H
#define PORT_SELECTOR_H
-#include <qradiobutton.h>
-#include <qcombobox.h>
-#include <qlayout.h>
-#include <qbuttongroup.h>
-#include <qlabel.h>
+#include <tqradiobutton.h>
+#include <tqcombobox.h>
+#include <tqlayout.h>
+#include <tqbuttongroup.h>
+#include <tqlabel.h>
#include "common/port/port.h"
namespace Programmer { class Group; }
-class PortSelector : public QFrame
+class PortSelector : public TQFrame
{
Q_OBJECT
+ TQ_OBJECT
public:
- PortSelector(QWidget *parent);
+ PortSelector(TQWidget *tqparent);
void setGroup(const Programmer::Group &group);
Port::Description portDescription() const { return Port::Description(type(), device(type())); }
void saveConfig();
- void setStatus(PortType type, const QString &message);
+ void settqStatus(PortType type, const TQString &message);
signals:
void changed();
@@ -36,17 +37,17 @@ private slots:
private:
const Programmer::Group *_group;
- QGridLayout *_top, *_grid;
- QWidget *_main;
- QButtonGroup *_bgroup;
- QComboBox *_combos[PortType::Nb_Types];
- QLabel *_status[PortType::Nb_Types];
+ TQGridLayout *_top, *_grid;
+ TQWidget *_main;
+ TQButtonGroup *_bgroup;
+ TQComboBox *_combos[PortType::Nb_Types];
+ TQLabel *_status[PortType::Nb_Types];
bool _pending;
static const char * const LABELS[PortType::Nb_Types];
void addPortType(const Port::Description &pd);
PortType type() const;
- QString device(PortType type) const;
+ TQString device(PortType type) const;
};
#endif