Mercurial > trustbridge
comparison ui/mainwindow.h @ 375:9e38a4bcd44e
Move certificateitem role into the certificateitemdelagate where it belongs.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 15 Apr 2014 12:06:03 +0200 |
parents | 6cc124e79066 |
children | 3be838c3e4d8 |
comparison
equal
deleted
inserted
replaced
374:4836537f87da | 375:9e38a4bcd44e |
---|---|
43 BeforeDownload, | 43 BeforeDownload, |
44 NewListAvailable, | 44 NewListAvailable, |
45 NewSoftwareAvailable, | 45 NewSoftwareAvailable, |
46 TransferError | 46 TransferError |
47 }; | 47 }; |
48 | |
49 enum ItemRole { | |
50 DetailsRole = Qt::UserRole, /* The certificate details for the window */ | |
51 StatusRole, /* Certificate status */ | |
52 B64LineRole /* The I:/R: <cert> line */ | |
53 }; | |
54 | |
55 CurrentState getState() {return mCurState;} | 48 CurrentState getState() {return mCurState;} |
56 void setState(CurrentState state) {mCurState = state;} | 49 void setState(CurrentState state) {mCurState = state;} |
57 | 50 |
58 private slots: | 51 private slots: |
59 void showMessage(); | 52 void showMessage(); |