plasmoid is now popupapplet

This commit is contained in:
arcan1s
2014-08-01 12:20:06 +04:00
parent e9c10e262e
commit c1e23d38a9
3 changed files with 33 additions and 9 deletions

View File

@ -23,6 +23,7 @@
#include <Plasma/Frame>
#include <Plasma/IconWidget>
#include <Plasma/Label>
#include <Plasma/PopupApplet>
#include <QProcess>
#include <ui_about.h>
@ -33,7 +34,7 @@
class QGraphicsLinearLayout;
class Netctl : public Plasma::Applet
class Netctl : public Plasma::PopupApplet
{
Q_OBJECT
@ -62,6 +63,7 @@ public slots:
private slots:
// ui
void updateIcon();
void updateInterface(bool setHidden);
// configuration interface
void selectActiveIcon();
@ -90,6 +92,7 @@ protected:
private:
// ui
QGraphicsWidget *graphicsWidget;
QGraphicsLinearLayout *fullSpaceLayout;
// icon
Plasma::IconWidget *iconWidget;