KConfigWidgets
krecentfilesaction.h
KRecentFilesAction(QObject *parent)
Constructs an action with the specified parent.
Definition krecentfilesaction.cpp:41
void urlSelected(const QUrl &url)
This signal gets emitted when the user selects an URL.
void removeUrl(const QUrl &url)
Remove an URL from the recent files list.
Definition krecentfilesaction.cpp:286
QList< QUrl > urls() const
Retrieve a list of all URLs in the recent files list.
Definition krecentfilesaction.cpp:297
void recentListCleared()
This signal gets emitted when the user clear list.
void addUrl(const QUrl &url, const QString &name=QString())
Add URL to the recent files list.
Definition krecentfilesaction.cpp:189
void setMaxItems(int maxItems)
Sets the maximum of items in the recent files list.
Definition krecentfilesaction.cpp:137
void loadEntries(const KConfigGroup &config)
Loads the recent files entries from a given KConfigGroup object.
Definition krecentfilesaction.cpp:330
void saveEntries(const KConfigGroup &config)
Saves the current recent files entries to a given KConfigGroup object.
Definition krecentfilesaction.cpp:389
QAction * addAction(const QIcon &icon, const QString &text)
KSelectAction(const QIcon &icon, const QString &text, QObject *parent)
virtual QAction * removeAction(QAction *action)
void clear()
QAction * action(const QString &text, Qt::CaseSensitivity cs=Qt::CaseSensitive) const
QAction(QObject *parent)
icon
text
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:04 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:56:04 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.