comparison ui/mainwindow.h @ 640:626507197360 trustbridge-refactor

Updated mainwindow and handle certificate lists.
author Raimund Renkert <rrenkert@intevation.de>
date Tue, 24 Jun 2014 17:07:49 +0200
parents 3a9c0f38bbad
children a7c3ab273d41
comparison
equal deleted inserted replaced
639:c1b35edb097f 640:626507197360
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 toggleInManual(bool state, const Certificate &cert);
82 void removeFromManual(bool state, const Certificate &cert);
81 83
82 void saveAutoUpdate(int state); 84 void saveAutoUpdate(int state);
83 void saveAutoStart(int state); 85 void saveAutoStart(int state);
84 86
85 void togglePages(int button); 87 void togglePages(int button);
115 * Unselected are certificates that are unchecked 117 * Unselected are certificates that are unchecked
116 * in the certListWidget 118 * in the certListWidget
117 * 119 *
118 * Returns false on error. 120 * Returns false on error.
119 */ 121 */
120 bool saveUnselectedCertificates(); 122 bool saveUnselectedCertificates(QStringList unselected);
121 123
122 /** @brief loads previously unselected certificates from settings 124 /** @brief loads previously unselected certificates from settings
123 * 125 *
124 * The certificates are strored in the list mPreviouslyUnselected. 126 * The certificates are strored in the list mPreviouslyUnselected.
125 * 127 *
241 CertificateListWidget *mUpdatesNew; 243 CertificateListWidget *mUpdatesNew;
242 CertificateListWidget *mUpdatesRemove; 244 CertificateListWidget *mUpdatesRemove;
243 CertificateListWidget *mUpdatesManual; 245 CertificateListWidget *mUpdatesManual;
244 CertificateListWidget *mInstallList; 246 CertificateListWidget *mInstallList;
245 CertificateListWidget *mRemoveList; 247 CertificateListWidget *mRemoveList;
248 int mUpdatesNewSize;
249 int mUpdatesRemoveSize;
250 int mUpdatesManualSize;
246 }; 251 };
247 252
248 #endif // MAINWINDOW_H 253 #endif // MAINWINDOW_H

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