koDocumentInfoDlg.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef __koDocumentInfoDlg_h__
00023 #define __koDocumentInfoDlg_h__
00024
00025 #include <kpropertiesdialog.h>
00026
00027 class KDialogBase;
00028 class KoDocumentInfo;
00029 class KoDocumentInfoAuthor;
00030 class KoDocumentInfoAbout;
00031 class KArchiveEntry;
00032
00033 class KoDocumentInfoDlg : public QObject
00034 {
00035 Q_OBJECT
00036 public:
00037 KoDocumentInfoDlg( KoDocumentInfo *docInfo, QWidget *parent = 0, const char *name = 0,
00038 KDialogBase *dialog = 0 );
00039 virtual ~KoDocumentInfoDlg();
00040
00041 int exec();
00042 KDialogBase *dialog() const;
00043
00044 void save();
00045
00046 signals:
00047 void changed();
00048
00049 private slots:
00050 void loadFromKABC();
00051
00052 private:
00053 void addAuthorPage( KoDocumentInfoAuthor *authorInfo );
00054 void addAboutPage( KoDocumentInfoAbout *aboutInfo );
00055
00056 void save( KoDocumentInfoAuthor *authorInfo );
00057 void save( KoDocumentInfoAbout *aboutInfo );
00058
00059 class KoDocumentInfoDlgPrivate;
00060 KoDocumentInfoDlgPrivate *d;
00061 };
00062
00063 class KoDocumentInfoPropsPage : public KPropsDlgPlugin
00064 {
00065 Q_OBJECT
00066 public:
00067 KoDocumentInfoPropsPage( KPropertiesDialog *props, const char *name = 0,
00068 const QStringList & = QStringList() );
00069 virtual ~KoDocumentInfoPropsPage();
00070
00071 virtual void applyChanges();
00072
00073 private:
00074 void copy( const QString &path, const KArchiveEntry *entry );
00075 class KoDocumentInfoPropsPagePrivate;
00076 KoDocumentInfoPropsPagePrivate *d;
00077 };
00078
00079 #endif
This file is part of the documentation for lib Library Version 1.3.5.