summaryrefslogtreecommitdiffstats
path: root/kpf/src/AppletItem.cpp
diff options
context:
space:
mode:
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)
{