diff options
author | Michele Calgaro <[email protected]> | 2023-12-21 11:50:23 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-21 12:48:57 +0900 |
commit | d5688771d8a6837975be512ee37f61bad7dbd345 (patch) | |
tree | b8ef261c559484b01e3a035333561e5226042b4e /tdeprint/kprintdialog.cpp | |
parent | 44e712a770ad0ab59d33790a80b5f6235cff6921 (diff) | |
download | tdelibs-d5688771d8a6837975be512ee37f61bad7dbd345.tar.gz tdelibs-d5688771d8a6837975be512ee37f61bad7dbd345.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeprint/kprintdialog.cpp')
-rw-r--r-- | tdeprint/kprintdialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeprint/kprintdialog.cpp b/tdeprint/kprintdialog.cpp index 849bd9f75..d6cf3a03b 100644 --- a/tdeprint/kprintdialog.cpp +++ b/tdeprint/kprintdialog.cpp @@ -489,7 +489,7 @@ void KPrintDialog::setDialogPages(TQPtrList<KPrintDialogPage> *pages) else { // more than one page. - TQTabWidget *tabs = static_cast<TQTabWidget*>(TQT_TQWIDGET(d->m_dummy->child("TabWidget", "TQTabWidget"))); + TQTabWidget *tabs = static_cast<TQTabWidget*>(d->m_dummy->child("TabWidget", "TQTabWidget")); if (!tabs) { // TQTabWidget doesn't exist. Create it and reparent all @@ -822,7 +822,7 @@ void KPrintDialog::slotWizard() void KPrintDialog::reload() { // remove printer dependent pages (usually from plugin) - TQTabWidget *tabs = static_cast<TQTabWidget*>(TQT_TQWIDGET(d->m_dummy->child("TabWidget", "TQTabWidget"))); + TQTabWidget *tabs = static_cast<TQTabWidget*>(d->m_dummy->child("TabWidget", "TQTabWidget")); for (uint i=0; i<d->m_pages.count(); i++) if (d->m_pages.at(i)->onlyRealPrinters()) { @@ -951,7 +951,7 @@ void KPrintDialog::enableDialogPage( int index, bool flag ) if ( d->m_pages.count() > 1 ) { - TQTabWidget *tabs = static_cast<TQTabWidget*>(TQT_TQWIDGET(d->m_dummy->child("TabWidget", "TQTabWidget"))); + TQTabWidget *tabs = static_cast<TQTabWidget*>(d->m_dummy->child("TabWidget", "TQTabWidget")); tabs->setTabEnabled( d->m_pages.at( index ), flag ); } else |