From eb570158698cf61dad4f77d950ef908160f6c3cc Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- keduca/libkeduca/fileread.cpp | 12 ++++++------ keduca/libkeduca/fileread.h | 6 +++--- keduca/libkeduca/kgallerydialog.cpp | 4 ++-- keduca/libkeduca/kgallerydialog.h | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) (limited to 'keduca/libkeduca') diff --git a/keduca/libkeduca/fileread.cpp b/keduca/libkeduca/fileread.cpp index b7aaab9d..ad72b7e3 100644 --- a/keduca/libkeduca/fileread.cpp +++ b/keduca/libkeduca/fileread.cpp @@ -29,8 +29,8 @@ #include #include -FileRead::FileRead( TQObject *tqparent, const char *name ) - :TQObject(tqparent, name), +FileRead::FileRead( TQObject *parent, const char *name ) + :TQObject(parent, name), _changed(false), _tmpfile(0) { @@ -875,20 +875,20 @@ bool FileRead::saveResults( const TQString &filename, const TQString &results ) } /** Insert xml format data */ -void FileRead::insertXML( TQDomDocument &doc, TQDomElement &tqparent, const TQString &tagName, const TQString &data) +void FileRead::insertXML( TQDomDocument &doc, TQDomElement &parent, const TQString &tagName, const TQString &data) { TQDomElement domELEMENT = doc.createElement( tagName ); TQDomText DATAelement = doc.createTextNode( data ); - tqparent.appendChild( domELEMENT ); + parent.appendChild( domELEMENT ); domELEMENT.appendChild( DATAelement ); } /** Insert xml data format */ -void FileRead::insertXML( TQDomDocument &doc, TQDomElement &tqparent, const TQString &data) +void FileRead::insertXML( TQDomDocument &doc, TQDomElement &parent, const TQString &data) { TQDomText DATAelement = doc.createTextNode( data ); - tqparent.appendChild( DATAelement ); + parent.appendChild( DATAelement ); } /** Get Header */ diff --git a/keduca/libkeduca/fileread.h b/keduca/libkeduca/fileread.h index 9240f938..1a33dc83 100644 --- a/keduca/libkeduca/fileread.h +++ b/keduca/libkeduca/fileread.h @@ -37,7 +37,7 @@ class FileRead : public TQObject { TQ_OBJECT public: - FileRead( TQObject *tqparent=0, const char *name=0 ); + FileRead( TQObject *parent=0, const char *name=0 ); virtual ~FileRead(); enum QuestionField { TQF_TEXT, TQF_PICTURE, TQF_POINTS, TQF_TYPE, TQF_TIME, TQF_TIP, TQF_EXPLAIN }; enum AnswerField { AF_TEXT, AF_VALUE, AF_POINT }; @@ -219,9 +219,9 @@ private: // Private methods /** Insert xml format data */ - void insertXML( TQDomDocument &doc, TQDomElement &tqparent, const TQString &tagName, const TQString &data); + void insertXML( TQDomDocument &doc, TQDomElement &parent, const TQString &tagName, const TQString &data); /** Insert xml data format */ - void insertXML( TQDomDocument &doc, TQDomElement &tqparent, const TQString &data); + void insertXML( TQDomDocument &doc, TQDomElement &parent, const TQString &data); protected: /** Open keduca file. This function does the actual work and expects a local filename . */ diff --git a/keduca/libkeduca/kgallerydialog.cpp b/keduca/libkeduca/kgallerydialog.cpp index c7d6e4c9..b1ec43e2 100644 --- a/keduca/libkeduca/kgallerydialog.cpp +++ b/keduca/libkeduca/kgallerydialog.cpp @@ -30,8 +30,8 @@ #include #include -KGalleryDialog::KGalleryDialog(TQWidget *tqparent, const char *name ) - :KGalleryDialogBase(tqparent,name) +KGalleryDialog::KGalleryDialog(TQWidget *parent, const char *name ) + :KGalleryDialogBase(parent,name) { configRead(); } diff --git a/keduca/libkeduca/kgallerydialog.h b/keduca/libkeduca/kgallerydialog.h index 419834d3..1e43a29b 100644 --- a/keduca/libkeduca/kgallerydialog.h +++ b/keduca/libkeduca/kgallerydialog.h @@ -37,7 +37,7 @@ class KGalleryDialog : public KGalleryDialogBase { Q_OBJECT TQ_OBJECT public: - KGalleryDialog(TQWidget *tqparent=0, const char *name=0); + KGalleryDialog(TQWidget *parent=0, const char *name=0); ~KGalleryDialog(); /** Open keduca file. This function can open a remote or local url. */ bool openFile( const KURL &url ); -- cgit v1.2.1