comparison ui/mainwindow.h @ 461:1ce835c40eb7

Ask the user if software updates should be installed.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 23 Apr 2014 16:37:17 +0200
parents 37a97621b466
children 9be337ea1e3c
comparison
equal deleted inserted replaced
460:f8bed9008362 461:1ce835c40eb7
61 void setState(CurrentState state) {mCurState = state;} 61 void setState(CurrentState state) {mCurState = state;}
62 62
63 private slots: 63 private slots:
64 void showMessage(); 64 void showMessage();
65 void iconActivated(QSystemTrayIcon::ActivationReason reason); 65 void iconActivated(QSystemTrayIcon::ActivationReason reason);
66 void checkUpdates(); 66 void checkUpdates(bool downloadSW = false);
67 void handleNewList(const QString& fileName, const QDateTime& modDate); 67 void handleNewList(const QString& fileName, const QDateTime& modDate);
68 void handleNewSW(const QString& fileName, const QDateTime& modDate); 68 void handleNewSW(const QString& fileName, const QDateTime& modDate);
69 void downloaderError(const QString &message, SSLConnection::ErrorCode error); 69 void downloaderError(const QString &message, SSLConnection::ErrorCode error);
70 /** @brief Trigger the appropiate action depending on the state */ 70 /** @brief Trigger the appropiate action depending on the state */
71 void messageClicked(); 71 void messageClicked();
76 void showDetails(QListWidgetItem*); 76 void showDetails(QListWidgetItem*);
77 void resizeButtons(); 77 void resizeButtons();
78 void installerError(const QString& errMsg); 78 void installerError(const QString& errMsg);
79 void installerSuccess(); 79 void installerSuccess();
80 void installCerts(); 80 void installCerts();
81 void newSWAvailable(const QString& fileName, const QDateTime& modDate);
81 82
82 /** @brief saves the currently unselected certificates 83 /** @brief saves the currently unselected certificates
83 * 84 *
84 * This creates / updates a qsettings section that 85 * This creates / updates a qsettings section that
85 * [unselected] that contains the certificates that 86 * [unselected] that contains the certificates that

http://wald.intevation.org/projects/trustbridge/