summaryrefslogtreecommitdiffstats
path: root/kppp/modem.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kppp/modem.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kppp/modem.h')
-rw-r--r--kppp/modem.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/kppp/modem.h b/kppp/modem.h
index 6999263d..7e8f2376 100644
--- a/kppp/modem.h
+++ b/kppp/modem.h
@@ -27,13 +27,13 @@
#ifndef _MODEM_H_
#define _MODEM_H_
-#include <qdir.h>
+#include <tqdir.h>
#include <sys/types.h>
#include <termios.h>
#include <unistd.h>
-#include <qsocketnotifier.h>
+#include <tqsocketnotifier.h>
#include <config.h>
@@ -41,7 +41,7 @@ class KCmdLineArgs;
void alarm_handler(int);
-class Modem : public QObject {
+class Modem : public TQObject {
Q_OBJECT
public:
Modem();
@@ -54,10 +54,10 @@ public:
bool writeLine(const char *);
bool dataMode() const { return data_mode; }
void setDataMode(bool set) { data_mode = set; }
- const QString modemMessage();
+ const TQString modemMessage();
speed_t modemspeed();
- static QString parseModemSpeed(const QString &);
- void notify(const QObject *, const char *);
+ static TQString parseModemSpeed(const TQString &);
+ void notify(const TQObject *, const char *);
void stop();
void flush();
@@ -81,9 +81,9 @@ private:
private:
int modemfd;
- QSocketNotifier *sn;
+ TQSocketNotifier *sn;
bool data_mode;
- QString errmsg;
+ TQString errmsg;
struct termios initial_tty;
struct termios tty;
bool modem_is_locked;