class KIconLoaderButton

This is a button that uses the KIconLoaderDialog. More...

Definition#include <kiconloaderdialog.h>
InheritsQPushButton (qt)
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Members

Public Slots

Protected Members

Signals


Detailed Description

This is a button that uses the KIconLoaderDialog. It shows the currently selected icon. Pressing on the icon will open the dialog. If the icon changes, a signal is emitted and the buttons pixmap becomes updated.

HACK Since I did not want to break binary compatibility, it does NOT use the same search path as the dialog. This IS a bug.

KIconLoaderButton ( QWidget *_widget )

Creates a new button.

void setIcon ( const char *_icon )

Set the buttons icon.

Parameters:
_iconis a parameter as usually passed to KIconLoader.

const char* icon ()

Returns: the name of the icon without path.

KIconLoaderDialog* iconLoaderDialog ()

Returns: a reference to the icon loader dialog used.

void iconChanged ( const char *icon )
[signal]

Emitted if the icons has changed.


Generated by: root@porky.devel.redhat.com on Tue Mar 14 00:20:58 200.