summaryrefslogtreecommitdiffstats
path: root/kpf/src/AppletItem.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kpf/src/AppletItem.cpp
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpf/src/AppletItem.cpp')
-rw-r--r--kpf/src/AppletItem.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kpf/src/AppletItem.cpp b/kpf/src/AppletItem.cpp
index 4c70640e..9e49679d 100644
--- a/kpf/src/AppletItem.cpp
+++ b/kpf/src/AppletItem.cpp
@@ -43,8 +43,8 @@
namespace KPF
{
- AppletItem::AppletItem(WebServer * server, TQWidget * parent)
- : TQWidget (parent, "KPF::AppletItem"),
+ AppletItem::AppletItem(WebServer * server, TQWidget * tqparent)
+ : TQWidget (tqparent, "KPF::AppletItem"),
server_ (server),
configDialog_ (0L),
monitorWindow_ (0L),
@@ -62,7 +62,7 @@ namespace KPF
(new TQVBoxLayout(this))->addWidget(graph_);
- TQString popupTitle(i18n("kpf - %1").arg(server_->root()));
+ TQString popupTitle(i18n("kpf - %1").tqarg(server_->root()));
popup_ = new KPopupMenu(this);
@@ -123,7 +123,7 @@ namespace KPF
case TQEvent::MouseButtonRelease:
{
- TQMouseEvent * e = static_cast<TQMouseEvent *>(ev);
+ TQMouseEvent * e = TQT_TQMOUSEEVENT(ev);
if (0 == e)
{
@@ -132,7 +132,7 @@ namespace KPF
break;
}
- if (!rect().contains(e->pos()))
+ if (!TQT_TQRECT_OBJECT(rect()).tqcontains(e->pos()))
{
break;
}
@@ -159,7 +159,7 @@ namespace KPF
case TQEvent::MouseButtonPress:
{
- TQMouseEvent * e = static_cast<TQMouseEvent *>(ev);
+ TQMouseEvent * e = TQT_TQMOUSEEVENT(ev);
if (0 == e)
{