summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-09-18 09:27:34 (UTC)
committer llornkcor <llornkcor>2004-09-18 09:27:34 (UTC)
commitb45501194ab88d7fc898056df442430e7d6a2b22 (patch) (unidiff)
tree4fe36ced24e66b87d7969b46ba0a7623b98f21cc
parentf0e025a8e64f96390377c0aa66e8b5602494d7d0 (diff)
downloadopie-b45501194ab88d7fc898056df442430e7d6a2b22.zip
opie-b45501194ab88d7fc898056df442430e7d6a2b22.tar.gz
opie-b45501194ab88d7fc898056df442430e7d6a2b22.tar.bz2
add refresh menuitem
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfm.cpp6
-rw-r--r--noncore/apps/advancedfm/advancedfm.h2
-rw-r--r--noncore/apps/advancedfm/advancedfmData.cpp1
3 files changed, 8 insertions, 1 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp
index b4461cb..4de7d38 100644
--- a/noncore/apps/advancedfm/advancedfm.cpp
+++ b/noncore/apps/advancedfm/advancedfm.cpp
@@ -286,4 +286,10 @@ void AdvancedFm::ListPressed( int mouse, QListViewItem *item, const QPoint& , in
286 286
287 287
288void AdvancedFm::refreshCurrentTab() {
289 populateView();
290 // if ( TabWidget->currentWidget() == tab) {
291
292}
293
288void AdvancedFm::switchToLocalTab() { 294void AdvancedFm::switchToLocalTab() {
289 TabWidget->setCurrentWidget(0); 295 TabWidget->setCurrentWidget(0);
diff --git a/noncore/apps/advancedfm/advancedfm.h b/noncore/apps/advancedfm/advancedfm.h
index e596977..def6fe2 100644
--- a/noncore/apps/advancedfm/advancedfm.h
+++ b/noncore/apps/advancedfm/advancedfm.h
@@ -89,5 +89,5 @@ protected slots:
89 void switchToLocalTab(); 89 void switchToLocalTab();
90 void switchToRemoteTab(); 90 void switchToRemoteTab();
91 91 void refreshCurrentTab();
92protected: 92protected:
93 93
diff --git a/noncore/apps/advancedfm/advancedfmData.cpp b/noncore/apps/advancedfm/advancedfmData.cpp
index dc7e8e1..1802571 100644
--- a/noncore/apps/advancedfm/advancedfmData.cpp
+++ b/noncore/apps/advancedfm/advancedfmData.cpp
@@ -102,4 +102,5 @@ void AdvancedFm::init() {
102 viewMenu->insertItem( tr( "Switch to View 1" ), this, SLOT( switchToLocalTab())); 102 viewMenu->insertItem( tr( "Switch to View 1" ), this, SLOT( switchToLocalTab()));
103 viewMenu->insertItem( tr( "Switch to View 2" ), this, SLOT( switchToRemoteTab())); 103 viewMenu->insertItem( tr( "Switch to View 2" ), this, SLOT( switchToRemoteTab()));
104 viewMenu->insertItem( tr( "Refresh" ), this, SLOT( refreshCurrentTab()));
104// viewMenu->insertSeparator(); 105// viewMenu->insertSeparator();
105// viewMenu->insertItem( tr( "About" ), this, SLOT( doAbout() )); 106// viewMenu->insertItem( tr( "About" ), this, SLOT( doAbout() ));