You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
915 B
43 lines
915 B
#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
|