koeditorattachments.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 KOEDITORATTACHMENTS_H
00025 #define KOEDITORATTACHMENTS_H
00026
00027 #include <qpushbutton.h>
00028 #include <klistview.h>
00029
00030 #include <kapplication.h>
00031
00032 #include <libkcal/event.h>
00033
00034 using namespace KCal;
00035
00036 class KOEditorAttachments : public QWidget
00037 {
00038 Q_OBJECT
00039 public:
00040 KOEditorAttachments( int spacing = 8, QWidget *parent = 0,
00041 const char *name = 0 );
00042 ~KOEditorAttachments();
00043
00044 void addAttachment( const QString &uri,
00045 const QString &mimeType = QString::null );
00046
00048 void setDefaults();
00050 void readIncidence( Incidence * );
00052 void writeIncidence( Incidence * );
00053
00054 protected slots:
00055 void showAttachment( QListViewItem *item );
00056 void slotAdd();
00057 void slotEdit();
00058 void slotRemove();
00059 void slotShow();
00060
00061 private:
00062 QListView *mAttachments;
00063 };
00064
00065 #endif
This file is part of the documentation for korganizer Library Version 3.2.2.