summaryrefslogtreecommitdiffstats
path: root/kexi/formeditor/factories/stdwidgetfactory.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit04766b207afba7961d4d802313e426f5a2fbef63 (patch)
treec888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /kexi/formeditor/factories/stdwidgetfactory.cpp
parentb6edfe41c9395f2e20784cbf0e630af6426950a3 (diff)
downloadkoffice-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 'kexi/formeditor/factories/stdwidgetfactory.cpp')
-rw-r--r--kexi/formeditor/factories/stdwidgetfactory.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kexi/formeditor/factories/stdwidgetfactory.cpp b/kexi/formeditor/factories/stdwidgetfactory.cpp
index 32c557b3..bfc9db63 100644
--- a/kexi/formeditor/factories/stdwidgetfactory.cpp
+++ b/kexi/formeditor/factories/stdwidgetfactory.cpp
@@ -57,8 +57,8 @@
#include "stdwidgetfactory.h"
// Some widgets subclass to allow event filtering and some other things
-KexiPictureLabel::KexiPictureLabel(const TQPixmap &pix, TQWidget *tqparent, const char *name)
- : TQLabel(tqparent, name)
+KexiPictureLabel::KexiPictureLabel(const TQPixmap &pix, TQWidget *parent, const char *name)
+ : TQLabel(parent, name)
{
setPixmap(pix);
setScaledContents(false);
@@ -72,8 +72,8 @@ KexiPictureLabel::setProperty(const char *name, const TQVariant &value)
return TQLabel::setProperty(name, value);
}
-Line::Line(Qt::Orientation orient, TQWidget *tqparent, const char *name)
- : TQFrame(tqparent, name)
+Line::Line(Qt::Orientation orient, TQWidget *parent, const char *name)
+ : TQFrame(parent, name)
{
setFrameShadow(Sunken);
if(orient ==Qt::Horizontal)
@@ -102,8 +102,8 @@ Line::orientation() const
// The factory itself
-StdWidgetFactory::StdWidgetFactory(TQObject *tqparent, const char *, const TQStringList &)
- : KFormDesigner::WidgetFactory(tqparent, "stdwidgets")
+StdWidgetFactory::StdWidgetFactory(TQObject *parent, const char *, const TQStringList &)
+ : KFormDesigner::WidgetFactory(parent, "stdwidgets")
{
KFormDesigner::WidgetInfo *wFormWidget = new KFormDesigner::WidgetInfo(this);
wFormWidget->setPixmap("form");
@@ -798,18 +798,18 @@ StdWidgetFactory::readSpecialProperty(const TQCString &classname, TQDomElement &
}
void
-StdWidgetFactory::readListItem(TQDomElement &node, TQListViewItem *tqparent, KListView *listview)
+StdWidgetFactory::readListItem(TQDomElement &node, TQListViewItem *parent, KListView *listview)
{
TQListViewItem *item;
- if(tqparent)
- item = new KListViewItem(tqparent);
+ if(parent)
+ item = new KListViewItem(parent);
else
item = new KListViewItem(listview);
// We need to move the item at the end of the list
TQListViewItem *last;
- if(tqparent)
- last = tqparent->firstChild();
+ if(parent)
+ last = parent->firstChild();
else
last = listview->firstChild();