katedocumenthelpers.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef __KATE_DOCUMENT_HELPERS__
00022 #define __KATE_DOCUMENT_HELPERS__
00023
00024 #include "../interfaces/document.h"
00025
00026 #include <kparts/browserextension.h>
00027
00028 #include <qstringlist.h>
00029 #include <qguardedptr.h>
00030
00031 class KateDocument;
00032
00036 class KateBrowserExtension : public KParts::BrowserExtension
00037 {
00038 Q_OBJECT
00039
00040 public:
00045 KateBrowserExtension( KateDocument* doc );
00046
00047 public slots:
00051 void copy();
00052
00056 void slotSelectionChanged();
00057
00061 void print();
00062
00063 private:
00067 KateDocument* m_doc;
00068 };
00069
00073 class KateExportAction: public Kate::ActionMenu
00074 {
00075 Q_OBJECT
00076
00077 public:
00084 KateExportAction(const QString& text, QObject* parent = 0, const char* name = 0);
00085
00090 void updateMenu (Kate::Document *doc);
00091
00092 private slots:
00097 void filterChoosen(int f);
00098
00099 private:
00103 QGuardedPtr<Kate::Document> m_doc;
00104
00108 QStringList filter;
00109 };
00110
00111 #endif
00112
This file is part of the documentation for kate Library Version 3.4.1.