summaryrefslogtreecommitdiffstats
path: root/kdeprint/droptionview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
commit10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch)
tree4bc444c00a79e88105f2cfce5b6209994c413ca0 /kdeprint/droptionview.cpp
parent307136d8eef0ba133b78ceee8e901138d4c996a1 (diff)
downloadtdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz
tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip
Revert automated changes
Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/droptionview.cpp')
-rw-r--r--kdeprint/droptionview.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kdeprint/droptionview.cpp b/kdeprint/droptionview.cpp
index 468ee11c8..f4ccedca4 100644
--- a/kdeprint/droptionview.cpp
+++ b/kdeprint/droptionview.cpp
@@ -219,7 +219,7 @@ void OptionListView::setOption(DrBase *opt)
void OptionListView::setValue(const TQString& val)
{
- m_list->setCurrentItem(m_choices.tqfindIndex(val));
+ m_list->setCurrentItem(m_choices.findIndex(val));
}
void OptionListView::slotSelectionChanged()
@@ -255,9 +255,9 @@ void OptionBooleanView::setOption(DrBase *opt)
{
TQPtrListIterator<DrBase> it(*(((DrBooleanOption*)opt)->choices()));
m_choices.clear();
- m_group->tqfind(0)->setText(it.toFirst()->get("text"));
+ m_group->find(0)->setText(it.toFirst()->get("text"));
m_choices.append(it.toFirst()->name());
- m_group->tqfind(1)->setText(it.toLast()->get("text"));
+ m_group->find(1)->setText(it.toLast()->get("text"));
m_choices.append(it.toLast()->name());
setValue(opt->valueText());
}
@@ -265,7 +265,7 @@ void OptionBooleanView::setOption(DrBase *opt)
void OptionBooleanView::setValue(const TQString& val)
{
- int ID = m_choices.tqfindIndex(val);
+ int ID = m_choices.findIndex(val);
m_group->setButton(ID);
}
@@ -306,9 +306,9 @@ DrOptionView::DrOptionView(TQWidget *parent, const char *name)
setTitle(i18n("No Option Selected"));
setColumnLayout(0, Qt::Vertical );
- tqlayout()->setSpacing( KDialog::spacingHint() );
- tqlayout()->setMargin( KDialog::marginHint() );
- QVBoxLayout *main_ = new TQVBoxLayout(tqlayout(), KDialog::marginHint());
+ layout()->setSpacing( KDialog::spacingHint() );
+ layout()->setMargin( KDialog::marginHint() );
+ QVBoxLayout *main_ = new TQVBoxLayout(layout(), KDialog::marginHint());
main_->addWidget(m_stack);
m_item = 0;