author | llornkcor <llornkcor> | 2002-10-20 15:51:08 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-10-20 15:51:08 (UTC) |
commit | 0535df00106c4e4c78e6ae8dde8f4f41f8487dae (patch) (side-by-side diff) | |
tree | a00836456d62b54a2959c76276879d12efc5501e /noncore/apps/advancedfm/advancedfmData.cpp | |
parent | 1a583682e8a49e65d5c478ab72dffb78d120c850 (diff) | |
download | opie-0535df00106c4e4c78e6ae8dde8f4f41f8487dae.zip opie-0535df00106c4e4c78e6ae8dde8f4f41f8487dae.tar.gz opie-0535df00106c4e4c78e6ae8dde8f4f41f8487dae.tar.bz2 |
converted to otab, and updated show hidden dir functions
Diffstat (limited to 'noncore/apps/advancedfm/advancedfmData.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/advancedfm/advancedfmData.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/noncore/apps/advancedfm/advancedfmData.cpp b/noncore/apps/advancedfm/advancedfmData.cpp index 619a7a9..7188640 100644 --- a/noncore/apps/advancedfm/advancedfmData.cpp +++ b/noncore/apps/advancedfm/advancedfmData.cpp @@ -13,2 +13,3 @@ +#include <opie/otabwidget.h> #include <qpe/qpeapplication.h> @@ -24,3 +25,2 @@ #include <qtoolbutton.h> -#include <qtabwidget.h> #include <qlineedit.h> @@ -110,3 +110,4 @@ void AdvancedFm::init() { - TabWidget = new QTabWidget( this, "TabWidget" ); + TabWidget = new OTabWidget( this, "TabWidget",/* OTabWidget::Global | */OTabWidget::IconTab); +// TabWidget = new QTabWidget( this, "TabWidget" ); layout->addMultiCellWidget( TabWidget, 2, 2, 0, 7); @@ -132,3 +133,4 @@ void AdvancedFm::init() { - TabWidget->insertTab( tab, tr("1")); + TabWidget->addTab( tab,"advancedfm/smFileBrowser.png", tr("1")); +// TabWidget->insertTab( tab, tr("1")); @@ -154,4 +156,4 @@ void AdvancedFm::init() { - - TabWidget->insertTab( tab_2, tr( "2")); + TabWidget->addTab( tab_2, "advancedfm/smFileBrowser.png",tr( "2")); +// TabWidget->insertTab( tab_2, tr( "2")); @@ -201,3 +203,3 @@ void AdvancedFm::init() { b=FALSE; - + TabWidget->setCurrentTab(0); |