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

Kate

Signals | Public Member Functions | Properties | List of all members
KateViewEncodingAction Class Reference

#include <kateviewhelpers.h>

Inheritance diagram for KateViewEncodingAction:
Inheritance graph
[legend]

Signals

void triggered (QTextCodec *codec)
 
- Signals inherited from KAction
void authorized (KAuth::Action *action)
 
void globalShortcutChanged (const QKeySequence &)
 
void triggered (Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers)
 

Public Member Functions

 KateViewEncodingAction (KateDocument *_doc, KateView *_view, const QString &text, QObject *parent)
 
 ~KateViewEncodingAction ()
 
QTextCodec * codecForMib (int mib) const
 
QTextCodec * currentCodec () const
 
int currentCodecMib () const
 
QString currentCodecName () const
 
int mibForName (const QString &codecName, bool *ok=0) const
 
bool setCurrentCodec (QTextCodec *codec)
 
bool setCurrentCodec (const QString &codecName)
 
bool setCurrentCodec (int mib)
 
- Public Member Functions inherited from KAction
 KAction (QObject *parent)
 
 KAction (const QString &text, QObject *parent)
 
 KAction (const KIcon &icon, const QString &text, QObject *parent)
 
virtual ~KAction ()
 
KAuth::Action * authAction () const
 
bool event (QEvent *)
 
void forgetGlobalShortcut ()
 
const KShortcut & globalShortcut (ShortcutTypes type=ActiveShortcut) const
 
bool globalShortcutAllowed () const
 
bool isGlobalShortcutEnabled () const
 
bool isShortcutConfigurable () const
 
KRockerGesture rockerGesture (ShortcutTypes type=ActiveShortcut) const
 
void setAuthAction (KAuth::Action *action)
 
void setAuthAction (const QString &actionName)
 
void setGlobalShortcut (const KShortcut &shortcut, ShortcutTypes type=ShortcutTypes(ActiveShortcut|DefaultShortcut), GlobalShortcutLoading loading=Autoloading)
 
void setGlobalShortcutAllowed (bool allowed, GlobalShortcutLoading loading=Autoloading)
 
void setHelpText (const QString &text)
 
void setRockerGesture (const KRockerGesture &gest, ShortcutTypes type=ShortcutTypes(ActiveShortcut|DefaultShortcut))
 
void setShapeGesture (const KShapeGesture &gest, ShortcutTypes type=ShortcutTypes(ActiveShortcut|DefaultShortcut))
 
void setShortcut (const KShortcut &shortcut, ShortcutTypes type=ShortcutTypes(ActiveShortcut|DefaultShortcut))
 
void setShortcut (const QKeySequence &shortcut, ShortcutTypes type=ShortcutTypes(ActiveShortcut|DefaultShortcut))
 
void setShortcutConfigurable (bool configurable)
 
void setShortcuts (const QList< QKeySequence > &shortcuts, ShortcutTypes type=ShortcutTypes(ActiveShortcut|DefaultShortcut))
 
KShapeGesture shapeGesture (ShortcutTypes type=ActiveShortcut) const
 
KShortcut shortcut (ShortcutTypes types=ActiveShortcut) const
 

Properties

int codecMib
 
QString codecName
 
- Properties inherited from KAction
KShortcut globalShortcut
 
bool globalShortcutAllowed
 
bool globalShortcutEnabled
 
KShortcut shortcut
 
bool shortcutConfigurable
 

Additional Inherited Members

- Public Types inherited from KAction
enum  GlobalShortcutLoading
 
enum  ShortcutType
 

Detailed Description

Definition at line 244 of file kateviewhelpers.h.

Constructor & Destructor Documentation

KateViewEncodingAction::KateViewEncodingAction ( KateDocument *  _doc,
KateView *  _view,
const QString &  text,
QObject *  parent 
)

Definition at line 2272 of file kateviewhelpers.cpp.

KateViewEncodingAction::~KateViewEncodingAction ( )

Definition at line 2281 of file kateviewhelpers.cpp.

Member Function Documentation

QTextCodec * KateViewEncodingAction::codecForMib ( int  mib) const

Definition at line 2326 of file kateviewhelpers.cpp.

QTextCodec * KateViewEncodingAction::currentCodec ( ) const

Definition at line 2337 of file kateviewhelpers.cpp.

int KateViewEncodingAction::currentCodecMib ( ) const

Definition at line 2383 of file kateviewhelpers.cpp.

QString KateViewEncodingAction::currentCodecName ( ) const

Definition at line 2373 of file kateviewhelpers.cpp.

int KateViewEncodingAction::mibForName ( const QString &  codecName,
bool *  ok = 0 
) const

Definition at line 2298 of file kateviewhelpers.cpp.

bool KateViewEncodingAction::setCurrentCodec ( QTextCodec *  codec)

Definition at line 2342 of file kateviewhelpers.cpp.

bool KateViewEncodingAction::setCurrentCodec ( const QString &  codecName)

Definition at line 2378 of file kateviewhelpers.cpp.

bool KateViewEncodingAction::setCurrentCodec ( int  mib)

Definition at line 2388 of file kateviewhelpers.cpp.

void KateViewEncodingAction::triggered ( QTextCodec *  codec)
signal

Specific (proper) codec was selected.

Property Documentation

int KateViewEncodingAction::codecMib
read

Definition at line 249 of file kateviewhelpers.h.

QString KateViewEncodingAction::codecName
readwrite

Definition at line 248 of file kateviewhelpers.h.


The documentation for this class was generated from the following files:
  • kateviewhelpers.h
  • kateviewhelpers.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:31:54 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