• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

Kate

KateViewEncodingAction Class Reference

#include <kateviewhelpers.h>

Inheritance diagram for KateViewEncodingAction:

Inheritance graph
[legend]

List of all members.


Signals

void triggered (KEncodingProber::ProberType)
void triggered (const QString &)
void triggered (QTextCodec *codec)

Public Member Functions

QTextCodec * codecForMib (int mib) const
QTextCodec * currentCodec () const
int currentCodecMib () const
QString currentCodecName () const
KEncodingProber::ProberType currentProberType () const
 KateViewEncodingAction (KateDocument *_doc, KateView *_view, const QString &text, QObject *parent)
int mibForName (const QString &codecName, bool *ok=0) const
bool setCurrentCodec (int mib)
bool setCurrentCodec (const QString &codecName)
bool setCurrentCodec (QTextCodec *codec)
bool setCurrentProberType (KEncodingProber::ProberType)
 ~KateViewEncodingAction ()

Protected Slots

virtual void actionTriggered (QAction *)

Properties

int codecMib
QString codecName

Detailed Description

Definition at line 194 of file kateviewhelpers.h.


Constructor & Destructor Documentation

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

Definition at line 1654 of file kateviewhelpers.cpp.

KateViewEncodingAction::~KateViewEncodingAction (  ) 

Definition at line 1663 of file kateviewhelpers.cpp.


Member Function Documentation

void KateViewEncodingAction::actionTriggered ( QAction *  action  )  [protected, virtual, slot]

Definition at line 1668 of file kateviewhelpers.cpp.

QTextCodec * KateViewEncodingAction::codecForMib ( int  mib  )  const

Definition at line 1771 of file kateviewhelpers.cpp.

QTextCodec * KateViewEncodingAction::currentCodec (  )  const

Definition at line 1782 of file kateviewhelpers.cpp.

int KateViewEncodingAction::currentCodecMib (  )  const

Definition at line 1824 of file kateviewhelpers.cpp.

QString KateViewEncodingAction::currentCodecName (  )  const

Definition at line 1814 of file kateviewhelpers.cpp.

KEncodingProber::ProberType KateViewEncodingAction::currentProberType (  )  const

Definition at line 1695 of file kateviewhelpers.cpp.

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

Definition at line 1738 of file kateviewhelpers.cpp.

bool KateViewEncodingAction::setCurrentCodec ( int  mib  ) 

Definition at line 1829 of file kateviewhelpers.cpp.

bool KateViewEncodingAction::setCurrentCodec ( const QString &  codecName  ) 

Definition at line 1819 of file kateviewhelpers.cpp.

bool KateViewEncodingAction::setCurrentCodec ( QTextCodec *  codec  ) 

Definition at line 1787 of file kateviewhelpers.cpp.

bool KateViewEncodingAction::setCurrentProberType ( KEncodingProber::ProberType  scri  ) 

Definition at line 1702 of file kateviewhelpers.cpp.

void KateViewEncodingAction::triggered ( KEncodingProber::ProberType   )  [signal]

Autodetection has been selected.

Applicable only if showAutoOptions in c'tor was true

void KateViewEncodingAction::triggered ( const QString &   )  [signal]

Specific (proper) codec was selected.

Returns:
codec name

void KateViewEncodingAction::triggered ( QTextCodec *  codec  )  [signal]

Specific (proper) codec was selected.


Property Documentation

int KateViewEncodingAction::codecMib [read]

Definition at line 199 of file kateviewhelpers.h.

QString KateViewEncodingAction::codecName [read, write]

Definition at line 198 of file kateviewhelpers.h.


The documentation for this class was generated from the following files:
  • kateviewhelpers.h
  • kateviewhelpers.cpp

Kate

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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
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