author | drw <drw> | 2005-03-01 00:16:32 (UTC) |
---|---|---|
committer | drw <drw> | 2005-03-01 00:16:32 (UTC) |
commit | 73faad9d936d5af7a331411a9572fd362907e023 (patch) (side-by-side diff) | |
tree | aaa2b212906baba1b5c25d772b9a181f52f05284 | |
parent | 2daad674b92c1fd94b0260a15f0baa732e5db20e (diff) | |
download | opie-73faad9d936d5af7a331411a9572fd362907e023.zip opie-73faad9d936d5af7a331411a9572fd362907e023.tar.gz opie-73faad9d936d5af7a331411a9572fd362907e023.tar.bz2 |
Provide initial values for tab bar style & position
-rw-r--r-- | libopie2/opieui/otabwidget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libopie2/opieui/otabwidget.cpp b/libopie2/opieui/otabwidget.cpp index 01747e1..ae396b9 100644 --- a/libopie2/opieui/otabwidget.cpp +++ b/libopie2/opieui/otabwidget.cpp @@ -33,32 +33,34 @@ _;:, .> :=|. This program is free software; you can /* OPIE */ #include <qpe/applnk.h> #include <qpe/config.h> #include <qpe/resource.h> #include <opie2/otabbar.h> /* QT */ #include <qcombobox.h> #include <qwidgetstack.h> using namespace Opie::Ui; OTabWidget::OTabWidget( QWidget *parent, const char *name, TabStyle s, TabPosition p ) : QWidget( parent, name ) , m_currTab( 0l ) + , m_tabBarStyle( Global ) + , m_tabBarPosition( Top ) , m_usingTabs( true ) , m_tabBar( 0l ) , m_tabList( 0l ) { if ( s == Global ) { // Read Opie global settings for style and position Config config( "qpe" ); config.setGroup( "Appearance" ); // Style s = ( TabStyle ) config.readNumEntry( "TabStyle", (int) IconTab ); if ( s <= Global || s > IconList) s = IconTab; // Position |