class KIconLoaderButton

KIconLoaderDialog. More...

Definition#include <kiconloaderdialog.h>
InheritsQPushButton
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.

 KIconLoaderButton ( KIconLoader *_icon_loader, QWidget *_widget )

KIconLoaderButton ()

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  slotChangeIcon ()

[slot]

void  iconChanged ( const char *icon )

[signal]

Emitted if the icons has changed.

KIconLoaderDialog * loaderDialog

[protected]

QString iconStr

[protected]

KIconLoader * iconLoader

[protected]


Generated by: prospector@porky.devel.redhat.com on Mon Sep 11 01:50:57 2000, using kdoc 2.0a36.