diff options
Diffstat (limited to 'krecipes/src/widgets/paneldeco.h')
-rw-r--r-- | krecipes/src/widgets/paneldeco.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/krecipes/src/widgets/paneldeco.h b/krecipes/src/widgets/paneldeco.h index 10ac326..a7114e4 100644 --- a/krecipes/src/widgets/paneldeco.h +++ b/krecipes/src/widgets/paneldeco.h @@ -11,14 +11,14 @@ #define PANELDECO_H -#include <qevent.h> -#include <qiconset.h> -#include <qstring.h> -#include <qhbox.h> -#include <qpixmap.h> -#include <qvbox.h> -#include <qwidget.h> -#include <qwidgetstack.h> +#include <ntqevent.h> +#include <ntqiconset.h> +#include <ntqstring.h> +#include <ntqhbox.h> +#include <ntqpixmap.h> +#include <ntqvbox.h> +#include <ntqwidget.h> +#include <ntqwidgetstack.h> /** @@ -29,57 +29,57 @@ class PanelDeco; class LeftDeco; class TopDeco; -class PanelDeco : public QVBox +class PanelDeco : public TQVBox { Q_OBJECT public: // Methods - PanelDeco( QWidget *parent = 0, const char *name = 0, const QString &title = QString::null, const QString &iconName = QString::null ); + PanelDeco( TQWidget *parent = 0, const char *name = 0, const TQString &title = TQString::null, const TQString &iconName = TQString::null ); ~PanelDeco(); - int id( QWidget* w ); // obtain the id of the given panel - QWidget* visiblePanel( void ); // obtain the current active panel no. + int id( TQWidget* w ); // obtain the id of the given panel + TQWidget* visiblePanel( void ); // obtain the current active panel no. signals: - void panelRaised( QWidget *w, QWidget *old_w ); + void panelRaised( TQWidget *w, TQWidget *old_w ); private: - QHBox *hbox; + TQHBox *hbox; LeftDeco *lDeco; TopDeco *tDeco; - QWidgetStack *stack; + TQWidgetStack *stack; public slots: - void raise( QWidget *w ); - void setHeader( const QString &title = QString::null, const QString &icon = QString::null ); + void raise( TQWidget *w ); + void setHeader( const TQString &title = TQString::null, const TQString &icon = TQString::null ); protected: - virtual void childEvent( QChildEvent *e ); + virtual void childEvent( TQChildEvent *e ); }; -class LeftDeco: public QWidget +class LeftDeco: public TQWidget { Q_OBJECT public: - LeftDeco( QWidget *parent = 0, const char *name = 0 ); + LeftDeco( TQWidget *parent = 0, const char *name = 0 ); ~LeftDeco(); }; -class TopDeco: public QWidget +class TopDeco: public TQWidget { Q_OBJECT public: - TopDeco( QWidget *parent = 0, const char *name = 0, const QString &title = QString::null, const QString &iconName = QString::null ); + TopDeco( TQWidget *parent = 0, const char *name = 0, const TQString &title = TQString::null, const TQString &iconName = TQString::null ); ~TopDeco(); - virtual QSize sizeHint( void ); + virtual TQSize sizeHint( void ); public slots: - void setHeader( const QString &title = QString::null, const QString &iconName = QString::null ); + void setHeader( const TQString &title = TQString::null, const TQString &iconName = TQString::null ); protected: - virtual void paintEvent( QPaintEvent *e ); + virtual void paintEvent( TQPaintEvent *e ); private: - QPixmap *icon; - QString panelTitle; + TQPixmap *icon; + TQString panelTitle; }; #endif |