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

Kate

  • kde-4.14
  • 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  /* Whether to show scrollbars */
446  enum ScrollbarMode {
447  AlwaysOn = 0,
448  ShowWhenNeeded,
449  AlwaysOff
450  };
451 
452  int showScrollbars () const;
453  void setShowScrollbars (int mode);
454 
455  bool iconBar () const;
456  void setIconBar (bool on);
457 
458  bool foldingBar () const;
459  void setFoldingBar (bool on);
460 
461  bool lineModification() const;
462  void setLineModification(bool on);
463 
464  int bookmarkSort () const;
465  void setBookmarkSort (int mode);
466 
467  int autoCenterLines() const;
468  void setAutoCenterLines (int lines);
469 
470  enum SearchFlags {
471  IncMatchCase = 1 << 0,
472  IncHighlightAll = 1 << 1,
473  IncFromCursor = 1 << 2,
474  PowerMatchCase = 1 << 3,
475  PowerHighlightAll = 1 << 4,
476  PowerFromCursor = 1 << 5,
477  // PowerSelectionOnly = 1 << 6, Better not save to file // Sebastian
478  PowerModePlainText = 1 << 7,
479  PowerModeWholeWords = 1 << 8,
480  PowerModeEscapeSequences = 1 << 9,
481  PowerModeRegularExpression = 1 << 10,
482  PowerUsePlaceholders = 1 << 11
483  };
484 
485  long searchFlags () const;
486  void setSearchFlags (long flags);
487 
488  int maxHistorySize() const;
489 
490  QStringListModel *patternHistoryModel();
491  QStringListModel *replacementHistoryModel();
492 
493  uint defaultMarkType () const;
494  void setDefaultMarkType (uint type);
495 
496  bool allowMarkMenu () const;
497  void setAllowMarkMenu (bool allow);
498 
499  bool persistentSelection () const;
500  void setPersistentSelection (bool on);
501 
502  bool viInputMode () const;
503  void setViInputMode (bool on);
504 
505  bool viInputModeStealKeys () const;
506  void setViInputModeStealKeys (bool on);
507 
508  bool viRelativeLineNumbers() const;
509  void setViRelativeLineNumbers(bool on);
510 
511  bool viInputModeEmulateCommandBar() const;
512  void setViInputModeEmulateCommandBar(bool on);
513 
514  // Do we still need the enum and related functions below?
515  enum TextToSearch
516  {
517  Nowhere = 0,
518  SelectionOnly = 1,
519  SelectionWord = 2,
520  WordOnly = 3,
521  WordSelection = 4
522  };
523 
524  bool automaticCompletionInvocation () const;
525  void setAutomaticCompletionInvocation (bool on);
526 
527  bool wordCompletion () const;
528  void setWordCompletion (bool on);
529 
530  bool keywordCompletion () const;
531  void setKeywordCompletion (bool on);
532 
533  int wordCompletionMinimalWordLength () const;
534  void setWordCompletionMinimalWordLength (int length);
535 
536  bool wordCompletionRemoveTail () const;
537  void setWordCompletionRemoveTail (bool on);
538 
539  bool smartCopyCut() const;
540  void setSmartCopyCut(bool on);
541 
542  bool scrollPastEnd() const;
543  void setScrollPastEnd(bool on);
544 
545  bool foldFirstLine() const;
546  void setFoldFirstLine(bool on);
547 
548  private:
549  bool m_dynWordWrap;
550  int m_dynWordWrapIndicators;
551  int m_dynWordWrapAlignIndent;
552  bool m_lineNumbers;
553  bool m_scrollBarMarks;
554  bool m_scrollBarMiniMap;
555  bool m_scrollBarMiniMapAll;
556  int m_scrollBarMiniMapWidth;
557  int m_showScrollbars;
558  bool m_iconBar;
559  bool m_foldingBar;
560  bool m_lineModification;
561  int m_bookmarkSort;
562  int m_autoCenterLines;
563  long m_searchFlags;
564  int m_maxHistorySize;
565  QStringListModel m_patternHistoryModel;
566  QStringListModel m_replacementHistoryModel;
567  uint m_defaultMarkType;
568  bool m_persistentSelection;
569  bool m_viInputMode;
570  bool m_viInputModeStealKeys;
571  bool m_viRelativeLineNumbers;
572  bool m_viInputModeEmulateCommandBar;
573  bool m_automaticCompletionInvocation;
574  bool m_wordCompletion;
575  bool m_keywordCompletion;
576  int m_wordCompletionMinimalWordLength;
577  bool m_wordCompletionRemoveTail;
578  bool m_smartCopyCut;
579  bool m_scrollPastEnd;
580  bool m_foldFirstLine;
581 
582  bool m_dynWordWrapSet : 1;
583  bool m_dynWordWrapIndicatorsSet : 1;
584  bool m_dynWordWrapAlignIndentSet : 1;
585  bool m_lineNumbersSet : 1;
586  bool m_scrollBarMarksSet : 1;
587  bool m_scrollBarMiniMapSet : 1;
588  bool m_scrollBarMiniMapAllSet : 1;
589  bool m_scrollBarMiniMapWidthSet : 1;
590  bool m_showScrollbarsSet : 1;
591  bool m_iconBarSet : 1;
592  bool m_foldingBarSet : 1;
593  bool m_lineModificationSet : 1;
594  bool m_bookmarkSortSet : 1;
595  bool m_autoCenterLinesSet : 1;
596  bool m_searchFlagsSet : 1;
597  bool m_defaultMarkTypeSet : 1;
598  bool m_persistentSelectionSet : 1;
599  bool m_viInputModeSet : 1;
600  bool m_viInputModeStealKeysSet : 1;
601  bool m_viRelativeLineNumbersSet : 1;
602  bool m_viInputModeEmulateCommandBarSet : 1;
603  bool m_automaticCompletionInvocationSet : 1;
604  bool m_wordCompletionSet : 1;
605  bool m_keywordCompletionSet : 1;
606  bool m_wordCompletionMinimalWordLengthSet : 1;
607  bool m_smartCopyCutSet : 1;
608  bool m_scrollPastEndSet : 1;
609  bool m_allowMarkMenu : 1;
610  bool m_wordCompletionRemoveTailSet : 1;
611  bool m_foldFirstLineSet : 1;
612 
613  private:
614  static KateViewConfig *s_global;
615  KateView *m_view;
616 };
617 
618 class KATEPART_TESTS_EXPORT KateRendererConfig : public KateConfig
619 {
620  private:
621  friend class KateGlobal;
622 
626  KateRendererConfig ();
627 
628 
629  public:
633  KateRendererConfig (KateRenderer *renderer);
634 
638  ~KateRendererConfig ();
639 
640  inline static KateRendererConfig *global () { return s_global; }
641 
642  inline bool isGlobal () const { return (this == global()); }
643 
644  public:
648  void readConfig (const KConfigGroup &config);
649 
653  void writeConfig (KConfigGroup &config);
654 
655  protected:
656  void updateConfig ();
657 
658  public:
659  const QString &schema () const;
660  void setSchema (const QString &schema);
661 
667  void reloadSchema();
668 
669  const QFont& font() const;
670  const QFontMetricsF& fontMetrics() const;
671  void setFont(const QFont &font);
672 
673  bool wordWrapMarker () const;
674  void setWordWrapMarker (bool on);
675 
676  const QColor& backgroundColor() const;
677  void setBackgroundColor (const QColor &col);
678 
679  const QColor& selectionColor() const;
680  void setSelectionColor (const QColor &col);
681 
682  const QColor& highlightedLineColor() const;
683  void setHighlightedLineColor (const QColor &col);
684 
685  const QColor& lineMarkerColor(KTextEditor::MarkInterface::MarkTypes type = KTextEditor::MarkInterface::markType01) const; // markType01 == Bookmark
686  void setLineMarkerColor (const QColor &col, KTextEditor::MarkInterface::MarkTypes type = KTextEditor::MarkInterface::markType01);
687 
688  const QColor& highlightedBracketColor() const;
689  void setHighlightedBracketColor (const QColor &col);
690 
691  const QColor& wordWrapMarkerColor() const;
692  void setWordWrapMarkerColor (const QColor &col);
693 
694  const QColor& tabMarkerColor() const;
695  void setTabMarkerColor (const QColor &col);
696 
697  const QColor& indentationLineColor() const;
698  void setIndentationLineColor (const QColor &col);
699 
700  const QColor& iconBarColor() const;
701  void setIconBarColor (const QColor &col);
702 
703  const QColor& foldingColor() const;
704  void setFoldingColor (const QColor &col);
705 
706  // the line number color is used for the line numbers on the left bar
707  const QColor& lineNumberColor() const;
708  void setLineNumberColor (const QColor &col);
709 
710  // the color of the separator between line numbers and icon bar
711  const QColor& separatorColor() const;
712  void setSeparatorColor(const QColor &col);
713 
714  const QColor& spellingMistakeLineColor() const;
715  void setSpellingMistakeLineColor (const QColor &col);
716 
717  bool showIndentationLines () const;
718  void setShowIndentationLines (bool on);
719 
720  bool showWholeBracketExpression () const;
721  void setShowWholeBracketExpression (bool on);
722 
723  bool animateBracketMatching () const;
724  void setAnimateBracketMatching (bool on);
725 
726  const QColor &templateBackgroundColor() const;
727  const QColor &templateEditablePlaceholderColor() const;
728  const QColor &templateFocusedEditablePlaceholderColor() const;
729  const QColor &templateNotEditablePlaceholderColor() const;
730 
731  const QColor& modifiedLineColor() const;
732  void setModifiedLineColor(const QColor &col);
733 
734  const QColor& savedLineColor() const;
735  void setSavedLineColor(const QColor &col);
736 
737  const QColor& searchHighlightColor() const;
738  void setSearchHighlightColor(const QColor &col);
739 
740  const QColor& replaceHighlightColor() const;
741  void setReplaceHighlightColor(const QColor &col);
742 
743  private:
747  void setSchemaInternal(const QString &schema);
748 
749  QString m_schema;
750  QFont m_font;
751  QFontMetricsF m_fontMetrics;
752  QColor m_backgroundColor;
753  QColor m_selectionColor;
754  QColor m_highlightedLineColor;
755  QColor m_highlightedBracketColor;
756  QColor m_wordWrapMarkerColor;
757  QColor m_tabMarkerColor;
758  QColor m_indentationLineColor;
759  QColor m_iconBarColor;
760  QColor m_foldingColor;
761  QColor m_lineNumberColor;
762  QColor m_separatorColor;
763  QColor m_spellingMistakeLineColor;
764  QVector<QColor> m_lineMarkerColor;
765 
766  QColor m_templateBackgroundColor;
767  QColor m_templateEditablePlaceholderColor;
768  QColor m_templateFocusedEditablePlaceholderColor;
769  QColor m_templateNotEditablePlaceholderColor;
770 
771  QColor m_modifiedLineColor;
772  QColor m_savedLineColor;
773  QColor m_searchHighlightColor;
774  QColor m_replaceHighlightColor;
775 
776  bool m_wordWrapMarker;
777  bool m_showIndentationLines;
778  bool m_showWholeBracketExpression;
779  bool m_animateBracketMatching;
780 
781  bool m_schemaSet : 1;
782  bool m_fontSet : 1;
783  bool m_wordWrapMarkerSet : 1;
784  bool m_showIndentationLinesSet : 1;
785  bool m_showWholeBracketExpressionSet : 1;
786  bool m_backgroundColorSet : 1;
787  bool m_selectionColorSet : 1;
788  bool m_highlightedLineColorSet : 1;
789  bool m_highlightedBracketColorSet : 1;
790  bool m_wordWrapMarkerColorSet : 1;
791  bool m_tabMarkerColorSet : 1;
792  bool m_indentationLineColorSet : 1;
793  bool m_iconBarColorSet : 1;
794  bool m_foldingColorSet : 1;
795  bool m_lineNumberColorSet : 1;
796  bool m_separatorColorSet : 1;
797  bool m_spellingMistakeLineColorSet : 1;
798  bool m_templateColorsSet : 1;
799  bool m_modifiedLineColorSet : 1;
800  bool m_savedLineColorSet : 1;
801  bool m_searchHighlightColorSet : 1;
802  bool m_replaceHighlightColorSet : 1;
803  QBitArray m_lineMarkerColorSet;
804 
805  private:
806  static KateRendererConfig *s_global;
807  KateRenderer *m_renderer;
808 };
809 
810 #endif
811 
812 // kate: space-indent on; indent-width 2; replace-tabs on;
KateGlobal::writeConfig
void writeConfig(KConfig *config=0)
Write editor configuration to given config object.
Definition: kateglobal.cpp:277
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
QFont
KateConfig::configEnd
void configEnd()
end a config change transaction, update the concerned documents/views/renderers
Definition: kateconfig.cpp:64
KateDocumentConfig::isGlobal
bool isGlobal() const
Definition: kateconfig.h:167
KATEPART_TESTS_EXPORT
#define KATEPART_TESTS_EXPORT
Definition: katepartprivate_export.h:36
KateConfig::configStart
void configStart()
start some config changes this method is needed to init some kind of transaction for config changes...
Definition: kateconfig.cpp:54
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:45
KateViewConfig::ScrollbarMode
ScrollbarMode
Definition: kateconfig.h:446
katepartprivate_export.h
KateGlobal::KateDocumentConfig
friend class KateDocumentConfig
Definition: kateglobal.h:118
KateRendererConfig::global
static KateRendererConfig * global()
Definition: kateconfig.h:640
KateGlobalConfig::proberType
KEncodingProber::ProberType proberType() const
Definition: kateconfig.h:126
KateViewConfig::TextToSearch
TextToSearch
Definition: kateconfig.h:515
KateViewConfig::SearchFlags
SearchFlags
Definition: kateconfig.h:470
QString
QColor
QTextCodec
QBitArray
KateGlobalConfig::global
static KateGlobalConfig * global()
Definition: kateconfig.h:109
KateDocumentConfig::TabHandling
TabHandling
Definition: kateconfig.h:193
QStringListModel
KateView
Definition: kateview.h:77
KateDocument
Definition: katedocument.h:74
KateGlobal::readConfig
void readConfig(KConfig *config=0)
Configuration management.
Definition: kateglobal.cpp:261
KateRendererConfig
Definition: kateconfig.h:618
QVector< QColor >
KateViewConfig::ShowWhenNeeded
Definition: kateconfig.h:448
KateGlobal
KateGlobal One instance of this class is hold alive during a kate part session, as long as any factor...
Definition: kateglobal.h:71
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:50
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:642
QFontMetricsF
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sat May 9 2020 03:56:58 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
  • 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