summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 01c5148..8cf881c 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -66,7 +66,7 @@ void findAloneWindow()
for (i = 0; i < numkids; ++i)
{
XFetchName(dipsy, kids[i], &win_name);
- QString c(win_name);
+ TQString c(win_name);
if (c=="kvkbdalone")
{
@@ -109,12 +109,12 @@ public:
c << "state()";
return c;
}
- bool process(const QCString &fun, const QByteArray &data,
- QCString &replyType, QByteArray &replyData) {
+ bool process(const TQCString &fun, const TQByteArray &data,
+ TQCString &replyType, TQByteArray &replyData) {
- QDataStream io(replyData,IO_WriteOnly);
- replyType="QCString";
+ TQDataStream io(replyData,IO_WriteOnly);
+ replyType="TQCString";
MainWidget *main = (MainWidget *)mainWidget();
if (main) {
if (fun == "show()") {
@@ -154,16 +154,16 @@ public:
};
-class KvkbdApp : public QApplication
+class KvkbdApp : public TQApplication
{
public:
- KvkbdApp(int argc, char** argv, bool gui):QApplication(argc,argv,gui){
+ KvkbdApp(int argc, char** argv, bool gui):TQApplication(argc,argv,gui){
};
bool x11EventFilter ( XEvent *event ) {
if (event->type == DestroyNotify) {
- QApplication::exit();
+ TQApplication::exit();
}
else if (event->type == MappingNotify) {