summaryrefslogtreecommitdiff
path: root/libopie2
Unidiff
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
@@ -36,26 +36,26 @@
36#include <opie2/odebug.h> 36#include <opie2/odebug.h>
37#include <opie2/olistview.h> 37#include <opie2/olistview.h>
38 38
39using namespace Opie::Core; 39using namespace Opie::Core;
40 40
41 41
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;
56 connect( this, SIGNAL(expanded(QListViewItem*)), SLOT(expand(QListViewItem*))); 56 connect( this, SIGNAL(expanded(QListViewItem*)), SLOT(expand(QListViewItem*)));
57} 57}
58 58
59OListView::~OListView() 59OListView::~OListView()
60{ 60{
61} 61}
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
@@ -56,25 +56,25 @@ class OListViewItem;
56 * @author Michael 'Mickey' Lauer <mickey@vanille.de> 56 * @author Michael 'Mickey' Lauer <mickey@vanille.de>
57 */ 57 */
58class OListView: public QListView 58class OListView: public QListView
59{ 59{
60 Q_OBJECT 60 Q_OBJECT
61 public: 61 public:
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.
75 */ 75 */
76 void setFullWidth( bool fullWidth ); 76 void setFullWidth( bool fullWidth );
77 /** 77 /**
78 * Returns whether the last column is set to fit the available width. 78 * Returns whether the last column is set to fit the available width.
79 */ 79 */
80 bool fullWidth() const; 80 bool fullWidth() const;