summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfm.cpp14
-rw-r--r--noncore/apps/advancedfm/advancedfm.h4
-rw-r--r--noncore/apps/advancedfm/advancedfmData.cpp11
3 files changed, 15 insertions, 14 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp
index 77dca49..91318f1 100644
--- a/noncore/apps/advancedfm/advancedfm.cpp
+++ b/noncore/apps/advancedfm/advancedfm.cpp
@@ -18,3 +18,3 @@
-#include <opie/otabwidget.h>
+#include <opie/osplitter.h>
@@ -220,6 +220,6 @@ void AdvancedFm::rePopulate()
{
- TabWidget->setCurrentTab(i - 1);
+ TabWidget->setCurrentWidget(i - 1);
populateView();
}
- TabWidget->setCurrentTab( tmpTab - 1);
+ TabWidget->setCurrentWidget( tmpTab - 1);
}
@@ -278,3 +278,3 @@ void AdvancedFm::switchToLocalTab()
{
- TabWidget->setCurrentTab(0);
+ TabWidget->setCurrentWidget(0);
Local_View->setFocus();
@@ -284,3 +284,3 @@ void AdvancedFm::switchToRemoteTab()
{
- TabWidget->setCurrentTab(1);
+ TabWidget->setCurrentWidget(1);
Remote_View->setFocus();
@@ -864,5 +864,5 @@ void AdvancedFm::setOtherTabCurrent()
if ( whichTab == 1)
- TabWidget->setCurrentTab(1);
+ TabWidget->setCurrentWidget(1);
else
- TabWidget->setCurrentTab(0);
+ TabWidget->setCurrentWidget(0);
}
diff --git a/noncore/apps/advancedfm/advancedfm.h b/noncore/apps/advancedfm/advancedfm.h
index 94d7bd7..5e2c769 100644
--- a/noncore/apps/advancedfm/advancedfm.h
+++ b/noncore/apps/advancedfm/advancedfm.h
@@ -32,3 +32,3 @@
-class OTabWidget;
+class OSplitter;
class QVBoxLayout;
@@ -92,3 +92,3 @@ protected:
- OTabWidget *TabWidget;
+ OSplitter *TabWidget;
QCopChannel * channel;
diff --git a/noncore/apps/advancedfm/advancedfmData.cpp b/noncore/apps/advancedfm/advancedfmData.cpp
index 45dc0c4..463b202 100644
--- a/noncore/apps/advancedfm/advancedfmData.cpp
+++ b/noncore/apps/advancedfm/advancedfmData.cpp
@@ -13,3 +13,3 @@
-#include <opie/otabwidget.h>
+#include <opie/osplitter.h>
#include <qpe/storage.h>
@@ -132,3 +132,3 @@ void AdvancedFm::init() {
- TabWidget = new OTabWidget( this, "TabWidget",/* OTabWidget::Global | */OTabWidget::IconTab);
+ TabWidget = new OSplitter( Horizontal, this, "TabWidget" );
// TabWidget = new QTabWidget( this, "TabWidget" );
@@ -155,3 +155,3 @@ void AdvancedFm::init() {
- TabWidget->addTab( tab,"advancedfm/smFileBrowser.png", tr("1"));
+ TabWidget->addWidget( tab,"advancedfm/smFileBrowser.png", tr("1"));
// TabWidget->insertTab( tab, tr("1"));
@@ -178,3 +178,4 @@ void AdvancedFm::init() {
- TabWidget->addTab( tab_2, "advancedfm/smFileBrowser.png",tr( "2"));
+ TabWidget->addWidget( tab_2, "advancedfm/smFileBrowser.png",tr( "2"));
+ TabWidget->setSizeChange( 370 );
// TabWidget->insertTab( tab_2, tr( "2"));
@@ -234,3 +235,3 @@ void AdvancedFm::init() {
showMenuHidden();
- TabWidget->setCurrentTab(0);
+ TabWidget->setCurrentWidget(0);