diff options
Diffstat (limited to 'ksirc/mditoplevel.h')
-rw-r--r-- | ksirc/mditoplevel.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/ksirc/mditoplevel.h b/ksirc/mditoplevel.h index 7f58619c..c0f1c010 100644 --- a/ksirc/mditoplevel.h +++ b/ksirc/mditoplevel.h @@ -1,8 +1,8 @@ #ifndef __mditoplevel_h__ #define __mditoplevel_h__ -#include <qptrlist.h> -#include <qtabwidget.h> +#include <tqptrlist.h> +#include <tqtabwidget.h> #include <kmainwindow.h> @@ -10,16 +10,16 @@ class KSTabWidget : public QTabWidget { Q_OBJECT public: - KSTabWidget ( QWidget * parent = 0, const char * name = 0, WFlags f = 0 ) - : QTabWidget(parent, name, f) + KSTabWidget ( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 ) + : TQTabWidget(parent, name, f) { } protected: - virtual void mousePressEvent(QMouseEvent *e); + virtual void mousePressEvent(TQMouseEvent *e); signals: - void showContexMenu(QWidget *, const QPoint &); + void showContexMenu(TQWidget *, const TQPoint &); }; @@ -30,45 +30,45 @@ class MDITopLevel : public KMainWindow { Q_OBJECT public: - MDITopLevel(QWidget *parent = 0, const char *name = 0); + MDITopLevel(TQWidget *parent = 0, const char *name = 0); virtual ~MDITopLevel(); - void addWidget( QWidget *widget, bool show ); + void addWidget( TQWidget *widget, bool show ); - void removeWidget( QWidget *widget ); + void removeWidget( TQWidget *widget ); - QTabWidget *tabWidget() const { return m_tab; } + TQTabWidget *tabWidget() const { return m_tab; } void next(); void previous(); - QPtrList<QWidget> &widgets() { return m_tabWidgets; } + TQPtrList<TQWidget> &widgets() { return m_tabWidgets; } - void hideWidget( QWidget *widget ); - void showWidget( QWidget *widget ); + void hideWidget( TQWidget *widget ); + void showWidget( TQWidget *widget ); - virtual bool eventFilter( QObject *obj, QEvent *ev ); + virtual bool eventFilter( TQObject *obj, TQEvent *ev ); bool closing() const { return m_closing; } protected: - void removeFromAddressedList( const QWidget* w ); - virtual void closeEvent( QCloseEvent *ev ); + void removeFromAddressedList( const TQWidget* w ); + virtual void closeEvent( TQCloseEvent *ev ); private slots: void slotWidgetDestroyed(); - void slotCurrentChanged( QWidget *page ); + void slotCurrentChanged( TQWidget *page ); void slotMarkPageDirty( bool ); - void slotChangeChannelName( const QString &, const QString &newName ); - void slotShowContexMenu(QWidget *, const QPoint &); + void slotChangeChannelName( const TQString &, const TQString &newName ); + void slotShowContexMenu(TQWidget *, const TQPoint &); void slotCloseLastWid(); private: KSTabWidget *m_tab; KPopupMenu *m_pop; - QWidget *m_last_pop_wid; - QPtrList<QWidget> m_tabWidgets; - QPtrList<QWidget> m_addressed; - QPixmap m_dirtyIcon; - QPixmap m_addressedIcon; + TQWidget *m_last_pop_wid; + TQPtrList<TQWidget> m_tabWidgets; + TQPtrList<TQWidget> m_addressed; + TQPixmap m_dirtyIcon; + TQPixmap m_addressedIcon; bool m_closing; }; |