summaryrefslogtreecommitdiffstats
path: root/src/gui/fieldwidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commitfeaf6d62da1685a34fbc8c201f31da681f04e2a7 (patch)
treede2bad7247bd5f95ab845f8650a942a45248d30a /src/gui/fieldwidget.cpp
parent2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 (diff)
downloadtellico-feaf6d62da1685a34fbc8c201f31da681f04e2a7.tar.gz
tellico-feaf6d62da1685a34fbc8c201f31da681f04e2a7.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/fieldwidget.cpp')
-rw-r--r--src/gui/fieldwidget.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/gui/fieldwidget.cpp b/src/gui/fieldwidget.cpp
index 0983217..dac9da8 100644
--- a/src/gui/fieldwidget.cpp
+++ b/src/gui/fieldwidget.cpp
@@ -45,38 +45,38 @@ using Tellico::GUI::FieldWidget;
const TQRegExp FieldWidget::s_semiColon = TQRegExp(TQString::tqfromLatin1("\\s*;\\s*"));
-FieldWidget* FieldWidget::create(Data::FieldPtr field_, TQWidget* tqparent_, const char* name_) {
+FieldWidget* FieldWidget::create(Data::FieldPtr field_, TQWidget* parent_, const char* name_) {
switch (field_->type()) {
case Data::Field::Line:
- return new GUI::LineFieldWidget(field_, tqparent_, name_);
+ return new GUI::LineFieldWidget(field_, parent_, name_);
case Data::Field::Para:
- return new GUI::ParaFieldWidget(field_, tqparent_, name_);
+ return new GUI::ParaFieldWidget(field_, parent_, name_);
case Data::Field::Bool:
- return new GUI::BoolFieldWidget(field_, tqparent_, name_);
+ return new GUI::BoolFieldWidget(field_, parent_, name_);
case Data::Field::Number:
- return new GUI::NumberFieldWidget(field_, tqparent_, name_);
+ return new GUI::NumberFieldWidget(field_, parent_, name_);
case Data::Field::Choice:
- return new GUI::ChoiceFieldWidget(field_, tqparent_, name_);
+ return new GUI::ChoiceFieldWidget(field_, parent_, name_);
case Data::Field::Table:
case Data::Field::Table2:
- return new GUI::TableFieldWidget(field_, tqparent_, name_);
+ return new GUI::TableFieldWidget(field_, parent_, name_);
case Data::Field::Date:
- return new GUI::DateFieldWidget(field_, tqparent_, name_);
+ return new GUI::DateFieldWidget(field_, parent_, name_);
case Data::Field::URL:
- return new GUI::URLFieldWidget(field_, tqparent_, name_);
+ return new GUI::URLFieldWidget(field_, parent_, name_);
case Data::Field::Image:
- return new GUI::ImageFieldWidget(field_, tqparent_, name_);
+ return new GUI::ImageFieldWidget(field_, parent_, name_);
case Data::Field::Rating:
- return new GUI::RatingFieldWidget(field_, tqparent_, name_);
+ return new GUI::RatingFieldWidget(field_, parent_, name_);
case Data::Field::ReadOnly:
case Data::Field::Dependent:
@@ -89,8 +89,8 @@ FieldWidget* FieldWidget::create(Data::FieldPtr field_, TQWidget* tqparent_, con
}
}
-FieldWidget::FieldWidget(Data::FieldPtr field_, TQWidget* tqparent_, const char* name_/*=0*/)
- : TQWidget(tqparent_, name_), m_field(field_) {
+FieldWidget::FieldWidget(Data::FieldPtr field_, TQWidget* parent_, const char* name_/*=0*/)
+ : TQWidget(parent_, name_), m_field(field_) {
TQHBoxLayout* l = new TQHBoxLayout(this, 2, 2); // tqparent, margin, spacing
l->addSpacing(4); // add some more space in the columns between widgets
if(TQCString(tqstyle().name()).lower().tqfind("keramik", 0, false) > -1) {