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 "valuemanager.h"
#include "function.h" #include "function.h"
ListView::ListView(TQWidget *tqparent, const char *name) : ListView::ListView(TQWidget *parent, const char *name) :
KListView(tqparent, name), m_menu(0), m_usePopup(false), m_removeSingleId(0), KListView(parent, name), m_menu(0), m_usePopup(false), m_removeSingleId(0),
m_removeAllId(0) m_removeAllId(0)
{ {
setResizeMode(LastColumn); setResizeMode(LastColumn);
@ -147,8 +147,8 @@ Abakus::number_t ValueListViewItem::itemValue() const
return m_value; return m_value;
} }
VariableListView::VariableListView(TQWidget *tqparent, const char *name) : VariableListView::VariableListView(TQWidget *parent, const char *name) :
ListView(tqparent, name) ListView(parent, name)
{ {
enablePopupHandler(true); enablePopupHandler(true);
} }
@ -189,8 +189,8 @@ void VariableListView::removeAllItems()
ValueManager::instance()->slotRemoveUserVariables(); ValueManager::instance()->slotRemoveUserVariables();
} }
FunctionListView::FunctionListView(TQWidget *tqparent, const char *name) : FunctionListView::FunctionListView(TQWidget *parent, const char *name) :
ListView(tqparent, name) ListView(parent, name)
{ {
enablePopupHandler(true); enablePopupHandler(true);
} }

@ -31,7 +31,7 @@ class ListView : public KListView
TQ_OBJECT TQ_OBJECT
public: public:
ListView(TQWidget *tqparent, const char *name = 0); ListView(TQWidget *parent, const char *name = 0);
protected: protected:
virtual TQDragObject *dragObject(); virtual TQDragObject *dragObject();
@ -114,7 +114,7 @@ class VariableListView : public ListView
TQ_OBJECT TQ_OBJECT
public: public:
VariableListView(TQWidget *tqparent, const char *name = 0); VariableListView(TQWidget *parent, const char *name = 0);
protected: protected:
virtual TQString removeItemString() const; virtual TQString removeItemString() const;
@ -135,7 +135,7 @@ class FunctionListView : public ListView
TQ_OBJECT TQ_OBJECT
public: public:
FunctionListView(TQWidget *tqparent, const char *name = 0); FunctionListView(TQWidget *parent, const char *name = 0);
protected: protected:
virtual TQString removeItemString() const; virtual TQString removeItemString() const;

@ -53,8 +53,8 @@ using std::binary_search;
class CalcResultLabel : public TQLabel class CalcResultLabel : public TQLabel
{ {
public: public:
CalcResultLabel(TQWidget *tqparent, const char *name, int WFlags) : CalcResultLabel(TQWidget *parent, const char *name, int WFlags) :
TQLabel(tqparent, name, WFlags) TQLabel(parent, name, WFlags)
{ {
} }
@ -204,8 +204,8 @@ int EditorHighlighter::highlightParagraph ( const TQString & text, int )
Editor::Editor( TQWidget* tqparent, const char* name ): Editor::Editor( TQWidget* parent, const char* name ):
TQTextEdit( tqparent, name ) TQTextEdit( parent, name )
{ {
d = new Private; d = new Private;
d->eval = 0; d->eval = 0;

@ -46,7 +46,7 @@ class Editor : public TQTextEdit
Number, FunctionName, Variable, MatchedPar Number, FunctionName, Variable, MatchedPar
} ColorType; } ColorType;
Editor( TQWidget* tqparent = 0, const char* name = 0 ); Editor( TQWidget* parent = 0, const char* name = 0 );
~Editor(); ~Editor();
TQSize tqsizeHint() const; TQSize tqsizeHint() const;

@ -70,8 +70,8 @@ FunctionManager *FunctionManager::instance()
return m_manager; return m_manager;
} }
FunctionManager::FunctionManager(TQObject *tqparent, const char *name) : FunctionManager::FunctionManager(TQObject *parent, const char *name) :
TQObject(tqparent, name) TQObject(parent, name)
{ {
m_dict.setAutoDelete(true); m_dict.setAutoDelete(true);
} }

@ -88,7 +88,7 @@ class FunctionManager : public TQObject
void signalFunctionRemoved(const TQString &name); void signalFunctionRemoved(const TQString &name);
private: private:
FunctionManager(TQObject *tqparent = 0, const char *name = "function manager"); FunctionManager(TQObject *parent = 0, const char *name = "function manager");
static FunctionManager *m_manager; static FunctionManager *m_manager;
functionDict m_dict; functionDict m_dict;

@ -34,8 +34,8 @@
using DragSupport::makePixmap; using DragSupport::makePixmap;
using namespace ResultList; using namespace ResultList;
ResultListView::ResultListView(TQWidget *tqparent, const char *name) : ResultListView::ResultListView(TQWidget *parent, const char *name) :
KListView(tqparent, name), m_itemRightClicked(0) KListView(parent, name), m_itemRightClicked(0)
{ {
connect(this, TQT_SIGNAL(doubleClicked(TQListViewItem *, const TQPoint &, int)), connect(this, TQT_SIGNAL(doubleClicked(TQListViewItem *, const TQPoint &, int)),
TQT_SLOT(slotDoubleClicked(TQListViewItem *, const TQPoint &, int))); TQT_SLOT(slotDoubleClicked(TQListViewItem *, const TQPoint &, int)));

@ -37,7 +37,7 @@ class ResultListView : public KListView
TQ_OBJECT TQ_OBJECT
public: 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); bool getStackValue(unsigned stackPosition, Abakus::number_t &result);

@ -34,8 +34,8 @@ ValueManager *ValueManager::instance()
return m_manager; return m_manager;
} }
ValueManager::ValueManager(TQObject *tqparent, const char *name) : ValueManager::ValueManager(TQObject *parent, const char *name) :
TQObject(tqparent, name) TQObject(parent, name)
{ {
m_values.insert("pi", Abakus::number_t::PI); m_values.insert("pi", Abakus::number_t::PI);
m_values.insert("e", Abakus::number_t::E); m_values.insert("e", Abakus::number_t::E);

@ -59,7 +59,7 @@ class ValueManager : public TQObject
void slotRemoveUserVariables(); void slotRemoveUserVariables();
private: private:
ValueManager(TQObject *tqparent = 0, const char *name = "value manager"); ValueManager(TQObject *parent = 0, const char *name = "value manager");
static ValueManager *m_manager; static ValueManager *m_manager;
valueMap m_values; valueMap m_values;

Loading…
Cancel
Save