summaryrefslogtreecommitdiffstats
path: root/kgeography/src/popupmanager.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:39:55 +0000
commit0a6e0958c03e41c87b15557b6f407874f20c2f8d (patch)
tree2cdd58c4013b1be09cfcbb4ddae2b05712b9aeee /kgeography/src/popupmanager.cpp
parent83f9dfafc157ff7823804b3ff457b43d021a5b4b (diff)
downloadtdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.tar.gz
tdeedu-0a6e0958c03e41c87b15557b6f407874f20c2f8d.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1157642 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kgeography/src/popupmanager.cpp')
-rw-r--r--kgeography/src/popupmanager.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kgeography/src/popupmanager.cpp b/kgeography/src/popupmanager.cpp
index 4b19d4d5..1a457f81 100644
--- a/kgeography/src/popupmanager.cpp
+++ b/kgeography/src/popupmanager.cpp
@@ -11,13 +11,13 @@
#include "mypopup.h"
#include "popupmanager.h"
-popupManager::popupManager(QWidget *parent)
+popupManager::popupManager(TQWidget *parent)
{
p_parent = parent;
p_mp = 0;
}
-void popupManager::show(const QString &text, const QString &text2, const QPoint &p, const QString &flagFile)
+void popupManager::show(const TQString &text, const TQString &text2, const TQPoint &p, const TQString &flagFile)
{
delete p_mp;
@@ -25,7 +25,7 @@ void popupManager::show(const QString &text, const QString &text2, const QPoint
init(p);
}
-void popupManager::show(const QString &text, const QString &text2, const QPoint &p)
+void popupManager::show(const TQString &text, const TQString &text2, const TQPoint &p)
{
delete p_mp;
@@ -33,7 +33,7 @@ void popupManager::show(const QString &text, const QString &text2, const QPoint
init(p);
}
-void popupManager::show(const QString &text, const QPoint &p)
+void popupManager::show(const TQString &text, const TQPoint &p)
{
delete p_mp;
@@ -50,7 +50,7 @@ void popupManager::clear()
}
}
-void popupManager::init(const QPoint &p)
+void popupManager::init(const TQPoint &p)
{
int x, y, maxX, maxY;
maxX = p_parent -> width() - p_mp -> width();
@@ -61,7 +61,7 @@ void popupManager::init(const QPoint &p)
else y = maxY;
p_mp -> move(x, y);
p_mp -> show();
- connect(p_mp, SIGNAL(deleteMe()), this, SLOT(clear()));
+ connect(p_mp, TQT_SIGNAL(deleteMe()), this, TQT_SLOT(clear()));
}
#include "popupmanager.moc"