diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kate/app/katetabwidget.cpp | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/app/katetabwidget.cpp')
-rw-r--r-- | kate/app/katetabwidget.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kate/app/katetabwidget.cpp b/kate/app/katetabwidget.cpp index c24357be5..4b278e327 100644 --- a/kate/app/katetabwidget.cpp +++ b/kate/app/katetabwidget.cpp @@ -20,11 +20,11 @@ #include "katetabwidget.h" #include "katetabwidget.moc" -#include <qtabbar.h> +#include <tqtabbar.h> //BEGIN KateTabWidget -KateTabWidget::KateTabWidget(QWidget* parent, const char* name) +KateTabWidget::KateTabWidget(TQWidget* parent, const char* name) : KTabWidget(parent,name) , m_visibility (ShowWhenMoreThanOneTab) { @@ -32,40 +32,40 @@ KateTabWidget::KateTabWidget(QWidget* parent, const char* name) setHoverCloseButton(true); - connect(this, SIGNAL(closeRequest(QWidget*)), this, SLOT(closeTab(QWidget*))); + connect(this, TQT_SIGNAL(closeRequest(TQWidget*)), this, TQT_SLOT(closeTab(TQWidget*))); } KateTabWidget::~KateTabWidget() { } -void KateTabWidget::closeTab(QWidget* w) +void KateTabWidget::closeTab(TQWidget* w) { w->close(); } -void KateTabWidget::addTab ( QWidget * child, const QString & label ) +void KateTabWidget::addTab ( TQWidget * child, const TQString & label ) { KTabWidget::addTab(child,label); showPage(child); maybeShow(); } -void KateTabWidget::addTab ( QWidget * child, const QIconSet & iconset, const QString & label ) +void KateTabWidget::addTab ( TQWidget * child, const TQIconSet & iconset, const TQString & label ) { KTabWidget::addTab(child,iconset,label); showPage(child); maybeShow(); } -void KateTabWidget::addTab ( QWidget * child, QTab * tab ) +void KateTabWidget::addTab ( TQWidget * child, TQTab * tab ) { KTabWidget::addTab(child,tab); showPage(child); maybeShow(); } -void KateTabWidget::insertTab ( QWidget * child, const QString & label, int index) +void KateTabWidget::insertTab ( TQWidget * child, const TQString & label, int index) { KTabWidget::insertTab(child,label,index); showPage(child); @@ -73,7 +73,7 @@ void KateTabWidget::insertTab ( QWidget * child, const QString & label, int inde tabBar()->repaint(); } -void KateTabWidget::insertTab ( QWidget * child, const QIconSet & iconset, const QString & label, int index ) +void KateTabWidget::insertTab ( TQWidget * child, const TQIconSet & iconset, const TQString & label, int index ) { KTabWidget::insertTab(child,iconset,label,index); showPage(child); @@ -81,7 +81,7 @@ void KateTabWidget::insertTab ( QWidget * child, const QIconSet & iconset, const tabBar()->repaint(); } -void KateTabWidget::insertTab ( QWidget * child, QTab * tab, int index) +void KateTabWidget::insertTab ( TQWidget * child, TQTab * tab, int index) { KTabWidget::insertTab(child,tab,index); showPage(child); @@ -89,7 +89,7 @@ void KateTabWidget::insertTab ( QWidget * child, QTab * tab, int index) tabBar()->repaint(); } -void KateTabWidget::removePage ( QWidget * w ) +void KateTabWidget::removePage ( TQWidget * w ) { KTabWidget::removePage(w); maybeShow(); |