summaryrefslogtreecommitdiffstats
path: root/src/tabwidget.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-10-08 00:13:25 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-10-08 05:14:53 +0200
commit84f5a315c3429b47a7eff15e626e2efdbe4f6e5e (patch)
tree770861aa9033e1dc6c5168358194ff85b32dd429 /src/tabwidget.cpp
parent57d8bb3d12aed373eee08915f0ff19f5233aabe3 (diff)
downloadkscope-84f5a315c3429b47a7eff15e626e2efdbe4f6e5e.tar.gz
kscope-84f5a315c3429b47a7eff15e626e2efdbe4f6e5e.zip
Initial TQt conversion
Diffstat (limited to 'src/tabwidget.cpp')
-rw-r--r--src/tabwidget.cpp10
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);