summaryrefslogtreecommitdiffstats
path: root/kate/tabbarextension/plugin_katetabbarextension.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/tabbarextension/plugin_katetabbarextension.cpp')
-rw-r--r--kate/tabbarextension/plugin_katetabbarextension.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kate/tabbarextension/plugin_katetabbarextension.cpp b/kate/tabbarextension/plugin_katetabbarextension.cpp
index cfc4619..e789c20 100644
--- a/kate/tabbarextension/plugin_katetabbarextension.cpp
+++ b/kate/tabbarextension/plugin_katetabbarextension.cpp
@@ -73,17 +73,17 @@ KatePluginFactory::~KatePluginFactory()
}
TQObject* KatePluginFactory::createObject(
- TQObject* parent, const char* name, const char*, const TQStringList & )
+ TQObject* tqparent, const char* name, const char*, const TQStringList & )
{
- return new KatePluginTabBarExtension( parent, name );
+ return new KatePluginTabBarExtension( tqparent, name );
}
KInstance* KatePluginFactory::s_instance = 0L;
// BEGIN KatePluginTabBarExtension
KatePluginTabBarExtension::KatePluginTabBarExtension(
- TQObject* parent, const char* name )
- : Kate::Plugin ( (Kate::Application*)parent, name ),
+ TQObject* tqparent, const char* name )
+ : Kate::Plugin ( (Kate::Application*)tqparent, name ),
pConfig(new KConfig("katetabbarextensionpluginrc"))
{
pConfig->setGroup("global");
@@ -122,8 +122,8 @@ void KatePluginTabBarExtension::addView(Kate::MainWindow *win)
KToolBar* toolbar = dynamic_cast<KToolBar*>
(win->guiFactory()->container("tabbarExtensionToolBar", view));
if (toolbar) {
- connect(toolbar, TQT_SIGNAL( orientationChanged(Orientation) ),
- view->tabbar, TQT_SLOT( slotMoved(Orientation) ));
+ connect(toolbar, TQT_SIGNAL( orientationChanged(Qt::Orientation) ),
+ view->tabbar, TQT_SLOT( slotMoved(Qt::Orientation) ));
}
}
@@ -175,8 +175,8 @@ void KatePluginTabBarExtension::applyConfig( KateTabBarExtensionConfigPage* p )
// BEGIN KateTabBarButton
KateTabBarButton::KateTabBarButton(Kate::ViewManager* pViewManager,
- Kate::Document *pDoc, TQWidget * parent, const char * name)
- : TQPushButton(parent, name),
+ Kate::Document *pDoc, TQWidget * tqparent, const char * name)
+ : TQPushButton(tqparent, name),
modified(false),
myDocID(pDoc->documentNumber()),
doc(pDoc),
@@ -184,7 +184,7 @@ KateTabBarButton::KateTabBarButton(Kate::ViewManager* pViewManager,
{
setFlat(true);
setToggleButton(true);
- setFocusPolicy(TQWidget::NoFocus);
+ setFocusPolicy(TQ_NoFocus);
setText(pDoc->docName());
@@ -264,8 +264,8 @@ void KateTabBarButton::setOn(bool on)
// BEGIN KateTabBarExtension
KateTabBarExtension::KateTabBarExtension( Kate::DocumentManager *pDocManager,
Kate::MainWindow *win, bool bHorizOrientation, bool bSort,
- TQWidget* parent, const char* name, WFlags f )
- : TQWidget(parent, name, f),
+ TQWidget* tqparent, const char* name, WFlags f )
+ : TQWidget(tqparent, name, f),
pCurrentTab(0), m_win(win), m_docManager(pDocManager), m_sort(false)
{
if (bHorizOrientation) {
@@ -295,7 +295,7 @@ KateTabBarExtension::KateTabBarExtension( Kate::DocumentManager *pDocManager,
KateTabBarExtension::~KateTabBarExtension() {}
-void KateTabBarExtension::slotMoved(Orientation o)
+void KateTabBarExtension::slotMoved(Qt::Orientation o)
{
// the tabbar moved (top, right, bottom, left or fluently)
switch (o) {
@@ -475,8 +475,8 @@ void KateTabBarExtension::slotViewChanged ()
// BEGIN KateTabBarExtensionConfigPage
KateTabBarExtensionConfigPage::KateTabBarExtensionConfigPage(
- TQObject* /*parent*/ /*= 0L*/, TQWidget *parentWidget /*= 0L*/)
- : Kate::PluginConfigPage( parentWidget )
+ TQObject* /*tqparent*/ /*= 0L*/, TQWidget *tqparentWidget /*= 0L*/)
+ : Kate::PluginConfigPage( tqparentWidget )
{
TQVBoxLayout* top = new TQVBoxLayout(this, 0,
KDialogBase::spacingHint());