summaryrefslogtreecommitdiffstats
path: root/kppp/general.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kppp/general.cpp')
-rw-r--r--kppp/general.cpp96
1 files changed, 48 insertions, 48 deletions
diff --git a/kppp/general.cpp b/kppp/general.cpp
index b1e2c0b0..aeea5059 100644
--- a/kppp/general.cpp
+++ b/kppp/general.cpp
@@ -66,8 +66,8 @@ GeneralWidget::GeneralWidget( TQWidget *parent, const char *name)
pppdTimeout->setLabel(i18n("pppd &timeout:"));
pppdTimeout->setRange(1, TIMEOUT_SIZE, 5, true);
pppdTimeout->setSuffix(i18n(" sec"));
- connect(pppdTimeout, TQT_SIGNAL(valueChanged(int)),
- TQT_SLOT(pppdtimeoutchanged(int)));
+ connect(pppdTimeout, TQ_SIGNAL(valueChanged(int)),
+ TQ_SLOT(pppdtimeoutchanged(int)));
tl->addWidget(pppdTimeout);
TQString tmp = i18n("<i>kppp</i> will wait this number of seconds\n"
"to see if a PPP connection is established.\n"
@@ -90,14 +90,14 @@ GeneralWidget::GeneralWidget( TQWidget *parent, const char *name)
"size."));
chkBox->setChecked(gpppdata.get_dock_into_panel());
- connect(chkBox,TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(docking_toggled(bool)));
+ connect(chkBox,TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(docking_toggled(bool)));
tl->addWidget(chkBox);
chkBox = new TQCheckBox(i18n("A&utomatic redial on disconnect"), parent);
chkBox->setChecked(gpppdata.automatic_redial());
- connect(chkBox,TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(redial_toggled(bool)));
+ connect(chkBox,TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(redial_toggled(bool)));
tl->addWidget(chkBox);
TQWhatsThis::add(chkBox,
i18n("<p>When a connection is established and\n"
@@ -108,8 +108,8 @@ GeneralWidget::GeneralWidget( TQWidget *parent, const char *name)
chkBox = new TQCheckBox(i18n("Automatic redial on NO &CARRIER"), parent);
chkBox->setChecked(gpppdata.get_redial_on_nocarrier());
- connect(chkBox,TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(nocarrier_toggled(bool)));
+ connect(chkBox,TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(nocarrier_toggled(bool)));
tl->addWidget(chkBox);
TQWhatsThis::add(chkBox,
i18n("<p>When dialing if modem returns NO CARRIER\n"
@@ -119,8 +119,8 @@ GeneralWidget::GeneralWidget( TQWidget *parent, const char *name)
chkBox = new TQCheckBox(i18n("&Show clock on caption"), parent);
chkBox->setChecked(gpppdata.get_show_clock_on_caption());
- connect(chkBox, TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(caption_toggled(bool)));
+ connect(chkBox, TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(caption_toggled(bool)));
tl->addWidget(chkBox);
TQWhatsThis::add(chkBox,
i18n("When this option is checked, the window\n"
@@ -130,8 +130,8 @@ GeneralWidget::GeneralWidget( TQWidget *parent, const char *name)
chkBox = new TQCheckBox(i18n("Disco&nnect on X server shutdown"), parent);
chkBox->setChecked(gpppdata.get_xserver_exit_disconnect());
- connect(chkBox, TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(xserver_toggled(bool)));
+ connect(chkBox, TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(xserver_toggled(bool)));
tl->addWidget(chkBox);
TQWhatsThis::add(chkBox,
i18n("<p>Checking this option will close any\n"
@@ -143,8 +143,8 @@ GeneralWidget::GeneralWidget( TQWidget *parent, const char *name)
chkBox = new TQCheckBox(i18n("&Quit on disconnect"), parent);
chkBox->setChecked(gpppdata.quit_on_disconnect());
- connect(chkBox, TQT_SIGNAL(toggled(bool)),
- this, TQT_SLOT(quit_toggled(bool)));
+ connect(chkBox, TQ_SIGNAL(toggled(bool)),
+ this, TQ_SLOT(quit_toggled(bool)));
tl->addWidget(chkBox);
TQWhatsThis::add(chkBox,
i18n("When this option is turned on, <i>kppp</i>\n"
@@ -152,8 +152,8 @@ GeneralWidget::GeneralWidget( TQWidget *parent, const char *name)
chkBox = new TQCheckBox(i18n("Minimi&ze window on connect"), parent);
chkBox->setChecked(gpppdata.get_iconify_on_connect());
- connect(chkBox,TQT_SIGNAL(toggled(bool)),
- this,TQT_SLOT(iconify_toggled(bool)));
+ connect(chkBox,TQ_SIGNAL(toggled(bool)),
+ this,TQ_SLOT(iconify_toggled(bool)));
tl->addWidget(chkBox);
TQWhatsThis::add(chkBox,
i18n("Iconifies <i>kppp</i>'s window when a\n"
@@ -238,8 +238,8 @@ ModemWidget::ModemWidget(TQWidget *parent, bool isnewmodem, const char *name)
modemdevice->insertItem(gpppdata.modemDevice());
tl->addWidget(modemdevice, 1, 1);
-/* connect(modemdevice, TQT_SIGNAL(activated(int)),
- TQT_SLOT(setmodemdc(int)));*/
+/* connect(modemdevice, TQ_SIGNAL(activated(int)),
+ TQ_SLOT(setmodemdc(int)));*/
tmp = i18n("This specifies the serial port your modem is attached \n"
"to. On Linux/x86, typically this is either /dev/ttyS0 \n"
"(COM1 under DOS) or /dev/ttyS1 (COM2 under DOS).\n"
@@ -266,8 +266,8 @@ ModemWidget::ModemWidget(TQWidget *parent, bool isnewmodem, const char *name)
flowListItem << "None";
tl->addWidget(flowcontrol, 2, 1);
- /*connect(flowcontrol, TQT_SIGNAL(activated(int)),
- TQT_SLOT(setflowcontrol(int)));*/
+ /*connect(flowcontrol, TQ_SIGNAL(activated(int)),
+ TQ_SLOT(setflowcontrol(int)));*/
tmp = i18n("<p>Specifies how the serial port and modem\n"
"communicate. You should not change this unless\n"
@@ -287,7 +287,7 @@ ModemWidget::ModemWidget(TQWidget *parent, bool isnewmodem, const char *name)
enter->insertItem("LF");
enter->insertItem("CR/LF");
tl->addWidget(enter, 3, 1);
- /* connect(enter, TQT_SIGNAL(activated(int)), TQT_SLOT(setenter(int)));*/
+ /* connect(enter, TQ_SIGNAL(activated(int)), TQ_SLOT(setenter(int)));*/
tmp = i18n("<p>Specifies how AT commands are sent to your\n"
"modem. Most modems will work fine with the\n"
"default <i>CR/LF</i>. If your modem does not react\n"
@@ -336,8 +336,8 @@ ModemWidget::ModemWidget(TQWidget *parent, bool isnewmodem, const char *name)
baud_c->insertItem(baudrates[k]);
baud_c->setCurrentItem(3);
- /*connect(baud_c, TQT_SIGNAL(activated(int)),
- this, TQT_SLOT(speed_selection(int)));*/
+ /*connect(baud_c, TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(speed_selection(int)));*/
tl->addWidget(baud_c, 4, 1);
tmp = i18n("Specifies the speed your modem and the serial\n"
@@ -361,8 +361,8 @@ ModemWidget::ModemWidget(TQWidget *parent, bool isnewmodem, const char *name)
modemlockfile = new TQCheckBox(i18n("&Use lock file"), parent);
modemlockfile->setChecked(gpppdata.modemLockFile());
-/* connect(modemlockfile, TQT_SIGNAL(toggled(bool)),
- TQT_SLOT(modemlockfilechanged(bool)));*/
+/* connect(modemlockfile, TQ_SIGNAL(toggled(bool)),
+ TQ_SLOT(modemlockfilechanged(bool)));*/
tl->addMultiCellWidget(modemlockfile, 5, 5, 0, 1);
// l12->addStretch(1);
TQWhatsThis::add(modemlockfile,
@@ -382,8 +382,8 @@ ModemWidget::ModemWidget(TQWidget *parent, bool isnewmodem, const char *name)
modemtimeout->setLabel(i18n("Modem &timeout:"));
modemtimeout->setRange(1, 120, 1);
modemtimeout->setSuffix(i18n(" sec"));
-/* connect(modemtimeout, TQT_SIGNAL(valueChanged(int)),
- TQT_SLOT(modemtimeoutchanged(int)));*/
+/* connect(modemtimeout, TQ_SIGNAL(valueChanged(int)),
+ TQ_SLOT(modemtimeoutchanged(int)));*/
tl->addMultiCellWidget(modemtimeout, 6, 6, 0, 1);
TQWhatsThis::add(modemtimeout,
@@ -453,7 +453,7 @@ ModemWidget2::ModemWidget2(TQWidget *parent, const char *name)
waitfordt = new TQCheckBox(i18n("&Wait for dial tone before dialing"), parent);
waitfordt->setChecked(gpppdata.waitForDialTone());
- // connect(waitfordt, TQT_SIGNAL(toggled(bool)), TQT_SLOT(waitfordtchanged(bool)));
+ // connect(waitfordt, TQ_SIGNAL(toggled(bool)), TQ_SLOT(waitfordtchanged(bool)));
l1->addWidget(waitfordt);
TQWhatsThis::add(waitfordt,
i18n("<p>Normally the modem waits for a dial tone\n"
@@ -468,7 +468,7 @@ ModemWidget2::ModemWidget2(TQWidget *parent, const char *name)
busywait->setLabel(i18n("B&usy wait:"));
busywait->setRange(0, 300, 5, true);
busywait->setSuffix(i18n(" sec"));
- // connect(busywait, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(busywaitchanged(int)));
+ // connect(busywait, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(busywaitchanged(int)));
l1->addWidget(busywait);
TQWhatsThis::add(busywait,
@@ -494,8 +494,8 @@ ModemWidget2::ModemWidget2(TQWidget *parent, const char *name)
l1->addLayout(hbl);
- /* connect(volume, TQT_SIGNAL(valueChanged(int)),
- this, TQT_SLOT(volumeChanged(int)));*/
+ /* connect(volume, TQ_SIGNAL(valueChanged(int)),
+ this, TQ_SLOT(volumeChanged(int)));*/
TQString tmp = i18n("Most modems have a speaker which makes\n"
"a lot of noise when dialing. Here you can\n"
"either turn this completely off or select a\n"
@@ -512,8 +512,8 @@ ModemWidget2::ModemWidget2(TQWidget *parent, const char *name)
#if 0
chkbox1 = new TQCheckBox(i18n("Modem asserts CD line"), parent);
chkbox1->setChecked(gpppdata.UseCDLine());
- connect(chkbox1,TQT_SIGNAL(toggled(bool)),
- this,TQT_SLOT(use_cdline_toggled(bool)));
+ connect(chkbox1,TQ_SIGNAL(toggled(bool)),
+ this,TQ_SLOT(use_cdline_toggled(bool)));
l12->addWidget(chkbox1);
l12->addStretch(1);
l1->addStretch(1);
@@ -558,12 +558,12 @@ ModemWidget2::ModemWidget2(TQWidget *parent, const char *name)
hbox->addStretch(1);
l1->addStretch(1);
- connect(modemcmds, TQT_SIGNAL(clicked()),
- TQT_SLOT(modemcmdsbutton()));
- connect(modeminfo_button, TQT_SIGNAL(clicked()),
- TQT_SLOT(query_modem()));
- connect(terminal_button, TQT_SIGNAL(clicked()),
- TQT_SLOT(terminal()));
+ connect(modemcmds, TQ_SIGNAL(clicked()),
+ TQ_SLOT(modemcmdsbutton()));
+ connect(modeminfo_button, TQ_SIGNAL(clicked()),
+ TQ_SLOT(query_modem()));
+ connect(terminal_button, TQ_SIGNAL(clicked()),
+ TQ_SLOT(terminal()));
// Create the Modem Command so if the window is not opened they are autosaved anyway
mc = new ModemCommands(this);
@@ -647,15 +647,15 @@ GraphSetup::GraphSetup(TQWidget *parent, const char *name) :
tl->addStretch();
- connect(enable_check, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(enableToggled(bool)));
- connect(bg_color, TQT_SIGNAL(changed(const TQColor &)),
- TQT_SLOT(colorChanged(const TQColor&)));
- connect(text_color, TQT_SIGNAL(changed(const TQColor &)),
- TQT_SLOT(colorChanged(const TQColor&)));
- connect(in_color, TQT_SIGNAL(changed(const TQColor &)),
- TQT_SLOT(colorChanged(const TQColor&)));
- connect(out_color, TQT_SIGNAL(changed(const TQColor &)),
- TQT_SLOT(colorChanged(const TQColor&)));
+ connect(enable_check, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(enableToggled(bool)));
+ connect(bg_color, TQ_SIGNAL(changed(const TQColor &)),
+ TQ_SLOT(colorChanged(const TQColor&)));
+ connect(text_color, TQ_SIGNAL(changed(const TQColor &)),
+ TQ_SLOT(colorChanged(const TQColor&)));
+ connect(in_color, TQ_SIGNAL(changed(const TQColor &)),
+ TQ_SLOT(colorChanged(const TQColor&)));
+ connect(out_color, TQ_SIGNAL(changed(const TQColor &)),
+ TQ_SLOT(colorChanged(const TQColor&)));
tl->activate();