- enum KSycocaType {KST_KSycocaEntry = 0, KST_KService = 1, KST_KServiceType = 2, KST_KMimeType = 3, KST_KFolderType = 4, KST_KDEDesktopMimeType = 5, KST_KExecMimeType = 6, KST_KServiceGroup = 7, KST_KImageIOFormat = 8, KST_KProtocolInfo = 9, KST_KCustom = 1000 }
- enum KSycocaFactoryId {KST_KServiceFactory = 1, KST_KServiceTypeFactory = 2, KST_KServiceGroupFactory = 3, KST_KImageIO = 4, KST_KProtocolInfoFactory = 5 }
- void setParseTree ( void *_ptr1 )
- void* newOR ( void *_ptr1, void *_ptr2 )
- void* newAND ( void *_ptr1, void *_ptr2 )
- void* newCMP ( void *_ptr1, void *_ptr2, int _i )
- void* newIN ( void *_ptr1, void *_ptr2 )
- void* newMATCH ( void *_ptr1, void *_ptr2 )
- void* newCALC ( void *_ptr1, void *_ptr2, int _i )
- void* newBRACKETS ( void *_ptr1 )
- void* newNOT ( void *_ptr1 )
- void* newEXIST ( char *_ptr1 )
- void* newID ( char *_ptr1 )
- void* newSTRING ( char *_ptr1 )
- void* newNUM ( int _i )
- void* newFLOAT ( float _f )
- void* newBOOL ( char _b )
- void* newWITH ( void *_ptr1 )
- void* newMAX ( void *_ptr1 )
- void* newMIN ( void *_ptr1 )
- void* newMAX2 ( char *_id )
- void* newMIN2 ( char *_id )
- void* newFIRST ()
- void* newRANDOM ()
- int matchConstraint ( const ParseTreeBase *_tree, const KService::Ptr &, const KServiceTypeProfile::OfferList& )
- PreferencesReturn matchPreferences ( const ParseTreeBase *_tree, const KService::Ptr &, const KServiceTypeProfile::OfferList& )
- ParseTreeBase::Ptr parseConstraints ( const QString& _constr )
- ParseTreeBase::Ptr parsePreferences ( const QString& _prefs )
- enum KTypeCode {TC_KService = 1, TC_KServiceType = 2, TC_KMimeType = 3, TC_KFolderType = 4, TC_KDEDesktopMimeType = 5, TC_KExecMimeType = 6, TC_KCustom = 1000 }
- inline QDataStream & operator >> (QDataStream &s, KIO::UDSAtom &a )
- inline QDataStream & operator << (QDataStream &s, const KIO::UDSAtom &a )
typedef QList<KFileItem> KFileItemList |
#include <kfileitem.h>
List of KFileItems
typedef QListIterator<KFileItem> KFileItemListIterator |
#include <kfileitem.h>
Iterator for KFileItemList
typedef QDict<KSycocaEntry::Ptr> KSycocaEntryDict |
#include <ksycocafactory.h>
Base class for all entries.
You can't create instance of KSycocaEntry, but it provides
the common functionality for servicetypes and services.
enum KSycocaType {KST_KSycocaEntry = 0, KST_KService = 1, KST_KServiceType = 2, KST_KMimeType = 3, KST_KFolderType = 4, KST_KDEDesktopMimeType = 5, KST_KExecMimeType = 6, KST_KServiceGroup = 7, KST_KImageIOFormat = 8, KST_KProtocolInfo = 9, KST_KCustom = 1000 }
|
#include <ksycocatype.h>
A KSycocaType is a code (out of the KSycocaType enum) assigned to each
class type derived from KSycocaEntry .
To use it, call the macro K_SYCOCATYPE( your_typecode, parent_class )
at the top of your class definition.
enum KSycocaFactoryId {KST_KServiceFactory = 1, KST_KServiceTypeFactory = 2, KST_KServiceGroupFactory = 3, KST_KImageIO = 4, KST_KProtocolInfoFactory = 5 }
|
#include <ksycocatype.h>
A KSycocaFactoryId is a code (out of the KSycocaFactoryId enum)
assigned to each class type derived from KSycocaFactory.
To use it, call the macro K_SYCOCAFACTORY( your_factory_id )
at the top of your class definition.
void setParseTree ( void *_ptr1 )
|
#include <ktraderparse.h>
Functions definition for yacc
int matchConstraint ( const ParseTreeBase *_tree, const KService::Ptr &, const KServiceTypeProfile::OfferList& )
|
#include <ktraderparsetree.h>
Returns: 0 => Does not match
1 => Does match
<0 => Error
PreferencesReturn matchPreferences ( const ParseTreeBase *_tree, const KService::Ptr &, const KServiceTypeProfile::OfferList& )
|
#include <ktraderparsetree.h>
Returns: 1 on success or <0 on Error
ParseTreeBase::Ptr parseConstraints ( const QString& _constr )
|
#include <ktraderparsetree.h>
enum KTypeCode {TC_KService = 1, TC_KServiceType = 2, TC_KMimeType = 3, TC_KFolderType = 4, TC_KDEDesktopMimeType = 5, TC_KExecMimeType = 6, TC_KCustom = 1000 }
|
#include <ktypecode.h>
A TypeCode is a code (out of the KTypeCode enum) assigned to a class type
To use it, call the macro K_TYPECODE( wanted_typecode ) somewhere in the
class definition.
inline QDataStream & operator >> (QDataStream &s, KIO::UDSAtom &a )
|
#include <slaveinterface.h>
Base class for IO progress dialogs.
This class does all initialization stuff for progress,
like connecting signals to slots.
All slots are implemented as pure virtual methods.
All custom IO progress dialog should inherit this class.
Add your GUI code to the constructor and implemement those virtual
methods which you need in order to display progress.
E.g. StatusbarProgress only implements slotTotalSize(),
slotPercent() and slotSpeed().
Custom progress dialog will be used like this :
// create job
CopyJob* job = KIO::copy(...);
// create a dialog
MyCustomProgress *customProgress;
customProgress = new MyCustomProgress();
// connect progress with job
customProgress->setJob( job );
...
|
There is a special method setStopOnClose() that controls the behavior of
the dialog.
#include <yacc.h>
*
* DCOP Stub Definition created by dcopidl2cpp from uiserver.kidl
*
* WARNING! All changes made in this file will be lost!
*
***************************************************************************