diff options
Diffstat (limited to 'akregator/src/trayicon.cpp')
-rw-r--r-- | akregator/src/trayicon.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/akregator/src/trayicon.cpp b/akregator/src/trayicon.cpp index 9cab8b3b..fe816d19 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(); } @@ -85,8 +85,8 @@ void TrayIcon::mousePressEvent(TQMouseEvent *e) { TQPixmap TrayIcon::takeScreenshot() const { TQPoint g = mapToGlobal(pos()); - int desktopWidth = kapp->desktop()->width(); - int desktopHeight = kapp->desktop()->height(); + int desktopWidth = tdeApp->desktop()->width(); + int desktopHeight = tdeApp->desktop()->height(); int tw = width(); int th = height(); int w = desktopWidth / 4; @@ -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()); } |