summaryrefslogtreecommitdiff
path: root/libopie2/opieui/oclickablelabel.h
Side-by-side diff
Diffstat (limited to 'libopie2/opieui/oclickablelabel.h') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opieui/oclickablelabel.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libopie2/opieui/oclickablelabel.h b/libopie2/opieui/oclickablelabel.h
index b224d61..90859a0 100644
--- a/libopie2/opieui/oclickablelabel.h
+++ b/libopie2/opieui/oclickablelabel.h
@@ -24,26 +24,26 @@
    --        :-=` this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
*/
#ifndef OCLICKABLELABEL_H
#define OCLICKABLELABEL_H
/* QT */
#include <qlabel.h>
-namespace Opie
-{
+namespace Opie{
+namespace Ui {
/**
* This class is a special QLabel which can behave
* as a QPushButton or QToggleButton.
* The reason to use a clickable is if you want to save space
* or you want to skip the border of a normal button
*
* <pre>
* QLabel* lbl = new OClickableLabel( parent, "PushLabel" );
* lbl->setPixmap( "config" );
* QWhatsThis::add( lbl, tr("Click here to do something") );
* </pre>
@@ -89,15 +89,16 @@ private:
bool isToggle : 1;
bool isDown : 1;
bool textInverted : 1;
void showState(bool on);
void setInverted(bool on);
private:
class Private;
Private *d; // private d pointer
};
-};
+}
+}
#endif