summaryrefslogtreecommitdiffstats
path: root/kivio/plugins/kiviosmlconnector
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
commit04766b207afba7961d4d802313e426f5a2fbef63 (patch)
treec888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /kivio/plugins/kiviosmlconnector
parentb6edfe41c9395f2e20784cbf0e630af6426950a3 (diff)
downloadkoffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz
koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kivio/plugins/kiviosmlconnector')
-rw-r--r--kivio/plugins/kiviosmlconnector/plugin.cpp10
-rw-r--r--kivio/plugins/kiviosmlconnector/plugin.h4
-rw-r--r--kivio/plugins/kiviosmlconnector/sml_connector/sml_connector.cpp4
-rw-r--r--kivio/plugins/kiviosmlconnector/sml_connector/sml_connector.h2
4 files changed, 10 insertions, 10 deletions
diff --git a/kivio/plugins/kiviosmlconnector/plugin.cpp b/kivio/plugins/kiviosmlconnector/plugin.cpp
index a622f6e3..5c4b74f7 100644
--- a/kivio/plugins/kiviosmlconnector/plugin.cpp
+++ b/kivio/plugins/kiviosmlconnector/plugin.cpp
@@ -31,8 +31,8 @@ K_EXPORT_COMPONENT_FACTORY( libkiviosmlconnector, SMLConnectorFactory )
KInstance* SMLConnectorFactory::s_global = 0;
-SMLConnectorFactory::SMLConnectorFactory( TQObject* tqparent, const char* name )
-: KLibFactory( tqparent, name )
+SMLConnectorFactory::SMLConnectorFactory( TQObject* parent, const char* name )
+: KLibFactory( parent, name )
{
s_global = new KInstance("kivio");
}
@@ -42,12 +42,12 @@ SMLConnectorFactory::~SMLConnectorFactory()
delete s_global;
}
-TQObject* SMLConnectorFactory::createObject( TQObject* tqparent, const char*, const char*, const TQStringList& )
+TQObject* SMLConnectorFactory::createObject( TQObject* parent, const char*, const char*, const TQStringList& )
{
- if ( !tqparent->inherits("KivioView") )
+ if ( !parent->inherits("KivioView") )
return 0;
- TQObject *obj = new SMLConnector( (KivioView*)tqparent );
+ TQObject *obj = new SMLConnector( (KivioView*)parent );
return obj;
}
diff --git a/kivio/plugins/kiviosmlconnector/plugin.h b/kivio/plugins/kiviosmlconnector/plugin.h
index 9868fcc0..0a1f9056 100644
--- a/kivio/plugins/kiviosmlconnector/plugin.h
+++ b/kivio/plugins/kiviosmlconnector/plugin.h
@@ -30,10 +30,10 @@ class SMLConnectorFactory : public KLibFactory
{ Q_OBJECT
TQ_OBJECT
public:
- SMLConnectorFactory( TQObject* tqparent = 0, const char* name = 0 );
+ SMLConnectorFactory( TQObject* parent = 0, const char* name = 0 );
~SMLConnectorFactory();
- 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() );
static KInstance* global();
diff --git a/kivio/plugins/kiviosmlconnector/sml_connector/sml_connector.cpp b/kivio/plugins/kiviosmlconnector/sml_connector/sml_connector.cpp
index 3ab38fa4..3745820c 100644
--- a/kivio/plugins/kiviosmlconnector/sml_connector/sml_connector.cpp
+++ b/kivio/plugins/kiviosmlconnector/sml_connector/sml_connector.cpp
@@ -48,8 +48,8 @@ static KivioStencilSpawnerInfo sinfo = KivioStencilSpawnerInfo( "Ian Reinhart Ge
K_EXPORT_COMPONENT_FACTORY( sml_connector, KGenericFactory<KivioSMLConnectorFactory>( "KivioSMLConnectorFactory" ) )
-KivioSMLConnectorFactory::KivioSMLConnectorFactory( TQObject *tqparent, const char* name, const TQStringList& args ) :
- KivioStencilFactory( tqparent, name, args )
+KivioSMLConnectorFactory::KivioSMLConnectorFactory( TQObject *parent, const char* name, const TQStringList& args ) :
+ KivioStencilFactory( parent, name, args )
{
kdDebug(43000) << "new sml stencil factory: " << endl;
}
diff --git a/kivio/plugins/kiviosmlconnector/sml_connector/sml_connector.h b/kivio/plugins/kiviosmlconnector/sml_connector/sml_connector.h
index 0be46d46..a50ec750 100644
--- a/kivio/plugins/kiviosmlconnector/sml_connector/sml_connector.h
+++ b/kivio/plugins/kiviosmlconnector/sml_connector/sml_connector.h
@@ -95,7 +95,7 @@ class KivioSMLConnectorFactory : public KivioStencilFactory
Q_OBJECT
TQ_OBJECT
public:
- KivioSMLConnectorFactory(TQObject *tqparent=0, const char* name=0, const TQStringList& args = TQStringList());
+ KivioSMLConnectorFactory(TQObject *parent=0, const char* name=0, const TQStringList& args = TQStringList());
KivioStencil *NewStencil(const TQString& name);
KivioStencil *NewStencil();
TQPixmap *GetIcon();