KIO
kpropertiesdialog.h
Go to the documentation of this file.
List of KFileItems, which adds a few helper methods to QList<KFileItem>.
Definition kfileitem.h:675
KPageDialog(QWidget *parent=0, Qt::WindowFlags flags=0)
A Plugin in the Properties dialog This is an abstract class.
Definition kpropertiesdialog.h:348
KPropertiesDialogPlugin(KPropertiesDialog *_props)
Constructor To insert tabs into the properties dialog, use the add methods provided by KPageDialog (t...
Definition kpropertiesdialog.cpp:613
static bool isDesktopFile(const KFileItem &_item)
Convenience method for most ::supports methods.
Definition kpropertiesdialog.cpp:627
void changed()
Emit this signal when the user changed anything in the plugin's tabs.
void applied()
This signal is emitted when the properties changes are applied (for example, with the OK button)
void insertPlugin(KPropertiesDialogPlugin *plugin)
Adds a "3rd party" properties plugin to the dialog.
Definition kpropertiesdialog.cpp:386
static bool canDisplay(const KFileItemList &_items)
Determine whether there are any property pages available for the given file items.
Definition kpropertiesdialog.cpp:419
void setFileNameReadOnly(bool ro)
Call this to make the filename lineedit readonly, to prevent the user from renaming the file.
Definition kpropertiesdialog.cpp:366
void updateUrl(const KUrl &_newUrl)
Updates the item URL (either called by rename or because a global apps/mimelnk desktop file is being ...
Definition kpropertiesdialog.cpp:548
KUrl kurl() const
The URL of the file that has its properties being displayed.
Definition kpropertiesdialog.cpp:394
KPropertiesDialog(const KFileItem &item, QWidget *parent=0)
Brings up a Properties dialog, as shown above.
Definition kpropertiesdialog.cpp:207
void showFileSharingPage()
Shows the page that was previously set by setFileSharingPage(), or does nothing if no page was set ye...
Definition kpropertiesdialog.cpp:353
void leaveModality()
void setFileSharingPage(QWidget *page)
Sets the file sharing page.
Definition kpropertiesdialog.cpp:361
static bool showDialog(const KFileItem &item, QWidget *parent=0, bool modal=true)
Immediately displays a Properties dialog using constructor with the same parameters.
Definition kpropertiesdialog.cpp:281
void propertiesClosed()
This signal is emitted when the Properties Dialog is closed (for example, with OK or Cancel buttons)
KUrl currentDir() const
If the dialog is being built from a template, this method returns the current directory.
Definition kpropertiesdialog.cpp:409
QString defaultName() const
If the dialog is being built from a template, this method returns the default name.
Definition kpropertiesdialog.cpp:414
void rename(const QString &_name)
Renames the item to the specified name.
Definition kpropertiesdialog.cpp:572
void canceled()
This signal is emitted when the properties changes are aborted (for example, with the Cancel button)
void saveAs(const KUrl &oldUrl, KUrl &newUrl)
Emitted before changes to oldUrl are saved as newUrl.
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.13.2 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.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.