summaryrefslogtreecommitdiff
path: root/libopie2
authorzecke <zecke>2004-03-26 22:36:43 (UTC)
committer zecke <zecke>2004-03-26 22:36:43 (UTC)
commitc54a3c8cc47258743381d4dee4200304d247182d (patch) (unidiff)
treebc96497821743c7b7789004fd700f58f10f0f772 /libopie2
parent2487838d0f9358d6efdf714e9dfd892f92802b46 (diff)
downloadopie-c54a3c8cc47258743381d4dee4200304d247182d.zip
opie-c54a3c8cc47258743381d4dee4200304d247182d.tar.gz
opie-c54a3c8cc47258743381d4dee4200304d247182d.tar.bz2
Add WFlags to the c'tor so we eventually can use this
in the designer... but anyway making it more consistent with Qt Ah and this is binary incompatible but the API isn't marked as stable anyway
Diffstat (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opieui/olistview.cpp4
-rw-r--r--libopie2/opieui/olistview.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/libopie2/opieui/olistview.cpp b/libopie2/opieui/olistview.cpp
index 38670b4..d7c92fd 100644
--- a/libopie2/opieui/olistview.cpp
+++ b/libopie2/opieui/olistview.cpp
@@ -42,14 +42,14 @@ using namespace Opie::Core;
42namespace Opie { 42namespace Opie {
43namespace Ui { 43namespace Ui {
44/*====================================================================================== 44/*======================================================================================
45 * OListView 45 * OListView
46 *======================================================================================*/ 46 *======================================================================================*/
47 47
48OListView::OListView( QWidget *parent, const char *name ) 48OListView::OListView( QWidget *parent, const char *name, WFlags fl )
49 :QListView( parent, name ) 49 :QListView( parent, name, fl )
50{ 50{
51 //FIXME: get from global settings and calculate ==> see oglobalsettings.* 51 //FIXME: get from global settings and calculate ==> see oglobalsettings.*
52 52
53 m_alternateBackground = QColor( 238, 246, 255 ); 53 m_alternateBackground = QColor( 238, 246, 255 );
54 m_columnSeparator = QPen( QColor( 150, 160, 170 ), 0, DotLine ); 54 m_columnSeparator = QPen( QColor( 150, 160, 170 ), 0, DotLine );
55 m_fullWidth = true; 55 m_fullWidth = true;
diff --git a/libopie2/opieui/olistview.h b/libopie2/opieui/olistview.h
index 8195a62..3ff11ef 100644
--- a/libopie2/opieui/olistview.h
+++ b/libopie2/opieui/olistview.h
@@ -62,13 +62,13 @@ class OListView: public QListView
62 /** 62 /**
63 * Constructor. 63 * Constructor.
64 * 64 *
65 * The parameters @a parent and @a name are handled by 65 * The parameters @a parent and @a name are handled by
66 * @ref QListView, as usual. 66 * @ref QListView, as usual.
67 */ 67 */
68 OListView( QWidget* parent = 0, const char* name = 0 ); 68 OListView( QWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
69 /** 69 /**
70 * Destructor. 70 * Destructor.
71 */ 71 */
72 virtual ~OListView(); 72 virtual ~OListView();
73 /** 73 /**
74 * Let the last column fit exactly all the available width. 74 * Let the last column fit exactly all the available width.