summaryview_part.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef SUMMARYVIEW_PART_H
00025 #define SUMMARYVIEW_PART_H
00026
00027 #include <qdatetime.h>
00028 #include <kparts/part.h>
00029
00030 #include "core.h"
00031
00032 namespace Kontact
00033 {
00034 class Plugin;
00035 class Summary;
00036 }
00037
00038 namespace KParts
00039 {
00040 class StatusBarExtension;
00041 }
00042
00043 class QFrame;
00044 class QLabel;
00045 class QGridLayout;
00046 class KAction;
00047 class KCMultiDialog;
00048
00049 class SummaryViewPart : public KParts::ReadOnlyPart
00050 {
00051 Q_OBJECT
00052
00053 public:
00054 SummaryViewPart( Kontact::Core *core, const char *widgetName,
00055 const KAboutData *aboutData,
00056 QObject *parent = 0, const char *name = 0 );
00057 ~SummaryViewPart();
00058
00059 public slots:
00060 void slotTextChanged();
00061 void slotAdjustPalette();
00062 void setDate( const QDate& newDate );
00063
00064 signals:
00065 void textChanged( const QString& );
00066
00067 protected:
00068 virtual bool openFile();
00069 void getWidgets();
00070
00071 protected slots:
00072 void slotConfigure();
00073
00074 private:
00075 QStringList configModules() const;
00076
00077 QPtrList<Kontact::Summary> mSummaries;
00078
00079 KParts::StatusBarExtension *mStatusExt;
00080 QGridLayout *mLayout;
00081 QFrame *mFrame;
00082 QLabel *mDateLabel;
00083 Kontact::Core *mCore;
00084 KCMultiDialog *mOptionsDialog;
00085 KAction *mConfigAction;
00086 };
00087
00088 #endif
This file is part of the documentation for kontact Library Version 3.2.2.