keduca
keduca.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef KEDUCA_H
00019 #define KEDUCA_H
00020
00021
00022
00023
00024
00025
00026
00027 #include <kapplication.h>
00028 #include <kparts/mainwindow.h>
00029 #include <kparts/part.h>
00030 #include <kaction.h>
00031
00034 class Keduca : public KParts::MainWindow
00035 {
00036 Q_OBJECT
00037
00038 public:
00040 Keduca(QWidget* parent=0, const char *name=0, WFlags f = WType_TopLevel | WDestructiveClose);
00042 ~Keduca();
00044 void initGallery(const KURL &urlFile=KURL());
00045
00046 private:
00048 void setupActions();
00050 void configWrite();
00052 void configRead();
00054 bool queryClose();
00055
00056
00057
00059 KRecentFilesAction *_recentFiles;
00061 KParts::ReadOnlyPart *_part;
00062
00063 public slots:
00065 void slotFileOpenURL( const KURL &url );
00067 void slotFileOpen();
00068
00069 private slots:
00071
00073 void slotGallery();
00074 };
00075
00076 #endif