KIO
Go to the documentation of this file.
19#include <QtCore/QStringList>
20#include <QtGui/QPushButton>
50 void loadFiles(
const QStringList& files);
55 QString getCurrent()
const;
91 class KIconCanvasPrivate;
92 KIconCanvasPrivate*
const d;
96 Q_PRIVATE_SLOT(d,
void _k_slotLoadFiles())
97 Q_PRIVATE_SLOT(d,
void _k_slotCurrentChanged(QListWidgetItem *item))
138 void setStrictIconSize(
bool b);
142 bool strictIconSize()
const;
146 void setCustomLocation(
const QString& location );
153 void setIconSize(
int size);
159 int iconSize()
const;
170 bool strictIconSize =
false,
int iconSize = 0,
171 bool user =
false,
bool lockUser =
false,
172 bool lockCustomDir =
false );
180 QString openDialog();
208 bool strictIconSize=
false,
int iconSize = 0,
209 bool user=
false,
QWidget *parent=0,
210 const QString &
caption=QString());
219 class KIconDialogPrivate;
220 KIconDialogPrivate*
const d;
224 Q_PRIVATE_SLOT(d,
void _k_slotContext(
int))
225 Q_PRIVATE_SLOT(d,
void _k_slotStartLoading(
int))
226 Q_PRIVATE_SLOT(d,
void _k_slotProgress(
int))
227 Q_PRIVATE_SLOT(d,
void _k_slotFinished())
228 Q_PRIVATE_SLOT(d,
void _k_slotAcceptIcons())
229 Q_PRIVATE_SLOT(d,
void _k_slotBrowse())
230 Q_PRIVATE_SLOT(d,
void _k_slotOtherIconClicked())
231 Q_PRIVATE_SLOT(d,
void _k_slotSystemIconClicked())
246 Q_PROPERTY( QString icon READ icon WRITE setIcon RESET resetIcon )
247 Q_PROPERTY(
int iconSize READ iconSize WRITE setIconSize)
248 Q_PROPERTY(
bool strictIconSize READ strictIconSize WRITE setStrictIconSize )
275 void setStrictIconSize(
bool b);
279 bool strictIconSize()
const;
290 void setIcon(
const QString& icon);
292 void setIcon(
const QIcon& icon);
302 const QString &icon()
const;
309 void setIconSize(
int size );
315 int iconSize()
const;
323 void setButtonIconSize(
int size );
329 int buttonIconSize()
const;
339 class KIconButtonPrivate;
340 KIconButtonPrivate*
const d;
344 Q_PRIVATE_SLOT(d,
void _k_slotChangeIcon())
345 Q_PRIVATE_SLOT(d,
void _k_newIconName(const QString&))
Icon canvas for KIconDialog.
void nameChanged(const QString &)
Emitted when the current icon has changed.
void finished()
This signal is emitted when the loading of the icons has been finished.
void startLoading(int count)
This signal is emitted when the loading of the icons has started.
void progress(int number)
This signal is emitted whenever an icon has been loaded.
Dialog for interactive selection of icons.
void newIconName(const QString &)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by
doxygen 1.9.6 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.