equal
deleted
inserted
replaced
21 #include "fmviewmanager.h" |
21 #include "fmviewmanager.h" |
22 #include "fmcommon.h" |
22 #include "fmcommon.h" |
23 |
23 |
24 #include <QApplication> |
24 #include <QApplication> |
25 |
25 |
26 #include <hbmessagebox.h> |
|
27 #include <hbmenu.h> |
26 #include <hbmenu.h> |
28 #include <hbaction.h> |
27 #include <hbaction.h> |
29 #include <hbtoolbar.h> |
28 #include <hbtoolbar.h> |
30 #include <hbmainwindow.h> |
29 #include <hbmainwindow.h> |
31 #include <hbsearchpanel.h> |
30 #include <hbsearchpanel.h> |
32 |
31 |
33 FmDriverView::FmDriverView() : FmViewBase( EDriverView ) |
32 FmDriverView::FmDriverView() : FmViewBase( EDriverView ) |
34 { |
33 { |
|
34 FmLogger::log( "FmDriverView::FmDriverView" ); |
35 initMenu(); |
35 initMenu(); |
36 initToolBar(); |
36 initToolBar(); |
37 initDiskListWidget(); |
37 initDiskListWidget(); |
38 |
38 |
39 QMetaObject::connectSlotsByName( this ); |
39 QMetaObject::connectSlotsByName( this ); |
79 |
79 |
80 void FmDriverView::initDiskListWidget() |
80 void FmDriverView::initDiskListWidget() |
81 { |
81 { |
82 mDriverList = new FmDriverListWidget( this ); |
82 mDriverList = new FmDriverListWidget( this ); |
83 connect( mDriverList, SIGNAL( activated( const QString& ) ), |
83 connect( mDriverList, SIGNAL( activated( const QString& ) ), |
84 this, SLOT( activated( const QString& ) ) ); |
84 this, SLOT( activated( const QString& ) ), Qt::QueuedConnection ); |
85 |
85 |
86 connect( mDriverList, SIGNAL( startSearch( const QString&, const QString& ) ), |
86 connect( mDriverList, SIGNAL( startSearch( const QString&, const QString& ) ), |
87 this, SLOT( startSearch( const QString&, const QString& ) ) ); |
87 this, SLOT( startSearch( const QString&, const QString& ) ) ); |
88 |
88 |
89 setWidget( mDriverList ); |
89 setWidget( mDriverList ); |