summaryrefslogtreecommitdiffstats
path: root/kmobile/devices/gnokii/gnokiiconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmobile/devices/gnokii/gnokiiconfig.cpp')
-rw-r--r--kmobile/devices/gnokii/gnokiiconfig.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kmobile/devices/gnokii/gnokiiconfig.cpp b/kmobile/devices/gnokii/gnokiiconfig.cpp
index 780dc23ce..07bc46f46 100644
--- a/kmobile/devices/gnokii/gnokiiconfig.cpp
+++ b/kmobile/devices/gnokii/gnokiiconfig.cpp
@@ -17,11 +17,11 @@
*/
-#include <qstring.h>
-#include <qstringlist.h>
-#include <qlabel.h>
-#include <qwidget.h>
-#include <qcombobox.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
+#include <tqlabel.h>
+#include <tqwidget.h>
+#include <tqcombobox.h>
#include "gnokiiconfigui.h"
#include "gnokiiconfig.h"
@@ -43,19 +43,19 @@
#define BAUDRATES "57600 38400 19200 14400 9600 4800 2400"
-GnokiiConfig::GnokiiConfig( QWidget* parent, const char* name, bool modal, WFlags fl )
+GnokiiConfig::GnokiiConfig( TQWidget* parent, const char* name, bool modal, WFlags fl )
: GnokiiConfigUI(parent, name, modal, fl)
{
- QStringList list = QStringList::split(" ", MODELS);
+ TQStringList list = TQStringList::split(" ", MODELS);
cb_Model->insertStringList(list);
- list = QStringList::split(" ", CONNECTIONS);
+ list = TQStringList::split(" ", CONNECTIONS);
cb_Connection->insertStringList(list);
- list = QStringList::split(" ", AVAILABLE_PORTS);
+ list = TQStringList::split(" ", AVAILABLE_PORTS);
cb_Port->insertStringList(list);
- list = QStringList::split(" ", BAUDRATES);
+ list = TQStringList::split(" ", BAUDRATES);
cb_Baud->insertStringList(list);
}
@@ -63,7 +63,7 @@ GnokiiConfig::~GnokiiConfig()
{
}
-void GnokiiConfig::setValues(const QString &model, const QString &connection, const QString &port, const QString &baud)
+void GnokiiConfig::setValues(const TQString &model, const TQString &connection, const TQString &port, const TQString &baud)
{
cb_Model->setCurrentText(model);
cb_Connection->setCurrentText(connection);
@@ -72,10 +72,10 @@ void GnokiiConfig::setValues(const QString &model, const QString &connection, co
slotCheckValues();
- connect( cb_Connection, SIGNAL(textChanged(const QString &)), this, SLOT(slotCheckValues(const QString &)) );
+ connect( cb_Connection, TQT_SIGNAL(textChanged(const TQString &)), this, TQT_SLOT(slotCheckValues(const TQString &)) );
}
-void GnokiiConfig::getValues(QString &model, QString &connection, QString &port, QString &baud) const
+void GnokiiConfig::getValues(TQString &model, TQString &connection, TQString &port, TQString &baud) const
{
model = cb_Model->currentText();
connection = cb_Connection->currentText();
@@ -83,9 +83,9 @@ void GnokiiConfig::getValues(QString &model, QString &connection, QString &port,
baud = cb_Baud->currentText();
}
-void GnokiiConfig::slotCheckValues(const QString &txt)
+void GnokiiConfig::slotCheckValues(const TQString &txt)
{
- bool disable_serial = (QString("infrared irda").find(txt,0,false)>=0);
+ bool disable_serial = (TQString("infrared irda").find(txt,0,false)>=0);
textLabelBaudRate->setDisabled(disable_serial);
cb_Baud->setDisabled(disable_serial);
}