summaryrefslogtreecommitdiffstats
path: root/kbabel
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
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')
-rw-r--r--kbabel/addons/kfile-plugins/kfile_po.cpp4
-rw-r--r--kbabel/addons/kfile-plugins/kfile_po.h2
-rw-r--r--kbabel/catalogmanager/catalogmanagerview.cpp26
-rw-r--r--kbabel/catalogmanager/catalogmanagerview.h6
-rw-r--r--kbabel/catalogmanager/catmanlistitem.cpp30
-rw-r--r--kbabel/catalogmanager/catmanlistitem.h8
-rw-r--r--kbabel/catalogmanager/findinfilesdialog.cpp4
-rw-r--r--kbabel/catalogmanager/findinfilesdialog.h2
-rw-r--r--kbabel/catalogmanager/libcvs/cvsdialog.cpp4
-rw-r--r--kbabel/catalogmanager/libcvs/cvsdialog.h2
-rw-r--r--kbabel/catalogmanager/libcvs/cvshandler.cpp20
-rw-r--r--kbabel/catalogmanager/libcvs/cvshandler.h6
-rw-r--r--kbabel/catalogmanager/libsvn/svndialog.cpp4
-rw-r--r--kbabel/catalogmanager/libsvn/svndialog.h2
-rw-r--r--kbabel/catalogmanager/libsvn/svnhandler.cpp16
-rw-r--r--kbabel/catalogmanager/libsvn/svnhandler.h6
-rw-r--r--kbabel/catalogmanager/markpatterndialog.cpp4
-rw-r--r--kbabel/catalogmanager/markpatterndialog.h2
-rw-r--r--kbabel/catalogmanager/multiroughtransdlg.cpp6
-rw-r--r--kbabel/catalogmanager/multiroughtransdlg.h2
-rw-r--r--kbabel/catalogmanager/validateprogress.cpp4
-rw-r--r--kbabel/catalogmanager/validateprogress.h2
-rw-r--r--kbabel/common/catalog.cpp6
-rw-r--r--kbabel/common/catalog.h4
-rw-r--r--kbabel/common/catalogfileplugin.h4
-rw-r--r--kbabel/common/exportplugin.cpp2
-rw-r--r--kbabel/common/importplugin.cpp2
-rw-r--r--kbabel/common/kbabeldatatool.h2
-rw-r--r--kbabel/common/kbmailer.cpp4
-rw-r--r--kbabel/common/kbmailer.h8
-rw-r--r--kbabel/common/msgfmt.cpp4
-rw-r--r--kbabel/common/msgfmt.h2
-rw-r--r--kbabel/common/stringdistance.h2
-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
-rw-r--r--kbabel/datatools/accelerators/main.cc4
-rw-r--r--kbabel/datatools/accelerators/main.h2
-rw-r--r--kbabel/datatools/arguments/main.cc4
-rw-r--r--kbabel/datatools/arguments/main.h2
-rw-r--r--kbabel/datatools/context/main.cc4
-rw-r--r--kbabel/datatools/context/main.h2
-rw-r--r--kbabel/datatools/equations/main.cc4
-rw-r--r--kbabel/datatools/equations/main.h2
-rw-r--r--kbabel/datatools/length/main.cc4
-rw-r--r--kbabel/datatools/length/main.h2
-rw-r--r--kbabel/datatools/not-translated/main.cc4
-rw-r--r--kbabel/datatools/not-translated/main.h2
-rw-r--r--kbabel/datatools/pluralforms/main.cc4
-rw-r--r--kbabel/datatools/pluralforms/main.h2
-rw-r--r--kbabel/datatools/punctuation/main.cc4
-rw-r--r--kbabel/datatools/punctuation/main.h2
-rw-r--r--kbabel/datatools/regexp/main.cc6
-rw-r--r--kbabel/datatools/regexp/main.h2
-rw-r--r--kbabel/datatools/setfuzzy/main.cc4
-rw-r--r--kbabel/datatools/setfuzzy/main.h2
-rw-r--r--kbabel/datatools/whitespace/main.cc4
-rw-r--r--kbabel/datatools/whitespace/main.h2
-rw-r--r--kbabel/datatools/xml/main.cc4
-rw-r--r--kbabel/datatools/xml/main.h2
-rw-r--r--kbabel/filters/gettext/gettextexport.cpp4
-rw-r--r--kbabel/filters/gettext/gettextexport.h2
-rw-r--r--kbabel/filters/gettext/gettextimport.cpp2
-rw-r--r--kbabel/filters/gettext/gettextimport.h2
-rw-r--r--kbabel/filters/linguist/linguistexport.cpp4
-rw-r--r--kbabel/filters/linguist/linguistexport.h2
-rw-r--r--kbabel/filters/linguist/linguistimport.cpp4
-rw-r--r--kbabel/filters/linguist/linguistimport.h2
-rw-r--r--kbabel/filters/xliff/xliffexport.cpp4
-rw-r--r--kbabel/filters/xliff/xliffexport.h2
-rw-r--r--kbabel/filters/xliff/xliffimport.cpp4
-rw-r--r--kbabel/filters/xliff/xliffimport.h2
-rw-r--r--kbabel/kbabel/charselectview.cpp4
-rw-r--r--kbabel/kbabel/charselectview.h2
-rw-r--r--kbabel/kbabel/commentview.cpp4
-rw-r--r--kbabel/kbabel/commentview.h2
-rw-r--r--kbabel/kbabel/contextview.cpp4
-rw-r--r--kbabel/kbabel/contextview.h2
-rw-r--r--kbabel/kbabel/errorlistview.cpp4
-rw-r--r--kbabel/kbabel/errorlistview.h2
-rw-r--r--kbabel/kbabel/gotodialog.cpp4
-rw-r--r--kbabel/kbabel/gotodialog.h2
-rw-r--r--kbabel/kbabel/hidingmsgedit.cpp4
-rw-r--r--kbabel/kbabel/hidingmsgedit.h2
-rw-r--r--kbabel/kbabel/kbabel.cpp10
-rw-r--r--kbabel/kbabel/kbabelsplash.cpp4
-rw-r--r--kbabel/kbabel/kbabelsplash.h2
-rw-r--r--kbabel/kbabel/kbabelview.cpp6
-rw-r--r--kbabel/kbabel/kbabelview.h2
-rw-r--r--kbabel/kbabel/kbbookmarkhandler.cpp2
-rw-r--r--kbabel/kbabel/kbcatalog.cpp4
-rw-r--r--kbabel/kbabel/kbcatalog.h2
-rw-r--r--kbabel/kbabel/kbcataloglistview.cpp4
-rw-r--r--kbabel/kbabel/kbcataloglistview.h2
-rw-r--r--kbabel/kbabel/kbcataloglistviewitem.cpp4
-rw-r--r--kbabel/kbabel/kbcataloglistviewitem.h2
-rw-r--r--kbabel/kbabel/kbcatalogview.cpp4
-rw-r--r--kbabel/kbabel/kbcatalogview.h2
-rw-r--r--kbabel/kbabel/kbcharselect.cpp4
-rw-r--r--kbabel/kbabel/kbcharselect.h2
-rw-r--r--kbabel/kbabel/mymultilineedit.cpp10
-rw-r--r--kbabel/kbabel/mymultilineedit.h6
-rw-r--r--kbabel/kbabel/sourceview.cpp4
-rw-r--r--kbabel/kbabel/sourceview.h2
-rw-r--r--kbabel/kbabel/spelldlg.cpp4
-rw-r--r--kbabel/kbabel/spelldlg.h2
-rw-r--r--kbabel/kbabel/taglistview.cpp4
-rw-r--r--kbabel/kbabel/taglistview.h2
-rw-r--r--kbabel/kbabeldict/aboutmoduledlg.cpp4
-rw-r--r--kbabel/kbabeldict/aboutmoduledlg.h2
-rw-r--r--kbabel/kbabeldict/dictchooser.cpp4
-rw-r--r--kbabel/kbabeldict/dictchooser.h2
-rw-r--r--kbabel/kbabeldict/dictionarymenu.cpp4
-rw-r--r--kbabel/kbabeldict/dictionarymenu.h2
-rw-r--r--kbabel/kbabeldict/kbabeldictbox.cpp16
-rw-r--r--kbabel/kbabeldict/kbabeldictbox.h4
-rw-r--r--kbabel/kbabeldict/kbabeldictview.cpp6
-rw-r--r--kbabel/kbabeldict/kbabeldictview.h2
-rw-r--r--kbabel/kbabeldict/kbabelsplash.cpp4
-rw-r--r--kbabel/kbabeldict/kbabelsplash.h2
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp8
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.h4
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/database.cpp4
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/database.h2
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/dbscan.cpp2
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/dbscan.h2
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.cpp8
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.h4
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.cpp4
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.h2
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp8
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.h6
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/dbscan.cpp2
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/dbscan.h2
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.cpp8
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.h4
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.cpp4
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.h2
-rw-r--r--kbabel/kbabeldict/modules/poauxiliary/pa_factory.cpp8
-rw-r--r--kbabel/kbabeldict/modules/poauxiliary/pa_factory.h4
-rw-r--r--kbabel/kbabeldict/modules/poauxiliary/poauxiliary.cpp8
-rw-r--r--kbabel/kbabeldict/modules/poauxiliary/poauxiliary.h4
-rw-r--r--kbabel/kbabeldict/modules/poauxiliary/preferenceswidget.cpp4
-rw-r--r--kbabel/kbabeldict/modules/poauxiliary/preferenceswidget.h2
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/compendiumdata.cpp4
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/compendiumdata.h2
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/pc_factory.cpp8
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/pc_factory.h4
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp8
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/pocompendium.h4
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/preferenceswidget.cpp4
-rw-r--r--kbabel/kbabeldict/modules/pocompendium/preferenceswidget.h2
-rw-r--r--kbabel/kbabeldict/modules/tmx/pc_factory.cpp8
-rw-r--r--kbabel/kbabeldict/modules/tmx/pc_factory.h4
-rw-r--r--kbabel/kbabeldict/modules/tmx/preferenceswidget.cpp4
-rw-r--r--kbabel/kbabeldict/modules/tmx/preferenceswidget.h2
-rw-r--r--kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp8
-rw-r--r--kbabel/kbabeldict/modules/tmx/tmxcompendium.h4
-rw-r--r--kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.cpp4
-rw-r--r--kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.h2
-rw-r--r--kbabel/kbabeldict/searchengine.cpp8
-rw-r--r--kbabel/kbabeldict/searchengine.h8
177 files changed, 397 insertions, 397 deletions
diff --git a/kbabel/addons/kfile-plugins/kfile_po.cpp b/kbabel/addons/kfile-plugins/kfile_po.cpp
index 5ad0ebaa..cb2b6390 100644
--- a/kbabel/addons/kfile-plugins/kfile_po.cpp
+++ b/kbabel/addons/kfile-plugins/kfile_po.cpp
@@ -40,9 +40,9 @@ using namespace KBabel;
typedef KGenericFactory<KPoPlugin> POFactory;
K_EXPORT_COMPONENT_FACTORY(kfile_po, POFactory("kfile_po"))
-KPoPlugin::KPoPlugin(TQObject *tqparent, const char *name,
+KPoPlugin::KPoPlugin(TQObject *parent, const char *name,
const TQStringList& args)
- : KFilePlugin(tqparent, name, args)
+ : KFilePlugin(parent, name, args)
{
KFileMimeTypeInfo* info = addMimeTypeInfo("application/x-gettext");
diff --git a/kbabel/addons/kfile-plugins/kfile_po.h b/kbabel/addons/kfile-plugins/kfile_po.h
index d5e46c34..e78ee873 100644
--- a/kbabel/addons/kfile-plugins/kfile_po.h
+++ b/kbabel/addons/kfile-plugins/kfile_po.h
@@ -43,7 +43,7 @@ class KPoPlugin : public KFilePlugin
TQ_OBJECT
public:
- KPoPlugin(TQObject *tqparent, const char *name, const TQStringList& args);
+ KPoPlugin(TQObject *parent, const char *name, const TQStringList& args);
virtual bool readInfo(KFileMetaInfo& info, uint);
};
diff --git a/kbabel/catalogmanager/catalogmanagerview.cpp b/kbabel/catalogmanager/catalogmanagerview.cpp
index 63f2a077..3501f17b 100644
--- a/kbabel/catalogmanager/catalogmanagerview.cpp
+++ b/kbabel/catalogmanager/catalogmanagerview.cpp
@@ -98,8 +98,8 @@ const char* columnNames[] = {
#define COLTEXT(a) (i18n(columnNames[a]))
-CatalogManagerView::CatalogManagerView(KBabel::Project::Ptr project, TQWidget* tqparent,const char* name)
- : TQListView(tqparent,name)
+CatalogManagerView::CatalogManagerView(KBabel::Project::Ptr project, TQWidget* parent,const char* name)
+ : TQListView(parent,name)
, _dirWatch(0)
, _readInfoCount(0)
, _active(false)
@@ -1638,14 +1638,14 @@ void CatalogManagerView::slotFileCommand(int index)
if(index>=0 && item && item->isFile())
{
- CatManListItem* tqparent = (CatManListItem*)item->tqparent();
+ CatManListItem* parent = (CatManListItem*)item->parent();
TQString cmd=*(_settings.fileCommands).at(index);
cmd.replace("@PACKAGE@",item->name());
cmd.replace("@POFILE@",item->poFile());
cmd.replace("@POTFILE@",item->potFile());
- cmd.replace("@PODIR@",tqparent->poFile());
- cmd.replace("@POTDIR@",tqparent->potFile());
+ cmd.replace("@PODIR@",parent->poFile());
+ cmd.replace("@POTDIR@",parent->potFile());
cmd.replace("@POEMAIL@",item->text(COL_TRANSLATOR));
kdDebug(KBABEL_CATMAN) << cmd << endl;
@@ -1660,7 +1660,7 @@ void CatalogManagerView::slotFileCommand(int index)
connect( proc,TQT_SIGNAL( receivedStderr(KProcess*,char*,int) ), this
,TQT_SLOT( showOutput(KProcess*,char*,int) ) );
- *proc << "cd" << tqparent->poFile() << ";" << cmd;
+ *proc << "cd" << parent->poFile() << ";" << cmd;
proc->start(KProcess::NotifyOnExit,KProcess::AllOutput);
}
@@ -2206,7 +2206,7 @@ void CatalogManagerView::updateDir(TQString relDir)
deleteDirItem(relDir);
// if this directory has to be removed, check, if
- // the tqparent directory has to be removed too
+ // the parent directory has to be removed too
const int index=relDir.findRev("/",relDir.length()-2);
if(index<0)
{
@@ -2266,7 +2266,7 @@ void CatalogManagerView::directoryChanged(const TQString& dir)
CatManListItem* thisItem=_dirList[relDir];
if(!thisItem)
{
- // if this item is not in the list search for next existing tqparent item
+ // if this item is not in the list search for next existing parent item
TQString prevRelDir;
do
{
@@ -2289,7 +2289,7 @@ void CatalogManagerView::directoryChanged(const TQString& dir)
}
else
{
- // if a tqparent item dir is found, create the needed item in this dir
+ // if a parent item dir is found, create the needed item in this dir
// and build the tree from this item on
kdDebug(KBABEL_CATMAN) << "building dir: " << prevRelDir << endl;
CatManListItem* item = new CatManListItem(this, thisItem,_settings.poBaseDir+prevRelDir
@@ -2624,7 +2624,7 @@ CatManListItem *CatalogManagerView::itemBelow( CatManListItem *item )
{
while( !static_cast<CatManListItem *>( item->nextSibling() ) )
{
- item = static_cast<CatManListItem *>( item->tqparent() );
+ item = static_cast<CatManListItem *>( item->parent() );
if( !item ) return item;
}
return static_cast<CatManListItem *>( item->nextSibling() );
@@ -2634,7 +2634,7 @@ CatManListItem *CatalogManagerView::itemBelow( CatManListItem *item )
{
while( !static_cast<CatManListItem *>( item->nextSibling() ) )
{
- item = static_cast<CatManListItem *>( item->tqparent());
+ item = static_cast<CatManListItem *>( item->parent());
if( !item ) return item;
}
return static_cast<CatManListItem *>( item->nextSibling() );
@@ -2651,7 +2651,7 @@ CatManListItem *CatalogManagerView::itemAbove( CatManListItem *item )
{
while( !static_cast<CatManListItem *>( item->previousSibling() ) )
{
- item = static_cast<CatManListItem *>( item->tqparent() );
+ item = static_cast<CatManListItem *>( item->parent() );
if( !item ) return item;
}
return static_cast<CatManListItem *>( item->previousSibling() );
@@ -2661,7 +2661,7 @@ CatManListItem *CatalogManagerView::itemAbove( CatManListItem *item )
{
while( !static_cast<CatManListItem *>( item->previousSibling() ) )
{
- item = static_cast<CatManListItem *>( item->tqparent());
+ item = static_cast<CatManListItem *>( item->parent());
if( !item ) return item;
}
return static_cast<CatManListItem *>( item->previousSibling() );
diff --git a/kbabel/catalogmanager/catalogmanagerview.h b/kbabel/catalogmanager/catalogmanagerview.h
index 8a405430..d923a3bb 100644
--- a/kbabel/catalogmanager/catalogmanagerview.h
+++ b/kbabel/catalogmanager/catalogmanagerview.h
@@ -79,7 +79,7 @@ class CatalogManagerView : public TQListView
Q_OBJECT
TQ_OBJECT
public:
- CatalogManagerView(KBabel::Project::Ptr project, TQWidget* tqparent=0, const char* name=0);
+ CatalogManagerView(KBabel::Project::Ptr project, TQWidget* parent=0, const char* name=0);
virtual ~CatalogManagerView();
KBabel::CatManSettings settings() const;
@@ -126,14 +126,14 @@ public slots:
* traverses all childs in the directory of the current item
* (including all subdirectories) and displays some statistics
* about the translations. If the item is a file, its
- * tqparent directory is used instead.
+ * parent directory is used instead.
*/
void statistics();
/**
* traverses all marked childs in the directory of the current item
* (including all subdirectories) and displays some statistics
* about the translations. If the item is a file, its
- * tqparent directory is used instead.
+ * parent directory is used instead.
*/
void markedStatistics();
/**
diff --git a/kbabel/catalogmanager/catmanlistitem.cpp b/kbabel/catalogmanager/catmanlistitem.cpp
index aa52237f..d5997dd5 100644
--- a/kbabel/catalogmanager/catmanlistitem.cpp
+++ b/kbabel/catalogmanager/catmanlistitem.cpp
@@ -53,15 +53,15 @@
using namespace KBabel;
-CatManListItem::CatManListItem(CatalogManagerView *view, TQListViewItem* tqparent,TQString fullPath,TQString fullPotPath,TQString package)
- : TQListViewItem(tqparent)
+CatManListItem::CatManListItem(CatalogManagerView *view, TQListViewItem* parent,TQString fullPath,TQString fullPotPath,TQString package)
+ : TQListViewItem(parent)
{
_view = view;
init(fullPath,fullPotPath,package);
}
-CatManListItem::CatManListItem(CatalogManagerView *view, TQListView* tqparent,TQString fullPath,TQString fullPotPath)
- : TQListViewItem(tqparent)
+CatManListItem::CatManListItem(CatalogManagerView *view, TQListView* parent,TQString fullPath,TQString fullPotPath)
+ : TQListViewItem(parent)
{
_primary=TQFileInfo(fullPath);
_template=TQFileInfo(fullPotPath);
@@ -102,7 +102,7 @@ void CatManListItem::init(const TQString& fullPath, const TQString& fullPotPath,
_wordList.clear();
_wordListUpdated = false;
- update(tqparent()->isOpen(),false,true);
+ update(parent()->isOpen(),false,true);
if( !isDir() ) setPixmap(COL_MARKER,ICON_NOFLAG);
}
@@ -332,11 +332,11 @@ TQString CatManListItem::key(int col, bool) const
void CatManListItem::update(bool showPoInfo,bool includeChildren
, bool noParents)
{
- if( _view->isStopped() ) return; // if tqparent view is stopped, we should stop as well
+ if( _view->isStopped() ) return; // if parent view is stopped, we should stop as well
bool updateWordList = _view->settings().indexWords;
- // flag, if something has changed and tqparent has to be updated
+ // flag, if something has changed and parent has to be updated
bool updateParent=false;
// update flags for files...
@@ -596,7 +596,7 @@ void CatManListItem::update(bool showPoInfo,bool includeChildren
// however, is can be saved template or translation!!! - only translation is handled???
void CatManListItem::updateAfterSave( PoInfo &poInfo )
{
- // flag, if something has changed and tqparent has to be updated
+ // flag, if something has changed and parent has to be updated
bool updateParent=false;
// update flags for files...
@@ -661,7 +661,7 @@ void CatManListItem::updateAfterSave( PoInfo &poInfo )
setPixmap(COL_NAME,icon);
- // if the status changed, update the tqparent item
+ // if the status changed, update the parent item
if(needWork != neededWork)
{
updateParent=true;
@@ -677,11 +677,11 @@ void CatManListItem::updateAfterSave( PoInfo &poInfo )
void CatManListItem::updateParents()
{
- CatManListItem *item = (CatManListItem*)tqparent();
+ CatManListItem *item = (CatManListItem*)parent();
while( item && !_view->isStopped())
{
item->update(false,false);
- item = (CatManListItem*)item->tqparent();
+ item = (CatManListItem*)item->parent();
}
}
@@ -827,9 +827,9 @@ TQPixmap CatManListItem::paintExclamation(TQPixmap* pixmap)
int diameter=TQMIN(width,height);
- TQBitmap tqmask=pixmap->createHeuristicMask();
+ TQBitmap mask=pixmap->createHeuristicMask();
- TQPainter mp(&tqmask);
+ TQPainter mp(&mask);
mp.setPen(TQPen(TQt::color1,1));
mp.drawEllipse(width-diameter,height-diameter,diameter,diameter);
@@ -840,14 +840,14 @@ TQPixmap CatManListItem::paintExclamation(TQPixmap* pixmap)
p.setPen( TQPen(red,1) );
p.drawEllipse(width-diameter,height-diameter,diameter,diameter);
- result.setMask(tqmask);
+ result.setMask(mask);
return result;
}
TQListViewItem *CatManListItem::previousSibling()
{
- TQListViewItem * i = tqparent();
+ TQListViewItem * i = parent();
if( !i ) return i;
i = i->firstChild();
if( !i ) return i;
diff --git a/kbabel/catalogmanager/catmanlistitem.h b/kbabel/catalogmanager/catmanlistitem.h
index e31a5d4d..ac22e2e8 100644
--- a/kbabel/catalogmanager/catmanlistitem.h
+++ b/kbabel/catalogmanager/catmanlistitem.h
@@ -60,11 +60,11 @@ public:
/** the type of this item */
enum Type{File,Dir};
- CatManListItem(CatalogManagerView *view, TQListViewItem* tqparent,TQString fullPath
+ CatManListItem(CatalogManagerView *view, TQListViewItem* parent,TQString fullPath
,TQString fullPotPath,TQString package);
/** creates the toplevel root item with package name "/" */
- CatManListItem(CatalogManagerView *view, TQListView* tqparent,TQString fullPath, TQString fullPotPath);
+ CatManListItem(CatalogManagerView *view, TQListView* parent,TQString fullPath, TQString fullPotPath);
/**
* returns the package names (including relative path) of the
@@ -94,7 +94,7 @@ public:
/**
* checks if the file on the disc has changed,
* reads information about the file and displays it
- * @param noParents flag, if the update has to include the tqparent
+ * @param noParents flag, if the update has to include the parent
* of the item, if the status has changed. Since at the first build of
* the tree, the status of every item changes, this is not useful then.
*/
@@ -227,7 +227,7 @@ private:
/** a list of errors found by validation tool*/
TQValueList<IgnoreItem> _errors;
- /** tqparent view for this item, used for stopping the activity */
+ /** parent view for this item, used for stopping the activity */
CatalogManagerView *_view;
/** index of words, but it does not contain any useful information as values */
diff --git a/kbabel/catalogmanager/findinfilesdialog.cpp b/kbabel/catalogmanager/findinfilesdialog.cpp
index 5f10678b..25c37594 100644
--- a/kbabel/catalogmanager/findinfilesdialog.cpp
+++ b/kbabel/catalogmanager/findinfilesdialog.cpp
@@ -44,8 +44,8 @@
using namespace KBabel;
-FindInFilesDialog::FindInFilesDialog(bool forReplace, TQWidget* tqparent)
- :FindDialog(forReplace, tqparent)
+FindInFilesDialog::FindInFilesDialog(bool forReplace, TQWidget* parent)
+ :FindDialog(forReplace, parent)
{
TQGroupBox* box = new TQGroupBox(2, Qt::Horizontal, i18n("File Options"), mainWidget());
mainWidget()->tqlayout()->add(box);
diff --git a/kbabel/catalogmanager/findinfilesdialog.h b/kbabel/catalogmanager/findinfilesdialog.h
index afabcb58..5f27795c 100644
--- a/kbabel/catalogmanager/findinfilesdialog.h
+++ b/kbabel/catalogmanager/findinfilesdialog.h
@@ -47,7 +47,7 @@ public:
* Constructor
* @param replaceDlg flag, if this is a replace dialog
*/
- FindInFilesDialog(bool replaceDlg, TQWidget* tqparent);
+ FindInFilesDialog(bool replaceDlg, TQWidget* parent);
~FindInFilesDialog();
/**
diff --git a/kbabel/catalogmanager/libcvs/cvsdialog.cpp b/kbabel/catalogmanager/libcvs/cvsdialog.cpp
index afc299b9..7043c8f3 100644
--- a/kbabel/catalogmanager/libcvs/cvsdialog.cpp
+++ b/kbabel/catalogmanager/libcvs/cvsdialog.cpp
@@ -60,8 +60,8 @@
#include "cvsdialog.h"
-CVSDialog::CVSDialog( CVS::Command cmd, TQWidget * tqparent, KSharedConfig* config )
- : KDialog( tqparent, "CVSDIALOG", true ), m_config( config )
+CVSDialog::CVSDialog( CVS::Command cmd, TQWidget * parent, KSharedConfig* config )
+ : KDialog( parent, "CVSDIALOG", true ), m_config( config )
{
_cmd = cmd;
p=0L;
diff --git a/kbabel/catalogmanager/libcvs/cvsdialog.h b/kbabel/catalogmanager/libcvs/cvsdialog.h
index 3c492704..dc726f59 100644
--- a/kbabel/catalogmanager/libcvs/cvsdialog.h
+++ b/kbabel/catalogmanager/libcvs/cvsdialog.h
@@ -73,7 +73,7 @@ class CVSDialog : public KDialog
* Constructor for creating the dialog.
* @param cmd The type of command to be executed.
*/
- CVSDialog( CVS::Command cmd, TQWidget * tqparent, KSharedConfig* config );
+ CVSDialog( CVS::Command cmd, TQWidget * parent, KSharedConfig* config );
~CVSDialog();
/**
* Set the list of files which will be used for the CVS command.
diff --git a/kbabel/catalogmanager/libcvs/cvshandler.cpp b/kbabel/catalogmanager/libcvs/cvshandler.cpp
index 6ab70423..b0764af8 100644
--- a/kbabel/catalogmanager/libcvs/cvshandler.cpp
+++ b/kbabel/catalogmanager/libcvs/cvshandler.cpp
@@ -182,18 +182,18 @@ TQString CVSHandler::cvstqStatus( const TQString& filename ) const
return map[filename];
}
-void CVSHandler::execCVSCommand( TQWidget* tqparent, CVS::Command cmd, const TQString& filename, bool templates, KSharedConfig* config )
+void CVSHandler::execCVSCommand( TQWidget* parent, CVS::Command cmd, const TQString& filename, bool templates, KSharedConfig* config )
{
if ( !_isPORepository ) {
// This message box should never be visible but who knows... ;-)
- KMessageBox::sorry( tqparent, i18n( "This is not a valid CVS repository. "
+ KMessageBox::sorry( parent, i18n( "This is not a valid CVS repository. "
"The CVS commands cannot be executed." ) );
return;
}
TQFileInfo info( filename );
if ( !info.isDir( ) ) {
- execCVSCommand( tqparent, cmd, TQStringList( filename ), templates, config );
+ execCVSCommand( parent, cmd, TQStringList( filename ), templates, config );
return;
}
@@ -218,14 +218,14 @@ void CVSHandler::execCVSCommand( TQWidget* tqparent, CVS::Command cmd, const TQS
break;
}
- showDialog( tqparent, cmd, TQStringList( filename ), command, config );
+ showDialog( parent, cmd, TQStringList( filename ), command, config );
}
-void CVSHandler::execCVSCommand( TQWidget* tqparent, CVS::Command cmd, const TQStringList& files, bool templates, KSharedConfig* config )
+void CVSHandler::execCVSCommand( TQWidget* parent, CVS::Command cmd, const TQStringList& files, bool templates, KSharedConfig* config )
{
if ( !_isPORepository ) {
// This message box should never be visible but who knows... ;-)
- KMessageBox::sorry( tqparent, i18n( "This is not a valid CVS repository. "
+ KMessageBox::sorry( parent, i18n( "This is not a valid CVS repository. "
"The CVS commands cannot be executed." ) );
return;
}
@@ -262,7 +262,7 @@ void CVSHandler::execCVSCommand( TQWidget* tqparent, CVS::Command cmd, const TQS
command += " \'" + temp + "\'";
}
- showDialog( tqparent, cmd, files, command, config );
+ showDialog( parent, cmd, files, command, config );
}
void CVSHandler::setAutoUpdateTemplates( bool update )
@@ -270,9 +270,9 @@ void CVSHandler::setAutoUpdateTemplates( bool update )
_autoUpdateTemplates = update;
}
-void CVSHandler::showDialog( TQWidget* tqparent, CVS::Command cmd, const TQStringList& files, const TQString& commandLine, KSharedConfig* config )
+void CVSHandler::showDialog( TQWidget* parent, CVS::Command cmd, const TQStringList& files, const TQString& commandLine, KSharedConfig* config )
{
- CVSDialog * dia = new CVSDialog( cmd, tqparent, config );
+ CVSDialog * dia = new CVSDialog( cmd, parent, config );
dia->setFiles( files );
dia->setCommandLine( commandLine );
if ( cmd == CVS::Commit ) {
@@ -313,7 +313,7 @@ void CVSHandler::checkToAdd( const TQStringList& files )
toBeAdded << *it;
temp = TQFileInfo( *it ).dirPath( true );
}
- // check recursivlely if tqparent dirs have to be added as well
+ // check recursivlely if parent dirs have to be added as well
while ( fstatus( temp ) == NOT_IN_CVS && toBeAdded.findIndex( temp ) == -1 ) {
toBeAdded << temp;
temp = TQFileInfo( temp ).dirPath( true );
diff --git a/kbabel/catalogmanager/libcvs/cvshandler.h b/kbabel/catalogmanager/libcvs/cvshandler.h
index 78e248da..1c08af92 100644
--- a/kbabel/catalogmanager/libcvs/cvshandler.h
+++ b/kbabel/catalogmanager/libcvs/cvshandler.h
@@ -79,8 +79,8 @@ class CVSHandler : public TQObject
TQString filetqStatus( const FiletqStatus status ) const;
TQString cvstqStatus( const TQString& filename ) const;
- void execCVSCommand( TQWidget* tqparent, CVS::Command cmd, const TQString& filename, bool templates, KSharedConfig* config );
- void execCVSCommand( TQWidget* tqparent, CVS::Command cmd, const TQStringList& files, bool templates, KSharedConfig* config );
+ void execCVSCommand( TQWidget* parent, CVS::Command cmd, const TQString& filename, bool templates, KSharedConfig* config );
+ void execCVSCommand( TQWidget* parent, CVS::Command cmd, const TQStringList& files, bool templates, KSharedConfig* config );
void setAutoUpdateTemplates( bool update );
@@ -95,7 +95,7 @@ class CVSHandler : public TQObject
void signalFilesCommitted( const TQStringList& );
private:
- void showDialog( TQWidget* tqparent, CVS::Command cmd, const TQStringList& files, const TQString& commandLine, KSharedConfig* config );
+ void showDialog( TQWidget* parent, CVS::Command cmd, const TQStringList& files, const TQString& commandLine, KSharedConfig* config );
void checkToAdd( const TQStringList& files );
void processStatusOutput( const TQString& status );
void processDiff( TQString output );
diff --git a/kbabel/catalogmanager/libsvn/svndialog.cpp b/kbabel/catalogmanager/libsvn/svndialog.cpp
index 01a4bccd..b54b25eb 100644
--- a/kbabel/catalogmanager/libsvn/svndialog.cpp
+++ b/kbabel/catalogmanager/libsvn/svndialog.cpp
@@ -57,8 +57,8 @@
#include "svndialog.h"
-SVNDialog::SVNDialog( SVN::Command cmd, TQWidget * tqparent, KSharedConfig* config )
- : KDialog( tqparent, "SVN DIALOG", true ), m_tempFile( 0 ), m_config( config )
+SVNDialog::SVNDialog( SVN::Command cmd, TQWidget * parent, KSharedConfig* config )
+ : KDialog( parent, "SVN DIALOG", true ), m_tempFile( 0 ), m_config( config )
{
_cmd = cmd;
p=0L;
diff --git a/kbabel/catalogmanager/libsvn/svndialog.h b/kbabel/catalogmanager/libsvn/svndialog.h
index 55c57f27..a8083216 100644
--- a/kbabel/catalogmanager/libsvn/svndialog.h
+++ b/kbabel/catalogmanager/libsvn/svndialog.h
@@ -72,7 +72,7 @@ class SVNDialog : public KDialog
* Constructor for creating the dialog.
* @param cmd The type of command to be executed.
*/
- SVNDialog( SVN::Command cmd, TQWidget * tqparent, KSharedConfig* config );
+ SVNDialog( SVN::Command cmd, TQWidget * parent, KSharedConfig* config );
~SVNDialog();
/**
* Set the list of files which will be used for the SVN command.
diff --git a/kbabel/catalogmanager/libsvn/svnhandler.cpp b/kbabel/catalogmanager/libsvn/svnhandler.cpp
index 71907fb8..5f91e1e8 100644
--- a/kbabel/catalogmanager/libsvn/svnhandler.cpp
+++ b/kbabel/catalogmanager/libsvn/svnhandler.cpp
@@ -274,18 +274,18 @@ TQString SVNHandler::svntqStatus( const TQString& filename ) const
return map[filename];
}
-void SVNHandler::execSVNCommand( TQWidget* tqparent, SVN::Command cmd, const TQString& filename, bool templates, KSharedConfig* config)
+void SVNHandler::execSVNCommand( TQWidget* parent, SVN::Command cmd, const TQString& filename, bool templates, KSharedConfig* config)
{
// Unlike cvs, svn works also from outside the repository(as long as the path is in a repository of course!)
// ### FIXME: wrong, svn commit cannot work if the current directory is not a SVN one
- execSVNCommand( tqparent, cmd, TQStringList( filename ), templates, config );
+ execSVNCommand( parent, cmd, TQStringList( filename ), templates, config );
}
-void SVNHandler::execSVNCommand( TQWidget* tqparent, SVN::Command cmd, const TQStringList& files, bool templates, KSharedConfig* config )
+void SVNHandler::execSVNCommand( TQWidget* parent, SVN::Command cmd, const TQStringList& files, bool templates, KSharedConfig* config )
{
if ( !_isPORepository ) {
// This message box should never be visible but who knows... ;-)
- KMessageBox::sorry( tqparent, i18n( "This is not a valid SVN repository. "
+ KMessageBox::sorry( parent, i18n( "This is not a valid SVN repository. "
"The SVN commands cannot be executed." ) );
return;
}
@@ -328,7 +328,7 @@ void SVNHandler::execSVNCommand( TQWidget* tqparent, SVN::Command cmd, const TQS
command += " \'" + temp + "\'";
}
- showDialog( tqparent, cmd, files, command, config );
+ showDialog( parent, cmd, files, command, config );
}
void SVNHandler::setAutoUpdateTemplates( bool update )
@@ -336,9 +336,9 @@ void SVNHandler::setAutoUpdateTemplates( bool update )
_autoUpdateTemplates = update;
}
-void SVNHandler::showDialog( TQWidget* tqparent, SVN::Command cmd, const TQStringList& files, const TQString& commandLine, KSharedConfig* config )
+void SVNHandler::showDialog( TQWidget* parent, SVN::Command cmd, const TQStringList& files, const TQString& commandLine, KSharedConfig* config )
{
- SVNDialog * dia = new SVNDialog( cmd, tqparent, config );
+ SVNDialog * dia = new SVNDialog( cmd, parent, config );
dia->setFiles( files );
dia->setCommandLine( commandLine );
if ( cmd == SVN::Commit ) {
@@ -415,7 +415,7 @@ void SVNHandler::checkToAdd( const TQStringList& files )
}
// ### TODO: does SVN really needs this or does it do it automatically?
- // check recursivlely if tqparent dirs have to be added as well
+ // check recursivlely if parent dirs have to be added as well
while ( ! isInSvn( temp ) && toBeAdded.findIndex( temp ) == -1 ) {
toBeAdded << temp;
temp = TQFileInfo( temp ).dirPath( true );
diff --git a/kbabel/catalogmanager/libsvn/svnhandler.h b/kbabel/catalogmanager/libsvn/svnhandler.h
index cad3e93f..57ce13b4 100644
--- a/kbabel/catalogmanager/libsvn/svnhandler.h
+++ b/kbabel/catalogmanager/libsvn/svnhandler.h
@@ -78,8 +78,8 @@ class SVNHandler : public TQObject
TQString filetqStatus( const FiletqStatus status ) const;
TQString svntqStatus( const TQString& filename ) const;
- void execSVNCommand( TQWidget* tqparent, SVN::Command cmd, const TQString& filename, bool templates, KSharedConfig* config );
- void execSVNCommand( TQWidget* tqparent, SVN::Command cmd, const TQStringList& files, bool templates, KSharedConfig* config );
+ void execSVNCommand( TQWidget* parent, SVN::Command cmd, const TQString& filename, bool templates, KSharedConfig* config );
+ void execSVNCommand( TQWidget* parent, SVN::Command cmd, const TQStringList& files, bool templates, KSharedConfig* config );
void setAutoUpdateTemplates( bool update );
@@ -94,7 +94,7 @@ class SVNHandler : public TQObject
void signalFilesCommitted( const TQStringList& );
private:
- void showDialog( TQWidget* tqparent, SVN::Command cmd, const TQStringList& files, const TQString& commandLine, KSharedConfig* config );
+ void showDialog( TQWidget* parent, SVN::Command cmd, const TQStringList& files, const TQString& commandLine, KSharedConfig* config );
/// Check quickly if the file is part of a SVN repository
bool isInSvn( const TQString& path );
void checkToAdd( const TQStringList& files );
diff --git a/kbabel/catalogmanager/markpatterndialog.cpp b/kbabel/catalogmanager/markpatterndialog.cpp
index 063069e6..c53b008f 100644
--- a/kbabel/catalogmanager/markpatterndialog.cpp
+++ b/kbabel/catalogmanager/markpatterndialog.cpp
@@ -47,8 +47,8 @@
#include "markpatterndialog.h"
#include "markpatternwidget.h"
-MarkPatternDialog::MarkPatternDialog(TQWidget * tqparent, const char * name)
- : KDialogBase(tqparent, name, true, 0, Ok|Cancel, Ok)
+MarkPatternDialog::MarkPatternDialog(TQWidget * parent, const char * name)
+ : KDialogBase(parent, name, true, 0, Ok|Cancel, Ok)
{
actionButton(Ok)->setEnabled(false);
diff --git a/kbabel/catalogmanager/markpatterndialog.h b/kbabel/catalogmanager/markpatterndialog.h
index 46a39c32..3ca2d232 100644
--- a/kbabel/catalogmanager/markpatterndialog.h
+++ b/kbabel/catalogmanager/markpatterndialog.h
@@ -46,7 +46,7 @@ class MarkPatternDialog : public KDialogBase
TQ_OBJECT
public:
- MarkPatternDialog(TQWidget * tqparent, const char * name = 0);
+ MarkPatternDialog(TQWidget * parent, const char * name = 0);
TQString pattern( );
bool isCaseSensitive( );
diff --git a/kbabel/catalogmanager/multiroughtransdlg.cpp b/kbabel/catalogmanager/multiroughtransdlg.cpp
index e5b272f1..16373a0b 100644
--- a/kbabel/catalogmanager/multiroughtransdlg.cpp
+++ b/kbabel/catalogmanager/multiroughtransdlg.cpp
@@ -48,11 +48,11 @@
using namespace KBabel;
MultiRoughTransDlg::MultiRoughTransDlg(KBabelDictBox *dict, TQPtrList<CatManListItem> files
- , TQWidget *tqparent,const char *name)
- : RoughTransDlg(dict, new Catalog(), tqparent, name )
+ , TQWidget *parent,const char *name)
+ : RoughTransDlg(dict, new Catalog(), parent, name )
,_fileList(files)
{
- TQWidget* bars = TQT_TQWIDGET(progressbar->tqparent());
+ TQWidget* bars = TQT_TQWIDGET(progressbar->parent());
TQLabel* label = new TQLabel( i18n("Files:"), bars );
filesProgressbar = new KProgress(bars,"files progressbar");
filesProgressbar->setTextEnabled(true);
diff --git a/kbabel/catalogmanager/multiroughtransdlg.h b/kbabel/catalogmanager/multiroughtransdlg.h
index 560ae1d8..4c5b8fc3 100644
--- a/kbabel/catalogmanager/multiroughtransdlg.h
+++ b/kbabel/catalogmanager/multiroughtransdlg.h
@@ -43,7 +43,7 @@ class MultiRoughTransDlg : public RoughTransDlg
TQ_OBJECT
public:
- MultiRoughTransDlg(KBabelDictBox* dictBox, TQPtrList<CatManListItem> list, TQWidget *tqparent
+ MultiRoughTransDlg(KBabelDictBox* dictBox, TQPtrList<CatManListItem> list, TQWidget *parent
, const char *name=0);
protected slots:
diff --git a/kbabel/catalogmanager/validateprogress.cpp b/kbabel/catalogmanager/validateprogress.cpp
index a5440a6f..42fd3f39 100644
--- a/kbabel/catalogmanager/validateprogress.cpp
+++ b/kbabel/catalogmanager/validateprogress.cpp
@@ -52,8 +52,8 @@
// version identification for validation ignores
#define IGNOREFILE_VERSION 0x00
-ValidateProgressDialog::ValidateProgressDialog(const TQString& ignoreURL, TQWidget *tqparent,const char *name)
- : KDialogBase(tqparent,name,true,i18n("Caption of dialog","Validation")
+ValidateProgressDialog::ValidateProgressDialog(const TQString& ignoreURL, TQWidget *parent,const char *name)
+ : KDialogBase(parent,name,true,i18n("Caption of dialog","Validation")
, Close, Close)
, _ignoreURL(ignoreURL), _tool(0), _stopped(false)
, _ignoreFuzzy(false), _setAsFuzzy(false)
diff --git a/kbabel/catalogmanager/validateprogress.h b/kbabel/catalogmanager/validateprogress.h
index f0ae950f..feb0088d 100644
--- a/kbabel/catalogmanager/validateprogress.h
+++ b/kbabel/catalogmanager/validateprogress.h
@@ -62,7 +62,7 @@ class ValidateProgressDialog : public KDialogBase
TQ_OBJECT
public:
- ValidateProgressDialog(const TQString& ignoreURL, TQWidget* tqparent, const char *name=0);
+ ValidateProgressDialog(const TQString& ignoreURL, TQWidget* parent, const char *name=0);
virtual ~ValidateProgressDialog();
void setIgnoreFuzzy(bool enable) { _ignoreFuzzy = enable; }
diff --git a/kbabel/common/catalog.cpp b/kbabel/common/catalog.cpp
index 3d9de8b2..182cf3b0 100644
--- a/kbabel/common/catalog.cpp
+++ b/kbabel/common/catalog.cpp
@@ -70,8 +70,8 @@
#include <kmessagebox.h>
using namespace KBabel;
-Catalog::Catalog(TQObject* tqparent, const char* name, TQString projectFile)
- : TQObject(tqparent,name)
+Catalog::Catalog(TQObject* parent, const char* name, TQString projectFile)
+ : TQObject(parent,name)
{
if ( projectFile.isEmpty() )
projectFile = KBabel::ProjectManager::defaultProjectName();
@@ -79,7 +79,7 @@ Catalog::Catalog(TQObject* tqparent, const char* name, TQString projectFile)
readPreferences();
}
-Catalog::Catalog(const Catalog& c): TQObject(c.tqparent(),c.name()
+Catalog::Catalog(const Catalog& c): TQObject(c.parent(),c.name()
)
{
kdFatal() << "Copy constructor of Catalog, please report how to reproduce to the authors" << endl;
diff --git a/kbabel/common/catalog.h b/kbabel/common/catalog.h
index 74fbcdd7..dd8c3a30 100644
--- a/kbabel/common/catalog.h
+++ b/kbabel/common/catalog.h
@@ -128,11 +128,11 @@ public:
/**
* A constructor for an empty message catalog.
- * @param tqparent tqparent @ref TQObject for this catalog
+ * @param parent parent @ref TQObject for this catalog
* @param name unique name for this object
* @param configFile configuration file to read config from
*/
- Catalog(TQObject* tqparent=0, const char* name=0, TQString projectFile = TQString() );
+ Catalog(TQObject* parent=0, const char* name=0, TQString projectFile = TQString() );
/**
* Deprecated. A copy constructor. Do not use since each Catalog registers
diff --git a/kbabel/common/catalogfileplugin.h b/kbabel/common/catalogfileplugin.h
index ea7cc245..d4e72a76 100644
--- a/kbabel/common/catalogfileplugin.h
+++ b/kbabel/common/catalogfileplugin.h
@@ -85,7 +85,7 @@ class KDE_EXPORT CatalogImportPlugin: public TQObject
TQ_OBJECT
public:
- CatalogImportPlugin(TQObject* tqparent, const char* name);
+ CatalogImportPlugin(TQObject* parent, const char* name);
virtual ~CatalogImportPlugin();
/**
@@ -181,7 +181,7 @@ class KDE_EXPORT CatalogExportPlugin: public TQObject
TQ_OBJECT
public:
- CatalogExportPlugin(TQObject* tqparent, const char* name);
+ CatalogExportPlugin(TQObject* parent, const char* name);
virtual ~CatalogExportPlugin();
virtual ConversiontqStatus save(const TQString& file, const TQString& mimetype, const Catalog* catalog) = 0;
diff --git a/kbabel/common/exportplugin.cpp b/kbabel/common/exportplugin.cpp
index 3aa5af48..25fbef50 100644
--- a/kbabel/common/exportplugin.cpp
+++ b/kbabel/common/exportplugin.cpp
@@ -45,7 +45,7 @@ struct KBabel::CatalogExportPluginPrivate
bool _stop;
};
-CatalogExportPlugin::CatalogExportPlugin(TQObject* tqparent, const char* name) : TQObject(tqparent,name)
+CatalogExportPlugin::CatalogExportPlugin(TQObject* parent, const char* name) : TQObject(parent,name)
{
d = new CatalogExportPluginPrivate;
d->_stop=false;
diff --git a/kbabel/common/importplugin.cpp b/kbabel/common/importplugin.cpp
index 4ef1562c..ed6d15ef 100644
--- a/kbabel/common/importplugin.cpp
+++ b/kbabel/common/importplugin.cpp
@@ -43,7 +43,7 @@
using namespace KBabel;
-CatalogImportPlugin::CatalogImportPlugin(TQObject* tqparent, const char* name) : TQObject(tqparent,name)
+CatalogImportPlugin::CatalogImportPlugin(TQObject* parent, const char* name) : TQObject(parent,name)
{
d = new CatalogImportPluginPrivate;
d->_catalog = 0;
diff --git a/kbabel/common/kbabeldatatool.h b/kbabel/common/kbabeldatatool.h
index ae1406c6..ee3bfb11 100644
--- a/kbabel/common/kbabeldatatool.h
+++ b/kbabel/common/kbabeldatatool.h
@@ -50,7 +50,7 @@ class KBabelDataTool: public KDataTool
TQ_OBJECT
protected:
- KBabelDataTool( TQObject* tqparent, const char* name ) : KDataTool( tqparent, name ) {}
+ KBabelDataTool( TQObject* parent, const char* name ) : KDataTool( parent, name ) {}
public slots:
/** The only method to be redefined in inherited classes.
* This method is called everytime the settings are changed.
diff --git a/kbabel/common/kbmailer.cpp b/kbabel/common/kbmailer.cpp
index d63940af..90f61256 100644
--- a/kbabel/common/kbmailer.cpp
+++ b/kbabel/common/kbmailer.cpp
@@ -53,8 +53,8 @@
using namespace KBabel;
-KBabelMailer::KBabelMailer( TQWidget* tqparent, Project::Ptr project)
- : _project( project ), m_parent( tqparent )
+KBabelMailer::KBabelMailer( TQWidget* parent, Project::Ptr project)
+ : _project( project ), m_parent( parent )
{
m_tempDir.setAutoDelete( true );
readConfig();
diff --git a/kbabel/common/kbmailer.h b/kbabel/common/kbmailer.h
index 1f35d6e2..fe1cfe89 100644
--- a/kbabel/common/kbmailer.h
+++ b/kbabel/common/kbmailer.h
@@ -62,11 +62,11 @@ class KDE_EXPORT KBabelMailer
/**
* Constructor.
*
- * @param tqparent The tqparent widget.
+ * @param parent The parent widget.
* @param project The project to be used.
- * @since 1.11.2 (KDE 3.5.2): @p tqparent parameter
+ * @since 1.11.2 (KDE 3.5.2): @p parent parameter
*/
- KBabelMailer( TQWidget* tqparent, Project::Ptr project);
+ KBabelMailer( TQWidget* parent, Project::Ptr project);
virtual ~KBabelMailer();
/**
@@ -157,7 +157,7 @@ class KDE_EXPORT KBabelMailer
*/
TQString _poBaseDir;
- /// The tqparent widget
+ /// The parent widget
TQWidget* m_parent;
};
diff --git a/kbabel/common/msgfmt.cpp b/kbabel/common/msgfmt.cpp
index 36af8551..f91f25f9 100644
--- a/kbabel/common/msgfmt.cpp
+++ b/kbabel/common/msgfmt.cpp
@@ -46,8 +46,8 @@
using namespace KBabel;
-Msgfmt::Msgfmt(TQObject* tqparent,const char* name)
- : TQObject(tqparent , name)
+Msgfmt::Msgfmt(TQObject* parent,const char* name)
+ : TQObject(parent , name)
{
}
diff --git a/kbabel/common/msgfmt.h b/kbabel/common/msgfmt.h
index 9831a43f..025a2fdd 100644
--- a/kbabel/common/msgfmt.h
+++ b/kbabel/common/msgfmt.h
@@ -48,7 +48,7 @@ class KDE_EXPORT Msgfmt : private TQObject
TQ_OBJECT
public:
enum tqStatus{NoExecutable,Ok,SyntaxError,HeaderError,Error,Unsupported};
- Msgfmt(TQObject* tqparent=0,const char* name=0);
+ Msgfmt(TQObject* parent=0,const char* name=0);
tqStatus checkSyntax(TQString file,TQString& output, bool gnu = false);
tqStatus checkSyntaxInDir(TQString dir,TQString regexp,TQString& output);
diff --git a/kbabel/common/stringdistance.h b/kbabel/common/stringdistance.h
index 022b7fa5..13265b95 100644
--- a/kbabel/common/stringdistance.h
+++ b/kbabel/common/stringdistance.h
@@ -63,7 +63,7 @@ private: // emphasize the following members are private
*
* The class Distance calculates the distance
* between two Entities (left & right).
- * It is the tqparent for other distance-classes.
+ * It is the parent for other distance-classes.
*/
class Distance : public NonCopyable
{
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();
diff --git a/kbabel/datatools/accelerators/main.cc b/kbabel/datatools/accelerators/main.cc
index 3b13b2bf..75ca871d 100644
--- a/kbabel/datatools/accelerators/main.cc
+++ b/kbabel/datatools/accelerators/main.cc
@@ -51,8 +51,8 @@ K_EXPORT_COMPONENT_FACTORY( kbabel_accelstool, KGenericFactory<AcceleratorTool>
using namespace KBabel;
-AcceleratorTool::AcceleratorTool( TQObject* tqparent, const char* name, const TQStringList & )
- : KDataTool( tqparent, name ), _cache_origin( 0 )
+AcceleratorTool::AcceleratorTool( TQObject* parent, const char* name, const TQStringList & )
+ : KDataTool( parent, name ), _cache_origin( 0 )
{
// bogus translation just for allowing the translation
i18n("what check found errors","accelerator");
diff --git a/kbabel/datatools/accelerators/main.h b/kbabel/datatools/accelerators/main.h
index df1617cf..2660ac8e 100644
--- a/kbabel/datatools/accelerators/main.h
+++ b/kbabel/datatools/accelerators/main.h
@@ -45,7 +45,7 @@ class AcceleratorTool : public KDataTool
TQ_OBJECT
public:
- AcceleratorTool( TQObject* tqparent, const char* name, const TQStringList & );
+ AcceleratorTool( TQObject* parent, const char* name, const TQStringList & );
virtual bool run( const TQString& command, void* data, const TQString& datatype, const TQString& mimetype);
private:
diff --git a/kbabel/datatools/arguments/main.cc b/kbabel/datatools/arguments/main.cc
index 43ae38b4..f12bfac8 100644
--- a/kbabel/datatools/arguments/main.cc
+++ b/kbabel/datatools/arguments/main.cc
@@ -51,8 +51,8 @@ K_EXPORT_COMPONENT_FACTORY( kbabel_argstool, KGenericFactory<ArgumentTool> ( "kb
using namespace KBabel;
-ArgumentTool::ArgumentTool( TQObject* tqparent, const char* name, const TQStringList & )
- : KDataTool( tqparent, name ), _cache_origin( 0 )
+ArgumentTool::ArgumentTool( TQObject* parent, const char* name, const TQStringList & )
+ : KDataTool( parent, name ), _cache_origin( 0 )
{
i18n( "what check found errors","arguments");
}
diff --git a/kbabel/datatools/arguments/main.h b/kbabel/datatools/arguments/main.h
index 1831ea33..ae2d7fd5 100644
--- a/kbabel/datatools/arguments/main.h
+++ b/kbabel/datatools/arguments/main.h
@@ -45,7 +45,7 @@ class ArgumentTool : public KDataTool
TQ_OBJECT
public:
- ArgumentTool( TQObject* tqparent, const char* name, const TQStringList & );
+ ArgumentTool( TQObject* parent, const char* name, const TQStringList & );
virtual bool run( const TQString& command, void* data, const TQString& datatype, const TQString& mimetype);
private:
KBabel::Project::Ptr _cache_origin;
diff --git a/kbabel/datatools/context/main.cc b/kbabel/datatools/context/main.cc
index 5a17e8c3..95736dbd 100644
--- a/kbabel/datatools/context/main.cc
+++ b/kbabel/datatools/context/main.cc
@@ -52,8 +52,8 @@ K_EXPORT_COMPONENT_FACTORY( kbabel_contexttool, KGenericFactory<ContextTool> ( "
using namespace KBabel;
-ContextTool::ContextTool( TQObject* tqparent, const char* name, const TQStringList & )
- : KDataTool( tqparent, name ), _cache_origin( 0 )
+ContextTool::ContextTool( TQObject* parent, const char* name, const TQStringList & )
+ : KDataTool( parent, name ), _cache_origin( 0 )
{
i18n("what check found errors","context info");
}
diff --git a/kbabel/datatools/context/main.h b/kbabel/datatools/context/main.h
index c85d8d83..e71975e5 100644
--- a/kbabel/datatools/context/main.h
+++ b/kbabel/datatools/context/main.h
@@ -43,7 +43,7 @@ class ContextTool : public KDataTool
TQ_OBJECT
public:
- ContextTool( TQObject* tqparent, const char* name, const TQStringList & );
+ ContextTool( TQObject* parent, const char* name, const TQStringList & );
virtual bool run( const TQString& command, void* data, const TQString& datatype, const TQString& mimetype);
private:
KBabel::Project::Ptr _cache_origin;
diff --git a/kbabel/datatools/equations/main.cc b/kbabel/datatools/equations/main.cc
index cb1e1f7b..5abd7fed 100644
--- a/kbabel/datatools/equations/main.cc
+++ b/kbabel/datatools/equations/main.cc
@@ -52,8 +52,8 @@ K_EXPORT_COMPONENT_FACTORY( kbabel_equationstool, KGenericFactory<EquationsTool>
using namespace KBabel;
-EquationsTool::EquationsTool( TQObject* tqparent, const char* name, const TQStringList & )
- : KDataTool( tqparent, name ), _equation("^[a-zA-Z0-9]+=.+")
+EquationsTool::EquationsTool( TQObject* parent, const char* name, const TQStringList & )
+ : KDataTool( parent, name ), _equation("^[a-zA-Z0-9]+=.+")
{
i18n("what check found errors","equations");
}
diff --git a/kbabel/datatools/equations/main.h b/kbabel/datatools/equations/main.h
index 11adddaf..16eff40d 100644
--- a/kbabel/datatools/equations/main.h
+++ b/kbabel/datatools/equations/main.h
@@ -42,7 +42,7 @@ class EquationsTool : public KDataTool
TQ_OBJECT
public:
- EquationsTool( TQObject* tqparent, const char* name, const TQStringList & );
+ EquationsTool( TQObject* parent, const char* name, const TQStringList & );
virtual bool run( const TQString& command, void* data, const TQString& datatype, const TQString& mimetype);
private:
TQRegExp _equation;
diff --git a/kbabel/datatools/length/main.cc b/kbabel/datatools/length/main.cc
index 706cf10c..be809ffb 100644
--- a/kbabel/datatools/length/main.cc
+++ b/kbabel/datatools/length/main.cc
@@ -55,8 +55,8 @@ K_EXPORT_COMPONENT_FACTORY( kbabel_lengthtool, KGenericFactory<LengthTool> ( "kb
using namespace KBabel;
-LengthTool::LengthTool( TQObject* tqparent, const char* name, const TQStringList & )
- : KDataTool( tqparent, name ), _cache_origin( 0 )
+LengthTool::LengthTool( TQObject* parent, const char* name, const TQStringList & )
+ : KDataTool( parent, name ), _cache_origin( 0 )
{
i18n("which check found errors","translation has inconsistent length");
}
diff --git a/kbabel/datatools/length/main.h b/kbabel/datatools/length/main.h
index cff49df8..7b3bc8cc 100644
--- a/kbabel/datatools/length/main.h
+++ b/kbabel/datatools/length/main.h
@@ -44,7 +44,7 @@ class LengthTool : public KDataTool
TQ_OBJECT
public:
- LengthTool( TQObject* tqparent, const char* name, const TQStringList & );
+ LengthTool( TQObject* parent, const char* name, const TQStringList & );
virtual bool run( const TQString& command, void* data, const TQString& datatype, const TQString& mimetype);
private:
KBabel::Project::Ptr _cache_origin;
diff --git a/kbabel/datatools/not-translated/main.cc b/kbabel/datatools/not-translated/main.cc
index 9159c011..d14530b6 100644
--- a/kbabel/datatools/not-translated/main.cc
+++ b/kbabel/datatools/not-translated/main.cc
@@ -54,8 +54,8 @@ K_EXPORT_COMPONENT_FACTORY( kbabel_nottranslatedtool, KGenericFactory<NotTransla
using namespace KBabel;
-NotTranslatedTool::NotTranslatedTool( TQObject* tqparent, const char* name, const TQStringList & )
- : KDataTool( tqparent, name ) , _cache_origin( 0 )
+NotTranslatedTool::NotTranslatedTool( TQObject* parent, const char* name, const TQStringList & )
+ : KDataTool( parent, name ) , _cache_origin( 0 )
{
i18n("which check found errors","English text in translation");
}
diff --git a/kbabel/datatools/not-translated/main.h b/kbabel/datatools/not-translated/main.h
index a9cba848..a2867df1 100644
--- a/kbabel/datatools/not-translated/main.h
+++ b/kbabel/datatools/not-translated/main.h
@@ -44,7 +44,7 @@ class NotTranslatedTool : public KDataTool
TQ_OBJECT
public:
- NotTranslatedTool( TQObject* tqparent, const char* name, const TQStringList & );
+ NotTranslatedTool( TQObject* parent, const char* name, const TQStringList & );
virtual bool run( const TQString& command, void* data, const TQString& datatype, const TQString& mimetype);
private:
diff --git a/kbabel/datatools/pluralforms/main.cc b/kbabel/datatools/pluralforms/main.cc
index 5bc9e904..34782cfe 100644
--- a/kbabel/datatools/pluralforms/main.cc
+++ b/kbabel/datatools/pluralforms/main.cc
@@ -53,8 +53,8 @@ K_EXPORT_COMPONENT_FACTORY( kbabel_pluraltool, KGenericFactory<PluralsTool> ( "k
using namespace KBabel;
-PluralsTool::PluralsTool( TQObject* tqparent, const char* name, const TQStringList & )
- : KDataTool( tqparent, name ), _cache_origin( 0 ), _neededForms(-1)
+PluralsTool::PluralsTool( TQObject* parent, const char* name, const TQStringList & )
+ : KDataTool( parent, name ), _cache_origin( 0 ), _neededForms(-1)
{
i18n("what check found errors", "plural forms");
}
diff --git a/kbabel/datatools/pluralforms/main.h b/kbabel/datatools/pluralforms/main.h
index ee6617dd..88cfe7b5 100644
--- a/kbabel/datatools/pluralforms/main.h
+++ b/kbabel/datatools/pluralforms/main.h
@@ -43,7 +43,7 @@ class PluralsTool : public KDataTool
TQ_OBJECT
public:
- PluralsTool( TQObject* tqparent, const char* name, const TQStringList & );
+ PluralsTool( TQObject* parent, const char* name, const TQStringList & );
virtual bool run( const TQString& command, void* data, const TQString& datatype, const TQString& mimetype);
private:
KBabel::Project::Ptr _cache_origin;
diff --git a/kbabel/datatools/punctuation/main.cc b/kbabel/datatools/punctuation/main.cc
index 3b2bc35e..80f14c53 100644
--- a/kbabel/datatools/punctuation/main.cc
+++ b/kbabel/datatools/punctuation/main.cc
@@ -51,8 +51,8 @@ K_EXPORT_COMPONENT_FACTORY( kbabel_punctuationtool, KGenericFactory<PunctuationT
using namespace KBabel;
-PunctuationTool::PunctuationTool( TQObject* tqparent, const char* name, const TQStringList & )
- : KDataTool( tqparent, name )
+PunctuationTool::PunctuationTool( TQObject* parent, const char* name, const TQStringList & )
+ : KDataTool( parent, name )
{
// bogus translation just for allowing the translation
i18n("what check found errors","punctuation");
diff --git a/kbabel/datatools/punctuation/main.h b/kbabel/datatools/punctuation/main.h
index 6d58783e..6ccbdf1f 100644
--- a/kbabel/datatools/punctuation/main.h
+++ b/kbabel/datatools/punctuation/main.h
@@ -41,7 +41,7 @@ class PunctuationTool : public KDataTool
TQ_OBJECT
public:
- PunctuationTool( TQObject* tqparent, const char* name, const TQStringList & );
+ PunctuationTool( TQObject* parent, const char* name, const TQStringList & );
virtual bool run( const TQString& command, void* data, const TQString& datatype, const TQString& mimetype);
};
diff --git a/kbabel/datatools/regexp/main.cc b/kbabel/datatools/regexp/main.cc
index 132a8c21..3a40eac1 100644
--- a/kbabel/datatools/regexp/main.cc
+++ b/kbabel/datatools/regexp/main.cc
@@ -49,13 +49,13 @@ K_EXPORT_COMPONENT_FACTORY( kbabel_regexptool, KGenericFactory<RegExpTool> ( "kb
using namespace KBabel;
-RegExpTool::RegExpTool( TQObject* tqparent, const char* name, const TQStringList & )
- : KDataTool( tqparent, name )
+RegExpTool::RegExpTool( TQObject* parent, const char* name, const TQStringList & )
+ : KDataTool( parent, name )
{
i18n("which check found errors","translation has inconsistent length");
loadExpressions();
if ( ! _error.isNull() )
- KMessageBox::error( (TQWidget*)tqparent, i18n( "Error loading data (%1)" ).tqarg( _error ) );
+ KMessageBox::error( (TQWidget*)parent, i18n( "Error loading data (%1)" ).tqarg( _error ) );
}
bool RegExpTool::run( const TQString& command, void* data, const TQString& datatype, const TQString& mimetype )
diff --git a/kbabel/datatools/regexp/main.h b/kbabel/datatools/regexp/main.h
index c28c37d0..06c1945b 100644
--- a/kbabel/datatools/regexp/main.h
+++ b/kbabel/datatools/regexp/main.h
@@ -60,7 +60,7 @@ class RegExpTool : public KDataTool
TQ_OBJECT
public:
- RegExpTool( TQObject* tqparent, const char* name, const TQStringList & );
+ RegExpTool( TQObject* parent, const char* name, const TQStringList & );
virtual bool run( const TQString& command, void* data, const TQString& datatype, const TQString& mimetype);
private:
diff --git a/kbabel/datatools/setfuzzy/main.cc b/kbabel/datatools/setfuzzy/main.cc
index 192dc4f6..86dc332d 100644
--- a/kbabel/datatools/setfuzzy/main.cc
+++ b/kbabel/datatools/setfuzzy/main.cc
@@ -49,8 +49,8 @@ K_EXPORT_COMPONENT_FACTORY( kbabel_setfuzzytool, KGenericFactory<SetFuzzyTool> (
using namespace KBabel;
-SetFuzzyTool::SetFuzzyTool( TQObject* tqparent, const char* name, const TQStringList & )
- : KDataTool( tqparent, name )
+SetFuzzyTool::SetFuzzyTool( TQObject* parent, const char* name, const TQStringList & )
+ : KDataTool( parent, name )
{
}
diff --git a/kbabel/datatools/setfuzzy/main.h b/kbabel/datatools/setfuzzy/main.h
index 729abd1a..966eadc8 100644
--- a/kbabel/datatools/setfuzzy/main.h
+++ b/kbabel/datatools/setfuzzy/main.h
@@ -41,7 +41,7 @@ class SetFuzzyTool : public KDataTool
TQ_OBJECT
public:
- SetFuzzyTool( TQObject* tqparent, const char* name, const TQStringList & );
+ SetFuzzyTool( TQObject* parent, const char* name, const TQStringList & );
virtual bool run( const TQString& command, void* data, const TQString& datatype, const TQString& mimetype);
};
diff --git a/kbabel/datatools/whitespace/main.cc b/kbabel/datatools/whitespace/main.cc
index 68548501..1b4eacf8 100644
--- a/kbabel/datatools/whitespace/main.cc
+++ b/kbabel/datatools/whitespace/main.cc
@@ -54,8 +54,8 @@ K_EXPORT_COMPONENT_FACTORY( kbabel_whitespacetool, KGenericFactory<WhitespaceToo
using namespace KBabel;
-WhitespaceTool::WhitespaceTool( TQObject* tqparent, const char* name, const TQStringList & )
- : KDataTool( tqparent, name ), _cache_origin( 0 ), _equation("^[a-zA-Z0-9]+=")
+WhitespaceTool::WhitespaceTool( TQObject* parent, const char* name, const TQStringList & )
+ : KDataTool( parent, name ), _cache_origin( 0 ), _equation("^[a-zA-Z0-9]+=")
{
i18n("which check found errors","whitespace only translation");
}
diff --git a/kbabel/datatools/whitespace/main.h b/kbabel/datatools/whitespace/main.h
index 9c6c4f24..f9d2697a 100644
--- a/kbabel/datatools/whitespace/main.h
+++ b/kbabel/datatools/whitespace/main.h
@@ -45,7 +45,7 @@ class WhitespaceTool : public KDataTool
TQ_OBJECT
public:
- WhitespaceTool( TQObject* tqparent, const char* name, const TQStringList & );
+ WhitespaceTool( TQObject* parent, const char* name, const TQStringList & );
virtual bool run( const TQString& command, void* data, const TQString& datatype, const TQString& mimetype);
private:
KBabel::Project::Ptr _cache_origin;
diff --git a/kbabel/datatools/xml/main.cc b/kbabel/datatools/xml/main.cc
index 229ce734..da80d7d1 100644
--- a/kbabel/datatools/xml/main.cc
+++ b/kbabel/datatools/xml/main.cc
@@ -54,8 +54,8 @@ K_EXPORT_COMPONENT_FACTORY( kbabel_xmltool, KGenericFactory<XMLTool> ( "kbabelda
using namespace KBabel;
-XMLTool::XMLTool( TQObject* tqparent, const char* name, const TQStringList & )
- : KDataTool( tqparent, name ), _cache_origin( 0 )
+XMLTool::XMLTool( TQObject* parent, const char* name, const TQStringList & )
+ : KDataTool( parent, name ), _cache_origin( 0 )
{
i18n( "what check found errors", "XML tags" );
}
diff --git a/kbabel/datatools/xml/main.h b/kbabel/datatools/xml/main.h
index 1b983475..783105fd 100644
--- a/kbabel/datatools/xml/main.h
+++ b/kbabel/datatools/xml/main.h
@@ -44,7 +44,7 @@ class XMLTool : public KDataTool
TQ_OBJECT
public:
- XMLTool( TQObject* tqparent, const char* name, const TQStringList & );
+ XMLTool( TQObject* parent, const char* name, const TQStringList & );
virtual bool run( const TQString& command, void* data, const TQString& datatype, const TQString& mimetype);
private:
bool isFullyCompliant( const TQString& text);
diff --git a/kbabel/filters/gettext/gettextexport.cpp b/kbabel/filters/gettext/gettextexport.cpp
index cb7a3b24..31cca29f 100644
--- a/kbabel/filters/gettext/gettextexport.cpp
+++ b/kbabel/filters/gettext/gettextexport.cpp
@@ -51,8 +51,8 @@ K_EXPORT_COMPONENT_FACTORY( kbabel_gettextexport, KGenericFactory<GettextExportP
using namespace KBabel;
-GettextExportPlugin::GettextExportPlugin(TQObject* tqparent, const char* name, const TQStringList &) :
- CatalogExportPlugin(tqparent,name), m_wrapWidth( -1 )
+GettextExportPlugin::GettextExportPlugin(TQObject* parent, const char* name, const TQStringList &) :
+ CatalogExportPlugin(parent,name), m_wrapWidth( -1 )
{
}
diff --git a/kbabel/filters/gettext/gettextexport.h b/kbabel/filters/gettext/gettextexport.h
index cfe46ed0..695105d2 100644
--- a/kbabel/filters/gettext/gettextexport.h
+++ b/kbabel/filters/gettext/gettextexport.h
@@ -53,7 +53,7 @@ class TQTextCodec;
class GettextExportPlugin: public KBabel::CatalogExportPlugin
{
public:
- GettextExportPlugin(TQObject* tqparent, const char* name, const TQStringList &);
+ GettextExportPlugin(TQObject* parent, const char* name, const TQStringList &);
virtual KBabel::ConversiontqStatus save(const TQString& file, const TQString& mimetype, const KBabel::Catalog* catalog);
private:
diff --git a/kbabel/filters/gettext/gettextimport.cpp b/kbabel/filters/gettext/gettextimport.cpp
index f66516cc..a48e327b 100644
--- a/kbabel/filters/gettext/gettextimport.cpp
+++ b/kbabel/filters/gettext/gettextimport.cpp
@@ -53,7 +53,7 @@ K_EXPORT_COMPONENT_FACTORY( kbabel_gettextimport, KGenericFactory<GettextImportP
using namespace KBabel;
-GettextImportPlugin::GettextImportPlugin(TQObject* tqparent, const char* name, const TQStringList &) : CatalogImportPlugin(tqparent,name)
+GettextImportPlugin::GettextImportPlugin(TQObject* parent, const char* name, const TQStringList &) : CatalogImportPlugin(parent,name)
{
}
diff --git a/kbabel/filters/gettext/gettextimport.h b/kbabel/filters/gettext/gettextimport.h
index 5549168b..fa20aa62 100644
--- a/kbabel/filters/gettext/gettextimport.h
+++ b/kbabel/filters/gettext/gettextimport.h
@@ -49,7 +49,7 @@ class TQTextCodec;
class GettextImportPlugin: public KBabel::CatalogImportPlugin
{
public:
- GettextImportPlugin(TQObject* tqparent, const char* name, const TQStringList &);
+ GettextImportPlugin(TQObject* parent, const char* name, const TQStringList &);
virtual KBabel::ConversiontqStatus load(const TQString& file, const TQString& mimetype);
virtual const TQString id() { return "GNU gettext"; }
diff --git a/kbabel/filters/linguist/linguistexport.cpp b/kbabel/filters/linguist/linguistexport.cpp
index 072ecde8..10fc37e2 100644
--- a/kbabel/filters/linguist/linguistexport.cpp
+++ b/kbabel/filters/linguist/linguistexport.cpp
@@ -53,8 +53,8 @@ K_EXPORT_COMPONENT_FACTORY( kbabel_linguistexport, KGenericFactory<LinguistExpor
using namespace KBabel;
-LinguistExportPlugin::LinguistExportPlugin( TQObject * tqparent, const char * name, const TQStringList& )
- : CatalogExportPlugin( tqparent, name )
+LinguistExportPlugin::LinguistExportPlugin( TQObject * parent, const char * name, const TQStringList& )
+ : CatalogExportPlugin( parent, name )
{
}
diff --git a/kbabel/filters/linguist/linguistexport.h b/kbabel/filters/linguist/linguistexport.h
index f4ed3240..d468fce4 100644
--- a/kbabel/filters/linguist/linguistexport.h
+++ b/kbabel/filters/linguist/linguistexport.h
@@ -51,7 +51,7 @@ class Catalog;
class LinguistExportPlugin : public KBabel::CatalogExportPlugin
{
public:
- LinguistExportPlugin( TQObject * tqparent, const char * name, const TQStringList& );
+ LinguistExportPlugin( TQObject * parent, const char * name, const TQStringList& );
virtual KBabel::ConversiontqStatus save( const TQString& filename, const TQString& mimetype, const KBabel::Catalog * catalog );
private:
diff --git a/kbabel/filters/linguist/linguistimport.cpp b/kbabel/filters/linguist/linguistimport.cpp
index f4e1102f..6d8dda81 100644
--- a/kbabel/filters/linguist/linguistimport.cpp
+++ b/kbabel/filters/linguist/linguistimport.cpp
@@ -55,8 +55,8 @@ K_EXPORT_COMPONENT_FACTORY( kbabel_linguistimport, KGenericFactory<LinguistImpor
using namespace KBabel;
-LinguistImportPlugin::LinguistImportPlugin( TQObject * tqparent, const char * name, const TQStringList& )
- : CatalogImportPlugin( tqparent, name )
+LinguistImportPlugin::LinguistImportPlugin( TQObject * parent, const char * name, const TQStringList& )
+ : CatalogImportPlugin( parent, name )
{
}
diff --git a/kbabel/filters/linguist/linguistimport.h b/kbabel/filters/linguist/linguistimport.h
index 3f6d8051..b0bc51d9 100644
--- a/kbabel/filters/linguist/linguistimport.h
+++ b/kbabel/filters/linguist/linguistimport.h
@@ -50,7 +50,7 @@ class TQStringList;
class LinguistImportPlugin : public KBabel::CatalogImportPlugin
{
public:
- LinguistImportPlugin( TQObject * tqparent, const char * name, const TQStringList& );
+ LinguistImportPlugin( TQObject * parent, const char * name, const TQStringList& );
virtual KBabel::ConversiontqStatus load( const TQString& filename, const TQString& mimetype );
virtual const TQString id( ) { return "TQt translation source"; }
diff --git a/kbabel/filters/xliff/xliffexport.cpp b/kbabel/filters/xliff/xliffexport.cpp
index 187a1dda..c633e8b1 100644
--- a/kbabel/filters/xliff/xliffexport.cpp
+++ b/kbabel/filters/xliff/xliffexport.cpp
@@ -53,8 +53,8 @@ K_EXPORT_COMPONENT_FACTORY( kbabel_xliffexport, KGenericFactory<XLIFFExportPlugi
using namespace KBabel;
-XLIFFExportPlugin::XLIFFExportPlugin( TQObject * tqparent, const char * name, const TQStringList& )
- : CatalogExportPlugin( tqparent, name )
+XLIFFExportPlugin::XLIFFExportPlugin( TQObject * parent, const char * name, const TQStringList& )
+ : CatalogExportPlugin( parent, name )
{
}
diff --git a/kbabel/filters/xliff/xliffexport.h b/kbabel/filters/xliff/xliffexport.h
index 71253133..eccc311c 100644
--- a/kbabel/filters/xliff/xliffexport.h
+++ b/kbabel/filters/xliff/xliffexport.h
@@ -51,7 +51,7 @@ class Catalog;
class XLIFFExportPlugin : public KBabel::CatalogExportPlugin
{
public:
- XLIFFExportPlugin( TQObject * tqparent, const char * name, const TQStringList& );
+ XLIFFExportPlugin( TQObject * parent, const char * name, const TQStringList& );
virtual KBabel::ConversiontqStatus save( const TQString& filename, const TQString& mimetype, const KBabel::Catalog * catalog );
private:
diff --git a/kbabel/filters/xliff/xliffimport.cpp b/kbabel/filters/xliff/xliffimport.cpp
index 3bf16e19..246b8c24 100644
--- a/kbabel/filters/xliff/xliffimport.cpp
+++ b/kbabel/filters/xliff/xliffimport.cpp
@@ -68,8 +68,8 @@ K_EXPORT_COMPONENT_FACTORY( kbabel_xliffimport, KGenericFactory<XLIFFImportPlugi
using namespace KBabel;
-XLIFFImportPlugin::XLIFFImportPlugin( TQObject * tqparent, const char * name, const TQStringList& )
- : CatalogImportPlugin( tqparent, name )
+XLIFFImportPlugin::XLIFFImportPlugin( TQObject * parent, const char * name, const TQStringList& )
+ : CatalogImportPlugin( parent, name )
{
}
diff --git a/kbabel/filters/xliff/xliffimport.h b/kbabel/filters/xliff/xliffimport.h
index a18a9a82..a32a686b 100644
--- a/kbabel/filters/xliff/xliffimport.h
+++ b/kbabel/filters/xliff/xliffimport.h
@@ -50,7 +50,7 @@ class TQStringList;
class XLIFFImportPlugin : public KBabel::CatalogImportPlugin
{
public:
- XLIFFImportPlugin( TQObject * tqparent, const char * name, const TQStringList& );
+ XLIFFImportPlugin( TQObject * parent, const char * name, const TQStringList& );
virtual KBabel::ConversiontqStatus load( const TQString& filename, const TQString& mimetype );
virtual const TQString id( ) { return "XLIFF 1.1"; }
diff --git a/kbabel/kbabel/charselectview.cpp b/kbabel/kbabel/charselectview.cpp
index f174c3ed..9a19e5ec 100644
--- a/kbabel/kbabel/charselectview.cpp
+++ b/kbabel/kbabel/charselectview.cpp
@@ -49,8 +49,8 @@
using namespace KBabel;
-CharacterSelectorView::CharacterSelectorView(KBCatalog* catalog,TQWidget *tqparent, Project::Ptr project)
- : KBCatalogView(catalog,tqparent,project)
+CharacterSelectorView::CharacterSelectorView(KBCatalog* catalog,TQWidget *parent, Project::Ptr project)
+ : KBCatalogView(catalog,parent,project)
{
TQVBoxLayout* tqlayout = new TQVBoxLayout( this );
tqlayout->setResizeMode( TQLayout::Minimum );
diff --git a/kbabel/kbabel/charselectview.h b/kbabel/kbabel/charselectview.h
index 4d0ee3a6..49113331 100644
--- a/kbabel/kbabel/charselectview.h
+++ b/kbabel/kbabel/charselectview.h
@@ -46,7 +46,7 @@ public:
/**
* Default constructor
*/
- CharacterSelectorView(KBCatalog* catalog,TQWidget *tqparent, KBabel::Project::Ptr project);
+ CharacterSelectorView(KBCatalog* catalog,TQWidget *parent, KBabel::Project::Ptr project);
void saveSettings(KConfig* config);
void restoreSettings(KConfig* config);
diff --git a/kbabel/kbabel/commentview.cpp b/kbabel/kbabel/commentview.cpp
index 324c4d32..44a049dc 100644
--- a/kbabel/kbabel/commentview.cpp
+++ b/kbabel/kbabel/commentview.cpp
@@ -62,8 +62,8 @@
using namespace KBabel;
-CommentView::CommentView(KBCatalog* catalog,TQWidget *tqparent, Project::Ptr project)
- : KBCatalogView(catalog,tqparent, project)
+CommentView::CommentView(KBCatalog* catalog,TQWidget *parent, Project::Ptr project)
+ : KBCatalogView(catalog,parent, project)
{
setAcceptDrops(true);
diff --git a/kbabel/kbabel/commentview.h b/kbabel/kbabel/commentview.h
index f00d1241..0c38b37a 100644
--- a/kbabel/kbabel/commentview.h
+++ b/kbabel/kbabel/commentview.h
@@ -52,7 +52,7 @@ public:
/**
* Default constructor
*/
- CommentView(KBCatalog* catalog,TQWidget *tqparent, KBabel::Project::Ptr project);
+ CommentView(KBCatalog* catalog,TQWidget *parent, KBabel::Project::Ptr project);
/**
* this is called from the catalog when updating his views.
diff --git a/kbabel/kbabel/contextview.cpp b/kbabel/kbabel/contextview.cpp
index 94bbf000..11d8434a 100644
--- a/kbabel/kbabel/contextview.cpp
+++ b/kbabel/kbabel/contextview.cpp
@@ -47,8 +47,8 @@
using namespace KBabel;
-ContextView::ContextView(KBCatalog* catalog,TQWidget *tqparent, Project::Ptr project)
- : KBCatalogView(catalog,tqparent,project)
+ContextView::ContextView(KBCatalog* catalog,TQWidget *parent, Project::Ptr project)
+ : KBCatalogView(catalog,parent,project)
{
TQVBoxLayout* tqlayout = new TQVBoxLayout( this );
tqlayout->setResizeMode( TQLayout::Minimum );
diff --git a/kbabel/kbabel/contextview.h b/kbabel/kbabel/contextview.h
index 9f0b2405..8524faa9 100644
--- a/kbabel/kbabel/contextview.h
+++ b/kbabel/kbabel/contextview.h
@@ -45,7 +45,7 @@ public:
/**
* Default constructor
*/
- ContextView(KBCatalog* catalog,TQWidget *tqparent, KBabel::Project::Ptr project);
+ ContextView(KBCatalog* catalog,TQWidget *parent, KBabel::Project::Ptr project);
public slots:
virtual void updateView();
diff --git a/kbabel/kbabel/errorlistview.cpp b/kbabel/kbabel/errorlistview.cpp
index 74deba91..719798d3 100644
--- a/kbabel/kbabel/errorlistview.cpp
+++ b/kbabel/kbabel/errorlistview.cpp
@@ -47,8 +47,8 @@
using namespace KBabel;
-ErrorListView::ErrorListView(KBCatalog* catalog,TQWidget *tqparent, Project::Ptr project)
- : KBCatalogView(catalog,tqparent,project)
+ErrorListView::ErrorListView(KBCatalog* catalog,TQWidget *parent, Project::Ptr project)
+ : KBCatalogView(catalog,parent,project)
{
TQVBoxLayout* tqlayout = new TQVBoxLayout( this );
tqlayout->setResizeMode( TQLayout::Minimum );
diff --git a/kbabel/kbabel/errorlistview.h b/kbabel/kbabel/errorlistview.h
index 022d94c1..9d812b04 100644
--- a/kbabel/kbabel/errorlistview.h
+++ b/kbabel/kbabel/errorlistview.h
@@ -44,7 +44,7 @@ public:
/**
* Default constructor
*/
- ErrorListView(KBCatalog* catalog,TQWidget *tqparent, KBabel::Project::Ptr project);
+ ErrorListView(KBCatalog* catalog,TQWidget *parent, KBabel::Project::Ptr project);
public slots:
virtual void updateView();
diff --git a/kbabel/kbabel/gotodialog.cpp b/kbabel/kbabel/gotodialog.cpp
index 9bec7bf7..a6fca91e 100644
--- a/kbabel/kbabel/gotodialog.cpp
+++ b/kbabel/kbabel/gotodialog.cpp
@@ -37,8 +37,8 @@
#include "gotodialog.h"
-GotoDialog::GotoDialog(int max,TQWidget* tqparent)
- : KDialogBase(tqparent,0,true,i18n("Go to Entry"),Ok|Cancel)
+GotoDialog::GotoDialog(int max,TQWidget* parent)
+ : KDialogBase(parent,0,true,i18n("Go to Entry"),Ok|Cancel)
{
TQGroupBox* box=new TQGroupBox(1,Qt::Horizontal,i18n("Go to Entry"),this);
_spinBox= new KIntSpinBox(1,max,1,1,10,box);
diff --git a/kbabel/kbabel/gotodialog.h b/kbabel/kbabel/gotodialog.h
index afd9b250..b1022967 100644
--- a/kbabel/kbabel/gotodialog.h
+++ b/kbabel/kbabel/gotodialog.h
@@ -45,7 +45,7 @@ class KIntSpinBox;
class GotoDialog : public KDialogBase
{
public:
- GotoDialog(int max, TQWidget* tqparent);
+ GotoDialog(int max, TQWidget* parent);
virtual ~GotoDialog();
/** reimplemented to select contents when shown*/
diff --git a/kbabel/kbabel/hidingmsgedit.cpp b/kbabel/kbabel/hidingmsgedit.cpp
index d1458fb4..3d0b128a 100644
--- a/kbabel/kbabel/hidingmsgedit.cpp
+++ b/kbabel/kbabel/hidingmsgedit.cpp
@@ -41,8 +41,8 @@
using namespace KBabel;
-HidingMsgEdit::HidingMsgEdit(uint numberOfPlurals, TQWidget* eventFilter, KSpell* spell, TQWidget *tqparent, const char *name ) :
- TQWidgetStack(tqparent,name)
+HidingMsgEdit::HidingMsgEdit(uint numberOfPlurals, TQWidget* eventFilter, KSpell* spell, TQWidget *parent, const char *name ) :
+ TQWidgetStack(parent,name)
, _singleEdit(0)
, _multipleEdit(0)
, _eventFilter(eventFilter)
diff --git a/kbabel/kbabel/hidingmsgedit.h b/kbabel/kbabel/hidingmsgedit.h
index 65c65d40..9aed746d 100644
--- a/kbabel/kbabel/hidingmsgedit.h
+++ b/kbabel/kbabel/hidingmsgedit.h
@@ -53,7 +53,7 @@ class HidingMsgEdit : public TQWidgetStack {
Q_OBJECT
TQ_OBJECT
public:
- HidingMsgEdit(uint numberOfPlurals, TQWidget* eventFilter=0, KSpell* spell=0, TQWidget *tqparent=0, const char *name=0);
+ HidingMsgEdit(uint numberOfPlurals, TQWidget* eventFilter=0, KSpell* spell=0, TQWidget *parent=0, const char *name=0);
~HidingMsgEdit();
void setNumberOfPlurals(uint numberOfPlurals);
diff --git a/kbabel/kbabel/kbabel.cpp b/kbabel/kbabel/kbabel.cpp
index 64733fa1..f7607534 100644
--- a/kbabel/kbabel/kbabel.cpp
+++ b/kbabel/kbabel/kbabel.cpp
@@ -113,7 +113,7 @@ TQPtrList<KBabelPreferences> KBabelMW::prefDialogs;
class MyKProgress: public KProgress
{
public:
- MyKProgress( TQWidget *tqparent, const char *name ) : KProgress( tqparent, name )
+ MyKProgress( TQWidget *parent, const char *name ) : KProgress( parent, name )
{
tqsetSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Preferred );
}
@@ -1614,10 +1614,10 @@ KBabelMW *KBabelMW::winForURL(const KURL& url, TQString project)
KBabelView *v = KBabelView::viewForURL(url,project);
if(v)
{
- TQObject *p = v->tqparent();
+ TQObject *p = v->parent();
while(p && !p->inherits("KBabelMW"))
{
- p = p->tqparent();
+ p = p->parent();
}
if(p)
@@ -1634,10 +1634,10 @@ KBabelMW *KBabelMW::emptyWin(TQString project)
KBabelView *v = KBabelView::emptyView(project);
if(v)
{
- TQObject *p = v->tqparent();
+ TQObject *p = v->parent();
while(p && !p->inherits("KBabelMW"))
{
- p = p->tqparent();
+ p = p->parent();
}
if(p)
diff --git a/kbabel/kbabel/kbabelsplash.cpp b/kbabel/kbabel/kbabelsplash.cpp
index e5dcf563..785943d8 100644
--- a/kbabel/kbabel/kbabelsplash.cpp
+++ b/kbabel/kbabel/kbabelsplash.cpp
@@ -40,8 +40,8 @@
KBabelSplash* KBabelSplash::instance = 0;
-KBabelSplash::KBabelSplash( TQWidget* tqparent, const char* name )
- : TQVBox( tqparent, name, WType_Dialog|WShowModal|WStyle_Customize|WStyle_NoBorder|WDestructiveClose )
+KBabelSplash::KBabelSplash( TQWidget* parent, const char* name )
+ : TQVBox( parent, name, WType_Dialog|WShowModal|WStyle_Customize|WStyle_NoBorder|WDestructiveClose )
{
setMargin( 0 );
setSpacing( 0 );
diff --git a/kbabel/kbabel/kbabelsplash.h b/kbabel/kbabel/kbabelsplash.h
index 24f2865a..b799029f 100644
--- a/kbabel/kbabel/kbabelsplash.h
+++ b/kbabel/kbabel/kbabelsplash.h
@@ -44,7 +44,7 @@ Q_OBJECT
TQ_OBJECT
public:
- KBabelSplash( TQWidget* tqparent = 0, const char* name = 0 );
+ KBabelSplash( TQWidget* parent = 0, const char* name = 0 );
~KBabelSplash() { instance = 0; }
static KBabelSplash* instance;
diff --git a/kbabel/kbabel/kbabelview.cpp b/kbabel/kbabel/kbabelview.cpp
index 1f9aab72..8c5746b0 100644
--- a/kbabel/kbabel/kbabelview.cpp
+++ b/kbabel/kbabel/kbabelview.cpp
@@ -115,11 +115,11 @@ using namespace KBabel;
TQPtrList<KBabelView> *KBabelView::viewList = 0;
-KBabelView::KBabelView(KBCatalog* catalog,KBabelMW *tqparent, Project::Ptr project)
- : TQWidget(tqparent)
+KBabelView::KBabelView(KBCatalog* catalog,KBabelMW *parent, Project::Ptr project)
+ : TQWidget(parent)
, _redirectedBackSearch (false)
, _project (project)
- , m_mainwindow (tqparent)
+ , m_mainwindow (parent)
, m_sourceview (0)
{
if(!viewList)
diff --git a/kbabel/kbabel/kbabelview.h b/kbabel/kbabel/kbabelview.h
index a6b8e252..3398457d 100644
--- a/kbabel/kbabel/kbabelview.h
+++ b/kbabel/kbabel/kbabelview.h
@@ -99,7 +99,7 @@ public:
* Default constructor
* @param buildLeds flag, if status leds should be created in editor
*/
- KBabelView(KBCatalog* catalog,KBabelMW *tqparent, KBabel::Project::Ptr project);
+ KBabelView(KBCatalog* catalog,KBabelMW *parent, KBabel::Project::Ptr project);
/**
* Destructor
diff --git a/kbabel/kbabel/kbbookmarkhandler.cpp b/kbabel/kbabel/kbbookmarkhandler.cpp
index 3f9b70b8..d9f080cb 100644
--- a/kbabel/kbabel/kbbookmarkhandler.cpp
+++ b/kbabel/kbabel/kbbookmarkhandler.cpp
@@ -48,7 +48,7 @@ KBabelBookmark::KBabelBookmark(int msgindex, TQString msgtext)
}
// insert one '&' before every consecutive group of ampersands to keep the
- // first of these from acting either as accelerator or tqmask in the menu
+ // first of these from acting either as accelerator or mask in the menu
TQRegExp rx("&+");
int pos = msgtext.find(rx);
while (pos >= 0) {
diff --git a/kbabel/kbabel/kbcatalog.cpp b/kbabel/kbabel/kbcatalog.cpp
index 933df9de..5f3fc9fb 100644
--- a/kbabel/kbabel/kbcatalog.cpp
+++ b/kbabel/kbabel/kbcatalog.cpp
@@ -35,8 +35,8 @@
#include "headereditor.h"
-KBCatalog::KBCatalog(TQString configFile, TQObject* tqparent, const char* name)
- : KBabel::Catalog(tqparent,name,configFile)
+KBCatalog::KBCatalog(TQString configFile, TQObject* parent, const char* name)
+ : KBabel::Catalog(parent,name,configFile)
{
_headerEditor=0;
}
diff --git a/kbabel/kbabel/kbcatalog.h b/kbabel/kbabel/kbcatalog.h
index 9911180b..02cc18c2 100644
--- a/kbabel/kbabel/kbcatalog.h
+++ b/kbabel/kbabel/kbcatalog.h
@@ -49,7 +49,7 @@ class KBCatalog : public KBabel::Catalog
TQ_OBJECT
public:
- KBCatalog(TQString configFile = TQString() ,TQObject* tqparent=0, const char* name=0);
+ KBCatalog(TQString configFile = TQString() ,TQObject* parent=0, const char* name=0);
virtual ~KBCatalog();
HeaderEditor* headerEditor();
diff --git a/kbabel/kbabel/kbcataloglistview.cpp b/kbabel/kbabel/kbcataloglistview.cpp
index 25cff704..cd48f274 100644
--- a/kbabel/kbabel/kbcataloglistview.cpp
+++ b/kbabel/kbabel/kbcataloglistview.cpp
@@ -34,8 +34,8 @@
using namespace KBabel;
-KBCatalogListView::KBCatalogListView(KBCatalog* catalog, TQWidget *tqparent, KBabel::Project::Ptr project)
- : TQWidget(tqparent)
+KBCatalogListView::KBCatalogListView(KBCatalog* catalog, TQWidget *parent, KBabel::Project::Ptr project)
+ : TQWidget(parent)
{
m_catalog= catalog;
TQVBoxLayout* tqlayout=new TQVBoxLayout(this);
diff --git a/kbabel/kbabel/kbcataloglistview.h b/kbabel/kbabel/kbcataloglistview.h
index 53e7327a..2de5974e 100644
--- a/kbabel/kbabel/kbcataloglistview.h
+++ b/kbabel/kbabel/kbcataloglistview.h
@@ -52,7 +52,7 @@ class KBCatalogListView : public TQWidget, public KBabel::CatalogView
Q_OBJECT
TQ_OBJECT
public:
- KBCatalogListView(KBCatalog* catalog, TQWidget *tqparent, KBabel::Project::Ptr project);
+ KBCatalogListView(KBCatalog* catalog, TQWidget *parent, KBabel::Project::Ptr project);
~KBCatalogListView();
diff --git a/kbabel/kbabel/kbcataloglistviewitem.cpp b/kbabel/kbabel/kbcataloglistviewitem.cpp
index 45be428e..dd14221c 100644
--- a/kbabel/kbabel/kbcataloglistviewitem.cpp
+++ b/kbabel/kbabel/kbcataloglistviewitem.cpp
@@ -23,8 +23,8 @@
#include "kbcataloglistviewitem.h"
#include <assert.h>
-KBCatalogListViewItem::KBCatalogListViewItem(KListView* lv, KListViewItem* tqparent, uint id, TQString msgid, TQString msgstr)
- : Super(lv, tqparent, "","",""), m_id(id), m_msgid(msgid), m_msgstr(msgstr)
+KBCatalogListViewItem::KBCatalogListViewItem(KListView* lv, KListViewItem* parent, uint id, TQString msgid, TQString msgstr)
+ : Super(lv, parent, "","",""), m_id(id), m_msgid(msgid), m_msgstr(msgstr)
{
setText(0,TQString::number(id));
}
diff --git a/kbabel/kbabel/kbcataloglistviewitem.h b/kbabel/kbabel/kbcataloglistviewitem.h
index 16353c70..4a24c159 100644
--- a/kbabel/kbabel/kbcataloglistviewitem.h
+++ b/kbabel/kbabel/kbcataloglistviewitem.h
@@ -34,7 +34,7 @@ class KBCatalogListViewItem : public KListViewItem
{
typedef KListViewItem Super;
public:
- KBCatalogListViewItem(KListView* lv, KListViewItem* tqparent, uint id, TQString msgid, TQString msgstr);
+ KBCatalogListViewItem(KListView* lv, KListViewItem* parent, uint id, TQString msgid, TQString msgstr);
~KBCatalogListViewItem();
diff --git a/kbabel/kbabel/kbcatalogview.cpp b/kbabel/kbabel/kbcatalogview.cpp
index fc7898f7..af4dd3dd 100644
--- a/kbabel/kbabel/kbcatalogview.cpp
+++ b/kbabel/kbabel/kbcatalogview.cpp
@@ -36,8 +36,8 @@
using namespace KBabel;
-KBCatalogView::KBCatalogView(KBCatalog* catalog, TQWidget* tqparent, Project::Ptr project)
- : TQWidget (tqparent), KBabel::CatalogView () , _project (project)
+KBCatalogView::KBCatalogView(KBCatalog* catalog, TQWidget* parent, Project::Ptr project)
+ : TQWidget (parent), KBabel::CatalogView () , _project (project)
{
if (catalog == 0)
kdFatal(KBABEL) << "catalog==0" << endl;
diff --git a/kbabel/kbabel/kbcatalogview.h b/kbabel/kbabel/kbcatalogview.h
index 33cf8904..ca3caa87 100644
--- a/kbabel/kbabel/kbcatalogview.h
+++ b/kbabel/kbabel/kbcatalogview.h
@@ -48,7 +48,7 @@ public:
/**
* Default constructor
*/
- KBCatalogView(KBCatalog* catalog, TQWidget* tqparent, KBabel::Project::Ptr project);
+ KBCatalogView(KBCatalog* catalog, TQWidget* parent, KBabel::Project::Ptr project);
/**
* Destructor
diff --git a/kbabel/kbabel/kbcharselect.cpp b/kbabel/kbabel/kbcharselect.cpp
index b2719386..2b55d4f5 100644
--- a/kbabel/kbabel/kbcharselect.cpp
+++ b/kbabel/kbabel/kbcharselect.cpp
@@ -41,8 +41,8 @@
#include <tqspinbox.h>
#include <tqscrollview.h>
-KBCharSelect::KBCharSelect(TQWidget* tqparent,const char* name)
- : TQVBox(tqparent,name)
+KBCharSelect::KBCharSelect(TQWidget* parent,const char* name)
+ : TQVBox(parent,name)
{
setSpacing( KDialog::spacingHint() );
diff --git a/kbabel/kbabel/kbcharselect.h b/kbabel/kbabel/kbcharselect.h
index a13071bf..c8248f9b 100644
--- a/kbabel/kbabel/kbcharselect.h
+++ b/kbabel/kbabel/kbcharselect.h
@@ -44,7 +44,7 @@ class KBCharSelect : public TQVBox
Q_OBJECT
TQ_OBJECT
public:
- KBCharSelect(TQWidget* tqparent, const char* name=0);
+ KBCharSelect(TQWidget* parent, const char* name=0);
void saveSettings(KConfig* config);
void restoreSettings(KConfig* config);
diff --git a/kbabel/kbabel/mymultilineedit.cpp b/kbabel/kbabel/mymultilineedit.cpp
index a3251a6b..af824fdd 100644
--- a/kbabel/kbabel/mymultilineedit.cpp
+++ b/kbabel/kbabel/mymultilineedit.cpp
@@ -62,8 +62,8 @@
using namespace KBabel;
-MyMultiLineEdit::MyMultiLineEdit(int ID, TQWidget* tqparent,const char* name)
- :KTextEdit(tqparent,name), emitUndo(true),
+MyMultiLineEdit::MyMultiLineEdit(int ID, TQWidget* parent,const char* name)
+ :KTextEdit(parent,name), emitUndo(true),
_firstChangedLine(0),
_lastChangedLine(0),
_lastParagraph(0),
@@ -75,7 +75,7 @@ MyMultiLineEdit::MyMultiLineEdit(int ID, TQWidget* tqparent,const char* name)
{
setUndoRedoEnabled(false); // we handle this ourselves
setWordWrap( WidgetWidth );
- viewport()->setAcceptDrops( false ); // we need our tqparent to get drops
+ viewport()->setAcceptDrops( false ); // we need our parent to get drops
connect(this, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT( onSelectionChanged() ) );
}
@@ -592,8 +592,8 @@ void MyMultiLineEdit::setOverwriteMode( bool b )
}
/*******************************************************************************/
-MsgMultiLineEdit::MsgMultiLineEdit(int ID, KSpell* spell, TQWidget* tqparent,const char* name)
- :MyMultiLineEdit(ID, tqparent,name),
+MsgMultiLineEdit::MsgMultiLineEdit(int ID, KSpell* spell, TQWidget* parent,const char* name)
+ :MyMultiLineEdit(ID, parent,name),
_quotes(false),
_cleverEditing(false),
_highlightBg(false),
diff --git a/kbabel/kbabel/mymultilineedit.h b/kbabel/kbabel/mymultilineedit.h
index bc0075d0..272878da 100644
--- a/kbabel/kbabel/mymultilineedit.h
+++ b/kbabel/kbabel/mymultilineedit.h
@@ -52,7 +52,7 @@ class MyMultiLineEdit : public KTextEdit
Q_OBJECT
TQ_OBJECT
public:
- MyMultiLineEdit(int ID,TQWidget* tqparent,const char* name=0);
+ MyMultiLineEdit(int ID,TQWidget* parent,const char* name=0);
/**
applies cmd to the displayed text, but does not emit
@@ -130,7 +130,7 @@ protected:
virtual TQPopupMenu *createPopupMenu();
virtual TQPopupMenu *createPopupMenu(const TQPoint &pos);
- /* the tqparent handles this */
+ /* the parent handles this */
virtual void wheelEvent(TQWheelEvent*);
bool emitUndo;
@@ -178,7 +178,7 @@ class MsgMultiLineEdit : public MyMultiLineEdit
public:
enum TextColor { NormalColor, ErrorColor };
- MsgMultiLineEdit(int ID, KSpell* spell=0, TQWidget* tqparent=0,const char* name=0);
+ MsgMultiLineEdit(int ID, KSpell* spell=0, TQWidget* parent=0,const char* name=0);
virtual ~MsgMultiLineEdit();
/** is displaying surrounding quotes enabled? */
diff --git a/kbabel/kbabel/sourceview.cpp b/kbabel/kbabel/sourceview.cpp
index bf61189f..33b0d27b 100644
--- a/kbabel/kbabel/sourceview.cpp
+++ b/kbabel/kbabel/sourceview.cpp
@@ -45,8 +45,8 @@
using namespace KBabel;
-SourceView::SourceView(KBCatalog* catalog,TQWidget *tqparent, Project::Ptr project)
- : KBCatalogView(catalog,tqparent,project)
+SourceView::SourceView(KBCatalog* catalog,TQWidget *parent, Project::Ptr project)
+ : KBCatalogView(catalog,parent,project)
{
TQVBoxLayout* tqlayout = new TQVBoxLayout( this );
tqlayout->setResizeMode( TQLayout::Minimum );
diff --git a/kbabel/kbabel/sourceview.h b/kbabel/kbabel/sourceview.h
index c17c49cc..20d5321f 100644
--- a/kbabel/kbabel/sourceview.h
+++ b/kbabel/kbabel/sourceview.h
@@ -45,7 +45,7 @@ public:
/**
* Default constructor
*/
- SourceView(KBCatalog* catalog,TQWidget *tqparent, KBabel::Project::Ptr project);
+ SourceView(KBCatalog* catalog,TQWidget *parent, KBabel::Project::Ptr project);
public slots:
virtual void updateView();
diff --git a/kbabel/kbabel/spelldlg.cpp b/kbabel/kbabel/spelldlg.cpp
index fc53b6e0..fab8c606 100644
--- a/kbabel/kbabel/spelldlg.cpp
+++ b/kbabel/kbabel/spelldlg.cpp
@@ -40,8 +40,8 @@
#include <kglobal.h>
#include <klocale.h>
-SpellDlg::SpellDlg(bool haveMarkedText,TQWidget *tqparent,const char *name)
- : KDialogBase(tqparent,name,true,i18n("Caption of dialog","Spelling")
+SpellDlg::SpellDlg(bool haveMarkedText,TQWidget *parent,const char *name)
+ : KDialogBase(parent,name,true,i18n("Caption of dialog","Spelling")
, Ok|Cancel)
{
setButtonOK(KGuiItem(i18n("&Spell Check"),"spellcheck"));
diff --git a/kbabel/kbabel/spelldlg.h b/kbabel/kbabel/spelldlg.h
index be182d7e..71ced638 100644
--- a/kbabel/kbabel/spelldlg.h
+++ b/kbabel/kbabel/spelldlg.h
@@ -44,7 +44,7 @@ class SpellDlg : public KDialogBase
TQ_OBJECT
public:
- SpellDlg(bool haveMarkedText, TQWidget* tqparent, const char *name=0);
+ SpellDlg(bool haveMarkedText, TQWidget* parent, const char *name=0);
~SpellDlg();
bool all() const;
diff --git a/kbabel/kbabel/taglistview.cpp b/kbabel/kbabel/taglistview.cpp
index 51a37d49..62d4eba5 100644
--- a/kbabel/kbabel/taglistview.cpp
+++ b/kbabel/kbabel/taglistview.cpp
@@ -44,8 +44,8 @@
using namespace KBabel;
-TagListView::TagListView(KBCatalog* catalog,TQWidget *tqparent, Project::Ptr project)
- : KBCatalogView(catalog,tqparent,project)
+TagListView::TagListView(KBCatalog* catalog,TQWidget *parent, Project::Ptr project)
+ : KBCatalogView(catalog,parent,project)
{
TQVBoxLayout* tqlayout = new TQVBoxLayout( this );
tqlayout->setResizeMode( TQLayout::Minimum );
diff --git a/kbabel/kbabel/taglistview.h b/kbabel/kbabel/taglistview.h
index d2d21308..95de3dc7 100644
--- a/kbabel/kbabel/taglistview.h
+++ b/kbabel/kbabel/taglistview.h
@@ -45,7 +45,7 @@ public:
/**
* Default constructor
*/
- TagListView(KBCatalog* catalog,TQWidget *tqparent, KBabel::Project::Ptr project);
+ TagListView(KBCatalog* catalog,TQWidget *parent, KBabel::Project::Ptr project);
public slots:
virtual void updateView();
diff --git a/kbabel/kbabeldict/aboutmoduledlg.cpp b/kbabel/kbabeldict/aboutmoduledlg.cpp
index c4a5969e..861fe01a 100644
--- a/kbabel/kbabeldict/aboutmoduledlg.cpp
+++ b/kbabel/kbabeldict/aboutmoduledlg.cpp
@@ -35,8 +35,8 @@
#include <kbugreport.h>
#include <klocale.h>
-AboutModuleDlg::AboutModuleDlg(const KAboutData *aboutData, TQWidget *tqparent)
- : KAboutApplication(aboutData, tqparent)
+AboutModuleDlg::AboutModuleDlg(const KAboutData *aboutData, TQWidget *parent)
+ : KAboutApplication(aboutData, parent)
, _aboutData(aboutData)
{
setHelpLinkText(i18n("Report Bug..."));
diff --git a/kbabel/kbabeldict/aboutmoduledlg.h b/kbabel/kbabeldict/aboutmoduledlg.h
index a3b1656e..399ea38f 100644
--- a/kbabel/kbabeldict/aboutmoduledlg.h
+++ b/kbabel/kbabeldict/aboutmoduledlg.h
@@ -44,7 +44,7 @@ class AboutModuleDlg : public KAboutApplication
TQ_OBJECT
public:
- AboutModuleDlg(const KAboutData *aboutData, TQWidget* tqparent=0);
+ AboutModuleDlg(const KAboutData *aboutData, TQWidget* parent=0);
public slots:
virtual void helpClickedSlot(const TQString&);
diff --git a/kbabel/kbabeldict/dictchooser.cpp b/kbabel/kbabeldict/dictchooser.cpp
index e0ccbaf5..d3b8df63 100644
--- a/kbabel/kbabeldict/dictchooser.cpp
+++ b/kbabel/kbabeldict/dictchooser.cpp
@@ -45,8 +45,8 @@
#include <ktempfile.h>
DictChooser::DictChooser(KBabelDictBox*b, TQStringList selected
- , TQWidget *tqparent, const char *name)
- : TQWidget(tqparent,name), box(b)
+ , TQWidget *parent, const char *name)
+ : TQWidget(parent,name), box(b)
{
tempConfig.clear();
tempConfig.setAutoDelete(true);
diff --git a/kbabel/kbabeldict/dictchooser.h b/kbabel/kbabeldict/dictchooser.h
index e8ef1d71..ba5e5c56 100644
--- a/kbabel/kbabeldict/dictchooser.h
+++ b/kbabel/kbabeldict/dictchooser.h
@@ -54,7 +54,7 @@ class KDE_EXPORT DictChooser : public TQWidget
public:
DictChooser(KBabelDictBox* box, TQStringList selected,
- TQWidget *tqparent , const char *name=0);
+ TQWidget *parent , const char *name=0);
TQStringList selectedDicts();
diff --git a/kbabel/kbabeldict/dictionarymenu.cpp b/kbabel/kbabeldict/dictionarymenu.cpp
index ff23e972..d850f9a6 100644
--- a/kbabel/kbabeldict/dictionarymenu.cpp
+++ b/kbabel/kbabeldict/dictionarymenu.cpp
@@ -39,8 +39,8 @@
#include <tqsignalmapper.h>
DictionaryMenu::DictionaryMenu(KPopupMenu *popupMenu, KActionCollection *collection
- , TQObject *tqparent)
- : TQObject(tqparent, "dictionarymenu")
+ , TQObject *parent)
+ : TQObject(parent, "dictionarymenu")
, popup(popupMenu)
, actionCollection(collection)
, maxId(10)
diff --git a/kbabel/kbabeldict/dictionarymenu.h b/kbabel/kbabeldict/dictionarymenu.h
index 5cbc151c..0687ff54 100644
--- a/kbabel/kbabeldict/dictionarymenu.h
+++ b/kbabel/kbabeldict/dictionarymenu.h
@@ -49,7 +49,7 @@ class KDE_EXPORT DictionaryMenu : public TQObject
TQ_OBJECT
public:
- DictionaryMenu(KPopupMenu *menu, KActionCollection *collection, TQObject *tqparent=0);
+ DictionaryMenu(KPopupMenu *menu, KActionCollection *collection, TQObject *parent=0);
~DictionaryMenu();
void add(const TQString& name,const TQString& id);
diff --git a/kbabel/kbabeldict/kbabeldictbox.cpp b/kbabel/kbabeldict/kbabeldictbox.cpp
index 21bd9154..e5c67b57 100644
--- a/kbabel/kbabeldict/kbabeldictbox.cpp
+++ b/kbabel/kbabeldict/kbabeldictbox.cpp
@@ -77,7 +77,7 @@ using namespace KBabel;
class ResultListItem : public TQListViewItem
{
public:
- ResultListItem(TQListView *tqparent, const SearchResult& result,bool richText);
+ ResultListItem(TQListView *parent, const SearchResult& result,bool richText);
virtual TQString key(int column, bool ascending) const;
const SearchResult* result() const;
@@ -88,9 +88,9 @@ private:
bool _richText;
};
-ResultListItem::ResultListItem(TQListView *tqparent, const SearchResult& result
+ResultListItem::ResultListItem(TQListView *parent, const SearchResult& result
, bool richText)
- : TQListViewItem(tqparent)
+ : TQListViewItem(parent)
, _result(result)
, _richText(richText)
{
@@ -179,11 +179,11 @@ const SearchResult *ResultListItem::result() const
}
/*
- * Constructs a KBabelDictBox which is a child of 'tqparent', with the
+ * Constructs a KBabelDictBox which is a child of 'parent', with the
* name 'name' and widget flags set to 'f'
*/
-KBabelDictBox::KBabelDictBox( TQWidget* tqparent, const char* name, WFlags fl )
- : DCOPObject("KBabelDict"), TQWidget( tqparent, name, fl )
+KBabelDictBox::KBabelDictBox( TQWidget* parent, const char* name, WFlags fl )
+ : DCOPObject("KBabelDict"), TQWidget( parent, name, fl )
{
active=-1;
currentResult=0;
@@ -929,7 +929,7 @@ TQPtrList<ModuleInfo> KBabelDictBox::moduleInfos()
}
-TQPtrList<PrefWidget> KBabelDictBox::modPrefWidgets(TQWidget *tqparent)
+TQPtrList<PrefWidget> KBabelDictBox::modPrefWidgets(TQWidget *parent)
{
TQPtrList<PrefWidget> list;
list.setAutoDelete(false);
@@ -937,7 +937,7 @@ TQPtrList<PrefWidget> KBabelDictBox::modPrefWidgets(TQWidget *tqparent)
for(e = moduleList.first(); e != 0; e = moduleList.next())
{
- list.append(e->preferencesWidget(tqparent));
+ list.append(e->preferencesWidget(parent));
}
return list;
diff --git a/kbabel/kbabeldict/kbabeldictbox.h b/kbabel/kbabeldict/kbabeldictbox.h
index 0b850798..147f000a 100644
--- a/kbabel/kbabeldict/kbabeldictbox.h
+++ b/kbabel/kbabeldict/kbabeldictbox.h
@@ -66,7 +66,7 @@ class KDE_EXPORT KBabelDictBox : public TQWidget, virtual public KBabelDictIFace
TQ_OBJECT
public:
- KBabelDictBox( TQWidget* tqparent = 0, const char* name = 0
+ KBabelDictBox( TQWidget* parent = 0, const char* name = 0
, WFlags fl = 0 );
~KBabelDictBox();
@@ -83,7 +83,7 @@ public:
TQPtrList<ModuleInfo> moduleInfos();
/** @returns preferencesWidgets of modules */
- TQPtrList<PrefWidget> modPrefWidgets(TQWidget* tqparent);
+ TQPtrList<PrefWidget> modPrefWidgets(TQWidget* parent);
int activeModule();
bool activeModuleEditable();
diff --git a/kbabel/kbabeldict/kbabeldictview.cpp b/kbabel/kbabeldict/kbabeldictview.cpp
index 5346e758..18bb20ac 100644
--- a/kbabel/kbabeldict/kbabeldictview.cpp
+++ b/kbabel/kbabeldict/kbabeldictview.cpp
@@ -61,11 +61,11 @@
#include <kiconloader.h>
/*
- * Constructs a KBabelDictView which is a child of 'tqparent', with the
+ * Constructs a KBabelDictView which is a child of 'parent', with the
* name 'name' and widget flags set to 'f'
*/
-KBabelDictView::KBabelDictView( TQWidget* tqparent, const char* name, WFlags fl )
- : TQWidget( tqparent, name, fl )
+KBabelDictView::KBabelDictView( TQWidget* parent, const char* name, WFlags fl )
+ : TQWidget( parent, name, fl )
{
TQVBoxLayout *mainLayout = new TQVBoxLayout(this);
mainLayout->setSpacing(KDialog::spacingHint());
diff --git a/kbabel/kbabeldict/kbabeldictview.h b/kbabel/kbabeldict/kbabeldictview.h
index fbde9928..46d082db 100644
--- a/kbabel/kbabeldict/kbabeldictview.h
+++ b/kbabel/kbabeldict/kbabeldictview.h
@@ -54,7 +54,7 @@ class KBabelDictView : public TQWidget
TQ_OBJECT
public:
- KBabelDictView( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
+ KBabelDictView( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~KBabelDictView();
bool prefVisible();
diff --git a/kbabel/kbabeldict/kbabelsplash.cpp b/kbabel/kbabeldict/kbabelsplash.cpp
index eec450c6..a62cec5f 100644
--- a/kbabel/kbabeldict/kbabelsplash.cpp
+++ b/kbabel/kbabeldict/kbabelsplash.cpp
@@ -40,8 +40,8 @@
KBabelSplash* KBabelSplash::instance = 0;
-KBabelSplash::KBabelSplash( TQWidget* tqparent, const char* name )
- : TQVBox( tqparent, name, WType_Dialog|WShowModal|WStyle_Customize|WStyle_NoBorder|WDestructiveClose )
+KBabelSplash::KBabelSplash( TQWidget* parent, const char* name )
+ : TQVBox( parent, name, WType_Dialog|WShowModal|WStyle_Customize|WStyle_NoBorder|WDestructiveClose )
{
setMargin( 0 );
setSpacing( 0 );
diff --git a/kbabel/kbabeldict/kbabelsplash.h b/kbabel/kbabeldict/kbabelsplash.h
index 22ed99d7..25c15f12 100644
--- a/kbabel/kbabeldict/kbabelsplash.h
+++ b/kbabel/kbabeldict/kbabelsplash.h
@@ -44,7 +44,7 @@ Q_OBJECT
TQ_OBJECT
public:
- KBabelSplash( TQWidget* tqparent = 0, const char* name = 0 );
+ KBabelSplash( TQWidget* parent = 0, const char* name = 0 );
~KBabelSplash() { instance = 0; }
static KBabelSplash* instance;
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp b/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp
index fe312253..16458a75 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp
@@ -72,8 +72,8 @@
using namespace KBabel;
-KDBSearchEngine::KDBSearchEngine (TQObject * tqparent, const char *name):
-SearchEngine (tqparent, name)
+KDBSearchEngine::KDBSearchEngine (TQObject * parent, const char *name):
+SearchEngine (parent, name)
{
edited = "unknown";
dm = 0; //Database Manager
@@ -1203,10 +1203,10 @@ KDBSearchEngine::readSettings (KConfigBase * config)
}
PrefWidget *
-KDBSearchEngine::preferencesWidget (TQWidget * tqparent)
+KDBSearchEngine::preferencesWidget (TQWidget * parent)
{
- pw = new PreferencesWidget (tqparent);
+ pw = new PreferencesWidget (parent);
setSettings ();
connect (pw, TQT_SIGNAL (restoreNow ()), this, TQT_SLOT (setSettings ()));
connect (pw, TQT_SIGNAL (applyNow ()), this, TQT_SLOT (updateSettings ()));
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.h b/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.h
index d884f233..2f56247c 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.h
@@ -99,7 +99,7 @@ class KDBSearchEngine : public SearchEngine
public:
- KDBSearchEngine(TQObject *tqparent=0,const char *name=0);
+ KDBSearchEngine(TQObject *parent=0,const char *name=0);
~KDBSearchEngine();
enum Rules {Equal = 1, Contains = 2, Contained = 4, RegExp = 8};
enum FormatRules { Dots = 1, Ampersand = 2, FirstWordUpper = 4, //Not yet used
@@ -194,7 +194,7 @@ public:
virtual void saveSettings(KConfigBase *config);
virtual void readSettings(KConfigBase *config);
- virtual PrefWidget *preferencesWidget(TQWidget *tqparent);
+ virtual PrefWidget *preferencesWidget(TQWidget *parent);
virtual const KAboutData *about() const;
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/database.cpp b/kbabel/kbabeldict/modules/dbsearchengine/database.cpp
index 6fa383df..05f31654 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/database.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine/database.cpp
@@ -294,8 +294,8 @@ DataBaseItem::toRawData (char *_data)
DataBaseManager::DataBaseManager (TQString directory, TQString lang,
- TQObject * tqparent, const char *name):
-TQObject (tqparent, name)
+ TQObject * parent, const char *name):
+TQObject (parent, name)
{
TQString filename;
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/database.h b/kbabel/kbabeldict/modules/dbsearchengine/database.h
index 05a09955..76342634 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/database.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine/database.h
@@ -176,7 +176,7 @@ class DataBaseManager : public TQObject
*/
- DataBaseManager(TQString directory,TQString lang,TQObject *tqparent=0,const char *name=0);
+ DataBaseManager(TQString directory,TQString lang,TQObject *parent=0,const char *name=0);
~DataBaseManager();
/*
Create a new databse structure.
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/dbscan.cpp b/kbabel/kbabeldict/modules/dbsearchengine/dbscan.cpp
index 5a4d5a6e..2969a9df 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/dbscan.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine/dbscan.cpp
@@ -39,7 +39,7 @@
using namespace KBabel;
PoScanner::PoScanner(DataBaseManager *dbm,
- TQObject *tqparent,const char *name):TQObject(tqparent,name)
+ TQObject *parent,const char *name):TQObject(parent,name)
{
dm=dbm;
removeOldCatalogTranslation=false; //Check if this flag do something.
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/dbscan.h b/kbabel/kbabeldict/modules/dbsearchengine/dbscan.h
index c6212fbd..85ab77d5 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/dbscan.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine/dbscan.h
@@ -48,7 +48,7 @@ class PoScanner : public TQObject
public:
- PoScanner(DataBaseManager *dbm,TQObject *tqparent=0,const char *name=0);
+ PoScanner(DataBaseManager *dbm,TQObject *parent=0,const char *name=0);
/*
Scan a single PO file.
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.cpp b/kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.cpp
index 599ace4c..86975874 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.cpp
@@ -21,8 +21,8 @@ KInstance *DbSeFactory::s_instance = 0;
KAboutData *DbSeFactory::s_about = 0;
-DbSeFactory::DbSeFactory( TQObject *tqparent, const char *name)
- : KLibFactory(tqparent,name)
+DbSeFactory::DbSeFactory( TQObject *parent, const char *name)
+ : KLibFactory(parent,name)
{
}
@@ -42,7 +42,7 @@ DbSeFactory::~DbSeFactory()
}
-TQObject *DbSeFactory::createObject( TQObject *tqparent, const char *name,
+TQObject *DbSeFactory::createObject( TQObject *parent, const char *name,
const char *classname, const TQStringList &)
{
if(TQCString(classname) != "SearchEngine")
@@ -51,7 +51,7 @@ TQObject *DbSeFactory::createObject( TQObject *tqparent, const char *name,
return 0;
}
- KDBSearchEngine *se = new KDBSearchEngine(tqparent,name);
+ KDBSearchEngine *se = new KDBSearchEngine(parent,name);
emit objectCreated(se);
return se;
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.h b/kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.h
index b146b021..1016f74d 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine/dbse_factory.h
@@ -10,10 +10,10 @@ class DbSeFactory : public KLibFactory
Q_OBJECT
TQ_OBJECT
public:
- DbSeFactory( TQObject *tqparent=0, const char *name=0);
+ DbSeFactory( TQObject *parent=0, const char *name=0);
~DbSeFactory();
- virtual TQObject *createObject( TQObject *tqparent=0, const char *name=0,
+ virtual TQObject *createObject( TQObject *parent=0, const char *name=0,
const char *classname=TQOBJECT_OBJECT_NAME_STRING,
const TQStringList &args = TQStringList());
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.cpp b/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.cpp
index c81a8562..a2c8c289 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.cpp
@@ -14,8 +14,8 @@
#include "dbseprefwidget.h"
#include "preferenceswidget.h"
-PreferencesWidget::PreferencesWidget(TQWidget *tqparent, const char* name)
- : PrefWidget(tqparent,name)
+PreferencesWidget::PreferencesWidget(TQWidget *parent, const char* name)
+ : PrefWidget(parent,name)
{
TQVBoxLayout *tqlayout = new TQVBoxLayout(this);
// TQLabel *label = new TQLabel(i18n("Settings for KDE database search engine"),this);
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.h b/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.h
index 134c60bd..980a8f74 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine/preferenceswidget.h
@@ -10,7 +10,7 @@ class PreferencesWidget : public PrefWidget
TQ_OBJECT
public:
- PreferencesWidget(TQWidget *tqparent=0, const char* name=0);
+ PreferencesWidget(TQWidget *parent=0, const char* name=0);
virtual ~PreferencesWidget();
virtual void apply();
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp b/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp
index 077565d4..826800d9 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.cpp
@@ -47,8 +47,8 @@
#include <kdebug.h>
#define i18n (const char *)
-KDBSearchEngine2::KDBSearchEngine2(TQObject *tqparent,const char*name)
- : SearchEngine(tqparent,name)
+KDBSearchEngine2::KDBSearchEngine2(TQObject *parent,const char*name)
+ : SearchEngine(parent,name)
{
pw=0;
dbDirectory=".";
@@ -255,10 +255,10 @@ void KDBSearchEngine2::stringChanged( TQString orig, TQString translated
}
-PrefWidget * KDBSearchEngine2::preferencesWidget(TQWidget *tqparent)
+PrefWidget * KDBSearchEngine2::preferencesWidget(TQWidget *parent)
{
- pw = new KDB2PreferencesWidget(tqparent);
+ pw = new KDB2PreferencesWidget(parent);
kdDebug(0) << "new KDB2 preferences widget" << endl;
setSettings();
connect(pw,TQT_SIGNAL(restoreNow()),this,TQT_SLOT(setSettings()));
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.h b/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.h
index 89a32571..6bc46ab1 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/KDBSearchEngine2.h
@@ -26,7 +26,7 @@ class KDBSearchEngine2 : public SearchEngine
public:
- KDBSearchEngine2(TQObject *tqparent=0, const char *name=0);
+ KDBSearchEngine2(TQObject *parent=0, const char *name=0);
virtual ~KDBSearchEngine2();
//init if needed.
@@ -78,9 +78,9 @@ class KDBSearchEngine2 : public SearchEngine
* search engine. The returned widget should not be bigger than
* 400x400. If you need more space, you maybe want to use
* a tabbed widget.
- * @param tqparent the tqparent of the returned widget
+ * @param parent the parent of the returned widget
*/
- virtual PrefWidget* preferencesWidget(TQWidget *tqparent);
+ virtual PrefWidget* preferencesWidget(TQWidget *parent);
/** @returns information about this SearchEngine */
virtual const KAboutData *about() const;
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.cpp b/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.cpp
index 96239ba9..a21252a2 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.cpp
@@ -120,7 +120,7 @@ TQValueList<KURL> MessagesSource::filesInDir(KURL url,bool recursive)
//FIXME: clean this class
PoScanner::PoScanner(DataBaseInterface *dbi,
- TQObject *tqparent,const char *name):TQObject(tqparent,name)
+ TQObject *parent,const char *name):TQObject(parent,name)
{
di=dbi;
removeOldCatalogTranslation=true;
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.h b/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.h
index cbf1d2e6..f3ee15d4 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/dbscan.h
@@ -76,7 +76,7 @@ class PoScanner : public TQObject
public:
- PoScanner(DataBaseInterface *dbi,TQObject *tqparent=0,const char *name=0);
+ PoScanner(DataBaseInterface *dbi,TQObject *parent=0,const char *name=0);
/*
Scan a single PO file.
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.cpp b/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.cpp
index 0c65710c..55f6a16f 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.cpp
@@ -22,8 +22,8 @@ KInstance *DbSe2Factory::s_instance = 0;
KAboutData *DbSe2Factory::s_about = 0;
-DbSe2Factory::DbSe2Factory( TQObject *tqparent, const char *name)
- : KLibFactory(tqparent,name)
+DbSe2Factory::DbSe2Factory( TQObject *parent, const char *name)
+ : KLibFactory(parent,name)
{
}
@@ -43,7 +43,7 @@ DbSe2Factory::~DbSe2Factory()
}
-TQObject *DbSe2Factory::createObject( TQObject *tqparent, const char *name,
+TQObject *DbSe2Factory::createObject( TQObject *parent, const char *name,
const char *classname, const TQStringList &)
{
if(TQCString(classname) != "SearchEngine")
@@ -52,7 +52,7 @@ TQObject *DbSe2Factory::createObject( TQObject *tqparent, const char *name,
return 0;
}
- KDBSearchEngine2 *se = new KDBSearchEngine2(tqparent,name);
+ KDBSearchEngine2 *se = new KDBSearchEngine2(parent,name);
emit objectCreated(se);
return se;
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.h b/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.h
index 2f1b98ca..793c03d3 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/dbse2_factory.h
@@ -10,10 +10,10 @@ class DbSe2Factory : public KLibFactory
Q_OBJECT
TQ_OBJECT
public:
- DbSe2Factory( TQObject *tqparent=0, const char *name=0);
+ DbSe2Factory( TQObject *parent=0, const char *name=0);
~DbSe2Factory();
- virtual TQObject *createObject( TQObject *tqparent=0, const char *name=0,
+ virtual TQObject *createObject( TQObject *parent=0, const char *name=0,
const char *classname=TQOBJECT_OBJECT_NAME_STRING,
const TQStringList &args = TQStringList());
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.cpp b/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.cpp
index ba16327c..ff767436 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.cpp
@@ -15,8 +15,8 @@
#include "dbse2.h"
#include "preferenceswidget.h"
-KDB2PreferencesWidget::KDB2PreferencesWidget(TQWidget *tqparent, const char* name)
- : PrefWidget(tqparent,name)
+KDB2PreferencesWidget::KDB2PreferencesWidget(TQWidget *parent, const char* name)
+ : PrefWidget(parent,name)
{
TQVBoxLayout *tqlayout = new TQVBoxLayout(this);
// TQLabel *label = new TQLabel(i18n("Settings for KDE Database Search Engine"),this);
diff --git a/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.h b/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.h
index 68e283bd..3aa9bcb8 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.h
+++ b/kbabel/kbabeldict/modules/dbsearchengine2/preferenceswidget.h
@@ -10,7 +10,7 @@ class KDB2PreferencesWidget : public PrefWidget
TQ_OBJECT
public:
- KDB2PreferencesWidget(TQWidget *tqparent=0, const char* name=0);
+ KDB2PreferencesWidget(TQWidget *parent=0, const char* name=0);
virtual ~KDB2PreferencesWidget();
virtual void apply();
diff --git a/kbabel/kbabeldict/modules/poauxiliary/pa_factory.cpp b/kbabel/kbabeldict/modules/poauxiliary/pa_factory.cpp
index 730424f1..f17397f9 100644
--- a/kbabel/kbabeldict/modules/poauxiliary/pa_factory.cpp
+++ b/kbabel/kbabeldict/modules/poauxiliary/pa_factory.cpp
@@ -54,8 +54,8 @@ KInstance *PaFactory::s_instance = 0;
KAboutData *PaFactory::s_about = 0;
-PaFactory::PaFactory( TQObject *tqparent, const char *name)
- : KLibFactory(tqparent,name)
+PaFactory::PaFactory( TQObject *parent, const char *name)
+ : KLibFactory(parent,name)
{
}
@@ -75,7 +75,7 @@ PaFactory::~PaFactory()
}
-TQObject *PaFactory::createObject( TQObject *tqparent, const char *name
+TQObject *PaFactory::createObject( TQObject *parent, const char *name
, const char *classname, const TQStringList &)
{
if(TQCString(classname) != "SearchEngine")
@@ -84,7 +84,7 @@ TQObject *PaFactory::createObject( TQObject *tqparent, const char *name
return 0;
}
- return new PoAuxiliary(tqparent,name);
+ return new PoAuxiliary(parent,name);
}
diff --git a/kbabel/kbabeldict/modules/poauxiliary/pa_factory.h b/kbabel/kbabeldict/modules/poauxiliary/pa_factory.h
index 7c92e008..ab0fad0e 100644
--- a/kbabel/kbabeldict/modules/poauxiliary/pa_factory.h
+++ b/kbabel/kbabeldict/modules/poauxiliary/pa_factory.h
@@ -44,10 +44,10 @@ class PaFactory : public KLibFactory
Q_OBJECT
TQ_OBJECT
public:
- PaFactory( TQObject *tqparent=0, const char *name=0);
+ PaFactory( TQObject *parent=0, const char *name=0);
~PaFactory();
- virtual TQObject *createObject( TQObject *tqparent=0, const char *name=0
+ virtual TQObject *createObject( TQObject *parent=0, const char *name=0
, const char *classname=TQOBJECT_OBJECT_NAME_STRING
, const TQStringList &args = TQStringList());
diff --git a/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.cpp b/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.cpp
index ce4b7800..9025d716 100644
--- a/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.cpp
+++ b/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.cpp
@@ -50,8 +50,8 @@
using namespace KBabel;
-PoAuxiliary::PoAuxiliary(TQObject *tqparent, const char *name)
- : SearchEngine(tqparent, name)
+PoAuxiliary::PoAuxiliary(TQObject *parent, const char *name)
+ : SearchEngine(parent, name)
{
catalog = new Catalog(this, "PoAuxiliary::catalog");
prefWidget=0;
@@ -124,9 +124,9 @@ void PoAuxiliary::readSettings(KConfigBase *config)
restoreSettings();
}
-PrefWidget *PoAuxiliary::preferencesWidget(TQWidget *tqparent)
+PrefWidget *PoAuxiliary::preferencesWidget(TQWidget *parent)
{
- prefWidget = new AuxiliaryPreferencesWidget(tqparent,"pocompendium_prefwidget");
+ prefWidget = new AuxiliaryPreferencesWidget(parent,"pocompendium_prefwidget");
connect(prefWidget, TQT_SIGNAL(applySettings()), this, TQT_SLOT(applySettings()));
connect(prefWidget, TQT_SIGNAL(restoreSettings())
, this, TQT_SLOT(restoreSettings()));
diff --git a/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.h b/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.h
index 0ad4c635..d3769237 100644
--- a/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.h
+++ b/kbabel/kbabeldict/modules/poauxiliary/poauxiliary.h
@@ -53,7 +53,7 @@ class PoAuxiliary : public SearchEngine
TQ_OBJECT
public:
- PoAuxiliary(TQObject *tqparent=0, const char *name=0);
+ PoAuxiliary(TQObject *parent=0, const char *name=0);
virtual ~PoAuxiliary();
virtual bool isReady() const;
@@ -65,7 +65,7 @@ public:
virtual void saveSettings(KConfigBase *config);
virtual void readSettings(KConfigBase *config);
- virtual PrefWidget *preferencesWidget(TQWidget *tqparent);
+ virtual PrefWidget *preferencesWidget(TQWidget *parent);
virtual const KAboutData *about() const;
diff --git a/kbabel/kbabeldict/modules/poauxiliary/preferenceswidget.cpp b/kbabel/kbabeldict/modules/poauxiliary/preferenceswidget.cpp
index 2c984c46..873c07b6 100644
--- a/kbabel/kbabeldict/modules/poauxiliary/preferenceswidget.cpp
+++ b/kbabel/kbabeldict/modules/poauxiliary/preferenceswidget.cpp
@@ -43,8 +43,8 @@
#include "preferenceswidget.h"
#include "pwidget.h"
-AuxiliaryPreferencesWidget::AuxiliaryPreferencesWidget(TQWidget *tqparent, const char* name)
- : PrefWidget(tqparent,name)
+AuxiliaryPreferencesWidget::AuxiliaryPreferencesWidget(TQWidget *parent, const char* name)
+ : PrefWidget(parent,name)
, changed(false)
{
TQVBoxLayout *tqlayout = new TQVBoxLayout(this);
diff --git a/kbabel/kbabeldict/modules/poauxiliary/preferenceswidget.h b/kbabel/kbabeldict/modules/poauxiliary/preferenceswidget.h
index e967d958..ac4e024f 100644
--- a/kbabel/kbabeldict/modules/poauxiliary/preferenceswidget.h
+++ b/kbabel/kbabeldict/modules/poauxiliary/preferenceswidget.h
@@ -45,7 +45,7 @@ class AuxiliaryPreferencesWidget : public PrefWidget
TQ_OBJECT
public:
- AuxiliaryPreferencesWidget(TQWidget *tqparent=0, const char* name=0);
+ AuxiliaryPreferencesWidget(TQWidget *parent=0, const char* name=0);
virtual ~AuxiliaryPreferencesWidget();
virtual void apply();
diff --git a/kbabel/kbabeldict/modules/pocompendium/compendiumdata.cpp b/kbabel/kbabeldict/modules/pocompendium/compendiumdata.cpp
index 71d79641..e6565e54 100644
--- a/kbabel/kbabeldict/modules/pocompendium/compendiumdata.cpp
+++ b/kbabel/kbabeldict/modules/pocompendium/compendiumdata.cpp
@@ -42,8 +42,8 @@
using namespace KBabel;
-CompendiumData::CompendiumData(TQObject *tqparent)
- : TQObject(tqparent)
+CompendiumData::CompendiumData(TQObject *parent)
+ : TQObject(parent)
, _active(false)
, _error(false)
, _initialized(false)
diff --git a/kbabel/kbabeldict/modules/pocompendium/compendiumdata.h b/kbabel/kbabeldict/modules/pocompendium/compendiumdata.h
index 6d229d74..1d621bd8 100644
--- a/kbabel/kbabeldict/modules/pocompendium/compendiumdata.h
+++ b/kbabel/kbabeldict/modules/pocompendium/compendiumdata.h
@@ -52,7 +52,7 @@ class CompendiumData : public TQObject
TQ_OBJECT
public:
- CompendiumData(TQObject *tqparent=0);
+ CompendiumData(TQObject *parent=0);
bool load(KURL url);
diff --git a/kbabel/kbabeldict/modules/pocompendium/pc_factory.cpp b/kbabel/kbabeldict/modules/pocompendium/pc_factory.cpp
index 0d3d2d24..cb61de6b 100644
--- a/kbabel/kbabeldict/modules/pocompendium/pc_factory.cpp
+++ b/kbabel/kbabeldict/modules/pocompendium/pc_factory.cpp
@@ -54,8 +54,8 @@ KInstance *PcFactory::s_instance = 0;
KAboutData *PcFactory::s_about = 0;
-PcFactory::PcFactory( TQObject *tqparent, const char *name)
- : KLibFactory(tqparent,name)
+PcFactory::PcFactory( TQObject *parent, const char *name)
+ : KLibFactory(parent,name)
{
}
@@ -75,7 +75,7 @@ PcFactory::~PcFactory()
}
-TQObject *PcFactory::createObject( TQObject *tqparent, const char *name
+TQObject *PcFactory::createObject( TQObject *parent, const char *name
, const char *classname, const TQStringList &)
{
if(TQCString(classname) != "SearchEngine")
@@ -84,7 +84,7 @@ TQObject *PcFactory::createObject( TQObject *tqparent, const char *name
return 0;
}
- return new PoCompendium(tqparent,name);
+ return new PoCompendium(parent,name);
}
diff --git a/kbabel/kbabeldict/modules/pocompendium/pc_factory.h b/kbabel/kbabeldict/modules/pocompendium/pc_factory.h
index b92cfcb0..dca44e09 100644
--- a/kbabel/kbabeldict/modules/pocompendium/pc_factory.h
+++ b/kbabel/kbabeldict/modules/pocompendium/pc_factory.h
@@ -44,10 +44,10 @@ class PcFactory : public KLibFactory
Q_OBJECT
TQ_OBJECT
public:
- PcFactory( TQObject *tqparent=0, const char *name=0);
+ PcFactory( TQObject *parent=0, const char *name=0);
~PcFactory();
- virtual TQObject *createObject( TQObject *tqparent=0, const char *name=0
+ virtual TQObject *createObject( TQObject *parent=0, const char *name=0
, const char *classname=TQOBJECT_OBJECT_NAME_STRING
, const TQStringList &args = TQStringList());
diff --git a/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp b/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp
index 6e664316..60de6a4f 100644
--- a/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp
+++ b/kbabel/kbabeldict/modules/pocompendium/pocompendium.cpp
@@ -63,8 +63,8 @@ using namespace KBabel;
static KStaticDeleter< TQDict<CompendiumData> > compDataDeleter;
TQDict<CompendiumData> *PoCompendium::_compDict = 0;
-PoCompendium::PoCompendium(TQObject *tqparent, const char *name)
- : SearchEngine(tqparent, name)
+PoCompendium::PoCompendium(TQObject *parent, const char *name)
+ : SearchEngine(parent, name)
{
prefWidget=0;
data=0;
@@ -160,9 +160,9 @@ void PoCompendium::readSettings(KConfigBase *config)
restoreSettings();
}
-PrefWidget *PoCompendium::preferencesWidget(TQWidget *tqparent)
+PrefWidget *PoCompendium::preferencesWidget(TQWidget *parent)
{
- prefWidget = new CompendiumPreferencesWidget(tqparent,"pocompendium_prefwidget");
+ prefWidget = new CompendiumPreferencesWidget(parent,"pocompendium_prefwidget");
kdDebug(KBABEL_SEARCH) << "PreferencesWidget is " << prefWidget << endl;
connect(prefWidget, TQT_SIGNAL(applySettings()), this, TQT_SLOT(applySettings()));
connect(prefWidget, TQT_SIGNAL(restoreSettings())
diff --git a/kbabel/kbabeldict/modules/pocompendium/pocompendium.h b/kbabel/kbabeldict/modules/pocompendium/pocompendium.h
index 1b3d1496..8f2b19a8 100644
--- a/kbabel/kbabeldict/modules/pocompendium/pocompendium.h
+++ b/kbabel/kbabeldict/modules/pocompendium/pocompendium.h
@@ -54,7 +54,7 @@ class PoCompendium : public SearchEngine
TQ_OBJECT
public:
- PoCompendium(TQObject *tqparent=0, const char *name=0);
+ PoCompendium(TQObject *parent=0, const char *name=0);
virtual ~PoCompendium();
virtual bool isReady() const;
@@ -68,7 +68,7 @@ public:
virtual void saveSettings(KConfigBase *config);
virtual void readSettings(KConfigBase *config);
- virtual PrefWidget *preferencesWidget(TQWidget *tqparent);
+ virtual PrefWidget *preferencesWidget(TQWidget *parent);
virtual const KAboutData *about() const;
diff --git a/kbabel/kbabeldict/modules/pocompendium/preferenceswidget.cpp b/kbabel/kbabeldict/modules/pocompendium/preferenceswidget.cpp
index 9cbeb381..74321121 100644
--- a/kbabel/kbabeldict/modules/pocompendium/preferenceswidget.cpp
+++ b/kbabel/kbabeldict/modules/pocompendium/preferenceswidget.cpp
@@ -44,8 +44,8 @@
#include "preferenceswidget.h"
#include "pwidget.h"
-CompendiumPreferencesWidget::CompendiumPreferencesWidget(TQWidget *tqparent, const char* name)
- : PrefWidget(tqparent,name)
+CompendiumPreferencesWidget::CompendiumPreferencesWidget(TQWidget *parent, const char* name)
+ : PrefWidget(parent,name)
, changed(false)
{
TQVBoxLayout *tqlayout = new TQVBoxLayout(this);
diff --git a/kbabel/kbabeldict/modules/pocompendium/preferenceswidget.h b/kbabel/kbabeldict/modules/pocompendium/preferenceswidget.h
index e67a00d9..d98fe9c2 100644
--- a/kbabel/kbabeldict/modules/pocompendium/preferenceswidget.h
+++ b/kbabel/kbabeldict/modules/pocompendium/preferenceswidget.h
@@ -45,7 +45,7 @@ class CompendiumPreferencesWidget : public PrefWidget
TQ_OBJECT
public:
- CompendiumPreferencesWidget(TQWidget *tqparent=0, const char* name=0);
+ CompendiumPreferencesWidget(TQWidget *parent=0, const char* name=0);
virtual ~CompendiumPreferencesWidget();
virtual void apply();
diff --git a/kbabel/kbabeldict/modules/tmx/pc_factory.cpp b/kbabel/kbabeldict/modules/tmx/pc_factory.cpp
index 772eae41..864f9fed 100644
--- a/kbabel/kbabeldict/modules/tmx/pc_factory.cpp
+++ b/kbabel/kbabeldict/modules/tmx/pc_factory.cpp
@@ -54,8 +54,8 @@ KInstance *PcFactory::s_instance = 0;
KAboutData *PcFactory::s_about = 0;
-PcFactory::PcFactory( TQObject *tqparent, const char *name)
- : KLibFactory(tqparent,name)
+PcFactory::PcFactory( TQObject *parent, const char *name)
+ : KLibFactory(parent,name)
{
}
@@ -75,7 +75,7 @@ PcFactory::~PcFactory()
}
-TQObject *PcFactory::createObject( TQObject *tqparent, const char *name
+TQObject *PcFactory::createObject( TQObject *parent, const char *name
, const char *classname, const TQStringList &)
{
if(TQCString(classname) != "SearchEngine")
@@ -84,7 +84,7 @@ TQObject *PcFactory::createObject( TQObject *tqparent, const char *name
return 0;
}
- return new TmxCompendium(tqparent,name);
+ return new TmxCompendium(parent,name);
}
diff --git a/kbabel/kbabeldict/modules/tmx/pc_factory.h b/kbabel/kbabeldict/modules/tmx/pc_factory.h
index f4337116..9ddaf873 100644
--- a/kbabel/kbabeldict/modules/tmx/pc_factory.h
+++ b/kbabel/kbabeldict/modules/tmx/pc_factory.h
@@ -46,10 +46,10 @@ class PcFactory : public KLibFactory
Q_OBJECT
TQ_OBJECT
public:
- PcFactory( TQObject *tqparent=0, const char *name=0);
+ PcFactory( TQObject *parent=0, const char *name=0);
~PcFactory();
- virtual TQObject *createObject( TQObject *tqparent=0, const char *name=0
+ virtual TQObject *createObject( TQObject *parent=0, const char *name=0
, const char *classname=TQOBJECT_OBJECT_NAME_STRING
, const TQStringList &args = TQStringList());
diff --git a/kbabel/kbabeldict/modules/tmx/preferenceswidget.cpp b/kbabel/kbabeldict/modules/tmx/preferenceswidget.cpp
index 16200985..7aed4474 100644
--- a/kbabel/kbabeldict/modules/tmx/preferenceswidget.cpp
+++ b/kbabel/kbabeldict/modules/tmx/preferenceswidget.cpp
@@ -46,8 +46,8 @@
#include "preferenceswidget.h"
#include "pwidget.h"
-TmxCompendiumPreferencesWidget::TmxCompendiumPreferencesWidget(TQWidget *tqparent, const char* name)
- : PrefWidget(tqparent,name)
+TmxCompendiumPreferencesWidget::TmxCompendiumPreferencesWidget(TQWidget *parent, const char* name)
+ : PrefWidget(parent,name)
, changed(false)
{
TQVBoxLayout *tqlayout = new TQVBoxLayout(this);
diff --git a/kbabel/kbabeldict/modules/tmx/preferenceswidget.h b/kbabel/kbabeldict/modules/tmx/preferenceswidget.h
index a91aff42..ad18a169 100644
--- a/kbabel/kbabeldict/modules/tmx/preferenceswidget.h
+++ b/kbabel/kbabeldict/modules/tmx/preferenceswidget.h
@@ -47,7 +47,7 @@ class TmxCompendiumPreferencesWidget : public PrefWidget
TQ_OBJECT
public:
- TmxCompendiumPreferencesWidget(TQWidget *tqparent=0, const char* name=0);
+ TmxCompendiumPreferencesWidget(TQWidget *parent=0, const char* name=0);
virtual ~TmxCompendiumPreferencesWidget();
virtual void apply();
diff --git a/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp b/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp
index 42dfbdee..9163d7cb 100644
--- a/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp
+++ b/kbabel/kbabeldict/modules/tmx/tmxcompendium.cpp
@@ -58,8 +58,8 @@
static KStaticDeleter< TQDict<TmxCompendiumData> > compDataDeleter;
TQDict<TmxCompendiumData> *TmxCompendium::_compDict = 0;
-TmxCompendium::TmxCompendium(TQObject *tqparent, const char *name)
- : SearchEngine(tqparent, name)
+TmxCompendium::TmxCompendium(TQObject *parent, const char *name)
+ : SearchEngine(parent, name)
{
prefWidget=0;
data=0;
@@ -152,9 +152,9 @@ void TmxCompendium::readSettings(KConfigBase *config)
restoreSettings();
}
-PrefWidget *TmxCompendium::preferencesWidget(TQWidget *tqparent)
+PrefWidget *TmxCompendium::preferencesWidget(TQWidget *parent)
{
- prefWidget = new TmxCompendiumPreferencesWidget(tqparent,"tmxcompendium_prefwidget");
+ prefWidget = new TmxCompendiumPreferencesWidget(parent,"tmxcompendium_prefwidget");
connect(prefWidget, TQT_SIGNAL(applySettings()), this, TQT_SLOT(applySettings()));
connect(prefWidget, TQT_SIGNAL(restoreSettings())
, this, TQT_SLOT(restoreSettings()));
diff --git a/kbabel/kbabeldict/modules/tmx/tmxcompendium.h b/kbabel/kbabeldict/modules/tmx/tmxcompendium.h
index 8e96fbd5..9fec1b92 100644
--- a/kbabel/kbabeldict/modules/tmx/tmxcompendium.h
+++ b/kbabel/kbabeldict/modules/tmx/tmxcompendium.h
@@ -53,7 +53,7 @@ class TmxCompendium : public SearchEngine
TQ_OBJECT
public:
- TmxCompendium(TQObject *tqparent=0, const char *name=0);
+ TmxCompendium(TQObject *parent=0, const char *name=0);
virtual ~TmxCompendium();
virtual bool isReady() const;
@@ -66,7 +66,7 @@ public:
virtual void saveSettings(KConfigBase *config);
virtual void readSettings(KConfigBase *config);
- virtual PrefWidget *preferencesWidget(TQWidget *tqparent);
+ virtual PrefWidget *preferencesWidget(TQWidget *parent);
virtual const KAboutData *about() const;
diff --git a/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.cpp b/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.cpp
index d4497e29..8646806e 100644
--- a/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.cpp
+++ b/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.cpp
@@ -47,8 +47,8 @@
using namespace KBabel;
-TmxCompendiumData::TmxCompendiumData(TQObject *tqparent)
- : TQObject(tqparent)
+TmxCompendiumData::TmxCompendiumData(TQObject *parent)
+ : TQObject(parent)
, _active(false)
, _error(false)
, _initialized(false)
diff --git a/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.h b/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.h
index 325fb9b5..3e8f2825 100644
--- a/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.h
+++ b/kbabel/kbabeldict/modules/tmx/tmxcompendiumdata.h
@@ -50,7 +50,7 @@ class TmxCompendiumData : public TQObject
TQ_OBJECT
public:
- TmxCompendiumData(TQObject *tqparent=0);
+ TmxCompendiumData(TQObject *parent=0);
bool load(const KURL& url, const TQString& language);
diff --git a/kbabel/kbabeldict/searchengine.cpp b/kbabel/kbabeldict/searchengine.cpp
index 912f4da7..bceec8a8 100644
--- a/kbabel/kbabeldict/searchengine.cpp
+++ b/kbabel/kbabeldict/searchengine.cpp
@@ -62,8 +62,8 @@ SearchResult::SearchResult(const SearchResult& r)
}
-PrefWidget::PrefWidget(TQWidget *tqparent, const char *name)
- : TQWidget(tqparent,name)
+PrefWidget::PrefWidget(TQWidget *parent, const char *name)
+ : TQWidget(parent,name)
{
}
@@ -72,8 +72,8 @@ PrefWidget::~PrefWidget()
}
-SearchEngine::SearchEngine(TQObject *tqparent, const char *name)
- : TQObject(tqparent, name)
+SearchEngine::SearchEngine(TQObject *parent, const char *name)
+ : TQObject(parent, name)
{
autoUpdate=false;
results.setAutoDelete(true);
diff --git a/kbabel/kbabeldict/searchengine.h b/kbabel/kbabeldict/searchengine.h
index f14baa1e..c5b28ad5 100644
--- a/kbabel/kbabeldict/searchengine.h
+++ b/kbabel/kbabeldict/searchengine.h
@@ -247,7 +247,7 @@ class KDE_EXPORT PrefWidget : public TQWidget
TQ_OBJECT
public:
- PrefWidget(TQWidget *tqparent, const char* name=0);
+ PrefWidget(TQWidget *parent, const char* name=0);
virtual ~PrefWidget();
public slots:
@@ -272,7 +272,7 @@ class KDE_EXPORT SearchEngine : public TQObject
TQ_OBJECT
public:
- SearchEngine(TQObject *tqparent=0, const char *name=0);
+ SearchEngine(TQObject *parent=0, const char *name=0);
virtual ~SearchEngine();
@@ -354,9 +354,9 @@ public:
* search engine. The returned widget should not be bigger than
* 400x400. If you need more space, you maybe want to use
* a tabbed widget.
- * @param tqparent the tqparent of the returned widget
+ * @param parent the parent of the returned widget
*/
- virtual PrefWidget* preferencesWidget(TQWidget *tqparent)=0;
+ virtual PrefWidget* preferencesWidget(TQWidget *parent)=0;
/** @returns information about this SearchEngine */
virtual const KAboutData *about() const= 0;