summaryrefslogtreecommitdiffstats
path: root/kpdf/ui/minibar.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 11:50:18 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-24 18:51:56 +0900
commit904cb397f13483aa3ed5fb45079120b0eed7b0bb (patch)
tree84217af9ba8f0a2bc735f20d6ddc95cb27e8ef34 /kpdf/ui/minibar.cpp
parentc9e40417ac00954826c50f8f6579639255c46476 (diff)
downloadtdegraphics-904cb397f13483aa3ed5fb45079120b0eed7b0bb.tar.gz
tdegraphics-904cb397f13483aa3ed5fb45079120b0eed7b0bb.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 55cef714419f6e36e66dc75afc40682ea5c73a35)
Diffstat (limited to 'kpdf/ui/minibar.cpp')
-rw-r--r--kpdf/ui/minibar.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpdf/ui/minibar.cpp b/kpdf/ui/minibar.cpp
index 73af93d7..87ebc8c4 100644
--- a/kpdf/ui/minibar.cpp
+++ b/kpdf/ui/minibar.cpp
@@ -146,7 +146,7 @@ void MiniBar::notifySetup( const TQValueVector< KPDFPage * > & pageVector, bool
if ( pages < 1 )
{
m_currentPage = -1;
- TQT_TQWIDGET( parent() )->hide();
+ static_cast<TQWidget*>( parent() )->hide();
return;
}
@@ -171,7 +171,7 @@ void MiniBar::notifySetup( const TQValueVector< KPDFPage * > & pageVector, bool
m_pagesButton->setText( TQString::number( pages ) );
m_prevButton->setEnabled( false );
m_nextButton->setEnabled( false );
- TQT_TQWIDGET( parent() )->show();
+ static_cast<TQWidget*>( parent() )->show();
}
void MiniBar::notifyViewportChanged( bool /*smoothMove*/ )
@@ -333,7 +333,7 @@ PagesEdit::PagesEdit( MiniBar * parent )
focusOutEvent( 0 );
// use an integer validator
- m_validator = new TQIntValidator( 1, 1, TQT_TQOBJECT(this) );
+ m_validator = new TQIntValidator( 1, 1, this );
setValidator( m_validator );
// customize text properties