summaryrefslogtreecommitdiff
path: root/libopie/otabbar.h
authormickeyl <mickeyl>2004-11-16 19:14:18 (UTC)
committer mickeyl <mickeyl>2004-11-16 19:14:18 (UTC)
commitea3945a9bd8f9830f70b1efa133f9df13b19362f (patch) (unidiff)
treef2ea22cc50e9aa8aa73ee7dea148f41c563c9666 /libopie/otabbar.h
parent1c6f490e8541626f68422e0a3a7c7281d7f5b7d3 (diff)
downloadopie-ea3945a9bd8f9830f70b1efa133f9df13b19362f.zip
opie-ea3945a9bd8f9830f70b1efa133f9df13b19362f.tar.gz
opie-ea3945a9bd8f9830f70b1efa133f9df13b19362f.tar.bz2
libopie1 goes into unsupported
Diffstat (limited to 'libopie/otabbar.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/otabbar.h80
1 files changed, 0 insertions, 80 deletions
diff --git a/libopie/otabbar.h b/libopie/otabbar.h
deleted file mode 100644
index 668187b..0000000
--- a/libopie/otabbar.h
+++ b/dev/null
@@ -1,80 +0,0 @@
1/*
2                This file is part of the Opie Project
3
4              Copyright (c) 2002 Dan Williams <williamsdr@acm.org>
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 OTABBAR_H
33#define OTABBAR_H
34
35#include <qtabbar.h>
36
37/**
38 * @class OTabBar
39 * @brief The OTabBar class is a derivative of QTabBar.
40 *
41 * OTabBar is a derivation of TrollTech's QTabBar which provides
42 * a row of tabs for selection. The only difference between this
43 * class and QTabBar is that there is no dotted line box around
44 * the label of the tab with the current focus.
45 */
46class OTabBar : public QTabBar
47{
48 Q_OBJECT
49
50public:
51/**
52 * @fn OTabBar( QWidget *parent = 0, const char *name = 0 )
53 * @brief Object constructor.
54 *
55 * @param parent Pointer to parent of this control.
56 * @param name Name of control.
57 *
58 * Constructs a new OTabBar control with parent and name.
59 */
60 // FIXME Allow WFlags? -zecke
61 OTabBar( QWidget * = 0, const char * = 0 );
62
63protected:
64/**
65 * @fn paintLabel( QPainter* p, const QRect& br , QTab* t, bool has_focus)const
66 * @brief Internal function to draw a tab's label.
67 *
68 * @param p Pointer to QPainter used for drawing.
69 * @param br QRect providing region to draw label in.
70 * @param t Tab to draw label for.
71 * @param has_focus Boolean value not used, retained for compatibility reasons.
72 */
73 void paintLabel( QPainter *, const QRect &, QTab *, bool ) const;
74
75private:
76 class Private;
77 Private *d;
78};
79
80#endif