blob: 3435dfa270d230dabdf1ba346dbba11b0402ffe3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#ifndef FILEPROPSPAGE_H
#define FILEPROPSPAGE_H
#include "filepropspagebase.h"
#include <qstring.h>
#include <qptrlist.h>
class ClassFileProp {
public:
QString m_classname;
QString m_implfile;
QString m_headerfile;
QString m_baseclass;
QString m_description; // rich text
/** to idetify this object*/
QString m_key;
bool m_change_baseclass;
};
class FilePropsPage : public FilePropsPageBase
{
Q_OBJECT
public:
FilePropsPage( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~FilePropsPage();
void setClassFileProps(QPtrList<ClassFileProp> props,bool different_header_impl=true);
QPtrList<ClassFileProp> getClassFileProps();
public slots:
void slotSelectionChanged();
virtual void slotClassnameChanged(const QString&);
protected:
QPtrList<ClassFileProp>* m_props;
bool m_different_header_impl;
uint m_current_class;
};
#endif // FILEPROPSPAGE_H
|