summaryrefslogtreecommitdiffstats
path: root/src/addnetworkroutedialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-06 14:15:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-06 14:15:01 -0600
commit1b89319fd93b88313cab40f1e9de24c067b04efb (patch)
tree80132996de993c3dcab4040864d7729842875b2d /src/addnetworkroutedialog.cpp
parentd08a0ede1d2cb15bb14b0ff75eacf5c682b1fa0a (diff)
downloadkvpnc-1b89319fd93b88313cab40f1e9de24c067b04efb.tar.gz
kvpnc-1b89319fd93b88313cab40f1e9de24c067b04efb.zip
Initial TQt conversion
Diffstat (limited to 'src/addnetworkroutedialog.cpp')
-rw-r--r--src/addnetworkroutedialog.cpp20
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;
}