summaryrefslogtreecommitdiffstats
path: root/kbabel/common
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/common')
-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
11 files changed, 20 insertions, 20 deletions
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
{