change layout to gridlayout

remove deprecated functions
This commit is contained in:
arcan1s
2014-09-08 00:36:55 +04:00
parent f91c80b5b1
commit ce761db924
5 changed files with 7 additions and 74 deletions

View File

@ -31,7 +31,7 @@
class CustomLabel;
class QGraphicsLinearLayout;
class QGraphicsGridLayout;
class QGraphicsScene;
class AwesomeWidget : public Plasma::Applet
@ -90,11 +90,10 @@ protected:
private:
// functions
void createActions();
void initValues();
QStringList findKeys();
QStringList getKeys();
// ui
QGraphicsLinearLayout *mainLayout = nullptr;
QGraphicsGridLayout *mainLayout = nullptr;
CustomLabel *textLabel = nullptr;
QTimer *timer;
QList<QAction *> contextMenu;