kactivelabel.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef _KACTIVELABEL_H_
00020 #define _KACTIVELABEL_H_
00021
00022 #include <qtextbrowser.h>
00023
00024
00025
00026 class KActiveLabelPrivate;
00033 class KActiveLabel : public QTextBrowser
00034 {
00035 Q_OBJECT
00036 public:
00044 KActiveLabel(QWidget * parent, const char * name = 0);
00045
00053 KActiveLabel(const QString & text, QWidget * parent, const char * name = 0);
00054
00055 QSize minimumSizeHint() const;
00056 QSize sizeHint() const;
00057
00058 public slots:
00062 virtual void openLink(const QString & link);
00063
00064 private slots:
00065 void paletteChanged();
00066 void setSource( const QString &) { }
00067
00068 private:
00069 void init();
00070 protected:
00071 virtual void virtual_hook( int id, void* data );
00072 virtual void focusInEvent( QFocusEvent* fe );
00073 virtual void focusOutEvent( QFocusEvent* fe );
00074 private:
00075 KActiveLabelPrivate *d;
00076 };
00077
00078 #endif
This file is part of the documentation for kdelibs Version 3.1.5.