Ver código fonte

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
tags/v3.5.13
tpearson 8 anos atrás
pai
commit
01ece12e85
10 arquivos alterados com 23 adições e 23 exclusões
  1. +6
    -6
      src/abakuslistview.cpp
  2. +3
    -3
      src/abakuslistview.h
  3. +4
    -4
      src/editor.cpp
  4. +1
    -1
      src/editor.h
  5. +2
    -2
      src/function.cpp
  6. +1
    -1
      src/function.h
  7. +2
    -2
      src/resultlistview.cpp
  8. +1
    -1
      src/resultlistview.h
  9. +2
    -2
      src/valuemanager.cpp
  10. +1
    -1
      src/valuemanager.h

+ 6
- 6
src/abakuslistview.cpp Ver arquivo

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


+ 3
- 3
src/abakuslistview.h Ver arquivo

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


+ 4
- 4
src/editor.cpp Ver arquivo

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


+ 1
- 1
src/editor.h Ver arquivo

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


+ 2
- 2
src/function.cpp Ver arquivo

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


+ 1
- 1
src/function.h Ver arquivo

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


+ 2
- 2
src/resultlistview.cpp Ver arquivo

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


+ 1
- 1
src/resultlistview.h Ver arquivo

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



+ 2
- 2
src/valuemanager.cpp Ver arquivo

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


+ 1
- 1
src/valuemanager.h Ver arquivo

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


Carregando…
Cancelar
Salvar