diff --git a/plasma/applets/systemtray/protocols/fdo/fdonotification.cpp b/plasma/applets/systemtray/protocols/fdo/fdonotification.cpp deleted file mode 100644 index 08381cf0..00000000 --- a/plasma/applets/systemtray/protocols/fdo/fdonotification.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/*************************************************************************** - * fdonotification.cpp * - * * - * Copyright (C) 2008 Jason Stubbs * - * * - * 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); -} - -} diff --git a/plasma/applets/systemtray/protocols/fdo/fdonotification.h b/plasma/applets/systemtray/protocols/fdo/fdonotification.h deleted file mode 100644 index c35bf692..00000000 --- a/plasma/applets/systemtray/protocols/fdo/fdonotification.h +++ /dev/null @@ -1,52 +0,0 @@ -/*************************************************************************** - * fdonotification.h * - * * - * Copyright (C) 2008 Jason Stubbs * - * * - * 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 diff --git a/plasma/applets/systemtray/protocols/fdo/fdoprotocol.cpp b/plasma/applets/systemtray/protocols/fdo/fdoprotocol.cpp index 7d0e1cee..d7e0cb96 100644 --- a/plasma/applets/systemtray/protocols/fdo/fdoprotocol.cpp +++ b/plasma/applets/systemtray/protocols/fdo/fdoprotocol.cpp @@ -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*))); } } diff --git a/plasma/applets/systemtray/protocols/fdo/fdoselectionmanager.h b/plasma/applets/systemtray/protocols/fdo/fdoselectionmanager.h index c86a2d54..ea91d595 100644 --- a/plasma/applets/systemtray/protocols/fdo/fdoselectionmanager.h +++ b/plasma/applets/systemtray/protocols/fdo/fdoselectionmanager.h @@ -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);