summaryrefslogtreecommitdiffstats
path: root/src/libgui/device_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgui/device_gui.cpp')
-rw-r--r--src/libgui/device_gui.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/libgui/device_gui.cpp b/src/libgui/device_gui.cpp
index fae54f6..f5e7a10 100644
--- a/src/libgui/device_gui.cpp
+++ b/src/libgui/device_gui.cpp
@@ -83,8 +83,8 @@ const DeviceChooser::ListType::Data DeviceChooser::ListType::DATA[Nb_Types] = {
{ "flat", I18N_NOOP("Flat List") }
};
-DeviceChooser::Dialog::Dialog(const TQString &device, Type type, TQWidget *tqparent)
- : ::Dialog(tqparent, "device_chooser_dialog", true, i18n("Select a device"),
+DeviceChooser::Dialog::Dialog(const TQString &device, Type type, TQWidget *parent)
+ : ::Dialog(parent, "device_chooser_dialog", true, i18n("Select a device"),
Ok|Close, Close, false, TQSize(400, 300)), _withAuto(type==ChooseWithAuto)
{
setButtonOK(KGuiItem(i18n( "&Select"), "button_ok"));
@@ -305,8 +305,8 @@ void DeviceChooser::Dialog::updateList(const TQString &device)
}
//-----------------------------------------------------------------------------
-DeviceChooser::ComboBox::ComboBox(bool withAuto, TQWidget *tqparent)
- : TQComboBox(tqparent, "device_chooser_combo"), _withAuto(withAuto)
+DeviceChooser::ComboBox::ComboBox(bool withAuto, TQWidget *parent)
+ : TQComboBox(parent, "device_chooser_combo"), _withAuto(withAuto)
{
if (withAuto) insertItem(i18n(Device::AUTO_DATA.label));
Device::Lister::ConstIterator it;
@@ -338,8 +338,8 @@ TQString DeviceChooser::ComboBox::device() const
}
//-----------------------------------------------------------------------------
-DeviceChooser::Button::Button(bool withAuto, TQWidget *tqparent)
- : TQWidget(tqparent, "device_chooser_button")
+DeviceChooser::Button::Button(bool withAuto, TQWidget *parent)
+ : TQWidget(parent, "device_chooser_button")
{
TQHBoxLayout *hbox = new TQHBoxLayout(this, 0, 10);
_combo = new ComboBox(withAuto, this);
@@ -361,8 +361,8 @@ void DeviceChooser::Button::chooseDevice()
}
//-----------------------------------------------------------------------------
-DeviceChooser::Browser::Browser(TQWidget *tqparent)
- : KTextBrowser(tqparent, "device_browser")
+DeviceChooser::Browser::Browser(TQWidget *parent)
+ : KTextBrowser(parent, "device_browser")
{}
PURL::Url findDocumentUrl(const TQString &prefix, const TQString &baseName)
@@ -392,8 +392,8 @@ void DeviceChooser::Browser::setSource(const TQString &name)
}
//-----------------------------------------------------------------------------
-DeviceChooser::View::View(TQWidget *tqparent)
- : TabWidget(tqparent, "device_view")
+DeviceChooser::View::View(TQWidget *parent)
+ : TabWidget(parent, "device_view")
{
// Information
_info = new Browser(this);
@@ -454,9 +454,9 @@ DeviceChooser::Editor::Editor(const TQString &title, const TQString &tag, TQWidg
: DeviceEditor(title, tag, widget, "device_view_editor")
{}
-TQWidget *DeviceChooser::Editor::createView(const Device::Data *, TQWidget *tqparent)
+TQWidget *DeviceChooser::Editor::createView(const Device::Data *, TQWidget *parent)
{
- DeviceChooser::View *view = new DeviceChooser::View(tqparent);
+ DeviceChooser::View *view = new DeviceChooser::View(parent);
connect(view, TQT_SIGNAL(deviceChanged(const TQString &)), TQT_SIGNAL(deviceChanged(const TQString &)));
view->setDevice(_device, true);
return view;