diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 04766b207afba7961d4d802313e426f5a2fbef63 (patch) | |
tree | c888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /kivio/plugins/kiviotexttool/plugin.cpp | |
parent | b6edfe41c9395f2e20784cbf0e630af6426950a3 (diff) | |
download | koffice-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/kiviotexttool/plugin.cpp')
-rw-r--r-- | kivio/plugins/kiviotexttool/plugin.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kivio/plugins/kiviotexttool/plugin.cpp b/kivio/plugins/kiviotexttool/plugin.cpp index cd9a43ec..fd173935 100644 --- a/kivio/plugins/kiviotexttool/plugin.cpp +++ b/kivio/plugins/kiviotexttool/plugin.cpp @@ -31,8 +31,8 @@ K_EXPORT_COMPONENT_FACTORY( libkiviotexttool, TextToolFactory ) KInstance* TextToolFactory::s_global = 0; -TextToolFactory::TextToolFactory( TQObject* tqparent, const char* name ) -: KLibFactory( tqparent, name ) +TextToolFactory::TextToolFactory( TQObject* parent, const char* name ) +: KLibFactory( parent, name ) { s_global = new KInstance("kivio"); } @@ -42,12 +42,12 @@ TextToolFactory::~TextToolFactory() delete s_global; } -TQObject* TextToolFactory::createObject( TQObject* tqparent, const char*, const char*, const TQStringList& ) +TQObject* TextToolFactory::createObject( TQObject* parent, const char*, const char*, const TQStringList& ) { - if ( !tqparent->inherits("KivioView") ) + if ( !parent->inherits("KivioView") ) return 0; - TQObject *obj = new TextTool( (KivioView*)tqparent ); + TQObject *obj = new TextTool( (KivioView*)parent ); return obj; } |