plasma: remove unused systemray applet sources

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2022-11-08 17:31:03 +02:00
parent fbc9090815
commit 1d42a30de7
4 changed files with 0 additions and 96 deletions

View file

@ -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);
}
}

View file

@ -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

View file

@ -43,8 +43,6 @@ void FdoProtocol::init()
m_selectionManager = new FdoSelectionManager;
connect(m_selectionManager, SIGNAL(taskCreated(SystemTray::Task*)),
this, SIGNAL(taskCreated(SystemTray::Task*)));
connect(m_selectionManager, SIGNAL(notificationCreated(SystemTray::Notification*)),
this, SIGNAL(notificationCreated(SystemTray::Notification*)));
}
}

View file

@ -27,7 +27,6 @@
namespace SystemTray
{
class Notification;
class Task;
class X11EmbedPainter;
class FdoSelectionManagerPrivate;
@ -49,7 +48,6 @@ public:
signals:
void taskCreated(SystemTray::Task *task);
void notificationCreated(SystemTray::Notification *notification);
protected:
bool x11Event(XEvent *event);