KDEUI
kcodecaction.cpp
Go to the documentation of this file.
76 KCodecAction::KCodecAction(const KIcon &icon, const QString &text, QObject *parent,bool showAutoOptions)
99 KEncodingDetector::AutoDetectScript scri=KEncodingDetector::scriptForName(encodingsForScript.at(0));
QTextCodec * codecForName(const QString &name) const
void defaultItemTriggered()
If showAutoOptions==true, then better handle triggered(KEncodingDetector::AutoDetectScript) signal...
KEncodingDetector::AutoDetectScript currentAutoDetectScript() const
Applicable only if showAutoOptions in c'tor was true.
Definition: kcodecaction.cpp:246
bool setCurrentCodec(QTextCodec *codec)
Definition: kcodecaction.cpp:196
virtual void addAction(QAction *action)
Add action to the list of selectable actions.
Definition: kselectaction.cpp:230
static AutoDetectScript scriptForName(const QString &lang)
QString i18nc(const char *ctxt, const char *text)
AutoDetectScript
int mibForName(const QString &codecName, bool *ok=0) const
Definition: kcodecaction.cpp:117
KCharsets * charsets()
QString encodingForName(const QString &descriptiveName) const
QList< QAction * > actions() const
Returns the list of selectable actions.
Definition: kselectaction.cpp:110
static bool hasAutoDetectionForScript(AutoDetectScript)
bool setCurrentAutoDetectScript(KEncodingDetector::AutoDetectScript)
Applicable only if showAutoOptions in c'tor was true.
Definition: kcodecaction.cpp:253
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
bool setCurrentAction(QAction *action)
Sets the currently checked item.
Definition: kselectaction.cpp:133
KCodecAction(QObject *parent, bool showAutoOptions=false)
Definition: kcodecaction.cpp:62
virtual void actionTriggered(QAction *)
Definition: kcodecaction.cpp:161
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:14 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:14 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.