diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
commit | 10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch) | |
tree | 4bc444c00a79e88105f2cfce5b6209994c413ca0 /kdeprint/management/kmdriverdbwidget.cpp | |
parent | 307136d8eef0ba133b78ceee8e901138d4c996a1 (diff) | |
download | tdelibs-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/management/kmdriverdbwidget.cpp')
-rw-r--r-- | kdeprint/management/kmdriverdbwidget.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kdeprint/management/kmdriverdbwidget.cpp b/kdeprint/management/kmdriverdbwidget.cpp index 45b305087..fdd3d263c 100644 --- a/kdeprint/management/kmdriverdbwidget.cpp +++ b/kdeprint/management/kmdriverdbwidget.cpp @@ -58,7 +58,7 @@ KMDriverDbWidget::KMDriverDbWidget(TQWidget *parent, const char *name) l1->setBuddy(m_manu); l2->setBuddy(m_model); - // build tqlayout + // build layout QVBoxLayout *main_ = new TQVBoxLayout(this, 0, 10); QGridLayout *sub1_ = new TQGridLayout(0, 2, 3, 0, 0); QHBoxLayout *sub2_ = new TQHBoxLayout(0, 0, 10); @@ -95,17 +95,17 @@ KMDriverDbWidget::~KMDriverDbWidget() void KMDriverDbWidget::setDriver(const TQString& manu, const TQString& model) { - QListBoxItem *item = m_manu->tqfindItem(manu); + QListBoxItem *item = m_manu->findItem(manu); QString model_(model); if (item) { m_manu->setCurrentItem(item); - item = m_model->tqfindItem(model_); + item = m_model->findItem(model_); if (!item) // try by stripping the manufacturer name from // the beginning of the model string. This is // often the case with PPD files - item = m_model->tqfindItem(model_.tqreplace(0,manu.length()+1,TQString::tqfromLatin1(""))); + item = m_model->findItem(model_.replace(0,manu.length()+1,TQString::fromLatin1(""))); if (item) m_model->setCurrentItem(item); } @@ -186,7 +186,7 @@ void KMDriverDbWidget::slotError(const TQString& msg) void KMDriverDbWidget::slotManufacturerSelected(const TQString& name) { m_model->clear(); - TQDict<KMDBEntryList> *models = KMDriverDB::self()->tqfindModels(name); + TQDict<KMDBEntryList> *models = KMDriverDB::self()->findModels(name); if (models) { QStrIList ilist(true); @@ -203,18 +203,18 @@ void KMDriverDbWidget::slotPostscriptToggled(bool on) { if (on) { - QListBoxItem *item = m_manu->tqfindItem("GENERIC"); + QListBoxItem *item = m_manu->findItem("GENERIC"); if (item) { m_manu->setCurrentItem(item); - item = m_model->tqfindItem( "POSTSCRIPT PRINTER" ); + item = m_model->findItem( "POSTSCRIPT PRINTER" ); if ( item ) { m_model->setCurrentItem( item ); return; } } - KMessageBox::error(this,i18n("Unable to tqfind the PostScript driver.")); + KMessageBox::error(this,i18n("Unable to find the PostScript driver.")); m_postscript->setChecked(false); } } |