mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-15 06:45:48 +00:00
implement autoupdate function to aw (see #32)
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user