diff options
Diffstat (limited to 'src/tabwidget.cpp')
-rw-r--r-- | src/tabwidget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tabwidget.cpp b/src/tabwidget.cpp index 2795a84..57cfa84 100644 --- a/src/tabwidget.cpp +++ b/src/tabwidget.cpp @@ -25,7 +25,7 @@ * ***************************************************************************/ -#include <qtooltip.h> +#include <ntqtooltip.h> #include <klocale.h> #include "tabwidget.h" #include "kscopepixmaps.h" @@ -35,19 +35,19 @@ * @param pParent A pointer to the parent widget * @param szName Optional widget name */ -TabWidget::TabWidget(QWidget* pParent, const char* szName) : +TabWidget::TabWidget(TQWidget* pParent, const char* szName) : KTabWidget(pParent, szName) { // Create a popup menu - m_pMenu = new QPopupMenu(this); + m_pMenu = new TQPopupMenu(this); // Set the current tab based on the menu selection connect(m_pMenu, SIGNAL(activated(int)), this, SLOT(setCurrentPage(int))); // Create a button at the top-right corner of the tab widget - m_pButton = new QToolButton(this); + m_pButton = new TQToolButton(this); m_pButton->setIconSet(Pixmaps().getPixmap(KScopePixmaps::TabList)); - QToolTip::add(m_pButton, i18n("Shows a list of all open tabs")); + TQToolTip::add(m_pButton, i18n("Shows a list of all open tabs")); m_pButton->adjustSize(); setCornerWidget(m_pButton, TopRight); |