summaryrefslogtreecommitdiffstats
path: root/kbabel/commonui
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60 (patch)
treebabc4a761925023e16fa94633959f35d1c251887 /kbabel/commonui
parent0813b39aed2cf4c84157a22c4c9594336d93d412 (diff)
downloadtdesdk-22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60.tar.gz
tdesdk-22253cd8fbc0bd2e70f32aaf1f95ea3a3e819a60.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbabel/commonui')
-rw-r--r--kbabel/commonui/cmdedit.cpp4
-rw-r--r--kbabel/commonui/cmdedit.h2
-rw-r--r--kbabel/commonui/context.cpp4
-rw-r--r--kbabel/commonui/context.h2
-rw-r--r--kbabel/commonui/finddialog.cpp8
-rw-r--r--kbabel/commonui/finddialog.h4
-rw-r--r--kbabel/commonui/kactionselector.cpp4
-rw-r--r--kbabel/commonui/kactionselector.h2
-rw-r--r--kbabel/commonui/projectprefwidgets.cpp34
-rw-r--r--kbabel/commonui/projectprefwidgets.h18
-rw-r--r--kbabel/commonui/projectwizard.cpp4
-rw-r--r--kbabel/commonui/projectwizard.h2
-rw-r--r--kbabel/commonui/roughtransdlg.cpp4
-rw-r--r--kbabel/commonui/roughtransdlg.h2
-rw-r--r--kbabel/commonui/toolaction.cpp8
-rw-r--r--kbabel/commonui/toolaction.h4
-rw-r--r--kbabel/commonui/toolselectionwidget.cpp4
-rw-r--r--kbabel/commonui/toolselectionwidget.h2
18 files changed, 56 insertions, 56 deletions
diff --git a/kbabel/commonui/cmdedit.cpp b/kbabel/commonui/cmdedit.cpp
index f0da9701..df8ce38a 100644
--- a/kbabel/commonui/cmdedit.cpp
+++ b/kbabel/commonui/cmdedit.cpp
@@ -42,8 +42,8 @@
#include <kdialog.h>
-CmdEdit::CmdEdit(TQWidget* tqparent, const char* name)
- : TQWidget(tqparent,name)
+CmdEdit::CmdEdit(TQWidget* parent, const char* name)
+ : TQWidget(parent,name)
{
TQGridLayout* tqlayout = new TQGridLayout( this , 1 , 1 );
tqlayout->setSpacing( KDialog::spacingHint() );
diff --git a/kbabel/commonui/cmdedit.h b/kbabel/commonui/cmdedit.h
index bd091166..57c96a3f 100644
--- a/kbabel/commonui/cmdedit.h
+++ b/kbabel/commonui/cmdedit.h
@@ -50,7 +50,7 @@ class CmdEdit : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- CmdEdit(TQWidget* tqparent=0,const char* name=0);
+ CmdEdit(TQWidget* parent=0,const char* name=0);
void setCommands(const TQStringList& commands,const TQStringList& commandNames);
void commands(TQStringList& commands, TQStringList& commandNames);
diff --git a/kbabel/commonui/context.cpp b/kbabel/commonui/context.cpp
index 0700b895..f9e5be2f 100644
--- a/kbabel/commonui/context.cpp
+++ b/kbabel/commonui/context.cpp
@@ -62,8 +62,8 @@
#include <ktexteditor/selectioninterface.h>
#include <ktexteditor/viewcursorinterface.h>
-SourceContext::SourceContext(TQWidget *tqparent, KBabel::Project::Ptr project): TQWidget(tqparent)
- , m_parent( tqparent )
+SourceContext::SourceContext(TQWidget *parent, KBabel::Project::Ptr project): TQWidget(parent)
+ , m_parent( parent )
, _part(0)
, _view(0)
, _referenceCombo(0)
diff --git a/kbabel/commonui/context.h b/kbabel/commonui/context.h
index dd7218b4..3b019f67 100644
--- a/kbabel/commonui/context.h
+++ b/kbabel/commonui/context.h
@@ -79,7 +79,7 @@ class KDE_EXPORT SourceContext : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- SourceContext(TQWidget* tqparent, KBabel::Project::Ptr project);
+ SourceContext(TQWidget* parent, KBabel::Project::Ptr project);
void setProject(KBabel::Project::Ptr project);
diff --git a/kbabel/commonui/finddialog.cpp b/kbabel/commonui/finddialog.cpp
index cd752396..980f9802 100644
--- a/kbabel/commonui/finddialog.cpp
+++ b/kbabel/commonui/finddialog.cpp
@@ -52,8 +52,8 @@
using namespace KBabel;
-FindDialog::FindDialog(bool forReplace, TQWidget* tqparent)
- :KDialogBase(tqparent, "finddialog",true, "", Ok|Cancel, Ok)
+FindDialog::FindDialog(bool forReplace, TQWidget* parent)
+ :KDialogBase(parent, "finddialog",true, "", Ok|Cancel, Ok)
, _regExpEditDialog(0), _replaceDlg(forReplace)
{
TQWidget* page = new TQWidget(this);
@@ -531,8 +531,8 @@ void FindDialog::regExpButtonClicked()
}
}
-ReplaceDialog::ReplaceDialog(TQWidget* tqparent)
- :KDialogBase(Plain, "", Close|User1|User2|User3, User1, tqparent,"finddialog"
+ReplaceDialog::ReplaceDialog(TQWidget* parent)
+ :KDialogBase(Plain, "", Close|User1|User2|User3, User1, parent,"finddialog"
, true,false,i18n("&Replace"),i18n("&Goto Next"),i18n("R&eplace All"))
{
TQWidget* page = plainPage();
diff --git a/kbabel/commonui/finddialog.h b/kbabel/commonui/finddialog.h
index 83badefa..29f346ff 100644
--- a/kbabel/commonui/finddialog.h
+++ b/kbabel/commonui/finddialog.h
@@ -53,7 +53,7 @@ public:
* Constructor
* @param replaceDlg flag, if this is a replace dialog
*/
- FindDialog(bool replaceDlg, TQWidget* tqparent);
+ FindDialog(bool replaceDlg, TQWidget* parent);
~FindDialog();
/**
@@ -125,7 +125,7 @@ class KDE_EXPORT ReplaceDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- ReplaceDialog(TQWidget* tqparent);
+ ReplaceDialog(TQWidget* parent);
~ReplaceDialog();
signals:
diff --git a/kbabel/commonui/kactionselector.cpp b/kbabel/commonui/kactionselector.cpp
index 52a60bbf..9e5d3e79 100644
--- a/kbabel/commonui/kactionselector.cpp
+++ b/kbabel/commonui/kactionselector.cpp
@@ -57,8 +57,8 @@ class KActionSelectorPrivate {
//BEGIN Constructor/destructor
-KActionSelector::KActionSelector( TQWidget *tqparent, const char *name )
- : TQWidget( tqparent, name )
+KActionSelector::KActionSelector( TQWidget *parent, const char *name )
+ : TQWidget( parent, name )
{
d = new KActionSelectorPrivate();
d->moveOnDoubleClick = true;
diff --git a/kbabel/commonui/kactionselector.h b/kbabel/commonui/kactionselector.h
index 421597ba..f6090934 100644
--- a/kbabel/commonui/kactionselector.h
+++ b/kbabel/commonui/kactionselector.h
@@ -98,7 +98,7 @@ class KActionSelector : public TQWidget {
TQ_PROPERTY( bool showUpDownButtons READ showUpDownButtons WRITE setShowUpDownButtons )
public:
- KActionSelector( TQWidget *tqparent=0, const char *name=0 );
+ KActionSelector( TQWidget *parent=0, const char *name=0 );
~KActionSelector();
/**
diff --git a/kbabel/commonui/projectprefwidgets.cpp b/kbabel/commonui/projectprefwidgets.cpp
index 2fe24188..02c20196 100644
--- a/kbabel/commonui/projectprefwidgets.cpp
+++ b/kbabel/commonui/projectprefwidgets.cpp
@@ -123,8 +123,8 @@ static TQSize sizeHintForWidget(const TQWidget* widget)
-SavePreferences::SavePreferences(TQWidget *tqparent)
- : KTabCtl(tqparent)
+SavePreferences::SavePreferences(TQWidget *parent)
+ : KTabCtl(parent)
{
TQWidget* page = new TQWidget(this);
TQVBoxLayout* tqlayout=new TQVBoxLayout(page);
@@ -398,8 +398,8 @@ void SavePreferences::setAutoSaveVisible( const bool on )
-IdentityPreferences::IdentityPreferences(TQWidget* tqparent, const TQString& project)
- : TQWidget(tqparent)
+IdentityPreferences::IdentityPreferences(TQWidget* parent, const TQString& project)
+ : TQWidget(parent)
{
TQWidget* page = this;
TQVBoxLayout* tqlayout=new TQVBoxLayout(page);
@@ -658,8 +658,8 @@ void IdentityPreferences::lookupGnuPluralFormHeader()
}
-MiscPreferences::MiscPreferences(TQWidget *tqparent)
- : TQWidget(tqparent), _regExpEditDialog(0)
+MiscPreferences::MiscPreferences(TQWidget *parent)
+ : TQWidget(parent), _regExpEditDialog(0)
{
TQWidget* page = this;
@@ -790,8 +790,8 @@ void MiscPreferences::regExpButtonClicked()
}
-SpellPreferences::SpellPreferences(TQWidget* tqparent)
- : TQWidget(tqparent)
+SpellPreferences::SpellPreferences(TQWidget* parent)
+ : TQWidget(parent)
{
TQWidget* page = this;
TQVBoxLayout* tqlayout=new TQVBoxLayout(page);
@@ -874,8 +874,8 @@ void SpellPreferences::defaults(const SpellcheckSettings& settings)
*spellConfig = spCfg;
}
-CatmanPreferences::CatmanPreferences(TQWidget* tqparent)
- : TQWidget(tqparent)
+CatmanPreferences::CatmanPreferences(TQWidget* parent)
+ : TQWidget(parent)
{
TQWidget* page = this;
@@ -976,8 +976,8 @@ void CatmanPreferences::defaults(const CatManSettings& settings)
m_msgfmtButton->setChecked( settings.msgfmt );
}
-DirCommandsPreferences::DirCommandsPreferences(TQWidget* tqparent)
- : TQWidget(tqparent)
+DirCommandsPreferences::DirCommandsPreferences(TQWidget* parent)
+ : TQWidget(parent)
{
TQWidget* page = this;
@@ -1039,8 +1039,8 @@ void DirCommandsPreferences::defaults(const CatManSettings& settings)
}
-FileCommandsPreferences::FileCommandsPreferences(TQWidget* tqparent)
- : TQWidget(tqparent)
+FileCommandsPreferences::FileCommandsPreferences(TQWidget* parent)
+ : TQWidget(parent)
{
TQWidget* page = this;
@@ -1102,8 +1102,8 @@ void FileCommandsPreferences::defaults(const CatManSettings& settings)
_fileCmdEdit->setCommands( settings.fileCommands, settings.fileCommandNames );
}
-ViewPreferences::ViewPreferences(TQWidget* tqparent)
- : TQWidget(tqparent)
+ViewPreferences::ViewPreferences(TQWidget* parent)
+ : TQWidget(parent)
{
TQWidget* page = this;
@@ -1145,7 +1145,7 @@ void ViewPreferences::defaults(const CatManSettings& _settings)
_translatorColumnCheckbox->setChecked(_settings.translatorColumn);
}
-SourceContextPreferences::SourceContextPreferences(TQWidget* tqparent): TQWidget(tqparent)
+SourceContextPreferences::SourceContextPreferences(TQWidget* parent): TQWidget(parent)
{
TQWidget* page = this;
TQVBoxLayout* tqlayout=new TQVBoxLayout(page);
diff --git a/kbabel/commonui/projectprefwidgets.h b/kbabel/commonui/projectprefwidgets.h
index f5fef9e2..d41be3ac 100644
--- a/kbabel/commonui/projectprefwidgets.h
+++ b/kbabel/commonui/projectprefwidgets.h
@@ -67,7 +67,7 @@ class KDE_EXPORT SavePreferences : public KTabCtl
Q_OBJECT
TQ_OBJECT
public:
- SavePreferences(TQWidget* tqparent=0);
+ SavePreferences(TQWidget* parent=0);
void defaults(const KBabel::SaveSettings& settings);
void setAutoSaveVisible(const bool on);
@@ -114,7 +114,7 @@ class IdentityPreferences : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- IdentityPreferences(TQWidget *tqparent = 0, const TQString& project = "");
+ IdentityPreferences(TQWidget *parent = 0, const TQString& project = "");
virtual bool eventFilter(TQObject *, TQEvent*);
void defaults(const KBabel::IdentitySettings& settings);
@@ -145,7 +145,7 @@ class MiscPreferences : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- MiscPreferences(TQWidget *tqparent=0);
+ MiscPreferences(TQWidget *parent=0);
void defaults(const KBabel::MiscSettings& settings);
private slots:
@@ -171,7 +171,7 @@ class SpellPreferences : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- SpellPreferences(TQWidget *tqparent=0);
+ SpellPreferences(TQWidget *parent=0);
void mergeSettings(KBabel::SpellcheckSettings& set) const;
void updateWidgets(const KBabel::SpellcheckSettings& settings);
@@ -193,7 +193,7 @@ class CatmanPreferences : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- CatmanPreferences(TQWidget *tqparent = 0);
+ CatmanPreferences(TQWidget *parent = 0);
void defaults(const KBabel::CatManSettings& settings);
private:
@@ -212,7 +212,7 @@ class DirCommandsPreferences : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- DirCommandsPreferences(TQWidget *tqparent = 0);
+ DirCommandsPreferences(TQWidget *parent = 0);
virtual ~DirCommandsPreferences();
void mergeSettings(KBabel::CatManSettings& settings) const;
@@ -231,7 +231,7 @@ class FileCommandsPreferences : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- FileCommandsPreferences(TQWidget *tqparent = 0);
+ FileCommandsPreferences(TQWidget *parent = 0);
virtual ~FileCommandsPreferences();
void mergeSettings(KBabel::CatManSettings& settings) const;
@@ -250,7 +250,7 @@ class ViewPreferences : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- ViewPreferences(TQWidget *tqparent = 0);
+ ViewPreferences(TQWidget *parent = 0);
void defaults(const KBabel::CatManSettings& settings);
private:
@@ -274,7 +274,7 @@ class SourceContextPreferences : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- SourceContextPreferences(TQWidget* tqparent=0);
+ SourceContextPreferences(TQWidget* parent=0);
virtual ~SourceContextPreferences();
void mergeSettings(KBabel::SourceContextSettings& settings) const;
diff --git a/kbabel/commonui/projectwizard.cpp b/kbabel/commonui/projectwizard.cpp
index dc147c32..00a88631 100644
--- a/kbabel/commonui/projectwizard.cpp
+++ b/kbabel/commonui/projectwizard.cpp
@@ -47,8 +47,8 @@
using namespace KBabel;
-ProjectWizard::ProjectWizard(TQWidget *tqparent,const char *name)
- : KWizard(tqparent,name,true)
+ProjectWizard::ProjectWizard(TQWidget *parent,const char *name)
+ : KWizard(parent,name,true)
{
_wizard = new ProjectStep1(this,"project wizard widget");
diff --git a/kbabel/commonui/projectwizard.h b/kbabel/commonui/projectwizard.h
index 487a16e7..fc48d456 100644
--- a/kbabel/commonui/projectwizard.h
+++ b/kbabel/commonui/projectwizard.h
@@ -50,7 +50,7 @@ class KDE_EXPORT ProjectWizard : public KWizard
Q_OBJECT
TQ_OBJECT
public:
- ProjectWizard(TQWidget* tqparent = 0, const char * name = 0);
+ ProjectWizard(TQWidget* parent = 0, const char * name = 0);
Project::Ptr project();
diff --git a/kbabel/commonui/roughtransdlg.cpp b/kbabel/commonui/roughtransdlg.cpp
index 135b2794..57fb21d0 100644
--- a/kbabel/commonui/roughtransdlg.cpp
+++ b/kbabel/commonui/roughtransdlg.cpp
@@ -64,8 +64,8 @@
using namespace KBabel;
RoughTransDlg::RoughTransDlg(KBabelDictBox *dict, Catalog *cat
- , TQWidget *tqparent,const char *name)
- : KDialogBase(tqparent,name,true
+ , TQWidget *parent,const char *name)
+ : KDialogBase(parent,name,true
,i18n("Caption of dialog","Rough Translation")
, User1|User2|User3|Close)
,catalog(cat)
diff --git a/kbabel/commonui/roughtransdlg.h b/kbabel/commonui/roughtransdlg.h
index ec7dc609..56c1f253 100644
--- a/kbabel/commonui/roughtransdlg.h
+++ b/kbabel/commonui/roughtransdlg.h
@@ -56,7 +56,7 @@ class KDE_EXPORT RoughTransDlg : public KDialogBase
TQ_OBJECT
public:
- RoughTransDlg(KBabelDictBox* dictBox, KBabel::Catalog* catalog, TQWidget *tqparent
+ RoughTransDlg(KBabelDictBox* dictBox, KBabel::Catalog* catalog, TQWidget *parent
, const char *name=0);
~RoughTransDlg();
diff --git a/kbabel/commonui/toolaction.cpp b/kbabel/commonui/toolaction.cpp
index 9be27a69..37f9f671 100644
--- a/kbabel/commonui/toolaction.cpp
+++ b/kbabel/commonui/toolaction.cpp
@@ -34,8 +34,8 @@
#include <kdebug.h>
ToolAction::ToolAction( const TQString & text, const KShortcut& cut, const KDataToolInfo & info, const TQString & command,
- TQObject * tqparent, const char * name )
- : KAction( text, info.iconName() == "unknown" ? TQString() : info.iconName(), cut, tqparent, name ),
+ TQObject * parent, const char * name )
+ : KAction( text, info.iconName() == "unknown" ? TQString() : info.iconName(), cut, parent, name ),
m_command( command ),
m_info( info )
{
@@ -46,7 +46,7 @@ void ToolAction::slotActivated()
emit toolActivated( m_info, m_command );
}
-TQPtrList<KAction> ToolAction::dataToolActionList( const TQValueList<KDataToolInfo> & tools, const TQObject *receiver, const char* slot, const TQStringList& command, bool excludeCommand, KActionCollection* tqparent, const TQString& namePrefix )
+TQPtrList<KAction> ToolAction::dataToolActionList( const TQValueList<KDataToolInfo> & tools, const TQObject *receiver, const char* slot, const TQStringList& command, bool excludeCommand, KActionCollection* parent, const TQString& namePrefix )
{
TQPtrList<KAction> actionList;
if ( tools.isEmpty() )
@@ -74,7 +74,7 @@ TQPtrList<KAction> ToolAction::dataToolActionList( const TQValueList<KDataToolIn
TQString sc=*sit;
ToolAction * action = new ToolAction( *uit, (sc.isEmpty()?TQString():sc), *entry, *cit
- , tqparent
+ , parent
, TQString(namePrefix+(*entry).service()->library()+"_"+(*cit)).utf8() );
connect( action, TQT_SIGNAL( toolActivated( const KDataToolInfo &, const TQString & ) ),
receiver, slot );
diff --git a/kbabel/commonui/toolaction.h b/kbabel/commonui/toolaction.h
index 064b8981..09f7af18 100644
--- a/kbabel/commonui/toolaction.h
+++ b/kbabel/commonui/toolaction.h
@@ -44,14 +44,14 @@ class KDE_EXPORT ToolAction : public KAction
Q_OBJECT
TQ_OBJECT
public:
- ToolAction( const TQString & text, const KShortcut& cut, const KDataToolInfo & info, const TQString & command, TQObject * tqparent = 0, const char * name = 0);
+ ToolAction( const TQString & text, const KShortcut& cut, const KDataToolInfo & info, const TQString & command, TQObject * parent = 0, const char * name = 0);
/**
* return the list of KActions created for a list of tools. @ref command
* allows to specify rescriction of commands, for which the list should
* or shouldn't be created according to the @ref excludeCommand flag.
*/
- static TQPtrList<KAction> dataToolActionList( const TQValueList<KDataToolInfo> & tools, const TQObject *receiver, const char* slot, const TQStringList& command, bool excludeCommand, KActionCollection* tqparent=0, const TQString& namePrefix=TQString() );
+ static TQPtrList<KAction> dataToolActionList( const TQValueList<KDataToolInfo> & tools, const TQObject *receiver, const char* slot, const TQStringList& command, bool excludeCommand, KActionCollection* parent=0, const TQString& namePrefix=TQString() );
/**
* returns information about all available validation tools (KDataTools with support for CatalogItem
diff --git a/kbabel/commonui/toolselectionwidget.cpp b/kbabel/commonui/toolselectionwidget.cpp
index 3b10f09d..55a46f93 100644
--- a/kbabel/commonui/toolselectionwidget.cpp
+++ b/kbabel/commonui/toolselectionwidget.cpp
@@ -36,8 +36,8 @@
#include <tqlistbox.h>
-ToolSelectionWidget::ToolSelectionWidget( TQWidget * tqparent, const char * name )
- : KActionSelector( tqparent, name )
+ToolSelectionWidget::ToolSelectionWidget( TQWidget * parent, const char * name )
+ : KActionSelector( parent, name )
{
}
diff --git a/kbabel/commonui/toolselectionwidget.h b/kbabel/commonui/toolselectionwidget.h
index a019b823..9b07aefe 100644
--- a/kbabel/commonui/toolselectionwidget.h
+++ b/kbabel/commonui/toolselectionwidget.h
@@ -42,7 +42,7 @@ class KDE_EXPORT ToolSelectionWidget : public KActionSelector
Q_OBJECT
TQ_OBJECT
public:
- ToolSelectionWidget(TQWidget* tqparent=0, const char* name=0 );
+ ToolSelectionWidget(TQWidget* parent=0, const char* name=0 );
TQStringList selectedTools();