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/Kolinestyleaction.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/Kolinestyleaction.cpp')
-rw-r--r-- | lib/kofficeui/Kolinestyleaction.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kofficeui/Kolinestyleaction.cpp b/lib/kofficeui/Kolinestyleaction.cpp index 0ef47518..5fa296f0 100644 --- a/lib/kofficeui/Kolinestyleaction.cpp +++ b/lib/kofficeui/Kolinestyleaction.cpp @@ -43,7 +43,7 @@ class KoLineStyleAction::KoLineStyleActionPrivate }; KoLineStyleAction::KoLineStyleAction(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 KoLineStyleActionPrivate; @@ -51,7 +51,7 @@ KoLineStyleAction::KoLineStyleAction(const TQString &text, const TQString& icon, } KoLineStyleAction::KoLineStyleAction(const TQString &text, const TQString& icon, const TQObject* receiver, - const char* slot, TQObject* tqparent, const char* name) : KoSelectAction(text, icon, receiver, slot, tqparent, name) + const char* slot, TQObject* parent, const char* name) : KoSelectAction(text, icon, receiver, slot, parent, name) { d = new KoLineStyleActionPrivate; @@ -66,7 +66,7 @@ KoLineStyleAction::~KoLineStyleAction() void KoLineStyleAction::createMenu() { KPopupMenu* popup = popupMenu(); - TQBitmap tqmask; + TQBitmap mask; TQPixmap pix(70, 21); TQPainter p(&pix, popup); int cindex = 0; @@ -79,8 +79,8 @@ void KoLineStyleAction::createMenu() pen.setStyle(static_cast<Qt::PenStyle>(i)); p.setPen(pen); p.drawLine(0, 10, pix.width(), 10); - tqmask = pix; - pix.setMask(tqmask); + mask = pix; + pix.setMask(mask); popup->insertItem(pix,cindex++); } } |