diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 1b93777b6479886165554b763531d7bea5fe6c1f (patch) | |
tree | b23eded921677315389331ca8f877c98e5be6272 /kmag/kmagselrect.cpp | |
parent | a53c68f02a359d234dee62dfa3bdd12bb17b13b5 (diff) | |
download | tdeaccessibility-1b93777b6479886165554b763531d7bea5fe6c1f.tar.gz tdeaccessibility-1b93777b6479886165554b763531d7bea5fe6c1f.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmag/kmagselrect.cpp')
-rw-r--r-- | kmag/kmagselrect.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kmag/kmagselrect.cpp b/kmag/kmagselrect.cpp index 7a749cb..236bddf 100644 --- a/kmag/kmagselrect.cpp +++ b/kmag/kmagselrect.cpp @@ -87,42 +87,42 @@ int getTitleSize () // Construction //-------------------------------------------------------------------------- -KMagSelRect::KMagSelRect(TQWidget *tqparent) : +KMagSelRect::KMagSelRect(TQWidget *parent) : TQRect() { - init(tqparent); + init(parent); } KMagSelRect::KMagSelRect(const TQPoint &topLeft, const TQPoint &bottomRight, - TQWidget *tqparent) : + TQWidget *parent) : TQRect(topLeft, bottomRight) { - init(tqparent); + init(parent); } KMagSelRect::KMagSelRect(const TQPoint &topLeft, const TQSize &size, - TQWidget *tqparent) : + TQWidget *parent) : TQRect(topLeft, size) { - init(tqparent); + init(parent); } KMagSelRect::KMagSelRect(int left, int top, int width, int height, - TQWidget *tqparent) : + TQWidget *parent) : TQRect(left, top, width, height) { - init(tqparent); + init(parent); } -void KMagSelRect::init(TQWidget *tqparent) +void KMagSelRect::init(TQWidget *parent) { - // Make sure tqparent is the window itself, not a widget within the window - if (tqparent != 0) - while (tqparent->parentWidget (true) != 0) - tqparent=tqparent->parentWidget (true); + // Make sure parent is the window itself, not a widget within the window + if (parent != 0) + while (parent->parentWidget (true) != 0) + parent=parent->parentWidget (true); selectionwindow = 0; - selWindowParent = tqparent; + selWindowParent = parent; m_alwaysVisible = false; } @@ -215,8 +215,8 @@ void KMagSelRect::selWinResized() // KMagSelWin //-------------------------------------------------------------------------- -KMagSelWin::KMagSelWin ( TQWidget * tqparent, const char * name, WFlags ) : - TQWidget (tqparent, name, WStyle_Customize | WStyle_NoBorder | WStyle_StaysOnTop | WType_TopLevel | WX11BypassWM) +KMagSelWin::KMagSelWin ( TQWidget * parent, const char * name, WFlags ) : + TQWidget (parent, name, WStyle_Customize | WStyle_NoBorder | WStyle_StaysOnTop | WType_TopLevel | WX11BypassWM) { TQBitmap line (8, 8, line_bits, true); setPaletteBackgroundPixmap (line); @@ -356,8 +356,8 @@ void KMagSelWin::bottomRightResized ( TQPoint offset ) // KMagSelWinCorner //-------------------------------------------------------------------------- -KMagSelWinCorner::KMagSelWinCorner ( TQWidget * tqparent, const char * name, WFlags f ) : - TQLabel (tqparent, name, f) +KMagSelWinCorner::KMagSelWinCorner ( TQWidget * parent, const char * name, WFlags f ) : + TQLabel (parent, name, f) { setFrameStyle (TQFrame::WinPanel | TQFrame::Raised); setLineWidth (1); |