Kate
KateViewEncodingAction Class Reference
#include <kateviewhelpers.h>

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:
KDE 4.2 API Reference