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;
00035 class KActiveLabel : public QTextBrowser
00036 {
00037     Q_OBJECT
00038 public:
00046     KActiveLabel(QWidget * parent, const char * name = 0);
00047 
00055     KActiveLabel(const QString & text, QWidget * parent, const char * name = 0);
00056 
00057     QSize minimumSizeHint() const;
00058     QSize sizeHint() const;
00059 
00060 public slots:
00068     virtual void openLink(const QString & link);
00069 
00070 private slots:
00071     void paletteChanged();
00072     void setSource( const QString &) { }
00073 
00074 private:
00075     void init();
00076 protected:
00077     virtual void virtual_hook( int id, void* data );
00078     virtual void focusInEvent( QFocusEvent* fe );
00079     virtual void focusOutEvent( QFocusEvent* fe );
00080 private:
00081     KActiveLabelPrivate *d;
00082 };
00083 
00084 #endif
 
This file is part of the documentation for kdeui Library Version 3.2.0.