editor.h
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 #ifndef __ktexteditor_editor_h__
00020 #define __ktexteditor_editor_h__
00021 
00022 #include <kparts/part.h>
00023 
00027 namespace KTextEditor
00028 {
00029 
00039 class Editor : public KParts::ReadWritePart
00040 {
00041   friend class PrivateEditor;
00042 
00043   Q_OBJECT
00044 
00045   public:
00049     Editor ( QObject *parent = 0, const char *name = 0  );
00050     virtual ~Editor ();
00051     
00052     unsigned int editorNumber () const;
00053 
00054   private:
00055     class PrivateEditor *d;
00056     static unsigned int globalEditorNumber;
00057     unsigned int myEditorNumber;
00058 };     
00059 
00060 Editor *createEditor ( const char* libname, QWidget *parentWidget = 0, const char *widgetName = 0, QObject *parent = 0, const char *name = 0 );
00061 
00062 }
00063 
00064 #endif
 
This file is part of the documentation for interfaces Library Version 3.2.0.