summaryrefslogtreecommitdiffstats
path: root/kview/config/kviewconfmodules.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kview/config/kviewconfmodules.cpp
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kview/config/kviewconfmodules.cpp')
-rw-r--r--kview/config/kviewconfmodules.cpp28
1 files changed, 14 insertions, 14 deletions
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 <qlayout.h>
-#include <qvbuttongroup.h>
-#include <qradiobutton.h>
+#include <tqlayout.h>
+#include <tqvbuttongroup.h>
+#include <tqradiobutton.h>
#include <klocale.h>
#include <kdialog.h>
#include <kglobal.h>
#include <kconfig.h>
#include <kgenericfactory.h>
-#include <qwhatsthis.h>
+#include <tqwhatsthis.h>
-typedef KGenericFactory<KViewGeneralConfig, QWidget> KViewGeneralConfigFactory;
+typedef KGenericFactory<KViewGeneralConfig, TQWidget> 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( "<p>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.</p>" ) );
load();