KDE3Support
k3listbox.cpp
Go to the documentation of this file.
37 connect( KGlobalSettings::self(), SIGNAL(settingsChanged(int)), SLOT(slotSettingsChanged(int)) );
182 if( !( m_bUseSingle && ((keybstate & Qt::ShiftModifier) || (keybstate & Qt::ControlModifier)) ) ) {
227 if( (selectionMode() == Extended) && (e->modifiers() & Qt::ShiftModifier) && !(e->modifiers() & Qt::ControlModifier) ) {
int index(const Q3ListBoxItem *lbi) const
SelectionMode selectionMode() const
void setCursor(const QCursor &)
Qt::KeyboardModifiers keyboardModifiers()
static bool singleClick()
virtual void keyPressEvent(QKeyEvent *e)
int timeout
K3ListBox(QWidget *parent=0, const char *name=0, Qt::WindowFlags f=0)
Definition: k3listbox.cpp:29
Q3ListBoxItem * itemAt(const QPoint &p) const
void contentsToViewport(int x, int y, int &vx, int &vy) const
virtual void contentsMousePressEvent(QMouseEvent *e)
Definition: k3listbox.cpp:225
bool hasFocus() const
static KGlobalSettings * self()
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
virtual void setSelected(Q3ListBoxItem *item, bool select)
void executed(Q3ListBoxItem *item)
Emitted whenever the user executes an listbox item.
void update()
const QPoint & globalPos() const
void ignore()
updatesEnabled
void setFocus()
virtual void focusOutEvent(QFocusEvent *e)
Qt::MouseButton button() const
virtual void contentsMousePressEvent(QMouseEvent *e)
void mouseButtonClicked(int button, Q3ListBoxItem *item, const QPoint &pos)
bool signalsBlocked() const
Qt::KeyboardModifiers modifiers() const
int key() const
void onViewport()
bool blockSignals(bool block)
void onItem(Q3ListBoxItem *i)
void stop()
virtual void contentsMouseDoubleClickEvent(QMouseEvent *e)
Definition: k3listbox.cpp:239
int currentItem() const
static bool changeCursorOverIcon()
Q3ListBoxItem * item(int index) const
virtual void contentsMouseDoubleClickEvent(QMouseEvent *e)
virtual void clearSelection()
bool isSelected() const
void doubleClicked(Q3ListBoxItem *item, const QPoint &pos)
This signal gets emitted whenever the user double clicks into the listbox.
static int autoSelectDelay()
void start(int msec)
typedef WindowFlags
void triggerUpdate(bool doLayout)
const QPoint & pos() const
void selectionChanged()
QWidget * viewport() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
virtual void leaveEvent(QEvent *event)
void emitExecute(Q3ListBoxItem *item, const QPoint &pos)
Definition: k3listbox.cpp:175
Q3ListBoxItem * next() const
void setSingleShot(bool singleShot)
typedef KeyboardModifiers
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:47 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:26:47 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.