• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • applications API Reference
  • KDE Home
  • Contact Us
 

Kate

  • sources
  • kde-4.12
  • applications
  • kate
  • part
  • utils
kateconfig.h
Go to the documentation of this file.
1 /* This file is part of the KDE libraries
2  Copyright (C) 2003 Christoph Cullmann <cullmann@kde.org>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License version 2 as published by the Free Software Foundation.
7 
8  This library is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  Library General Public License for more details.
12 
13  You should have received a copy of the GNU Library General Public License
14  along with this library; see the file COPYING.LIB. If not, write to
15  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16  Boston, MA 02110-1301, USA.
17 */
18 
19 #ifndef __KATE_CONFIG_H__
20 #define __KATE_CONFIG_H__
21 
22 #include "katepartprivate_export.h"
23 
24 #include <ktexteditor/markinterface.h>
25 #include <kencodingprober.h>
26 
27 #include <QtCore/QBitRef>
28 #include <QtGui/QColor>
29 #include <QtCore/QObject>
30 #include <QtCore/QVector>
31 #include <QtGui/QFontMetricsF>
32 #include <QStringListModel>
33 
34 class KConfigGroup;
35 class KateView;
36 class KateDocument;
37 class KateRenderer;
38 
39 class KConfig;
40 
41 class QTextCodec;
42 
43 
47 class KateConfig
48 {
49  public:
53  KateConfig ();
54 
58  virtual ~KateConfig ();
59 
60  public:
67  void configStart ();
68 
73  void configEnd ();
74 
75  protected:
79  virtual void updateConfig () = 0;
80 
81  private:
85  uint configSessionNumber;
86 
90  bool configIsRunning;
91 };
92 
93 class KATEPART_TESTS_EXPORT KateGlobalConfig : public KateConfig
94 {
95  private:
96  friend class KateGlobal;
97 
101  KateGlobalConfig ();
102 
106  ~KateGlobalConfig ();
107 
108  public:
109  static KateGlobalConfig *global () { return s_global; }
110 
111  public:
115  void readConfig (const KConfigGroup &config);
116 
120  void writeConfig (KConfigGroup &config);
121 
122  protected:
123  void updateConfig ();
124 
125  public:
126  KEncodingProber::ProberType proberType () const
127  {
128  return m_proberType;
129  }
130 
131  void setProberType (KEncodingProber::ProberType proberType);
132 
133  QTextCodec *fallbackCodec () const;
134  const QString &fallbackEncoding () const;
135  bool setFallbackEncoding (const QString &encoding);
136 
137  private:
138  KEncodingProber::ProberType m_proberType;
139  QString m_fallbackEncoding;
140 
141  private:
142  static KateGlobalConfig *s_global;
143 };
144 
145 class KATEPART_TESTS_EXPORT KateDocumentConfig : public KateConfig
146 {
147  private:
148  friend class KateGlobal;
149 
150  KateDocumentConfig ();
151 
152  public:
153  KateDocumentConfig (const KConfigGroup &cg);
154 
158  KateDocumentConfig (KateDocument *doc);
159 
163  ~KateDocumentConfig ();
164 
165  inline static KateDocumentConfig *global () { return s_global; }
166 
167  inline bool isGlobal () const { return (this == global()); }
168 
169  public:
173  void readConfig (const KConfigGroup &config);
174 
178  void writeConfig (KConfigGroup &config);
179 
180  protected:
181  void updateConfig ();
182 
183  public:
184  int tabWidth () const;
185  void setTabWidth (int tabWidth);
186 
187  int indentationWidth () const;
188  void setIndentationWidth (int indentationWidth);
189 
190  const QString &indentationMode () const;
191  void setIndentationMode (const QString &identationMode);
192 
193  enum TabHandling
194  {
195  tabInsertsTab = 0,
196  tabIndents = 1,
197  tabSmart = 2
198  };
199 
200  uint tabHandling () const;
201  void setTabHandling (uint tabHandling);
202 
203  bool wordWrap () const;
204  void setWordWrap (bool on);
205 
206  int wordWrapAt () const;
207  void setWordWrapAt (int col);
208 
209  bool pageUpDownMovesCursor () const;
210  void setPageUpDownMovesCursor (bool on);
211 
212  void setKeepExtraSpaces (bool on);
213  bool keepExtraSpaces () const;
214 
215  void setIndentPastedText (bool on);
216  bool indentPastedText () const;
217 
218  void setBackspaceIndents (bool on);
219  bool backspaceIndents () const;
220 
221  void setSmartHome (bool on);
222  bool smartHome () const;
223 
224  void setShowTabs (bool on);
225  bool showTabs() const;
226 
227  void setShowSpaces (bool on);
228  bool showSpaces() const;
229 
230  void setReplaceTabsDyn (bool on);
231  bool replaceTabsDyn() const;
232 
239  void setRemoveSpaces (int triState);
240  int removeSpaces () const;
241 
242  void setNewLineAtEof (bool on);
243  bool newLineAtEof () const;
244 
245  void setOvr (bool on);
246  bool ovr () const;
247 
248  void setTabIndents (bool on);
249  bool tabIndentsEnabled () const;
250 
251  QTextCodec *codec () const;
252  const QString &encoding () const;
253  bool setEncoding (const QString &encoding);
254  bool isSetEncoding () const;
255 
256  enum Eol
257  {
258  eolUnix = 0,
259  eolDos = 1,
260  eolMac = 2
261  };
262 
263  int eol () const;
264  QString eolString ();
265 
266  void setEol (int mode);
267 
268  bool bom () const;
269  void setBom(bool bom);
270 
271  bool allowEolDetection () const;
272  void setAllowEolDetection (bool on);
273 
274  bool allowSimpleMode () const;
275  void setAllowSimpleMode (bool on);
276 
277  enum BackupFlags
278  {
279  LocalFiles=1,
280  RemoteFiles=2
281  };
282 
283  uint backupFlags () const;
284  void setBackupFlags (uint flags);
285 
286  const QString &backupPrefix () const;
287  void setBackupPrefix (const QString &prefix);
288 
289  const QString &backupSuffix () const;
290  void setBackupSuffix (const QString &suffix);
291 
292  bool swapFileNoSync() const;
293  void setSwapFileNoSync(bool on);
294 
300  int searchDirConfigDepth () const;
301 
302  void setSearchDirConfigDepth (int depth);
303 
304  bool onTheFlySpellCheck() const;
305  void setOnTheFlySpellCheck(bool on);
306 
307  int lineLengthLimit() const;
308  void setLineLengthLimit(int limit);
309 
310 
311  private:
312  QString m_indentationMode;
313  int m_indentationWidth;
314  int m_tabWidth;
315  uint m_tabHandling;
316  uint m_configFlags;
317  int m_wordWrapAt;
318  bool m_wordWrap;
319  bool m_pageUpDownMovesCursor;
320  bool m_allowEolDetection;
321  bool m_allowSimpleMode;
322  int m_eol;
323  bool m_bom;
324  uint m_backupFlags;
325  int m_searchDirConfigDepth;
326  QString m_encoding;
327  QString m_backupPrefix;
328  QString m_backupSuffix;
329  bool m_swapFileNoSync;
330  bool m_onTheFlySpellCheck;
331  int m_lineLengthLimit;
332 
333  bool m_tabWidthSet : 1;
334  bool m_indentationWidthSet : 1;
335  bool m_indentationModeSet : 1;
336  bool m_wordWrapSet : 1;
337  bool m_wordWrapAtSet : 1;
338  bool m_pageUpDownMovesCursorSet : 1;
339 
340  bool m_keepExtraSpacesSet : 1;
341  bool m_keepExtraSpaces : 1;
342  bool m_indentPastedTextSet : 1;
343  bool m_indentPastedText : 1;
344  bool m_backspaceIndentsSet : 1;
345  bool m_backspaceIndents : 1;
346  bool m_smartHomeSet : 1;
347  bool m_smartHome : 1;
348  bool m_showTabsSet : 1;
349  bool m_showTabs : 1;
350  bool m_showSpacesSet : 1;
351  bool m_showSpaces : 1;
352  bool m_replaceTabsDynSet : 1;
353  bool m_replaceTabsDyn : 1;
354  bool m_removeSpacesSet : 1;
355  uint m_removeSpaces : 2;
356  bool m_newLineAtEofSet : 1;
357  bool m_newLineAtEof : 1;
358  bool m_overwiteModeSet : 1;
359  bool m_overwiteMode : 1;
360  bool m_tabIndentsSet : 1;
361  bool m_tabIndents : 1;
362 
363  bool m_encodingSet : 1;
364  bool m_eolSet : 1;
365  bool m_bomSet :1;
366  bool m_allowEolDetectionSet : 1;
367  bool m_allowSimpleModeSet : 1;
368  bool m_backupFlagsSet : 1;
369  bool m_searchDirConfigDepthSet : 1;
370  bool m_backupPrefixSet : 1;
371  bool m_backupSuffixSet : 1;
372  bool m_swapFileNoSyncSet : 1;
373  bool m_onTheFlySpellCheckSet : 1;
374  bool m_lineLengthLimitSet : 1;
375 
376  private:
377  static KateDocumentConfig *s_global;
378  KateDocument *m_doc;
379 };
380 
381 class KATEPART_TESTS_EXPORT KateViewConfig : public KateConfig
382 {
383  private:
384  friend class KateGlobal;
385 
389  KateViewConfig ();
390 
391  public:
395  explicit KateViewConfig (KateView *view);
396 
400  ~KateViewConfig ();
401 
402  inline static KateViewConfig *global () { return s_global; }
403 
404  inline bool isGlobal () const { return (this == global()); }
405 
406  public:
410  void readConfig (const KConfigGroup &config);
411 
415  void writeConfig (KConfigGroup &config);
416 
417  protected:
418  void updateConfig ();
419 
420  public:
421  bool dynWordWrap () const;
422  void setDynWordWrap (bool wrap);
423 
424  int dynWordWrapIndicators () const;
425  void setDynWordWrapIndicators (int mode);
426 
427  int dynWordWrapAlignIndent () const;
428  void setDynWordWrapAlignIndent (int indent);
429 
430  bool lineNumbers () const;
431  void setLineNumbers (bool on);
432 
433  bool scrollBarMarks () const;
434  void setScrollBarMarks (bool on);
435 
436  bool scrollBarMiniMap () const;
437  void setScrollBarMiniMap (bool on);
438 
439  bool scrollBarMiniMapAll () const;
440  void setScrollBarMiniMapAll (bool on);
441 
442  int scrollBarMiniMapWidth () const;
443  void setScrollBarMiniMapWidth (int width);
444 
445  bool iconBar () const;
446  void setIconBar (bool on);
447 
448  bool foldingBar () const;
449  void setFoldingBar (bool on);
450 
451  bool lineModification() const;
452  void setLineModification(bool on);
453 
454  int bookmarkSort () const;
455  void setBookmarkSort (int mode);
456 
457  int autoCenterLines() const;
458  void setAutoCenterLines (int lines);
459 
460  enum SearchFlags {
461  IncMatchCase = 1 << 0,
462  IncHighlightAll = 1 << 1,
463  IncFromCursor = 1 << 2,
464  PowerMatchCase = 1 << 3,
465  PowerHighlightAll = 1 << 4,
466  PowerFromCursor = 1 << 5,
467  // PowerSelectionOnly = 1 << 6, Better not save to file // Sebastian
468  PowerModePlainText = 1 << 7,
469  PowerModeWholeWords = 1 << 8,
470  PowerModeEscapeSequences = 1 << 9,
471  PowerModeRegularExpression = 1 << 10,
472  PowerUsePlaceholders = 1 << 11
473  };
474 
475  long searchFlags () const;
476  void setSearchFlags (long flags);
477 
478  int maxHistorySize() const;
479 
480  QStringListModel *patternHistoryModel();
481  QStringListModel *replacementHistoryModel();
482 
483  uint defaultMarkType () const;
484  void setDefaultMarkType (uint type);
485 
486  bool allowMarkMenu () const;
487  void setAllowMarkMenu (bool allow);
488 
489  bool persistentSelection () const;
490  void setPersistentSelection (bool on);
491 
492  bool viInputMode () const;
493  void setViInputMode (bool on);
494 
495  bool viInputModeStealKeys () const;
496  void setViInputModeStealKeys (bool on);
497 
498  bool viInputModeEmulateCommandBar() const;
499  void setViInputModeEmulateCommandBar(bool on);
500 
501  // Do we still need the enum and related functions below?
502  enum TextToSearch
503  {
504  Nowhere = 0,
505  SelectionOnly = 1,
506  SelectionWord = 2,
507  WordOnly = 3,
508  WordSelection = 4
509  };
510 
511  bool automaticCompletionInvocation () const;
512  void setAutomaticCompletionInvocation (bool on);
513 
514  bool wordCompletion () const;
515  void setWordCompletion (bool on);
516 
517  int wordCompletionMinimalWordLength () const;
518  void setWordCompletionMinimalWordLength (int length);
519 
520  bool wordCompletionRemoveTail () const;
521  void setWordCompletionRemoveTail (bool on);
522 
523  bool smartCopyCut() const;
524  void setSmartCopyCut(bool on);
525 
526  bool scrollPastEnd() const;
527  void setScrollPastEnd(bool on);
528 
529  private:
530  bool m_dynWordWrap;
531  int m_dynWordWrapIndicators;
532  int m_dynWordWrapAlignIndent;
533  bool m_lineNumbers;
534  bool m_scrollBarMarks;
535  bool m_scrollBarMiniMap;
536  bool m_scrollBarMiniMapAll;
537  int m_scrollBarMiniMapWidth;
538  bool m_iconBar;
539  bool m_foldingBar;
540  bool m_lineModification;
541  int m_bookmarkSort;
542  int m_autoCenterLines;
543  long m_searchFlags;
544  int m_maxHistorySize;
545  QStringListModel m_patternHistoryModel;
546  QStringListModel m_replacementHistoryModel;
547  uint m_defaultMarkType;
548  bool m_persistentSelection;
549  bool m_viInputMode;
550  bool m_viInputModeStealKeys;
551  bool m_viInputModeEmulateCommandBar;
552  bool m_automaticCompletionInvocation;
553  bool m_wordCompletion;
554  int m_wordCompletionMinimalWordLength;
555  bool m_wordCompletionRemoveTail;
556  bool m_smartCopyCut;
557  bool m_scrollPastEnd;
558 
559  bool m_dynWordWrapSet : 1;
560  bool m_dynWordWrapIndicatorsSet : 1;
561  bool m_dynWordWrapAlignIndentSet : 1;
562  bool m_lineNumbersSet : 1;
563  bool m_scrollBarMarksSet : 1;
564  bool m_scrollBarMiniMapSet : 1;
565  bool m_scrollBarMiniMapAllSet : 1;
566  bool m_scrollBarMiniMapWidthSet : 1;
567  bool m_iconBarSet : 1;
568  bool m_foldingBarSet : 1;
569  bool m_lineModificationSet : 1;
570  bool m_bookmarkSortSet : 1;
571  bool m_autoCenterLinesSet : 1;
572  bool m_searchFlagsSet : 1;
573  bool m_defaultMarkTypeSet : 1;
574  bool m_persistentSelectionSet : 1;
575  bool m_viInputModeSet : 1;
576  bool m_viInputModeStealKeysSet : 1;
577  bool m_viInputModeEmulateCommandBarSet : 1;
578  bool m_automaticCompletionInvocationSet : 1;
579  bool m_wordCompletionSet : 1;
580  bool m_wordCompletionMinimalWordLengthSet : 1;
581  bool m_smartCopyCutSet : 1;
582  bool m_scrollPastEndSet : 1;
583  bool m_allowMarkMenu : 1;
584  bool m_wordCompletionRemoveTailSet : 1;
585 
586  private:
587  static KateViewConfig *s_global;
588  KateView *m_view;
589 };
590 
591 class KATEPART_TESTS_EXPORT KateRendererConfig : public KateConfig
592 {
593  private:
594  friend class KateGlobal;
595 
599  KateRendererConfig ();
600 
601 
602  public:
606  KateRendererConfig (KateRenderer *renderer);
607 
611  ~KateRendererConfig ();
612 
613  inline static KateRendererConfig *global () { return s_global; }
614 
615  inline bool isGlobal () const { return (this == global()); }
616 
617  public:
621  void readConfig (const KConfigGroup &config);
622 
626  void writeConfig (KConfigGroup &config);
627 
628  protected:
629  void updateConfig ();
630 
631  public:
632  const QString &schema () const;
633  void setSchema (const QString &schema);
634 
640  void reloadSchema();
641 
642  const QFont& font() const;
643  const QFontMetricsF& fontMetrics() const;
644  void setFont(const QFont &font);
645 
646  bool wordWrapMarker () const;
647  void setWordWrapMarker (bool on);
648 
649  const QColor& backgroundColor() const;
650  void setBackgroundColor (const QColor &col);
651 
652  const QColor& selectionColor() const;
653  void setSelectionColor (const QColor &col);
654 
655  const QColor& highlightedLineColor() const;
656  void setHighlightedLineColor (const QColor &col);
657 
658  const QColor& lineMarkerColor(KTextEditor::MarkInterface::MarkTypes type = KTextEditor::MarkInterface::markType01) const; // markType01 == Bookmark
659  void setLineMarkerColor (const QColor &col, KTextEditor::MarkInterface::MarkTypes type = KTextEditor::MarkInterface::markType01);
660 
661  const QColor& highlightedBracketColor() const;
662  void setHighlightedBracketColor (const QColor &col);
663 
664  const QColor& wordWrapMarkerColor() const;
665  void setWordWrapMarkerColor (const QColor &col);
666 
667  const QColor& tabMarkerColor() const;
668  void setTabMarkerColor (const QColor &col);
669 
670  const QColor& indentationLineColor() const;
671  void setIndentationLineColor (const QColor &col);
672 
673  const QColor& iconBarColor() const;
674  void setIconBarColor (const QColor &col);
675 
676  const QColor& foldingColor() const;
677  void setFoldingColor (const QColor &col);
678 
679  // the line number color is used for the line numbers on the left bar
680  const QColor& lineNumberColor() const;
681  void setLineNumberColor (const QColor &col);
682 
683  // the color of the separator between line numbers and icon bar
684  const QColor& separatorColor() const;
685  void setSeparatorColor(const QColor &col);
686 
687  const QColor& spellingMistakeLineColor() const;
688  void setSpellingMistakeLineColor (const QColor &col);
689 
690  bool showIndentationLines () const;
691  void setShowIndentationLines (bool on);
692 
693  bool showWholeBracketExpression () const;
694  void setShowWholeBracketExpression (bool on);
695 
696  const QColor &templateBackgroundColor() const;
697  const QColor &templateEditablePlaceholderColor() const;
698  const QColor &templateFocusedEditablePlaceholderColor() const;
699  const QColor &templateNotEditablePlaceholderColor() const;
700 
701  const QColor& modifiedLineColor() const;
702  void setModifiedLineColor(const QColor &col);
703 
704  const QColor& savedLineColor() const;
705  void setSavedLineColor(const QColor &col);
706 
707  const QColor& searchHighlightColor() const;
708  void setSearchHighlightColor(const QColor &col);
709 
710  const QColor& replaceHighlightColor() const;
711  void setReplaceHighlightColor(const QColor &col);
712 
713  private:
717  void setSchemaInternal(const QString &schema);
718 
719  QString m_schema;
720  QFont m_font;
721  QFontMetricsF m_fontMetrics;
722  bool m_wordWrapMarker;
723  bool m_showIndentationLines;
724  bool m_showWholeBracketExpression;
725  QColor m_backgroundColor;
726  QColor m_selectionColor;
727  QColor m_highlightedLineColor;
728  QColor m_highlightedBracketColor;
729  QColor m_wordWrapMarkerColor;
730  QColor m_tabMarkerColor;
731  QColor m_indentationLineColor;
732  QColor m_iconBarColor;
733  QColor m_foldingColor;
734  QColor m_lineNumberColor;
735  QColor m_separatorColor;
736  QColor m_spellingMistakeLineColor;
737  QVector<QColor> m_lineMarkerColor;
738 
739  QColor m_templateBackgroundColor;
740  QColor m_templateEditablePlaceholderColor;
741  QColor m_templateFocusedEditablePlaceholderColor;
742  QColor m_templateNotEditablePlaceholderColor;
743 
744  QColor m_modifiedLineColor;
745  QColor m_savedLineColor;
746  QColor m_searchHighlightColor;
747  QColor m_replaceHighlightColor;
748 
749  bool m_schemaSet : 1;
750  bool m_fontSet : 1;
751  bool m_wordWrapMarkerSet : 1;
752  bool m_showIndentationLinesSet : 1;
753  bool m_showWholeBracketExpressionSet : 1;
754  bool m_backgroundColorSet : 1;
755  bool m_selectionColorSet : 1;
756  bool m_highlightedLineColorSet : 1;
757  bool m_highlightedBracketColorSet : 1;
758  bool m_wordWrapMarkerColorSet : 1;
759  bool m_tabMarkerColorSet : 1;
760  bool m_indentationLineColorSet : 1;
761  bool m_iconBarColorSet : 1;
762  bool m_foldingColorSet : 1;
763  bool m_lineNumberColorSet : 1;
764  bool m_separatorColorSet : 1;
765  bool m_spellingMistakeLineColorSet : 1;
766  bool m_templateColorsSet : 1;
767  bool m_modifiedLineColorSet : 1;
768  bool m_savedLineColorSet : 1;
769  bool m_searchHighlightColorSet : 1;
770  bool m_replaceHighlightColorSet : 1;
771  QBitArray m_lineMarkerColorSet;
772 
773  private:
774  static KateRendererConfig *s_global;
775  KateRenderer *m_renderer;
776 };
777 
778 #endif
779 
780 // kate: space-indent on; indent-width 2; replace-tabs on;
QColor
KateGlobal::writeConfig
void writeConfig(KConfig *config=0)
Write editor configuration to given config object.
Definition: kateglobal.cpp:274
KTextEditor::MarkInterface::markType01
KateConfig
Base Class for the Kate Config Classes.
Definition: kateconfig.h:47
KateDocumentConfig::BackupFlags
BackupFlags
Definition: kateconfig.h:277
KateConfig::updateConfig
virtual void updateConfig()=0
do the real update
KateConfig::configEnd
void configEnd()
end a config change transaction, update the concerned documents/views/renderers
Definition: kateconfig.cpp:63
KateDocumentConfig::isGlobal
bool isGlobal() const
Definition: kateconfig.h:167
KATEPART_TESTS_EXPORT
#define KATEPART_TESTS_EXPORT
Definition: katepartprivate_export.h:36
QString
KateConfig::configStart
void configStart()
start some config changes this method is needed to init some kind of transaction for config changes...
Definition: kateconfig.cpp:53
KateRenderer
Handles all of the work of rendering the text (used for the views and printing)
Definition: katerenderer.h:50
KateGlobalConfig
Definition: kateconfig.h:93
KateConfig::KateConfig
KateConfig()
Default Constructor.
Definition: kateconfig.cpp:44
kencodingprober.h
katepartprivate_export.h
KateGlobal::KateDocumentConfig
friend class KateDocumentConfig
Definition: kateglobal.h:117
markinterface.h
KateRendererConfig::global
static KateRendererConfig * global()
Definition: kateconfig.h:613
KateGlobalConfig::proberType
KEncodingProber::ProberType proberType() const
Definition: kateconfig.h:126
KateViewConfig::TextToSearch
TextToSearch
Definition: kateconfig.h:502
KateViewConfig::SearchFlags
SearchFlags
Definition: kateconfig.h:460
KateGlobalConfig::global
static KateGlobalConfig * global()
Definition: kateconfig.h:109
KateDocumentConfig::TabHandling
TabHandling
Definition: kateconfig.h:193
KateView
Definition: kateview.h:78
KateDocument
Definition: katedocument.h:74
KateGlobal::readConfig
void readConfig(KConfig *config=0)
Configuration management.
Definition: kateglobal.cpp:258
KConfigGroup
KTextEditor::MarkInterface::MarkTypes
MarkTypes
QFont
KConfig
KateRendererConfig
Definition: kateconfig.h:591
KEncodingProber::ProberType
ProberType
KateGlobal
KateGlobal One instance of this class is hold alive during a kate part session, as long as any factor...
Definition: kateglobal.h:70
KateDocumentConfig
Definition: kateconfig.h:145
KateViewConfig
Definition: kateconfig.h:381
KateDocumentConfig::global
static KateDocumentConfig * global()
Definition: kateconfig.h:165
KateConfig::~KateConfig
virtual ~KateConfig()
Virtual Destructor.
Definition: kateconfig.cpp:49
KateDocumentConfig::Eol
Eol
Definition: kateconfig.h:256
KateViewConfig::isGlobal
bool isGlobal() const
Definition: kateconfig.h:404
KateViewConfig::global
static KateViewConfig * global()
Definition: kateconfig.h:402
KateRendererConfig::isGlobal
bool isGlobal() const
Definition: kateconfig.h:615
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:51 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Kate

Skip menu "Kate"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

applications API Reference

Skip menu "applications API Reference"
  •   kate
  •       kate
  •   KTextEditor
  •   Kate
  • Applications
  •   Libraries
  •     libkonq
  • Konsole

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal