KFile
knewfilemenu.h
Go to the documentation of this file.
KActionMenu(const KIcon &icon, const QString &text, QObject *parent)
void setModal(bool modality)
Sets the modality of dialogs created by KNewFile.
Definition knewfilemenu.cpp:1075
void directoryCreated(const KUrl &url)
Emitted once the directory url has been successfully created.
KNewFileMenu(KActionCollection *collection, const QString &name, QObject *parent)
Constructor.
Definition knewfilemenu.cpp:967
void fileCreated(const KUrl &url)
Emitted once the file (or symlink) url has been successfully created.
void checkUpToDate()
Checks if updating the list is necessary IMPORTANT : Call this in the slot for aboutToShow.
Definition knewfilemenu.cpp:990
QStringList supportedMimeTypes() const
Returns the mimetypes set in supportedMimeTypes()
Definition knewfilemenu.cpp:1144
void setParentWidget(QWidget *parentWidget)
Sets a parent widget for the dialogs shown by KNewFileMenu.
Definition knewfilemenu.cpp:1099
KUrl::List popupFiles() const
Returns the files that the popup is shown for.
Definition knewfilemenu.cpp:1070
virtual void slotResult(KJob *job)
Called when the job that copied the template has finished.
Definition knewfilemenu.cpp:1114
void setViewShowsHiddenFiles(bool b)
Set if the directory view currently shows dot files.
Definition knewfilemenu.cpp:1109
void setSupportedMimeTypes(const QStringList &mime)
Only show the files in a given set of mimetypes.
Definition knewfilemenu.cpp:1104
void setPopupFiles(const KUrl::List &files)
Set the files the popup is shown for Call this before showing up the menu.
Definition knewfilemenu.cpp:1080
void createDirectory()
Call this to create a new directory as if the user had done it using a popupmenu.
Definition knewfilemenu.cpp:1020
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Tue Mar 25 2025 00:00:00 by doxygen 1.14.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.