kmwinfobase.h00001
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 <qptrlist.h>
00025
00026 class QLabel;
00027 class QLineEdit;
00028
00029 class KDEPRINT_EXPORT KMWInfoBase : public KMWizardPage
00030 {
00031 public:
00032 KMWInfoBase(int n = 1, QWidget *parent = 0, const char *name = 0);
00033
00034 void setInfo(const QString&);
00035 void setLabel(int, const QString&);
00036 void setText(int, const QString&);
00037 void setCurrent(int);
00038
00039 QString text(int);
00040
00041 protected:
00042 QLineEdit* lineEdit( int );
00043
00044 private:
00045 QPtrList<QLabel> m_labels;
00046 QPtrList<QLineEdit> m_edits;
00047 QLabel *m_info;
00048 int m_nlines;
00049 };
00050
00051 #endif
|