• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • interfaces/ktexteditor
 

interfaces/ktexteditor

  • interfaces
  • ktexteditor
editorchooser.h
1 #ifndef _EDITOR_CHOOSER_H_
2 #define _EDITOR_CHOOSER_H_
3 
4 #include <ktexteditor/editor.h>
5 #include <ktexteditor/document.h>
6 
7 #include <tqwidget.h>
8 
9 class KConfig;
10 class TQString;
11 
12 namespace KTextEditor
13 {
14 
15 class KTEXTEDITOR_EXPORT EditorChooser: public TQWidget
16 {
17  friend class PrivateEditorChooser;
18 
19  Q_OBJECT
20 
21  public:
22  EditorChooser(TQWidget *parent=0,const char *name=0);
23  virtual ~EditorChooser();
24 
25  /* void writeSysDefault();*/
26 
27  void readAppSetting(const TQString& postfix=TQString::null);
28  void writeAppSetting(const TQString& postfix=TQString::null);
29 
30  static KTextEditor::Document *createDocument(TQObject* parent=0,const char *name=0,const TQString& postfix=TQString::null, bool fallBackToKatePart=true);
31  static KTextEditor::Editor *createEditor(TQWidget *parentWidget,TQObject *parent,const char* widgetName=0,const char* name=0,const TQString& postfix=TQString::null,bool fallBackToKatePart=true);
32  private:
33  class PrivateEditorChooser *d;
34 };
35 
36 /*
37 class EditorChooserBackEnd: public ComponentChooserPlugin {
38 
39 Q_OBJECT
40 public:
41  EditorChooserBackEnd(TQObject *parent=0, const char *name=0);
42  virtual ~EditorChooserBackEnd();
43 
44  virtual TQWidget *widget(TQWidget *);
45  virtual const TQStringList &choices();
46  virtual void saveSettings();
47 
48  void readAppSetting(KConfig *cfg,const TQString& postfix);
49  void writeAppSetting(KConfig *cfg,const TQString& postfix);
50 
51 public slots:
52  virtual void madeChoice(int pos,const TQString &choice);
53 
54 };
55 */
56 
57 }
58 #endif
KTextEditor::Document
The main class representing a text document.
Definition: document.h:32
KTextEditor::Editor
This is a simplfied version of the Document & View classes Usage: Load it, merge it's gui + be happy ...
Definition: editor.h:40
KTextEditor
KTextEditor is KDE's standard text editing KPart interface.
Definition: blockselectiondcopinterface.h:10

interfaces/ktexteditor

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

interfaces/ktexteditor

Skip menu "interfaces/ktexteditor"
  • 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
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for interfaces/ktexteditor by doxygen 1.9.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |