summaryrefslogtreecommitdiffstats
path: root/kdeprint/management/kmdriverdbwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeprint/management/kmdriverdbwidget.cpp')
-rw-r--r--kdeprint/management/kmdriverdbwidget.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdeprint/management/kmdriverdbwidget.cpp b/kdeprint/management/kmdriverdbwidget.cpp
index d67377485..e8a00c44d 100644
--- a/kdeprint/management/kmdriverdbwidget.cpp
+++ b/kdeprint/management/kmdriverdbwidget.cpp
@@ -95,17 +95,17 @@ KMDriverDbWidget::~KMDriverDbWidget()
void KMDriverDbWidget::setDriver(const TQString& manu, const TQString& model)
{
- TQListBoxItem *item = m_manu->tqfindItem(manu);
+ TQListBoxItem *item = m_manu->findItem(manu);
TQString 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_.replace(0,manu.length()+1,TQString::tqfromLatin1("")));
+ item = m_model->findItem(model_.replace(0,manu.length()+1,TQString::tqfromLatin1("")));
if (item)
m_model->setCurrentItem(item);
}
@@ -203,11 +203,11 @@ void KMDriverDbWidget::slotPostscriptToggled(bool on)
{
if (on)
{
- TQListBoxItem *item = m_manu->tqfindItem("GENERIC");
+ TQListBoxItem *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 );