diff options
Diffstat (limited to 'src/addnetworkroutedialog.cpp')
-rw-r--r-- | src/addnetworkroutedialog.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/addnetworkroutedialog.cpp b/src/addnetworkroutedialog.cpp index 64c2512..b823884 100644 --- a/src/addnetworkroutedialog.cpp +++ b/src/addnetworkroutedialog.cpp @@ -22,18 +22,18 @@ #include <klistview.h> #include <klineedit.h> #include <kcombobox.h> -#include <qcheckbox.h> +#include <tqcheckbox.h> #include "widgetnotifyhelper.h" #include <iostream> -AddNetworkRouteDialog::AddNetworkRouteDialog(QWidget *parent, const QString& caption) : KDialogBase( parent, "Add_new_network_route", false, caption, +AddNetworkRouteDialog::AddNetworkRouteDialog(TQWidget *parent, const TQString& caption) : KDialogBase( parent, "Add_new_network_route", false, caption, KDialogBase::Ok|KDialogBase::Cancel,KDialogBase::Ok, true ) { main = new AddNetworkRouteDialogBase (this); setMainWidget(main); - main->setMinimumSize(main->sizeHint()); - connect(main->UseGatewayCheckBox,SIGNAL(toggled(bool)),this, SLOT(useGatewayToggled(bool))); - connect(main->UseInterfaceCheckBox,SIGNAL(toggled(bool)),this, SLOT(useInterfaceToggled(bool))); + main->setMinimumSize(main->tqsizeHint()); + connect(main->UseGatewayCheckBox,TQT_SIGNAL(toggled(bool)),this, TQT_SLOT(useGatewayToggled(bool))); + connect(main->UseInterfaceCheckBox,TQT_SIGNAL(toggled(bool)),this, TQT_SLOT(useInterfaceToggled(bool))); WidgetNotifyHelper h; h.setupChangedAction(this); @@ -60,25 +60,25 @@ void AddNetworkRouteDialog::accept() Interface = main->InterfaceComboBox->currentText(); useGateway = main->UseGatewayCheckBox->isChecked(); useInterface = main->UseInterfaceCheckBox->isChecked(); - QDialog::accept(); + TQDialog::accept(); } -QString AddNetworkRouteDialog::getNetwork() +TQString AddNetworkRouteDialog::getNetwork() { return Network; } -QString AddNetworkRouteDialog::getNetmask() +TQString AddNetworkRouteDialog::getNetmask() { return Netmask; } -QString AddNetworkRouteDialog::getGateway() +TQString AddNetworkRouteDialog::getGateway() { return Gateway; } -QString AddNetworkRouteDialog::getInterface() +TQString AddNetworkRouteDialog::getInterface() { return Interface; } |