Qt Extended Home · Index · Classes · Headers · Overviews codeless banner

QDPluginFilter Class Reference

The QDPluginFilter class is used to filter the plugins returned by PluginManager::plugins(). More...

    #include <QDPluginFilter>

Inherited by QDAppPluginFilter.

Public Types

Public Functions


Detailed Description

The QDPluginFilter class is used to filter the plugins returned by PluginManager::plugins().


Member Type Documentation

enum QDPluginFilter::FilterOption

ConstantValue
QDPluginFilter::Set1
QDPluginFilter::NotSet2
QDPluginFilter::Either0

enum QDPluginFilter::PluginTypeFlags
flags QDPluginFilter::PluginType

ConstantValue
QDPluginFilter::App0x01
QDPluginFilter::Con0x04
QDPluginFilter::Dev0x08
QDPluginFilter::Link0x02
QDPluginFilter::Sync0x10

The PluginType type is a typedef for QFlags<PluginTypeFlags>. It stores an OR combination of PluginTypeFlags values.


Member Function Documentation

QDPluginFilter::QDPluginFilter ()

Construct a QDPluginFilter.

QDPluginFilter::~QDPluginFilter ()   [virtual]

Destructor.

bool QDPluginFilter::filter ( QDPlugin * plugin )   [virtual]

Filter plugin based on the criteria. Returns true if the plugin matches, false otherwise.


Copyright © 2009 Nokia
Qt Extended Sync Agent Documentation