Commit 394ecc1f authored by Aurélien Gâteau's avatar Aurélien Gâteau
Browse files

notification -> statusnotifier

svn path=/trunk/KDE/kdemultimedia/juk/; revision=1042712
parent eb30305d
......@@ -136,7 +136,7 @@ void PassiveInfo::positionSelf()
// public methods
////////////////////////////////////////////////////////////////////////////////
SystemTray::SystemTray(QWidget *parent) : KNotificationItem(parent),
SystemTray::SystemTray(QWidget *parent) : KStatusNotifierItem(parent),
m_popup(0),
m_fadeTimer(0),
m_fade(true),
......@@ -474,7 +474,7 @@ QColor SystemTray::interpolateColor(int step, int steps)
void SystemTray::setToolTip(const QString &tip, const QPixmap &cover)
{
if(tip.isEmpty())
KNotificationItem::setToolTip("juk", i18n("JuK"), QString());
KStatusNotifierItem::setToolTip("juk", i18n("JuK"), QString());
else {
QPixmap myCover = cover;
if(cover.isNull())
......@@ -482,7 +482,7 @@ void SystemTray::setToolTip(const QString &tip, const QPixmap &cover)
QString html = QString("%1").arg(tip);
html.replace(" ", " ");
KNotificationItem::setToolTip(QIcon(myCover), i18n("JuK"), html);
KStatusNotifierItem::setToolTip(QIcon(myCover), i18n("JuK"), html);
}
}
......
......@@ -21,7 +21,7 @@
#ifndef JUK_SYSTEMTRAY_H
#define JUK_SYSTEMTRAY_H
#include <knotificationitem.h>
#include <kstatusnotifieritem.h>
#include <QVector>
#include <QColor>
......@@ -85,7 +85,7 @@ private:
bool m_justDie;
};
class SystemTray : public KNotificationItem
class SystemTray : public KStatusNotifierItem
{
Q_OBJECT
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment