summaryrefslogtreecommitdiffstats
path: root/src
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
commit01ece12e85eb75768b751d86a61de685aea92a6a (patch)
tree05bd0e1744150cb262a06bb319006b10db9e9bfe /src
parent551fb6d0d8c5d2ed90363a1017816d252b03d9bd (diff)
downloadabakus-01ece12e85eb75768b751d86a61de685aea92a6a.tar.gz
abakus-01ece12e85eb75768b751d86a61de685aea92a6a.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/abakus@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src')
-rw-r--r--src/abakuslistview.cpp12
-rw-r--r--src/abakuslistview.h6
-rw-r--r--src/editor.cpp8
-rw-r--r--src/editor.h2
-rw-r--r--src/function.cpp4
-rw-r--r--src/function.h2
-rw-r--r--src/resultlistview.cpp4
-rw-r--r--src/resultlistview.h2
-rw-r--r--src/valuemanager.cpp4
-rw-r--r--src/valuemanager.h2
10 files changed, 23 insertions, 23 deletions
diff --git a/src/abakuslistview.cpp b/src/abakuslistview.cpp
index 43fce29..b6b933e 100644
--- a/src/abakuslistview.cpp
+++ b/src/abakuslistview.cpp
@@ -29,8 +29,8 @@
#include "valuemanager.h"
#include "function.h"
-ListView::ListView(TQWidget *tqparent, const char *name) :
- KListView(tqparent, name), m_menu(0), m_usePopup(false), m_removeSingleId(0),
+ListView::ListView(TQWidget *parent, const char *name) :
+ KListView(parent, name), m_menu(0), m_usePopup(false), m_removeSingleId(0),
m_removeAllId(0)
{
setResizeMode(LastColumn);
@@ -147,8 +147,8 @@ Abakus::number_t ValueListViewItem::itemValue() const
return m_value;
}
-VariableListView::VariableListView(TQWidget *tqparent, const char *name) :
- ListView(tqparent, name)
+VariableListView::VariableListView(TQWidget *parent, const char *name) :
+ ListView(parent, name)
{
enablePopupHandler(true);
}
@@ -189,8 +189,8 @@ void VariableListView::removeAllItems()
ValueManager::instance()->slotRemoveUserVariables();
}
-FunctionListView::FunctionListView(TQWidget *tqparent, const char *name) :
- ListView(tqparent, name)
+FunctionListView::FunctionListView(TQWidget *parent, const char *name) :
+ ListView(parent, name)
{
enablePopupHandler(true);
}
diff --git a/src/abakuslistview.h b/src/abakuslistview.h
index 190c198..f631e51 100644
--- a/src/abakuslistview.h
+++ b/src/abakuslistview.h
@@ -31,7 +31,7 @@ class ListView : public KListView
TQ_OBJECT
public:
- ListView(TQWidget *tqparent, const char *name = 0);
+ ListView(TQWidget *parent, const char *name = 0);
protected:
virtual TQDragObject *dragObject();
@@ -114,7 +114,7 @@ class VariableListView : public ListView
TQ_OBJECT
public:
- VariableListView(TQWidget *tqparent, const char *name = 0);
+ VariableListView(TQWidget *parent, const char *name = 0);
protected:
virtual TQString removeItemString() const;
@@ -135,7 +135,7 @@ class FunctionListView : public ListView
TQ_OBJECT
public:
- FunctionListView(TQWidget *tqparent, const char *name = 0);
+ FunctionListView(TQWidget *parent, const char *name = 0);
protected:
virtual TQString removeItemString() const;
diff --git a/src/editor.cpp b/src/editor.cpp
index caadb5e..f4a4276 100644
--- a/src/editor.cpp
+++ b/src/editor.cpp
@@ -53,8 +53,8 @@ using std::binary_search;
class CalcResultLabel : public TQLabel
{
public:
- CalcResultLabel(TQWidget *tqparent, const char *name, int WFlags) :
- TQLabel(tqparent, name, WFlags)
+ CalcResultLabel(TQWidget *parent, const char *name, int WFlags) :
+ TQLabel(parent, name, WFlags)
{
}
@@ -204,8 +204,8 @@ int EditorHighlighter::highlightParagraph ( const TQString & text, int )
-Editor::Editor( TQWidget* tqparent, const char* name ):
- TQTextEdit( tqparent, name )
+Editor::Editor( TQWidget* parent, const char* name ):
+ TQTextEdit( parent, name )
{
d = new Private;
d->eval = 0;
diff --git a/src/editor.h b/src/editor.h
index 30fd43e..3f7035a 100644
--- a/src/editor.h
+++ b/src/editor.h
@@ -46,7 +46,7 @@ class Editor : public TQTextEdit
Number, FunctionName, Variable, MatchedPar
} ColorType;
- Editor( TQWidget* tqparent = 0, const char* name = 0 );
+ Editor( TQWidget* parent = 0, const char* name = 0 );
~Editor();
TQSize tqsizeHint() const;
diff --git a/src/function.cpp b/src/function.cpp
index 9cab08a..2de6c3e 100644
--- a/src/function.cpp
+++ b/src/function.cpp
@@ -70,8 +70,8 @@ FunctionManager *FunctionManager::instance()
return m_manager;
}
-FunctionManager::FunctionManager(TQObject *tqparent, const char *name) :
- TQObject(tqparent, name)
+FunctionManager::FunctionManager(TQObject *parent, const char *name) :
+ TQObject(parent, name)
{
m_dict.setAutoDelete(true);
}
diff --git a/src/function.h b/src/function.h
index 2bf7b2d..3210432 100644
--- a/src/function.h
+++ b/src/function.h
@@ -88,7 +88,7 @@ class FunctionManager : public TQObject
void signalFunctionRemoved(const TQString &name);
private:
- FunctionManager(TQObject *tqparent = 0, const char *name = "function manager");
+ FunctionManager(TQObject *parent = 0, const char *name = "function manager");
static FunctionManager *m_manager;
functionDict m_dict;
diff --git a/src/resultlistview.cpp b/src/resultlistview.cpp
index 031f61c..7ad48c7 100644
--- a/src/resultlistview.cpp
+++ b/src/resultlistview.cpp
@@ -34,8 +34,8 @@
using DragSupport::makePixmap;
using namespace ResultList;
-ResultListView::ResultListView(TQWidget *tqparent, const char *name) :
- KListView(tqparent, name), m_itemRightClicked(0)
+ResultListView::ResultListView(TQWidget *parent, const char *name) :
+ KListView(parent, name), m_itemRightClicked(0)
{
connect(this, TQT_SIGNAL(doubleClicked(TQListViewItem *, const TQPoint &, int)),
TQT_SLOT(slotDoubleClicked(TQListViewItem *, const TQPoint &, int)));
diff --git a/src/resultlistview.h b/src/resultlistview.h
index 3657b8b..9d26d77 100644
--- a/src/resultlistview.h
+++ b/src/resultlistview.h
@@ -37,7 +37,7 @@ class ResultListView : public KListView
TQ_OBJECT
public:
- ResultListView(TQWidget *tqparent = 0, const char *name = "result list view");
+ ResultListView(TQWidget *parent = 0, const char *name = "result list view");
bool getStackValue(unsigned stackPosition, Abakus::number_t &result);
diff --git a/src/valuemanager.cpp b/src/valuemanager.cpp
index 8dcae90..57b7cd9 100644
--- a/src/valuemanager.cpp
+++ b/src/valuemanager.cpp
@@ -34,8 +34,8 @@ ValueManager *ValueManager::instance()
return m_manager;
}
-ValueManager::ValueManager(TQObject *tqparent, const char *name) :
- TQObject(tqparent, name)
+ValueManager::ValueManager(TQObject *parent, const char *name) :
+ TQObject(parent, name)
{
m_values.insert("pi", Abakus::number_t::PI);
m_values.insert("e", Abakus::number_t::E);
diff --git a/src/valuemanager.h b/src/valuemanager.h
index 8233dc5..a61394a 100644
--- a/src/valuemanager.h
+++ b/src/valuemanager.h
@@ -59,7 +59,7 @@ class ValueManager : public TQObject
void slotRemoveUserVariables();
private:
- ValueManager(TQObject *tqparent = 0, const char *name = "value manager");
+ ValueManager(TQObject *parent = 0, const char *name = "value manager");
static ValueManager *m_manager;
valueMap m_values;