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 Methods

Public Slots

Signals

Protected Members


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.

Reimplemented from QWidget

const char*  icon ()

Returns: the name of the icon without path.

Reimplemented from QWidget

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: tasin@pcw-home on Sun Feb 13 22:02:02 2000, using kdoc 2.0a35.