• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • @topname@
  • Sitemap
  • Contact Us
 

interfaces/ktexteditor

editorchooser.h

00001 #ifndef _EDITOR_CHOOSER_H_
00002 #define  _EDITOR_CHOOSER_H_
00003 
00004 #include <ktexteditor/editor.h>
00005 #include <ktexteditor/document.h>
00006 
00007 #include <qwidget.h>
00008 
00009 class KConfig;
00010 class QString;
00011 
00012 namespace KTextEditor
00013 {
00014 
00015 class KTEXTEDITOR_EXPORT EditorChooser: public QWidget
00016 {                    
00017   friend class PrivateEditorChooser;
00018 
00019   Q_OBJECT
00020 
00021   public:
00022     EditorChooser(QWidget *parent=0,const char *name=0);
00023     virtual ~EditorChooser();
00024     
00025    /* void writeSysDefault();*/
00026 
00027     void readAppSetting(const QString& postfix=QString::null);
00028     void writeAppSetting(const QString& postfix=QString::null);
00029 
00030     static KTextEditor::Document *createDocument(QObject* parent=0,const char *name=0,const QString& postfix=QString::null, bool fallBackToKatePart=true);
00031     static KTextEditor::Editor *createEditor(QWidget *parentWidget,QObject *parent,const char* widgetName=0,const char* name=0,const QString& postfix=QString::null,bool fallBackToKatePart=true);
00032   private:
00033     class PrivateEditorChooser *d;
00034 };
00035 
00036 /*
00037 class EditorChooserBackEnd: public ComponentChooserPlugin {
00038 
00039 Q_OBJECT
00040 public:
00041     EditorChooserBackEnd(QObject *parent=0, const char *name=0);
00042     virtual ~EditorChooserBackEnd();
00043 
00044     virtual QWidget *widget(QWidget *);
00045     virtual const QStringList &choices();
00046     virtual void saveSettings();
00047 
00048     void readAppSetting(KConfig *cfg,const QString& postfix);
00049     void writeAppSetting(KConfig *cfg,const QString& postfix);
00050 
00051 public slots:
00052     virtual void madeChoice(int pos,const QString &choice);
00053 
00054 };
00055 */
00056 
00057 }
00058 #endif

interfaces/ktexteditor

Skip menu "interfaces/ktexteditor"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal