summaryrefslogtreecommitdiffstats
path: root/parts/appwizard/filepropspage.h
blob: adb8f758447e49e335213827cd89ed4263abab44 (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
43
#ifndef FILEPROPSPAGE_H
#define FILEPROPSPAGE_H
#include "filepropspagebase.h"
#include <tqstring.h>
#include <tqptrlist.h>


class ClassFileProp {
 public:
  TQString m_classname;
  TQString m_implfile;
  TQString m_headerfile;
  TQString m_baseclass;
  TQString m_description; // rich text
  /** to idetify this object*/
  TQString m_key; 
  bool m_change_baseclass;
};

class FilePropsPage : public FilePropsPageBase
{ 
    Q_OBJECT
  TQ_OBJECT

public:
    FilePropsPage( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
    ~FilePropsPage();
    void setClassFileProps(TQPtrList<ClassFileProp> props,bool different_header_impl=true);
    TQPtrList<ClassFileProp> getClassFileProps();

public slots:
    void slotSelectionChanged(); 
 virtual void slotClassnameChanged(const TQString&);
 protected:
 
 TQPtrList<ClassFileProp>* m_props;
 bool m_different_header_impl;
 uint m_current_class;
 
};


#endif // FILEPROPSPAGE_H