summaryrefslogtreecommitdiff
path: root/libopie2/opieui/oversatileviewitem.h
Unidiff
Diffstat (limited to 'libopie2/opieui/oversatileviewitem.h') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opieui/oversatileviewitem.h100
1 files changed, 100 insertions, 0 deletions
diff --git a/libopie2/opieui/oversatileviewitem.h b/libopie2/opieui/oversatileviewitem.h
new file mode 100644
index 0000000..ee8ee20
--- a/dev/null
+++ b/libopie2/opieui/oversatileviewitem.h
@@ -0,0 +1,100 @@
1/*
2                 This file is part of the Opie Project
3
4              Copyright (C) 2003 Michael 'Mickey' Lauer <mickey@tm.informatik.uni-frankfurt.de>
5 =.
6 .=l.
7           .>+-=
8 _;:,     .>    :=|. This program is free software; you can
9.> <`_,   >  .   <= redistribute it and/or modify it under
10:`=1 )Y*s>-.--   : the terms of the GNU Library General Public
11.="- .-=="i,     .._ License as published by the Free Software
12 - .   .-<_>     .<> Foundation; either version 2 of the License,
13     ._= =}       : or (at your option) any later version.
14    .%`+i>       _;_.
15    .i_,=:_.      -<s. This program is distributed in the hope that
16     +  .  -:.       = it will be useful, but WITHOUT ANY WARRANTY;
17    : ..    .:,     . . . without even the implied warranty of
18    =_        +     =;=|` MERCHANTABILITY or FITNESS FOR A
19  _.=:.       :    :=>`: PARTICULAR PURPOSE. See the GNU
20..}^=.=       =       ; Library General Public License for more
21++=   -.     .`     .: details.
22 :     =  ...= . :.=-
23 -.   .:....=;==+<; You should have received a copy of the GNU
24  -_. . .   )=.  = Library General Public License along with
25    --        :-=` this library; see the file COPYING.LIB.
26 If not, write to the Free Software Foundation,
27 Inc., 59 Temple Place - Suite 330,
28 Boston, MA 02111-1307, USA.
29
30*/
31
32#ifndef OVERSATILEVIEWITEM_H
33#define OVERSATILEVIEWITEM_H
34
35/* QT */
36
37#include <qiconview.h>
38
39/* OPIE */
40
41#include <opie2/olistview.h>
42
43class OVersatileView;
44
45class OVersatileViewItem : public OListViewItem, public QIconViewItem
46{
47 public:
48 OVersatileViewItem( OVersatileView * parent );
49
50 OVersatileViewItem( OVersatileView * parent, OVersatileViewItem * after );
51
52 OVersatileViewItem( OVersatileViewItem * parent, OVersatileViewItem * after );
53
54 OVersatileViewItem( OVersatileView * parent, QString,
55 QString = QString::null, QString = QString::null,
56 QString = QString::null, QString = QString::null,
57 QString = QString::null, QString = QString::null,
58 QString = QString::null );
59
60 OVersatileViewItem( OVersatileViewItem * parent, QString,
61 QString = QString::null, QString = QString::null,
62 QString = QString::null, QString = QString::null,
63 QString = QString::null, QString = QString::null,
64 QString = QString::null );
65
66 OVersatileViewItem( OVersatileView * parent, OVersatileViewItem * after, QString,
67 QString = QString::null, QString = QString::null,
68 QString = QString::null, QString = QString::null,
69 QString = QString::null, QString = QString::null,
70 QString = QString::null );
71
72 OVersatileViewItem( OVersatileViewItem * parent, OVersatileViewItem * after, QString,
73 QString = QString::null, QString = QString::null,
74 QString = QString::null, QString = QString::null,
75 QString = QString::null, QString = QString::null,
76 QString = QString::null );
77
78 virtual ~OVersatileViewItem();
79
80 OVersatileView* versatileView() const;
81
82 // TODO: Implement the remaining constructors from QIconView
83
84 /* OIconViewItem( QIconView *parent, const QString &text, const QPixmap &icon );
85 OIconViewItem( QIconView *parent, QIconViewItem *after, const QString &text, const QPixmap &icon );
86 */
87
88 virtual void setRenameEnabled( bool );
89
90 // TODO: Implement the remaining method multiplexers
91
92 private:
93 OVersatileView* _versatileview;
94
95 private:
96 void init();
97
98};
99
100#endif