From 84f5a315c3429b47a7eff15e626e2efdbe4f6e5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 8 Oct 2013 00:13:25 +0200 Subject: Initial TQt conversion --- src/tabwidget.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/tabwidget.cpp') 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 +#include #include #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); -- cgit v1.2.1