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 | 04766b207afba7961d4d802313e426f5a2fbef63 (patch) | |
| tree | c888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /lib/kofficeui/Kolinewidthaction.cpp | |
| parent | b6edfe41c9395f2e20784cbf0e630af6426950a3 (diff) | |
| download | koffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip | |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/kofficeui/Kolinewidthaction.cpp')
| -rw-r--r-- | lib/kofficeui/Kolinewidthaction.cpp | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/lib/kofficeui/Kolinewidthaction.cpp b/lib/kofficeui/Kolinewidthaction.cpp index 6b693d3c8..c812c1c6b 100644 --- a/lib/kofficeui/Kolinewidthaction.cpp +++ b/lib/kofficeui/Kolinewidthaction.cpp @@ -56,7 +56,7 @@ class KoLineWidthAction::KoLineWidthActionPrivate  };  KoLineWidthAction::KoLineWidthAction(const TQString &text, const TQString& icon, -  TQObject* tqparent, const char* name) : KoSelectAction(text, icon, tqparent, name) +  TQObject* parent, const char* name) : KoSelectAction(text, icon, parent, name)  {    d = new KoLineWidthActionPrivate; @@ -64,7 +64,7 @@ KoLineWidthAction::KoLineWidthAction(const TQString &text, const TQString& icon,  }  KoLineWidthAction::KoLineWidthAction(const TQString &text, const TQString& icon, const TQObject* receiver, -  const char* slot, TQObject* tqparent, const char* name) : KoSelectAction(text, icon, tqparent, name) +  const char* slot, TQObject* parent, const char* name) : KoSelectAction(text, icon, parent, name)  {    d = new KoLineWidthActionPrivate; @@ -81,7 +81,7 @@ KoLineWidthAction::~KoLineWidthAction()  void KoLineWidthAction::createMenu()  {    KPopupMenu* popup = popupMenu(); -  TQBitmap tqmask; +  TQBitmap mask;    TQPixmap pix(70, 21);    TQPainter p(&pix, popup);    int cindex = 0; @@ -92,8 +92,8 @@ void KoLineWidthAction::createMenu()      pen.setWidth(tqRound(i * POINT_TO_INCH(static_cast<double>(KoGlobal::dpiY()))));      p.setPen(pen);      p.drawLine(0, 10, pix.width(), 10); -    tqmask = pix; -    pix.setMask(tqmask); +    mask = pix; +    pix.setMask(mask);      popup->insertItem(pix,cindex++);    } @@ -162,8 +162,8 @@ class KoLineWidthChooser::KoLineWidthChooserPrivate      KoUnitDoubleSpinBox* m_lineWidthUSBox;  }; -KoLineWidthChooser::KoLineWidthChooser(TQWidget* tqparent, const char* name) - : KDialogBase(tqparent, name, true, i18n("Custom Line Width"), Ok|Cancel, Ok) +KoLineWidthChooser::KoLineWidthChooser(TQWidget* parent, const char* name) + : KDialogBase(parent, name, true, i18n("Custom Line Width"), Ok|Cancel, Ok)  {    d = new KoLineWidthChooserPrivate; | 
