summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/Kolinewidthaction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficeui/Kolinewidthaction.cpp')
-rw-r--r--lib/kofficeui/Kolinewidthaction.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/kofficeui/Kolinewidthaction.cpp b/lib/kofficeui/Kolinewidthaction.cpp
index 6b693d3c..c812c1c6 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;