KDEUI
kacceleratormanager.cpp
Go to the documentation of this file.
361 if (w->focusPolicy() != Qt::NoFocus || label || qobject_cast<QGroupBox*>(w) || qobject_cast<QRadioButton*>( w ))
393 if (qobject_cast<QPushButton*>(w) || qobject_cast<QCheckBox*>(w) || qobject_cast<QRadioButton*>(w) || qobject_cast<QLabel*>(w))
424 if( mainWindow ) // && (mainWindow->layout()->indexOf(bar) != -1)) QMainWindowLayout lacks proper support
629 // kDebug(240) << "wanted " << m_pureText << " " << KAcceleratorManagerPrivate::standardName(m_origText);
684 if (used.indexOf(m_pureText[pos], 0, Qt::CaseInsensitive) == -1 && m_pureText[pos].toLatin1() != 0)
void setText(const QString &text)
QWidget * buddy() const
void clear()
int indexOf(QChar ch, int from, Qt::CaseSensitivity cs) const
QString & append(QChar ch)
Type type() const
bool isValid() const
QWidgetStackAccelManager(QStackedWidget *popup)
Definition: kacceleratormanager.cpp:888
void setTabText(int index, const QString &text)
focusPolicy
bool isWritable() const
QString label(StandardShortcut id)
Returns a localized label for user-visible display.
Definition: kstandardshortcut.cpp:267
virtual const QMetaObject * metaObject() const
bool isTopLevel() const
QString & remove(int position, int n)
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
bool isVisibleTo(QWidget *ancestor) const
count
void clear()
static void manage(QStackedWidget *popup)
Definition: kacceleratormanager.cpp:882
QList< T > findChildren(const QString &name) const
static void last_manage(QString &added, QString &changed, QString &removed)
Definition: kacceleratormanager.cpp:518
bool isPrint() const
int count(const T &value) const
void append(const T &value)
KPopupAccelManager(QMenu *popup)
Definition: kacceleratormanager.cpp:787
bool isSeparator() const
QString & insert(int position, QChar ch)
void resize(int size)
void installEventFilter(QObject *filterObj)
static void setNoAccel(QWidget *widget)
Use this method for a widget (and its children) you want no accels to be set on.
Definition: kacceleratormanager.cpp:915
bool inherits(const char *className) const
windowTitle
bool isEmpty() const
QString tabText(int index) const
currentIndex
textFormat
K_GLOBAL_STATIC_WITH_ARGS(QStringList, kaccmp_sns,(KStandardAction::internal_stdNames())) QMap< QWidget *
typedef Iterator
text
static void findAccelerators(KAccelStringList &result, QString &used)
Definition: kacceleratormanager.cpp:737
QVariant read(const QObject *object) const
int maxWeight(int &index, const QString &used) const
Definition: kacceleratormanager.cpp:678
iterator end()
QString toLower() const
bool contains(QChar ch, Qt::CaseSensitivity cs) const
int indexOfProperty(const char *name) const
QString & replace(int position, int n, QChar after)
QByteArray toLatin1() const
QString escape(const QString &plain)
bool isCheckable() const
QWidget * parentWidget() const
void setWindowTitle(const QString &)
int count(const T &value) const
int length() const
bool mightBeRichText(const QString &text)
QString left(int n) const
bool isValid() const
void calculateWeights(int initialWeight)
Definition: kacceleratormanager.cpp:598
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QList< QAction * > actions() const
QObject * parent() const
QString arg(qlonglong a, int fieldWidth, int base, const QChar &fillChar) const
QString toString() const
static void manage(QWidget *widget, bool programmers_mode=false)
Manages the accelerators of a widget.
Definition: kacceleratormanager.cpp:509
iterator begin()
void removeEventFilter(QObject *obj)
QMetaProperty property(int index) const
bool isLetterOrNumber() const
T findChild(const QString &name) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.