summaryrefslogtreecommitdiffstats
path: root/keduca/libkeduca
diff options
context:
space:
mode:
Diffstat (limited to 'keduca/libkeduca')
-rw-r--r--keduca/libkeduca/fileread.cpp12
-rw-r--r--keduca/libkeduca/fileread.h6
-rw-r--r--keduca/libkeduca/kgallerydialog.cpp4
-rw-r--r--keduca/libkeduca/kgallerydialog.h2
4 files changed, 12 insertions, 12 deletions
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 <tqpixmap.h>
#include <tqbuffer.h>
-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 <tqdom.h>
#include <tqfileinfo.h>
-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 );