mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
plasma: remove unused systemray applet sources
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
fbc9090815
commit
1d42a30de7
4 changed files with 0 additions and 96 deletions
|
@ -1,40 +0,0 @@
|
||||||
/***************************************************************************
|
|
||||||
* fdonotification.cpp *
|
|
||||||
* *
|
|
||||||
* Copyright (C) 2008 Jason Stubbs <jasonbstubbs@gmail.com> *
|
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
|
||||||
* it under the terms of the GNU General Public License as published by *
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
* This program is distributed in the hope that it will be useful, *
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
||||||
* GNU General Public License for more details. *
|
|
||||||
* *
|
|
||||||
* You should have received a copy of the GNU General Public License *
|
|
||||||
* along with this program; if not, write to the *
|
|
||||||
* Free Software Foundation, Inc., *
|
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#include "fdonotification.h"
|
|
||||||
|
|
||||||
|
|
||||||
namespace SystemTray
|
|
||||||
{
|
|
||||||
|
|
||||||
FdoNotification::FdoNotification(WId winId, QObject *parent)
|
|
||||||
: Notification(parent),
|
|
||||||
m_winId(winId)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
FdoNotification::~FdoNotification()
|
|
||||||
{
|
|
||||||
emit notificationDeleted(m_winId);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,52 +0,0 @@
|
||||||
/***************************************************************************
|
|
||||||
* fdonotification.h *
|
|
||||||
* *
|
|
||||||
* Copyright (C) 2008 Jason Stubbs <jasonbstubbs@gmail.com> *
|
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
|
||||||
* it under the terms of the GNU General Public License as published by *
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
* This program is distributed in the hope that it will be useful, *
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
||||||
* GNU General Public License for more details. *
|
|
||||||
* *
|
|
||||||
* You should have received a copy of the GNU General Public License *
|
|
||||||
* along with this program; if not, write to the *
|
|
||||||
* Free Software Foundation, Inc., *
|
|
||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#ifndef FDONOTIFICATION_H
|
|
||||||
#define FDONOTIFICATION_H
|
|
||||||
|
|
||||||
#include "../../core/notification.h"
|
|
||||||
|
|
||||||
|
|
||||||
namespace SystemTray
|
|
||||||
{
|
|
||||||
|
|
||||||
class FdoNotification : public Notification
|
|
||||||
{
|
|
||||||
Q_OBJECT
|
|
||||||
|
|
||||||
friend class FdoSelectionManager;
|
|
||||||
friend class FdoSelectionManagerPrivate;
|
|
||||||
|
|
||||||
public:
|
|
||||||
FdoNotification(WId winId, QObject *parent = 0);
|
|
||||||
~FdoNotification();
|
|
||||||
|
|
||||||
signals:
|
|
||||||
void notificationDeleted(WId winId);
|
|
||||||
|
|
||||||
private:
|
|
||||||
WId m_winId;
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
|
@ -43,8 +43,6 @@ void FdoProtocol::init()
|
||||||
m_selectionManager = new FdoSelectionManager;
|
m_selectionManager = new FdoSelectionManager;
|
||||||
connect(m_selectionManager, SIGNAL(taskCreated(SystemTray::Task*)),
|
connect(m_selectionManager, SIGNAL(taskCreated(SystemTray::Task*)),
|
||||||
this, SIGNAL(taskCreated(SystemTray::Task*)));
|
this, SIGNAL(taskCreated(SystemTray::Task*)));
|
||||||
connect(m_selectionManager, SIGNAL(notificationCreated(SystemTray::Notification*)),
|
|
||||||
this, SIGNAL(notificationCreated(SystemTray::Notification*)));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
namespace SystemTray
|
namespace SystemTray
|
||||||
{
|
{
|
||||||
|
|
||||||
class Notification;
|
|
||||||
class Task;
|
class Task;
|
||||||
class X11EmbedPainter;
|
class X11EmbedPainter;
|
||||||
class FdoSelectionManagerPrivate;
|
class FdoSelectionManagerPrivate;
|
||||||
|
@ -49,7 +48,6 @@ public:
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
void taskCreated(SystemTray::Task *task);
|
void taskCreated(SystemTray::Task *task);
|
||||||
void notificationCreated(SystemTray::Notification *notification);
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
bool x11Event(XEvent *event);
|
bool x11Event(XEvent *event);
|
||||||
|
|
Loading…
Add table
Reference in a new issue