summaryrefslogtreecommitdiffstats
path: root/tdeprint/management/kmwdriverselect.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-19 11:57:02 -0600
committerTimothy Pearson <[email protected]>2011-12-19 11:57:02 -0600
commita51cd9949c4e6c726a84a61de3cfadd30cefb5c7 (patch)
treea65321bcfdb90583bcc7ef3a90fa357f6632e54c /tdeprint/management/kmwdriverselect.cpp
parent984c25aa6969e55896e9a13c8e7f7b8a58991a4e (diff)
downloadtdelibs-a51cd9949c4e6c726a84a61de3cfadd30cefb5c7.tar.gz
tdelibs-a51cd9949c4e6c726a84a61de3cfadd30cefb5c7.zip
Remove additional unneeded tq method conversions
Diffstat (limited to 'tdeprint/management/kmwdriverselect.cpp')
-rw-r--r--tdeprint/management/kmwdriverselect.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeprint/management/kmwdriverselect.cpp b/tdeprint/management/kmwdriverselect.cpp
index e3d253660..88b9410d5 100644
--- a/tdeprint/management/kmwdriverselect.cpp
+++ b/tdeprint/management/kmwdriverselect.cpp
@@ -93,7 +93,7 @@ void KMWDriverSelect::updatePrinter(KMPrinter *p)
int index = m_list->currentItem();
if (m_entries && index >= 0 && index < (int)(m_entries->count()))
{
- KMDBEntry *entry = m_entries->tqat(index);
+ KMDBEntry *entry = m_entries->at(index);
p->setDbEntry(entry);
p->setDriverInfo(entry->description);
}
@@ -107,8 +107,8 @@ void KMWDriverSelect::updatePrinter(KMPrinter *p)
void KMWDriverSelect::slotDriverComment()
{
int index = m_list->currentItem();
- if (m_entries && index >=0 && index < (int)(m_entries->count()) && !m_entries->tqat(index)->drivercomment.isEmpty())
- KMessageBox::information(this, m_entries->tqat(index)->drivercomment, TQString::null, TQString::null, KMessageBox::AllowLink);
+ if (m_entries && index >=0 && index < (int)(m_entries->count()) && !m_entries->at(index)->drivercomment.isEmpty())
+ KMessageBox::information(this, m_entries->at(index)->drivercomment, TQString::null, TQString::null, KMessageBox::AllowLink);
else
KMessageBox::error(this, i18n("No information about the selected driver."));
}