3 This class will provide a compatible interface to
4 datasource but hey this is the menu, we need to simplify
5 DataSource is atomic and indivisible , This defines the unit
8 #ifndef RAPTOR_DATA_SOURCE_H
9 #define RAPTOR_DATA_SOURCE_H
14 class RaptorDataSource
: public QObject
20 // typedef QMap <QString,RaptorDataSource* > DataSourceList;
22 virtual ~RaptorDataSource(){}
26 virtual QString
name() = 0 ;
31 virtual void setName(const QString
& name
) = 0 ;
34 should we store the whole path or just the name ?...hmmm
37 virtual QString
iconPath() = 0 ;
42 virtual void setIconPath(const QString
& path
) = 0;
47 virtual QString
iconName() = 0 ;
52 virtual void setIconName(const QString
& name
) = 0 ;
56 virtual void exec() = 0;
60 virtual bool lookup(const QString
& key
) = 0;