KDEUI
krecentfilesaction.h
Go to the documentation of this file.
void addUrl(const KUrl &url, const QString &name=QString())
Add URL to recent files list.
Definition krecentfilesaction.cpp:150
KRecentFilesAction(QObject *parent)
Constructs an action with the specified parent.
Definition krecentfilesaction.cpp:47
void recentListCleared()
This signal gets emitted when the user clear list.
void urlSelected(const KUrl &url)
This signal gets emitted when the user selects an URL.
void setMaxItems(int maxItems)
Sets the maximum of items in the recent files list.
Definition krecentfilesaction.cpp:107
void removeUrl(const KUrl &url)
Remove an URL from the recent files list.
Definition krecentfilesaction.cpp:231
void loadEntries(const KConfigGroup &config)
Loads the recent files entries from a given KConfigGroup object.
Definition krecentfilesaction.cpp:265
KUrl::List urls() const
Retrieve a list of all URLs in the recent files list.
Definition krecentfilesaction.cpp:241
void saveEntries(const KConfigGroup &config)
Saves the current recent files entries to a given KConfigGroup object.
Definition krecentfilesaction.cpp:322
KSelectAction(QObject *parent)
Constructs a selection action with the specified parent.
Definition kselectaction.cpp:56
virtual QAction * removeAction(QAction *action)
Remove the specified action from this action selector.
Definition kselectaction.cpp:278
virtual void addAction(QAction *action)
Add action to the list of selectable actions.
Definition kselectaction.cpp:230
QAction * action(int index) const
Returns the action at index, if one exists.
Definition kselectaction.cpp:162
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.