#include <resourceselectdialog.h>
Inheritance diagram for KABC::ResourceSelectDialog:

Public Methods | |
| ResourceSelectDialog (AddressBook *ab, QWidget *parent=0, const char *name=0) | |
| Resource * | resource () |
Static Public Methods | |
| Resource * | getResource (AddressBook *ab, QWidget *parent=0) |
Example:
KABC::Resource *res = KABC::ResourceSelectDialog::getResource();
if ( !( res ) ) {
// no resource selected
} else {
// do something with resource
}
Definition at line 49 of file resourceselectdialog.h.
|
||||||||||||||||
|
Constructor.
|
|
||||||||||||
|
Open a dialog showing the available resources and return the resource the user has selected. Returns 0, if the dialog was canceled. |
|
|
Return selected resource. |
1.2.18