summaryrefslogtreecommitdiffstats
path: root/kworldwatch/applet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kworldwatch/applet.cpp')
-rw-r--r--kworldwatch/applet.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kworldwatch/applet.cpp b/kworldwatch/applet.cpp
index f358dac..6e7ebb8 100644
--- a/kworldwatch/applet.cpp
+++ b/kworldwatch/applet.cpp
@@ -42,7 +42,7 @@
extern "C"
{
- KDE_EXPORT KPanelApplet *init(TQWidget *parent, const TQString& configFile)
+ TDE_EXPORT KPanelApplet *init(TQWidget *parent, const TQString& configFile)
{
TDEGlobal::locale()->insertCatalogue("kworldclock");
TDEGlobal::locale()->insertCatalogue("timezones"); // For time zone translation
@@ -94,7 +94,7 @@ bool KWWApplet::eventFilter( TQObject *o, TQEvent *e )
{
if ((e->type() == TQEvent::MouseButtonPress) || (e->type() == TQEvent::MouseButtonDblClick))
{
- mousePressEvent(TQT_TQMOUSEEVENT(e));
+ mousePressEvent(static_cast<TQMouseEvent*>(e));
return true;
}
@@ -115,7 +115,7 @@ void KWWApplet::mousePressEvent(TQMouseEvent *e)
clicked = e->type() == TQMouseEvent::MouseButtonDblClick;
}
- if (clicked && e->button() == Qt::LeftButton)
+ if (clicked && e->button() == TQt::LeftButton)
{
KRun::run("kworldclock", KURL::List());
}