#include <kdatatool.h>
Public Methods | |
| KDataToolInfo () | |
| KDataToolInfo (const KService::Ptr &service, KInstance *instance) | |
| KDataToolInfo (const KDataToolInfo &info) | |
| KDataToolInfo & | operator= (const KDataToolInfo &info) |
| QString | dataType () const |
| QStringList | mimeTypes () const |
| bool | isReadOnly () const |
| QPixmap | icon () const |
| QPixmap | miniIcon () const |
| QString | iconName () const |
| QStringList | userCommands () const |
| QStringList | commands () const |
| KDataTool * | createTool (QObject *parent=0, const char *name=0) const |
| bool | isValid () const |
Static Public Methods | |
| QValueList< KDataToolInfo > | query (const QString &datatype, const QString &mimetype, KInstance *instance) |
Especially useful is the method createTool which creates the datatool described by the service.
Definition at line 46 of file kdatatool.h.
|
|
Create an invalid KDataToolInfo. |
|
||||||||||||
|
Create a valid KDataToolInfo. |
|
|
Copy constructor. |
|
|
Each of the strings returned corresponds to a string in the list returned by userCommands. |
|
||||||||||||
|
Creates the data tool described by this KDataToolInfo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A DataToolInfo may be invalid if the KService passed to its constructor does not feature the service type "KDataTool". |
|
|
|
|
|
|
|
|
Assignment operator. |
|
||||||||||||||||
|
Queries the KTrader about installed KDataTool implementations.
|
|
|
Each of the strings returned corresponds to a string in the list returned by commands. |
1.2.18