summaryrefslogtreecommitdiffstats
path: root/kate/tabbarextension
diff options
context:
space:
mode:
Diffstat (limited to 'kate/tabbarextension')
-rw-r--r--kate/tabbarextension/plugin_katetabbarextension.cpp18
-rw-r--r--kate/tabbarextension/plugin_katetabbarextension.h14
2 files changed, 16 insertions, 16 deletions
diff --git a/kate/tabbarextension/plugin_katetabbarextension.cpp b/kate/tabbarextension/plugin_katetabbarextension.cpp
index ece507f..2fd9378 100644
--- a/kate/tabbarextension/plugin_katetabbarextension.cpp
+++ b/kate/tabbarextension/plugin_katetabbarextension.cpp
@@ -73,17 +73,17 @@ KatePluginFactory::~KatePluginFactory()
}
TQObject* KatePluginFactory::createObject(
- TQObject* tqparent, const char* name, const char*, const TQStringList & )
+ TQObject* parent, const char* name, const char*, const TQStringList & )
{
- return new KatePluginTabBarExtension( tqparent, name );
+ return new KatePluginTabBarExtension( parent, name );
}
KInstance* KatePluginFactory::s_instance = 0L;
// BEGIN KatePluginTabBarExtension
KatePluginTabBarExtension::KatePluginTabBarExtension(
- TQObject* tqparent, const char* name )
- : Kate::Plugin ( (Kate::Application*)tqparent, name ),
+ TQObject* parent, const char* name )
+ : Kate::Plugin ( (Kate::Application*)parent, name ),
pConfig(new KConfig("katetabbarextensionpluginrc"))
{
pConfig->setGroup("global");
@@ -175,8 +175,8 @@ void KatePluginTabBarExtension::applyConfig( KateTabBarExtensionConfigPage* p )
// BEGIN KateTabBarButton
KateTabBarButton::KateTabBarButton(Kate::ViewManager* pViewManager,
- Kate::Document *pDoc, TQWidget * tqparent, const char * name)
- : TQPushButton(tqparent, name),
+ Kate::Document *pDoc, TQWidget * parent, const char * name)
+ : TQPushButton(parent, name),
modified(false),
myDocID(pDoc->documentNumber()),
doc(pDoc),
@@ -264,8 +264,8 @@ void KateTabBarButton::setOn(bool on)
// BEGIN KateTabBarExtension
KateTabBarExtension::KateTabBarExtension( Kate::DocumentManager *pDocManager,
Kate::MainWindow *win, bool bHorizOrientation, bool bSort,
- TQWidget* tqparent, const char* name, WFlags f )
- : TQWidget(tqparent, name, f),
+ TQWidget* parent, const char* name, WFlags f )
+ : TQWidget(parent, name, f),
pCurrentTab(0), m_win(win), m_docManager(pDocManager), m_sort(false)
{
if (bHorizOrientation) {
@@ -475,7 +475,7 @@ void KateTabBarExtension::slotViewChanged ()
// BEGIN KateTabBarExtensionConfigPage
KateTabBarExtensionConfigPage::KateTabBarExtensionConfigPage(
- TQObject* /*tqparent*/ /*= 0L*/, TQWidget *parentWidget /*= 0L*/)
+ TQObject* /*parent*/ /*= 0L*/, TQWidget *parentWidget /*= 0L*/)
: Kate::PluginConfigPage( parentWidget )
{
TQVBoxLayout* top = new TQVBoxLayout(this, 0,
diff --git a/kate/tabbarextension/plugin_katetabbarextension.h b/kate/tabbarextension/plugin_katetabbarextension.h
index e74a73e..8fcf398 100644
--- a/kate/tabbarextension/plugin_katetabbarextension.h
+++ b/kate/tabbarextension/plugin_katetabbarextension.h
@@ -67,7 +67,7 @@ class KatePluginFactory : public KLibFactory
KatePluginFactory();
virtual ~KatePluginFactory();
- virtual TQObject* createObject( TQObject* tqparent = 0, const char* pname = 0,
+ virtual TQObject* createObject( TQObject* parent = 0, const char* pname = 0,
const char* name = TQOBJECT_OBJECT_NAME_STRING, const TQStringList &args = TQStringList() );
private:
@@ -88,11 +88,11 @@ class KateTabBarButton: public TQPushButton
* constructor
* @param pViewManager pointer to kate's the view manager
* @param pDoc pointer to the document, that the tab button represents
- * @param tqparent tqparent widget
+ * @param parent parent widget
* @param name name of the tab button
*/
KateTabBarButton(Kate::ViewManager* pViewManager, Kate::Document *pDoc,
- TQWidget* tqparent = 0, const char * name = 0);
+ TQWidget* parent = 0, const char * name = 0);
/**
* standard destructor (emtpy)
@@ -164,13 +164,13 @@ class KateTabBarExtension : public TQWidget
* @param win pinter to the main window
* @param bHorizOrientation true, if orientation is Qt::Horizontal
* @param bSort true, if orientation is Qt::Horizontal
- * @param tqparent tqparent widget
+ * @param parent parent widget
* @param name name of widget
* @param f widget flags
*/
KateTabBarExtension( Kate::DocumentManager *pDocManager,
Kate::MainWindow *win, bool bHorizOrientation, bool bSort,
- TQWidget * tqparent = 0, const char * name = 0, WFlags f = 0 );
+ TQWidget * parent = 0, const char * name = 0, WFlags f = 0 );
/** standard destructor */
~KateTabBarExtension();
@@ -268,7 +268,7 @@ class KateTabBarExtensionConfigPage : public Kate::PluginConfigPage
friend class KatePluginTabBarExtension;
public:
- KateTabBarExtensionConfigPage (TQObject* tqparent = 0L, TQWidget *parentWidget = 0L);
+ KateTabBarExtensionConfigPage (TQObject* parent = 0L, TQWidget *parentWidget = 0L);
~KateTabBarExtensionConfigPage ();
/**
@@ -301,7 +301,7 @@ class KatePluginTabBarExtension : public Kate::Plugin, Kate::PluginViewInterface
TQ_OBJECT
public:
- KatePluginTabBarExtension( TQObject* tqparent = 0, const char* name = 0 );
+ KatePluginTabBarExtension( TQObject* parent = 0, const char* name = 0 );
virtual ~KatePluginTabBarExtension();
void addView (Kate::MainWindow *win);