summaryrefslogtreecommitdiffstats
path: root/keduca/keducabuilder
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
commiteb570158698cf61dad4f77d950ef908160f6c3cc (patch)
tree649bf182bcf0a20bed5035d25ffd77de5aee138a /keduca/keducabuilder
parentd8762de95349dc6edaa34db9bf699b367c1af6b1 (diff)
downloadtdeedu-eb570158698cf61dad4f77d950ef908160f6c3cc.tar.gz
tdeedu-eb570158698cf61dad4f77d950ef908160f6c3cc.zip
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
Diffstat (limited to 'keduca/keducabuilder')
-rw-r--r--keduca/keducabuilder/kcontroladdedit.cpp4
-rw-r--r--keduca/keducabuilder/kcontroladdedit.h2
-rw-r--r--keduca/keducabuilder/kcontrolheader.cpp2
-rw-r--r--keduca/keducabuilder/kcontrolheader.h2
-rw-r--r--keduca/keducabuilder/keducabuilder.cpp4
-rw-r--r--keduca/keducabuilder/keducabuilder.h2
-rw-r--r--keduca/keducabuilder/keducaeditorstartdialog.cpp4
-rw-r--r--keduca/keducabuilder/keducaeditorstartdialog.h2
-rw-r--r--keduca/keducabuilder/klangcombo.cpp4
-rw-r--r--keduca/keducabuilder/klangcombo.h2
-rw-r--r--keduca/keducabuilder/ktagcombobox.cpp4
-rw-r--r--keduca/keducabuilder/ktagcombobox.h2
12 files changed, 17 insertions, 17 deletions
diff --git a/keduca/keducabuilder/kcontroladdedit.cpp b/keduca/keducabuilder/kcontroladdedit.cpp
index c6182e8d..eb023a79 100644
--- a/keduca/keducabuilder/kcontroladdedit.cpp
+++ b/keduca/keducabuilder/kcontroladdedit.cpp
@@ -31,8 +31,8 @@
#include <tqlabel.h>
#include <tqtextedit.h>
-KControlAddEdit::KControlAddEdit(TQWidget *tqparent, const char *name, bool modal, WFlags f)
- : KControlAddEditBase(tqparent, name, modal, f),
+KControlAddEdit::KControlAddEdit(TQWidget *parent, const char *name, bool modal, WFlags f)
+ : KControlAddEditBase(parent, name, modal, f),
_currentAnswerItem(0)
{
configRead();
diff --git a/keduca/keducabuilder/kcontroladdedit.h b/keduca/keducabuilder/kcontroladdedit.h
index fb867c23..74588f19 100644
--- a/keduca/keducabuilder/kcontroladdedit.h
+++ b/keduca/keducabuilder/kcontroladdedit.h
@@ -38,7 +38,7 @@ class KControlAddEdit : public KControlAddEditBase {
TQ_OBJECT
public:
- KControlAddEdit(TQWidget *tqparent = 0, const char *name = 0, bool modal = true, WFlags f = 0);
+ KControlAddEdit(TQWidget *parent = 0, const char *name = 0, bool modal = true, WFlags f = 0);
~KControlAddEdit();
/** Init keducaFile pointer and EditMode */
void init(FileRead *keducaFile, bool editMode);
diff --git a/keduca/keducabuilder/kcontrolheader.cpp b/keduca/keducabuilder/kcontrolheader.cpp
index 7f20e321..49075f59 100644
--- a/keduca/keducabuilder/kcontrolheader.cpp
+++ b/keduca/keducabuilder/kcontrolheader.cpp
@@ -27,7 +27,7 @@
#include <tqlayout.h>
#include <tqlabel.h>
-KControlHeader::KControlHeader(FileRead *keducaFile, TQWidget *tqparent, const char *name ) : KDialogBase(Swallow, i18n("Document Information"), Ok|Cancel, Ok, tqparent, name, true, true)
+KControlHeader::KControlHeader(FileRead *keducaFile, TQWidget *parent, const char *name ) : KDialogBase(Swallow, i18n("Document Information"), Ok|Cancel, Ok, parent, name, true, true)
{
_keducaFile = keducaFile;
init();
diff --git a/keduca/keducabuilder/kcontrolheader.h b/keduca/keducabuilder/kcontrolheader.h
index 8370758d..5a30fef3 100644
--- a/keduca/keducabuilder/kcontrolheader.h
+++ b/keduca/keducabuilder/kcontrolheader.h
@@ -36,7 +36,7 @@ class KControlHeader : public KDialogBase {
TQ_OBJECT
public:
- KControlHeader(FileRead *keducaFile, TQWidget *tqparent=0, const char *name=0);
+ KControlHeader(FileRead *keducaFile, TQWidget *parent=0, const char *name=0);
~KControlHeader();
private:
diff --git a/keduca/keducabuilder/keducabuilder.cpp b/keduca/keducabuilder/keducabuilder.cpp
index 93dbb334..6af778b8 100644
--- a/keduca/keducabuilder/keducabuilder.cpp
+++ b/keduca/keducabuilder/keducabuilder.cpp
@@ -60,8 +60,8 @@ static const char* const keducabuilder_data[] = {
".#############.",
"..............."};
-KEducaBuilder::KEducaBuilder(TQWidget* tqparent, const char *name, WFlags f )
- : KMainWindow(tqparent,name,f),
+KEducaBuilder::KEducaBuilder(TQWidget* parent, const char *name, WFlags f )
+ : KMainWindow(parent,name,f),
_nativeFormat("application/x-edu")
{
_keducaFile = new FileRead();
diff --git a/keduca/keducabuilder/keducabuilder.h b/keduca/keducabuilder/keducabuilder.h
index 93d9cce1..feb9ec8c 100644
--- a/keduca/keducabuilder/keducabuilder.h
+++ b/keduca/keducabuilder/keducabuilder.h
@@ -39,7 +39,7 @@ class KEducaBuilder : public KMainWindow {
TQ_OBJECT
public:
- KEducaBuilder(TQWidget* tqparent=0, const char *name=0, WFlags f = WType_TopLevel | WDestructiveClose);
+ KEducaBuilder(TQWidget* parent=0, const char *name=0, WFlags f = WType_TopLevel | WDestructiveClose);
~KEducaBuilder();
/** start a dialog that asks the user what he wants to do to start*/
bool startChooser();
diff --git a/keduca/keducabuilder/keducaeditorstartdialog.cpp b/keduca/keducabuilder/keducaeditorstartdialog.cpp
index a8fd5aaa..01bbc260 100644
--- a/keduca/keducabuilder/keducaeditorstartdialog.cpp
+++ b/keduca/keducabuilder/keducaeditorstartdialog.cpp
@@ -29,8 +29,8 @@
/**
*/
-KEducaEditorStartDialog::KEducaEditorStartDialog(KEducaBuilder * tqparent, const char* name, bool modal, WFlags fl)
- :KEducaEditorStartDialogBase(tqparent, name, modal, fl),
+KEducaEditorStartDialog::KEducaEditorStartDialog(KEducaBuilder * parent, const char* name, bool modal, WFlags fl)
+ :KEducaEditorStartDialogBase(parent, name, modal, fl),
_choice(NewDoc),
_maxRecentDocumentItems(20)
{
diff --git a/keduca/keducabuilder/keducaeditorstartdialog.h b/keduca/keducabuilder/keducaeditorstartdialog.h
index 1823c3d7..cc0a659a 100644
--- a/keduca/keducabuilder/keducaeditorstartdialog.h
+++ b/keduca/keducabuilder/keducaeditorstartdialog.h
@@ -36,7 +36,7 @@ public:
enum {Rejected=0, OpenDoc=1, OpenRecentDoc=2, Gallery=3, NewDoc=4}StartChoice;
/** Constructor.
*/
- KEducaEditorStartDialog(KEducaBuilder * tqparent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ KEducaEditorStartDialog(KEducaBuilder * parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
/** Destructor.
*/
virtual ~KEducaEditorStartDialog();
diff --git a/keduca/keducabuilder/klangcombo.cpp b/keduca/keducabuilder/klangcombo.cpp
index 0371b7af..66f77e45 100644
--- a/keduca/keducabuilder/klangcombo.cpp
+++ b/keduca/keducabuilder/klangcombo.cpp
@@ -31,8 +31,8 @@ KLanguageCombo::~KLanguageCombo ()
{
}
-KLanguageCombo::KLanguageCombo (TQWidget * tqparent, const char *name)
- : KTagComboBox(tqparent, name)
+KLanguageCombo::KLanguageCombo (TQWidget * parent, const char *name)
+ : KTagComboBox(parent, name)
{
}
diff --git a/keduca/keducabuilder/klangcombo.h b/keduca/keducabuilder/klangcombo.h
index 0dc13d01..5111aaa7 100644
--- a/keduca/keducabuilder/klangcombo.h
+++ b/keduca/keducabuilder/klangcombo.h
@@ -38,7 +38,7 @@ class KLanguageCombo : public KTagComboBox
TQ_OBJECT
public:
- KLanguageCombo(TQWidget *tqparent=0, const char *name=0);
+ KLanguageCombo(TQWidget *parent=0, const char *name=0);
~KLanguageCombo();
void insertLanguage(const TQString& path, const TQString& name, const TQString& sub = TQString(), const TQString &submenu = TQString());
diff --git a/keduca/keducabuilder/ktagcombobox.cpp b/keduca/keducabuilder/ktagcombobox.cpp
index 0a801f94..e6d0e617 100644
--- a/keduca/keducabuilder/ktagcombobox.cpp
+++ b/keduca/keducabuilder/ktagcombobox.cpp
@@ -36,8 +36,8 @@ KTagComboBox::~KTagComboBox ()
delete _tags;
}
-KTagComboBox::KTagComboBox (TQWidget * tqparent, const char *name)
- : TQComboBox(tqparent, name)
+KTagComboBox::KTagComboBox (TQWidget * parent, const char *name)
+ : TQComboBox(parent, name)
{
_popup = new TQPopupMenu(this);
_tags = new TQStringList;
diff --git a/keduca/keducabuilder/ktagcombobox.h b/keduca/keducabuilder/ktagcombobox.h
index ef0042ec..6bfe636a 100644
--- a/keduca/keducabuilder/ktagcombobox.h
+++ b/keduca/keducabuilder/ktagcombobox.h
@@ -42,7 +42,7 @@ class KTagComboBox : public TQComboBox
TQ_OBJECT
public:
- KTagComboBox(TQWidget *tqparent=0, const char *name=0);
+ KTagComboBox(TQWidget *parent=0, const char *name=0);
~KTagComboBox();
void insertItem(const TQIconSet& icon, const TQString &text, const TQString &tag, const TQString &submenu = TQString(), int index=-1 );