class KIconDialog

Dialog for interactive selection of icons. More...

Definition#include <kicondialog.h>
InheritsKDialogBase (kdeui)
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

Dialog for interactive selection of icons. Use the function selectIcon() let the user select an icon.

 KIconDialog (QWidget *parent=0L, const char *name=0L)

Construct the iconloader dialog. Uses the global iconloader.

 KIconDialog (KIconLoader *loader, QWidget *parent=0, const char *name=0)

Alternate constructor to use a different iconloader.

QString  selectIcon (int group=KIcon::Desktop, int context=KIcon::Application, bool user=false)

Pops up the dialog an lets the user select an icon.

Parameters:
groupThe icon group this icon is intended for. Providing the group shows the icons in the dialog with the same appearance as when used outside the dialog.
contextThe initial icon context. Initially, the icons having this context are shown in the dialog. The user can change this.
userBegin with the "user icons" instead of "system icons".

Returns: The name of the icon, suitable for loading with KIconLoader.


Generated by: root@porky.devel.redhat.com on Wed May 10 08:56:57 2000, using kdoc 2.0a35.