author | zautrix <zautrix> | 2005-06-30 04:58:35 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-06-30 04:58:35 (UTC) |
commit | ba4a6a95356f9a8044257c45347cee8b15667d0c (patch) (unidiff) | |
tree | 63ffa2000426f06cae7ec5be7d1847b5f9fb4e26 /microkde/kdeui/klistview.h | |
parent | 63147898391dbeabca2dc8f48730b324c15a7498 (diff) | |
download | kdepimpi-ba4a6a95356f9a8044257c45347cee8b15667d0c.zip kdepimpi-ba4a6a95356f9a8044257c45347cee8b15667d0c.tar.gz kdepimpi-ba4a6a95356f9a8044257c45347cee8b15667d0c.tar.bz2 |
fixxx
-rw-r--r-- | microkde/kdeui/klistview.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/microkde/kdeui/klistview.h b/microkde/kdeui/klistview.h index 0058416..9f0d9fd 100644 --- a/microkde/kdeui/klistview.h +++ b/microkde/kdeui/klistview.h | |||
@@ -109,48 +109,49 @@ public: | |||
109 | Single = QListView::Single, | 109 | Single = QListView::Single, |
110 | Multi = QListView::Multi, | 110 | Multi = QListView::Multi, |
111 | Extended = QListView::Extended, | 111 | Extended = QListView::Extended, |
112 | NoSelection = QListView::NoSelection, | 112 | NoSelection = QListView::NoSelection, |
113 | FileManager | 113 | FileManager |
114 | }; | 114 | }; |
115 | void repaintContents( bool erase = true ) | 115 | void repaintContents( bool erase = true ) |
116 | { | 116 | { |
117 | QScrollView::repaintContents( contentsX(), contentsY(), | 117 | QScrollView::repaintContents( contentsX(), contentsY(), |
118 | visibleWidth(), visibleHeight(), erase ); | 118 | visibleWidth(), visibleHeight(), erase ); |
119 | }; | 119 | }; |
120 | /** | 120 | /** |
121 | * Constructor. | 121 | * Constructor. |
122 | * | 122 | * |
123 | * The parameters @p parent and @p name are handled by | 123 | * The parameters @p parent and @p name are handled by |
124 | * @ref QListView, as usual. | 124 | * @ref QListView, as usual. |
125 | */ | 125 | */ |
126 | KListView (QWidget *parent = 0, const char *name = 0, bool emulateRightMouse = true ); | 126 | KListView (QWidget *parent = 0, const char *name = 0, bool emulateRightMouse = true ); |
127 | 127 | ||
128 | /** | 128 | /** |
129 | * Destructor. | 129 | * Destructor. |
130 | */ | 130 | */ |
131 | virtual ~KListView(); | 131 | virtual ~KListView(); |
132 | 132 | ||
133 | virtual QSize sizeHint() const; | ||
133 | /** | 134 | /** |
134 | * Reimplemented for internal reasons. | 135 | * Reimplemented for internal reasons. |
135 | * Further reimplementations should call this function or else | 136 | * Further reimplementations should call this function or else |
136 | * some features may not work correctly. | 137 | * some features may not work correctly. |
137 | * | 138 | * |
138 | * The API is unaffected. | 139 | * The API is unaffected. |
139 | */ | 140 | */ |
140 | virtual void setAcceptDrops (bool); | 141 | virtual void setAcceptDrops (bool); |
141 | 142 | ||
142 | /** | 143 | /** |
143 | * This function determines whether the given coordinates are within the | 144 | * This function determines whether the given coordinates are within the |
144 | * execute area. The execute area is the part of a @ref QListViewItem where mouse | 145 | * execute area. The execute area is the part of a @ref QListViewItem where mouse |
145 | * clicks or double clicks respectively generate a @ref #executed() signal. | 146 | * clicks or double clicks respectively generate a @ref #executed() signal. |
146 | * Depending on @ref QListView::allColumnsShowFocus() this is either the | 147 | * Depending on @ref QListView::allColumnsShowFocus() this is either the |
147 | * whole item or only the first column. | 148 | * whole item or only the first column. |
148 | * @return true if point is inside execute area of an item, false in all | 149 | * @return true if point is inside execute area of an item, false in all |
149 | * other cases including the case that it is over the viewport. | 150 | * other cases including the case that it is over the viewport. |
150 | */ | 151 | */ |
151 | virtual bool isExecuteArea( const QPoint& point ); | 152 | virtual bool isExecuteArea( const QPoint& point ); |
152 | 153 | ||
153 | /** | 154 | /** |
154 | * Same thing, but from an x coordinate only. This only checks if x is in | 155 | * Same thing, but from an x coordinate only. This only checks if x is in |
155 | * the first column (if all columns don't show focus), without testing if | 156 | * the first column (if all columns don't show focus), without testing if |
156 | * the y coordinate is over an item or not. | 157 | * the y coordinate is over an item or not. |