equal
deleted
inserted
replaced
42 |
42 |
43 #ifndef CNTDBINFO_H_ |
43 #ifndef CNTDBINFO_H_ |
44 #define CNTDBINFO_H_ |
44 #define CNTDBINFO_H_ |
45 |
45 |
46 #include <qtcontacts.h> |
46 #include <qtcontacts.h> |
|
47 #include <qcontactfilter.h> |
47 #include <qcontactmanager.h> |
48 #include <qcontactmanager.h> |
48 #include <qcontactfilter.h> |
49 #include <qcontactsortorder.h> |
|
50 |
|
51 QTM_USE_NAMESPACE |
49 |
52 |
50 class CntSymbianSrvConnection; |
53 class CntSymbianSrvConnection; |
51 class CntSymbianFilter; |
54 class CntSymbianFilter; |
52 class CntDbInfo : public QObject |
55 class CntDbInfo : public QObject |
53 { |
56 { |
65 |
68 |
66 void getDbTableAndColumnName( const quint32 fieldId , |
69 void getDbTableAndColumnName( const quint32 fieldId , |
67 QString& tableName, |
70 QString& tableName, |
68 QString& columnName ) const; |
71 QString& columnName ) const; |
69 bool SupportsUid(int uid); |
72 bool SupportsUid(int uid); |
|
73 |
|
74 QString getSortQuery(const QList<QContactSortOrder> &sortOrders, |
|
75 const QString& selectQuery, |
|
76 QContactManager::Error* error); |
70 |
77 |
71 private: |
78 private: |
72 QHash<int,QString> contactsTableIdColumNameMapping; |
79 QHash<int,QString> contactsTableIdColumNameMapping; |
73 QHash<int,int> commAddrTableIdColumNameMapping; |
80 QHash<int,int> commAddrTableIdColumNameMapping; |
74 |
|
75 }; |
81 }; |
76 |
82 |
77 |
|
78 |
|
79 |
|
80 |
|
81 |
|
82 #endif /* CNTDBINFO_H_ */ |
83 #endif /* CNTDBINFO_H_ */ |