24 #ifdef NFT |
24 #ifdef NFT |
25 #ifdef Q_OS_SYMBIAN |
25 #ifdef Q_OS_SYMBIAN |
26 #include <e32hal.h> |
26 #include <e32hal.h> |
27 #endif |
27 #endif |
28 #endif |
28 #endif |
29 //settings file |
29 |
|
30 //settings storage path |
30 const QString SETTINGS_INI_PATH("C:\\private\\2002c377\\searchsettings.ini"); |
31 const QString SETTINGS_INI_PATH("C:\\private\\2002c377\\searchsettings.ini"); |
|
32 |
|
33 |
|
34 #define SEARCHAIWDECLINDEVICE "SearchDeviceQueryView" |
|
35 #define SEARCHAIWDECLONLINE "SearchWebQueryView" |
|
36 #define SEARCHAIWDECLMAINVIEW "SearchView" |
|
37 |
|
38 #define SEARCHAIWQUERY "query" |
|
39 |
|
40 #define SEARCHAPPUID "2002C377" |
|
41 |
|
42 #define DEFAULT_SEARCH_FIELD "_aggregate" |
|
43 |
|
44 |
|
45 #define SUGGESTIONLINKS "links" |
|
46 |
|
47 #define FIRSTLINEFIELD "_hlexcerpt" |
|
48 #define MAILBOXFIELD "MailBoxId" |
|
49 #define FOLDERFIELD "FolderId" |
|
50 #define NAMEFIELD "Name" |
|
51 #define EXTENSIONFIELD "Extension" |
|
52 #define ISFOLDERFIELD "IsFolder" |
|
53 #define MEDIAIDFIELD "MediaId" |
|
54 |
|
55 #define MEDIACATEGORY "media" |
|
56 #define AUDIOCATEGORY "audio" |
|
57 #define VIDEOCATEGORY "video" |
|
58 #define IMAGECATEGORY "image" |
|
59 #define EMAILCATEGORY "email" |
|
60 #define CONTACTCATEGORY "contact" |
|
61 #define CALENDARCATEGORY "calendar" |
|
62 #define BOOKMARKCATEGORY "bookmark" |
|
63 #define APPLICATIONCATEGORY "applications" |
|
64 #define NOTESCATEGORY "notes" |
|
65 #define FILECATEGORY "file" |
|
66 #define MESSAGECATEGORY "msg" |
|
67 #define FILEFOLDERCATEGORY "file folder" |
|
68 |
31 //#define OST_TRACE_COMPILER_IN_USE //Uncomment to enable performance measurements. |
69 //#define OST_TRACE_COMPILER_IN_USE //Uncomment to enable performance measurements. |
32 |
70 |
33 #ifdef OST_TRACE_COMPILER_IN_USE |
71 #ifdef OST_TRACE_COMPILER_IN_USE |
34 #define PERF_APP_LAUNCH_END(str) qDebug() << "Search_App_Launch :"<<str<<"at:"<<QTime::currentTime().second()<<":"<<QTime::currentTime().msec(); |
72 #define PERF_APP_LAUNCH_END(str) qDebug() << "Search_App_Launch :"<<str<<"at:"<<QTime::currentTime().second()<<":"<<QTime::currentTime().msec(); |
35 #else |
73 #else |