summaryrefslogtreecommitdiffstats
path: root/akregator/src/trayicon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/trayicon.cpp')
-rw-r--r--akregator/src/trayicon.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/akregator/src/trayicon.cpp b/akregator/src/trayicon.cpp
index 9cab8b3b..5d04d549 100644
--- a/akregator/src/trayicon.cpp
+++ b/akregator/src/trayicon.cpp
@@ -74,7 +74,7 @@ TrayIcon::~TrayIcon()
void TrayIcon::mousePressEvent(TQMouseEvent *e) {
- if (e->button() == Qt::LeftButton) {
+ if (e->button() == TQt::LeftButton) {
emit showPart();
}
@@ -200,7 +200,7 @@ void TrayIcon::setUnread(int unread, bool force)
void TrayIcon::viewButtonClicked()
{
- TQWidget *p=TQT_TQWIDGET(parent());
+ TQWidget *p=static_cast<TQWidget*>(parent());
KWin::forceActiveWindow(p->winId());
}