KIO
kurlcombobox.h
KComboBox(bool rw, QWidget *parent=nullptr)
KCompletion * compObj() const
virtual void setCompletionObject(KCompletion *completionObject, bool handleSignals=true)
This combobox shows a number of recent URLs/directories, as well as some default directories.
Definition kurlcombobox.h:43
void setUrls(const QStringList &urls)
Inserts urls into the combobox below the "default urls" (see addDefaultUrl).
Definition kurlcombobox.cpp:164
OverLoadResolving
This Enumeration is used in setUrl() to determine which items will be removed when the given list is ...
Definition kurlcombobox.h:64
KUrlComboBox(Mode mode, QWidget *parent=nullptr)
Constructs a KUrlComboBox.
Definition kurlcombobox.cpp:89
void removeUrl(const QUrl &url, bool checkDefaultURLs=true)
Removes any occurrence of url.
Definition kurlcombobox.cpp:344
void setMaxItems(int)
Sets how many items should be handled and displayed by the combobox.
Definition kurlcombobox.cpp:316
void setDefaults()
Clears all items and inserts the default urls into the combo.
Definition kurlcombobox.cpp:154
void addDefaultUrl(const QUrl &url, const QString &text=QString())
Adds a url that will always be shown in the combobox, it can't be "rotated away".
Definition kurlcombobox.cpp:144
virtual bool event(QEvent *event) override
virtual void mousePressEvent(QMouseEvent *e) override
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
virtual void mouseMoveEvent(QMouseEvent *event)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:37 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:37 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.