summaryrefslogtreecommitdiffstats
path: root/src/libgui/device_gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgui/device_gui.h')
-rw-r--r--src/libgui/device_gui.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/libgui/device_gui.h b/src/libgui/device_gui.h
index 53ad04f..de28bbf 100644
--- a/src/libgui/device_gui.h
+++ b/src/libgui/device_gui.h
@@ -50,15 +50,15 @@ template <typename Enum>
class EnumComboBox
{
public:
- EnumComboBox(const TQString &key, TQWidget *tqparent) : _key(key) {
- _combo = new TQComboBox(tqparent);
+ EnumComboBox(const TQString &key, TQWidget *parent) : _key(key) {
+ _combo = new TQComboBox(parent);
for (Enum type; type<Enum::Nb_Types; ++type) _combo->insertItem(type.label());
Config config;
Enum type = config.readEnumEntry(key, Enum(Enum::Nb_Types));
if ( type!=Enum::Nb_Types ) _combo->setCurrentItem(type.type());
}
- EnumComboBox(const TQString &emptyLabel, const TQString &key, TQWidget *tqparent) : _key(key) {
- _combo = new TQComboBox(tqparent);
+ EnumComboBox(const TQString &emptyLabel, const TQString &key, TQWidget *parent) : _key(key) {
+ _combo = new TQComboBox(parent);
_combo->insertItem(emptyLabel);
for (Enum type; type<Enum::Nb_Types; ++type) _combo->insertItem(type.label());
Config config;
@@ -88,7 +88,7 @@ class Dialog : public ::Dialog
Q_OBJECT
TQ_OBJECT
public:
- Dialog(const TQString &device, Type type, TQWidget *tqparent);
+ Dialog(const TQString &device, Type type, TQWidget *parent);
virtual ~Dialog();
TQString device() const;
@@ -121,7 +121,7 @@ class ComboBox : public TQComboBox
Q_OBJECT
TQ_OBJECT
public:
- ComboBox(bool withAuto, TQWidget *tqparent);
+ ComboBox(bool withAuto, TQWidget *parent);
void setDevice(const TQString &device, const Device::Data *data = 0);
TQString device() const;
bool withAuto() const { return _withAuto; }
@@ -136,7 +136,7 @@ class Button : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- Button(bool withAuto, TQWidget *tqparent);
+ Button(bool withAuto, TQWidget *parent);
void setDevice(const TQString &device) { _combo->setDevice(device); }
TQString device() const { return _combo->device(); }
@@ -156,7 +156,7 @@ class Browser : public KTextBrowser
Q_OBJECT
TQ_OBJECT
public:
- Browser(TQWidget *tqparent);
+ Browser(TQWidget *parent);
signals:
void deviceChanged(const TQString &device);
@@ -171,7 +171,7 @@ class View : public TabWidget
Q_OBJECT
TQ_OBJECT
public:
- View(TQWidget *tqparent);
+ View(TQWidget *parent);
void clear();
void setText(const TQString &text);
void setDevice(const TQString &name, bool cannotChangeDevice);
@@ -190,7 +190,7 @@ class Editor : public DeviceEditor
Q_OBJECT
TQ_OBJECT
public:
- Editor(const TQString &title, const TQString &tag, TQWidget *tqparent);
+ Editor(const TQString &title, const TQString &tag, TQWidget *parent);
virtual bool isModified() const { return false; }
virtual bool isReadOnly() const { return true; }
virtual void addGui() {}
@@ -201,7 +201,7 @@ signals:
void deviceChanged(const TQString &device);
private:
- virtual TQWidget *createView(const Device::Data *data, TQWidget *tqparent);
+ virtual TQWidget *createView(const Device::Data *data, TQWidget *parent);
virtual void setModifiedInternal(bool) {}
virtual void setReadOnlyInternal(bool) {}
};