summaryrefslogtreecommitdiffstats
path: root/kmobile/devices/gnokii/gnokiiconfig.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kmobile/devices/gnokii/gnokiiconfig.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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);
}