comparison src/UiGuiErrorMessage.h @ 751:ac165b6ae67e

Done some refactoring: - Moved includes into the cpp files where possible and using class pre-declarations if possible - Made class member variable names begin with an underscore - Made by uic created header files be used as class members instead of inherting them - Renamed some variables to reflect their purpose better - Added some NULL initializations and added some comments - Rearranged some include and declaration code parts to be consistent and better readable - Updated for QScintilla 2.4.5 - Made UiGuiSettings be accessed via a shared pointer only git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@1028 59b1889a-e5ac-428c-b0c7-476e01d41282
author thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
date Thu, 14 Oct 2010 19:52:47 +0000
parents aae5a8d04f70
children f3631db17328
comparison
equal deleted inserted replaced
750:a884b5861e93 751:ac165b6ae67e
19 19
20 #ifndef UIGUIERRORMESSAGE_H 20 #ifndef UIGUIERRORMESSAGE_H
21 #define UIGUIERRORMESSAGE_H 21 #define UIGUIERRORMESSAGE_H
22 22
23 #include <QErrorMessage> 23 #include <QErrorMessage>
24 #include <QCheckBox> 24
25 class QCheckBox;
26
25 27
26 class UiGuiErrorMessage : public QErrorMessage 28 class UiGuiErrorMessage : public QErrorMessage
27 { 29 {
28 Q_OBJECT 30 Q_OBJECT
29 31
32 ~UiGuiErrorMessage(void); 34 ~UiGuiErrorMessage(void);
33 void showMessage( const QString &message ); 35 void showMessage( const QString &message );
34 void showMessage( const QString &title, const QString &message ); 36 void showMessage( const QString &title, const QString &message );
35 37
36 private: 38 private:
37 QCheckBox *showAgainCheckBox; 39 QCheckBox *_showAgainCheckBox;
38 QStringList errorMessageList; 40 QStringList _errorMessageList;
39 }; 41 };
40 42
41 #endif // UIGUIERRORMESSAGE_H 43 #endif // UIGUIERRORMESSAGE_H