tdeprint
kmwinfobase.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KMWINFOBASE_H
00021 #define KMWINFOBASE_H
00022
00023 #include "kmwizardpage.h"
00024 #include <tqptrlist.h>
00025
00026 class TQLabel;
00027 class TQLineEdit;
00028
00029 class TDEPRINT_EXPORT KMWInfoBase : public KMWizardPage
00030 {
00031 public:
00032 KMWInfoBase(int n = 1, TQWidget *parent = 0, const char *name = 0);
00033
00034 void setInfo(const TQString&);
00035 void setLabel(int, const TQString&);
00036 void setText(int, const TQString&);
00037 void setCurrent(int);
00038
00039 TQString text(int);
00040
00041 protected:
00042 TQLineEdit* lineEdit( int );
00043
00044 private:
00045 TQPtrList<TQLabel> m_labels;
00046 TQPtrList<TQLineEdit> m_edits;
00047 TQLabel *m_info;
00048 int m_nlines;
00049 };
00050
00051 #endif