author | harlekin <harlekin> | 2002-09-20 21:05:08 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-09-20 21:05:08 (UTC) |
commit | 7027b4c29de455d457b7d62f52511216a8b76b9c (patch) (side-by-side diff) | |
tree | acc5eaa9c0f92f5e88f3bb14dab77c09f9cb9d2c | |
parent | d2d73b6391fbc7f743199f48387d13e887bbac1e (diff) | |
download | opie-7027b4c29de455d457b7d62f52511216a8b76b9c.zip opie-7027b4c29de455d457b7d62f52511216a8b76b9c.tar.gz opie-7027b4c29de455d457b7d62f52511216a8b76b9c.tar.bz2 |
otabwidget now in config dialog
-rw-r--r-- | core/pim/today/today.cpp | 5 | ||||
-rw-r--r-- | core/pim/today/todayconfig.cpp | 8 | ||||
-rw-r--r-- | core/pim/today/todayconfig.h | 3 |
3 files changed, 8 insertions, 8 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index d8b427d..901a61a 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp @@ -34,5 +34,5 @@ #include <qlayout.h> #include <qhbox.h> -#include <qtabwidget.h> +#include <opie/otabwidget.h> #include <qdialog.h> @@ -261,5 +261,6 @@ void Today::startConfig() { ConfigWidget* widget = plugin.guiPart->configWidget( conf.TabWidget3 ); configWidgetList.append( widget ); - conf.TabWidget3->insertTab( widget, plugin.guiPart->appName() ); + conf.TabWidget3->addTab( widget, plugin.guiPart->pixmapNameConfig() + , plugin.guiPart->appName() ); } // set the order/activate tab diff --git a/core/pim/today/todayconfig.cpp b/core/pim/today/todayconfig.cpp index 532d126..04f595b 100644 --- a/core/pim/today/todayconfig.cpp +++ b/core/pim/today/todayconfig.cpp @@ -56,7 +56,5 @@ TodayConfig::TodayConfig( QWidget* parent, const char* name, bool modal, WFlags QVBoxLayout *layout = new QVBoxLayout( this ); - TabWidget3 = new QTabWidget( this, "TabWidget3" ); - TabWidget3->setAutoMask( FALSE ); - TabWidget3->setTabShape( QTabWidget::Rounded ); + TabWidget3 = new OTabWidget ( this, "tabwidget", OTabWidget::Global, OTabWidget::Bottom ); layout->addWidget( TabWidget3 ); @@ -74,5 +72,5 @@ TodayConfig::TodayConfig( QWidget* parent, const char* name, bool modal, WFlags new ToolButton( vbox1, tr( "Move Down" ),"opieplayer/down", this , SLOT( moveSelectedDown() ) ); tab2Layout->addWidget( hbox1 ); - TabWidget3->insertTab( tab_2, tr( "active/order" ) ); + TabWidget3->addTab( tab_2, "pass", tr( "active/order" ) ); tab_3 = new QWidget( TabWidget3, "tab_3" ); @@ -89,5 +87,5 @@ TodayConfig::TodayConfig( QWidget* parent, const char* name, bool modal, WFlags tab3Layout->addWidget( hbox_auto ); tab3Layout->addWidget( hbox_inactive ); - TabWidget3->insertTab( tab_3, tr( "Misc" ) ); + TabWidget3->addTab( tab_3, "SettingsIcon", tr( "Misc" ) ); m_applets_changed = false; diff --git a/core/pim/today/todayconfig.h b/core/pim/today/todayconfig.h index d5bdb4b..49cd10f 100644 --- a/core/pim/today/todayconfig.h +++ b/core/pim/today/todayconfig.h @@ -21,4 +21,5 @@ #include <qdialog.h> #include <qlistview.h> +#include <opie/otabwidget.h> class QCheckBox; @@ -35,5 +36,5 @@ public: ~TodayConfig(); - QTabWidget* TabWidget3; + OTabWidget* TabWidget3; void writeConfig(); |