2013-02-14 14:39:46 +01:00
|
|
|
/*
|
|
|
|
* Copyright 2013 Marco Martin <mart@kde.org>
|
|
|
|
*
|
|
|
|
* 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 PANELVIEW_H
|
|
|
|
#define PANELVIEW_H
|
|
|
|
|
|
|
|
|
|
|
|
#include "view.h"
|
|
|
|
|
|
|
|
|
|
|
|
class PanelView : public View
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2013-02-14 19:11:17 +01:00
|
|
|
explicit PanelView(Plasma::Corona *corona, QWindow *parent = 0);
|
2013-02-14 14:39:46 +01:00
|
|
|
virtual ~PanelView();
|
|
|
|
|
2013-02-21 18:32:32 +01:00
|
|
|
virtual KConfigGroup config() const;
|
|
|
|
|
2013-02-14 21:14:04 +01:00
|
|
|
virtual void init();
|
2013-02-21 17:49:52 +01:00
|
|
|
|
|
|
|
private Q_SLOTS:
|
|
|
|
void positionPanel();
|
|
|
|
|
2013-02-14 14:39:46 +01:00
|
|
|
private:
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // PANELVIEW_H
|