implement autoupdate function to aw (see #32)

This commit is contained in:
arcan1s
2014-10-11 03:38:19 +04:00
parent 171d545562
commit 9e82210463
3 changed files with 59 additions and 5 deletions

View File

@ -33,6 +33,7 @@
class CustomLabel;
class QGraphicsGridLayout;
class QGraphicsScene;
class QNetworkReply;
class AwesomeWidget : public Plasma::Applet
{
@ -55,6 +56,7 @@ public slots:
// contextual actions
void showKsysguard();
void showReadme();
void showUpdates(QString version);
// dataengine
void addDiskDevice(const QString source);
void connectToEngine();
@ -70,8 +72,9 @@ public slots:
void updateTooltip();
private slots:
bool checkUpdates();
void checkUpdates();
void reinit();
void replyRecieved(QNetworkReply *reply);
// configuration interface
void addNewCustomCommand(QTableWidgetItem *item);
void addNewPkgCommand(QTableWidgetItem *item);
@ -85,6 +88,9 @@ private slots:
void setFontFormating();
void setFormating();
signals:
void thereIsUpdates(QString version);
protected:
QList<QAction *> contextualActions();
void createConfigurationInterface(KConfigDialog *parent);