author | llornkcor <llornkcor> | 2002-05-06 20:54:54 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-05-06 20:54:54 (UTC) |
commit | 8622bcb85245937853f3e657498957deb7eb2073 (patch) (unidiff) | |
tree | 9c48f2312364b71358288e435e0ce5c39bd63c40 /noncore/settings/tabmanager/tablistview.h | |
parent | 24259e7b1446f671861b86ee1abb5d8021b98387 (diff) | |
download | opie-8622bcb85245937853f3e657498957deb7eb2073.zip opie-8622bcb85245937853f3e657498957deb7eb2073.tar.gz opie-8622bcb85245937853f3e657498957deb7eb2073.tar.bz2 |
removed license info as per request from benmeyer..... it's still GPL, tho
Diffstat (limited to 'noncore/settings/tabmanager/tablistview.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/tabmanager/tablistview.h | 30 |
1 files changed, 1 insertions, 29 deletions
diff --git a/noncore/settings/tabmanager/tablistview.h b/noncore/settings/tabmanager/tablistview.h index 545ee38..97f9dec 100644 --- a/noncore/settings/tabmanager/tablistview.h +++ b/noncore/settings/tabmanager/tablistview.h | |||
@@ -1,34 +1,6 @@ | |||
1 | /* | ||
2 | |||
3 | =. This file is part of the OPIE Project | ||
4 | .=l. Copyright (c) 2002 Benjamin Meyer <meyerb@sharpsec.com> | ||
5 | .>+-= | ||
6 | _;:, .> :=|. This library is free software; you can | ||
7 | .> <`_, > . <= redistribute it and/or modify it under | ||
8 | :`=1 )Y*s>-.-- : the terms of the GNU Library General Public | ||
9 | .="- .-=="i, .._ License as published by the Free Software | ||
10 | - . .-<_> .<> Foundation; either version 2 of the License, | ||
11 | ._= =} : or (at your option) any later version. | ||
12 | .%`+i> _;_. | ||
13 | .i_,=:_. -<s. This library is distributed in the hope that | ||
14 | + . -:. = it will be useful, but WITHOUT ANY WARRANTY; | ||
15 | : .. .:, . . . without even the implied warranty of | ||
16 | =_ + =;=|` MERCHANTABILITY or FITNESS FOR A | ||
17 | _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU | ||
18 | ..}^=.= = ; Library General Public License for more | ||
19 | ++= -. .` .: details. | ||
20 | : = ...= . :.=- | ||
21 | -. .:....=;==+<; You should have received a copy of the GNU | ||
22 | -_. . . )=. = Library General Public License along with | ||
23 | -- :-=` this library; see the file COPYING.LIB. | ||
24 | If not, write to the Free Software Foundation, | ||
25 | Inc., 59 Temple Place - Suite 330, | ||
26 | Boston, MA 02111-1307, USA. | ||
27 | |||
28 | */ | ||
29 | #ifndef TABLISTVIEW_H | 1 | #ifndef TABLISTVIEW_H |
30 | #define TABLISTVIEW_H | 2 | #define TABLISTVIEW_H |
31 | 3 | ||
32 | #include <qlistview.h> | 4 | #include <qlistview.h> |
33 | #include <qcursor.h> | 5 | #include <qcursor.h> |
34 | #include <qapplication.h> | 6 | #include <qapplication.h> |
@@ -44,13 +16,13 @@ public: | |||
44 | connect(this, SIGNAL(pressed ( QListViewItem *)), this, SLOT(itemPressed(QListViewItem *))); | 16 | connect(this, SIGNAL(pressed ( QListViewItem *)), this, SLOT(itemPressed(QListViewItem *))); |
45 | internalCursor.setShape(0); | 17 | internalCursor.setShape(0); |
46 | }; | 18 | }; |
47 | 19 | ||
48 | protected: | 20 | protected: |
49 | void contentsMouseReleaseEvent(QMouseEvent* ){ | 21 | void contentsMouseReleaseEvent(QMouseEvent* ){ |
50 | QListViewItem *newGroup = this->currentItem(); | 22 | QListViewItem *newGroup = this->currentItem(); |
51 | // Make sure they are both real. | 23 | // Make sure they are both real. |
52 | if (currentSelectedItem == NULL || newGroup == NULL) | 24 | if (currentSelectedItem == NULL || newGroup == NULL) |
53 | return; | 25 | return; |
54 | // Make sure they are not the same | 26 | // Make sure they are not the same |
55 | if(this->isSelected(currentSelectedItem) == true) | 27 | if(this->isSelected(currentSelectedItem) == true) |
56 | return; | 28 | return; |