diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-21 14:21:13 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-03 19:30:04 +0200 |
commit | 79e5d6be76392920c148aa615d9e3504f3388996 (patch) | |
tree | bc713fbfa18e2c962f2f1ea8adf9ec5c1ac187ee /kview/kviewviewer/kviewviewer.cpp | |
parent | 5027dfec5092217f70492dd6712059e46b21d003 (diff) | |
download | tdegraphics-79e5d6be76392920c148aa615d9e3504f3388996.tar.gz tdegraphics-79e5d6be76392920c148aa615d9e3504f3388996.zip |
Rename obsolete tq methods to standard names
(cherry picked from commit ebbee358abafa1b5166404c6fe5cc44ae2837a57)
Diffstat (limited to 'kview/kviewviewer/kviewviewer.cpp')
-rw-r--r-- | kview/kviewviewer/kviewviewer.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kview/kviewviewer/kviewviewer.cpp b/kview/kviewviewer/kviewviewer.cpp index 9971dee8..65513b12 100644 --- a/kview/kviewviewer/kviewviewer.cpp +++ b/kview/kviewviewer/kviewviewer.cpp @@ -810,14 +810,14 @@ void KViewViewer::slotFileDirty( const TQString & ) "If you don't and subsequently save the image, you will lose the\n" "changes that have already been saved." ).arg( url().fileName() ), vb ); TQWidget * hb = new TQWidget( vb ); - TQHBoxLayout * tqlayout = new TQHBoxLayout( hb ); - tqlayout->addItem( new TQSpacerItem( 0, 0, TQSizePolicy::Minimum, TQSizePolicy::Minimum ) ); + TQHBoxLayout * layout = new TQHBoxLayout( hb ); + layout->addItem( new TQSpacerItem( 0, 0, TQSizePolicy::Minimum, TQSizePolicy::Minimum ) ); KPushButton * yes = new KPushButton( i18n("Reload"), hb ); - tqlayout->addWidget( yes ); - tqlayout->addItem( new TQSpacerItem( 0, 0, TQSizePolicy::Minimum, TQSizePolicy::Minimum ) ); + layout->addWidget( yes ); + layout->addItem( new TQSpacerItem( 0, 0, TQSizePolicy::Minimum, TQSizePolicy::Minimum ) ); KPushButton * no = new KPushButton( i18n("Do Not Reload"), hb ); - tqlayout->addWidget( no ); - tqlayout->addItem( new TQSpacerItem( 0, 0, TQSizePolicy::Minimum, TQSizePolicy::Minimum ) ); + layout->addWidget( no ); + layout->addItem( new TQSpacerItem( 0, 0, TQSizePolicy::Minimum, TQSizePolicy::Minimum ) ); connect( yes, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotReloadUnmodified() ) ); connect( yes, TQT_SIGNAL( clicked() ), pop, TQT_SLOT( hide() ) ); connect( no, TQT_SIGNAL( clicked() ), pop, TQT_SLOT( hide() ) ); |