From eba47f8f0637f451e21348187591e1f1fd58ac74 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:23:46 +0000 Subject: TQt conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kview/config/kviewconfmodules.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'kview/config/kviewconfmodules.cpp') diff --git a/kview/config/kviewconfmodules.cpp b/kview/config/kviewconfmodules.cpp index 23f6a1ef..e994d8ed 100644 --- a/kview/config/kviewconfmodules.cpp +++ b/kview/config/kviewconfmodules.cpp @@ -18,34 +18,34 @@ #include "kviewconfmodules.h" -#include -#include -#include +#include +#include +#include #include #include #include #include #include -#include +#include -typedef KGenericFactory KViewGeneralConfigFactory; +typedef KGenericFactory KViewGeneralConfigFactory; K_EXPORT_COMPONENT_FACTORY( kcm_kviewgeneralconfig, KViewGeneralConfigFactory( "kcm_kviewgeneralconfig" ) ) -KViewGeneralConfig::KViewGeneralConfig( QWidget * parent, const char * /*name*/, const QStringList & args ) +KViewGeneralConfig::KViewGeneralConfig( TQWidget * parent, const char * /*name*/, const TQStringList & args ) : KCModule( KViewGeneralConfigFactory::instance(), parent, args ) { - QBoxLayout * layout = new QVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() ); + TQBoxLayout * layout = new TQVBoxLayout( this, KDialog::marginHint(), KDialog::spacingHint() ); - m_pResizeGroup = new QVButtonGroup( i18n( "Resizing" ), this ); - m_pResizeGroup->setSizePolicy( QSizePolicy( QSizePolicy::Minimum, QSizePolicy::Fixed ) ); - connect( m_pResizeGroup, SIGNAL( clicked( int ) ), this, SLOT( resizeChanged( int ) ) ); + m_pResizeGroup = new TQVButtonGroup( i18n( "Resizing" ), this ); + m_pResizeGroup->setSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Fixed ) ); + connect( m_pResizeGroup, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( resizeChanged( int ) ) ); layout->addWidget( m_pResizeGroup ); - ( void )new QRadioButton( i18n( "Only resize window" ), m_pResizeGroup ); - ( void )new QRadioButton( i18n( "Resize image to fit window" ), m_pResizeGroup ); - ( void )new QRadioButton( i18n( "Don't resize anything" ), m_pResizeGroup ); - QWhatsThis::add( new QRadioButton( i18n( "Best fit" ), m_pResizeGroup ), + ( void )new TQRadioButton( i18n( "Only resize window" ), m_pResizeGroup ); + ( void )new TQRadioButton( i18n( "Resize image to fit window" ), m_pResizeGroup ); + ( void )new TQRadioButton( i18n( "Don't resize anything" ), m_pResizeGroup ); + TQWhatsThis::add( new TQRadioButton( i18n( "Best fit" ), m_pResizeGroup ), i18n( "

KView will resize the window to fit the image. The image will never be scaled up but if it is too large for the screen the image will be scaled down.

" ) ); load(); -- cgit v1.2.3