00001 00060 #ifndef _OCONTACTACCESSBACKEND_H_ 00061 #define _OCONTACTACCESSBACKEND_H_ 00062 00063 #include "ocontact.h" 00064 #include "opimaccessbackend.h" 00065 00066 #include <qregexp.h> 00067 00078 class OContactAccessBackend: public OPimAccessBackend<OContact> { 00079 public: 00083 OContactAccessBackend() {} 00087 virtual ~OContactAccessBackend() {} 00088 00089 00103 virtual bool wasChangedExternally() = 0; 00104 00105 virtual QArray<int> matchRegexp( const QRegExp &r ) const = 0; 00106 00112 virtual const uint querySettings() = 0; 00113 00118 virtual bool hasQuerySettings (uint querySettings) const = 0; 00119 00124 virtual QArray<int> sorted( bool ascending, int sortOrder, int sortFilter, int cat ) = 0; 00125 00126 00127 private: 00128 class Private; 00129 Private *d; 00130 }; 00131 #endif
1.4.2