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 196 of file kateviewhelpers.h.
Constructor & Destructor Documentation
| KateViewEncodingAction::KateViewEncodingAction | ( | KateDocument * | _doc, | |
| KateView * | _view, | |||
| const QString & | text, | |||
| QObject * | parent | |||
| ) |
Definition at line 1665 of file kateviewhelpers.cpp.
| KateViewEncodingAction::~KateViewEncodingAction | ( | ) |
Definition at line 1674 of file kateviewhelpers.cpp.
Member Function Documentation
| void KateViewEncodingAction::actionTriggered | ( | QAction * | action | ) | [protected, virtual, slot] |
Reimplemented from KSelectAction.
Definition at line 1679 of file kateviewhelpers.cpp.
| QTextCodec * KateViewEncodingAction::codecForMib | ( | int | mib | ) | const |
Definition at line 1781 of file kateviewhelpers.cpp.
| QTextCodec * KateViewEncodingAction::currentCodec | ( | ) | const |
Definition at line 1792 of file kateviewhelpers.cpp.
| int KateViewEncodingAction::currentCodecMib | ( | ) | const |
Definition at line 1834 of file kateviewhelpers.cpp.
| QString KateViewEncodingAction::currentCodecName | ( | ) | const |
Definition at line 1824 of file kateviewhelpers.cpp.
| KEncodingProber::ProberType KateViewEncodingAction::currentProberType | ( | ) | const |
Definition at line 1705 of file kateviewhelpers.cpp.
Definition at line 1748 of file kateviewhelpers.cpp.
| bool KateViewEncodingAction::setCurrentCodec | ( | int | mib | ) |
Definition at line 1839 of file kateviewhelpers.cpp.
Definition at line 1829 of file kateviewhelpers.cpp.
| bool KateViewEncodingAction::setCurrentCodec | ( | QTextCodec * | codec | ) |
Definition at line 1797 of file kateviewhelpers.cpp.
| bool KateViewEncodingAction::setCurrentProberType | ( | KEncodingProber::ProberType | scri | ) |
Definition at line 1712 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] |
| void KateViewEncodingAction::triggered | ( | QTextCodec * | codec | ) | [signal] |
Specific (proper) codec was selected.
Property Documentation
int KateViewEncodingAction::codecMib [read] |
Definition at line 201 of file kateviewhelpers.h.
QString KateViewEncodingAction::codecName [read, write] |
Definition at line 200 of file kateviewhelpers.h.
The documentation for this class was generated from the following files:
KDE 4.3 API Reference