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
v3.5.13-sru
tpearson 13 years ago
parent 551fb6d0d8
commit 01ece12e85

@ -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);
}

@ -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;

@ -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;

@ -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;

@ -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);
}

@ -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;

@ -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)));

@ -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);

@ -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);

@ -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;

Loading…
Cancel
Save