equal
deleted
inserted
replaced
48 |
48 |
49 //time out time before showing a processing dialog. |
49 //time out time before showing a processing dialog. |
50 static const int KThemeChangeTimeOutMilliSeconds = 2000; |
50 static const int KThemeChangeTimeOutMilliSeconds = 2000; |
51 |
51 |
52 /*! |
52 /*! |
53 Helper function to fetch the main window. |
|
54 */ |
|
55 static HbMainWindow *mainWindow() |
|
56 { |
|
57 QList< HbMainWindow* > mainWindows = hbInstance->allMainWindows(); |
|
58 if (!mainWindows.isEmpty()) { |
|
59 return mainWindows.front(); |
|
60 } |
|
61 return 0; |
|
62 } |
|
63 |
|
64 /*! |
|
65 constructor. |
53 constructor. |
66 */ |
54 */ |
67 CpThemeControl::CpThemeControl(): mThemeListView(0), |
55 CpThemeControl::CpThemeControl(): mThemeListView(0), |
68 mThemeChanger(0), |
56 mThemeChanger(0), |
69 mListModel(0), |
57 mListModel(0), |