equal
deleted
inserted
replaced
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 #include "cntnamesview.h" |
18 #include "cntnamesview.h" |
19 #include "cntnamesview_p.h" |
19 #include "cntnamesview_p.h" |
20 |
|
21 #include <hbview.h> |
20 #include <hbview.h> |
22 |
21 |
23 CntNamesView::CntNamesView(CntExtensionManager &extensionManager) : |
22 CntNamesView::CntNamesView() : d_ptr( new CntNamesViewPrivate() ) |
24 d_ptr( new CntNamesViewPrivate(extensionManager) ) |
|
25 { |
23 { |
26 Q_D(CntNamesView); |
24 Q_D(CntNamesView); |
27 d->q_ptr = this; |
25 d->q_ptr = this; |
28 } |
26 } |
29 |
27 |
34 { |
32 { |
35 Q_D(CntNamesView); |
33 Q_D(CntNamesView); |
36 delete d; |
34 delete d; |
37 } |
35 } |
38 |
36 |
39 void CntNamesView::activate(CntAbstractViewManager* aMgr, const CntViewParameters aArgs) |
37 void CntNamesView::activate(const CntViewParameters aArgs) |
40 { |
38 { |
41 Q_D(CntNamesView); |
39 Q_D(CntNamesView); |
42 d->activate( aMgr, aArgs ); |
40 d->activate( aArgs ); |
43 } |
41 } |
44 |
42 |
45 void CntNamesView::deactivate() |
43 void CntNamesView::deactivate() |
46 { |
44 { |
47 Q_D(CntNamesView); |
45 Q_D(CntNamesView); |
62 int CntNamesView::viewId() const |
60 int CntNamesView::viewId() const |
63 { |
61 { |
64 Q_D(const CntNamesView); |
62 Q_D(const CntNamesView); |
65 return d->mId; |
63 return d->mId; |
66 } |
64 } |
|
65 |
|
66 void CntNamesView::setEngine( CntAbstractEngine& aEngine ) |
|
67 { |
|
68 Q_D(CntNamesView); |
|
69 d->setEngine( aEngine ); |
|
70 } |
67 |
71 |
68 |
72 |
69 // end of file |
73 // end of file |