filebrowser/ui/inc/filebrowserview.h
changeset 27 271e901a9423
parent 25 31fc1277642e
child 28 4cc0d1a608c1
--- a/filebrowser/ui/inc/filebrowserview.h	Fri May 14 15:15:12 2010 +0300
+++ b/filebrowser/ui/inc/filebrowserview.h	Fri May 14 16:10:39 2010 +0300
@@ -51,12 +51,6 @@
 {
     Q_OBJECT
 
-    enum resourceItem
-    {
-	FileItem,
-	Directory
-    };
-
 public:
     explicit FileBrowserView(FileBrowserMainWindow &mainWindow);
     virtual ~FileBrowserView();
@@ -65,33 +59,14 @@
     QModelIndexList getSelectedItemsOrCurrentItem();
 
 public slots:
+    void refreshList();
 
 private:
     void fileOverwriteDialog();
-    void openListDialog(const QStringList& items, const QString &aTitleText, QObject* receiver, const char* member);
-
-    void diskAdmin(int cmd);
-    HbDialog *filePathQuery(const QString &headingText,
-                            const QString &text,
-                            const QString &primaryActionText,
-                            const QString &secondaryActionText);
-
-//    HbDialog *openTextQuery(const QString &headingText,
-//                            const QString &text,
-//                            const QString &primaryActionText,
-//                            const QString &secondaryActionText);
-
-    HbDialog *openNumberQuery(const QString &headingText,
-                              const QString &text,
-                              const QString &primaryActionText,
-                              const QString &secondaryActionText,
-                              int aMin = -99999,
-                              int aMax = 99999);
+    void openListDialog(const QStringList& items, const QString &titleText, QObject* receiver, const char* member);
 
     void openPropertyDialog(const QStringList& propertyList, const QString& title);
 
-//    QModelIndexList *getSelectedItemsOrCurrentItem();
-
     void createToolBar();
     // Menu related methods
     void createMenu();
@@ -106,7 +81,7 @@
     void createAboutMenuItem();
     void createExitMenuItem();
 
-    void refreshList();
+//    void refreshList();
     void populateFolderContent();
 
 private slots:
@@ -252,6 +227,7 @@
 signals:
     void aboutToShowSettingsView();
     void aboutToShowEditorView(const QString &, bool);
+    void aboutToShowSearchView(const QString &);
     void aboutToSimulateLeave(int);
 
 private slots:
@@ -287,10 +263,6 @@
     MenuAction mFileViewMenuActions;
     HbAction *mToolbarBackAction;
 
-    // search
-    SearchView *mSearch;
-    // settings
-    SettingsView *mSettingsView;
     // flags
     bool mItemHighlighted;
     bool mLocationChanged;
@@ -305,7 +277,7 @@
     QString mAbsoluteFilePath;
     OverwriteOptions mOverwriteOptions;
     QModelIndex mModelIndex;
-    bool mIsRenameAllowed;
+    QString mNewFileName;
     bool mProceed;
     bool mEraseMBR;
 };