diff options
Diffstat (limited to 'kview/config')
-rw-r--r-- | kview/config/kviewconfmodules.cpp | 28 | ||||
-rw-r--r-- | kview/config/kviewconfmodules.h | 6 | ||||
-rw-r--r-- | kview/config/plugins/kviewpluginsconfig.cpp | 6 | ||||
-rw-r--r-- | kview/config/plugins/kviewpluginsconfig.h | 2 |
4 files changed, 21 insertions, 21 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(); diff --git a/kview/config/kviewconfmodules.h b/kview/config/kviewconfmodules.h index d064b386..1c9c1e7f 100644 --- a/kview/config/kviewconfmodules.h +++ b/kview/config/kviewconfmodules.h @@ -21,13 +21,13 @@ #include <kcmodule.h> -class QVButtonGroup; +class TQVButtonGroup; class KViewGeneralConfig : public KCModule { Q_OBJECT public: - KViewGeneralConfig( QWidget * parent, const char * name = 0, const QStringList & args = QStringList() ); + KViewGeneralConfig( TQWidget * parent, const char * name = 0, const TQStringList & args = TQStringList() ); ~KViewGeneralConfig(); virtual void load(); @@ -38,7 +38,7 @@ class KViewGeneralConfig : public KCModule void resizeChanged( int ); private: - QVButtonGroup * m_pResizeGroup; + TQVButtonGroup * m_pResizeGroup; int m_savedPosition; }; diff --git a/kview/config/plugins/kviewpluginsconfig.cpp b/kview/config/plugins/kviewpluginsconfig.cpp index e093366c..bad5bd55 100644 --- a/kview/config/plugins/kviewpluginsconfig.cpp +++ b/kview/config/plugins/kviewpluginsconfig.cpp @@ -25,14 +25,14 @@ #include <ksimpleconfig.h> #include <kplugininfo.h> -typedef KGenericFactory<KViewPluginsConfig, QWidget> KViewPluginsConfigFactory; +typedef KGenericFactory<KViewPluginsConfig, TQWidget> KViewPluginsConfigFactory; K_EXPORT_COMPONENT_FACTORY( kcm_kviewpluginsconfig, KViewPluginsConfigFactory( "kcm_kviewpluginsconfig" ) ) -KViewPluginsConfig::KViewPluginsConfig( QWidget * parent, const char *, const QStringList & args ) +KViewPluginsConfig::KViewPluginsConfig( TQWidget * parent, const char *, const TQStringList & args ) : KSettings::PluginPage( KViewPluginsConfigFactory::instance(), parent, args ) { m_config = new KSimpleConfig( "kviewrc" ); - pluginSelector()->addPlugins( QString::fromAscii( "kview" ), i18n( "Application" ), QString::null, m_config ); + pluginSelector()->addPlugins( TQString::fromAscii( "kview" ), i18n( "Application" ), TQString::null, m_config ); pluginSelector()->setShowEmptyConfigPage( false ); } diff --git a/kview/config/plugins/kviewpluginsconfig.h b/kview/config/plugins/kviewpluginsconfig.h index 815a4de7..4095944d 100644 --- a/kview/config/plugins/kviewpluginsconfig.h +++ b/kview/config/plugins/kviewpluginsconfig.h @@ -27,7 +27,7 @@ class KViewPluginsConfig : public KSettings::PluginPage { Q_OBJECT public: - KViewPluginsConfig( QWidget * parent, const char * name = 0, const QStringList & args = QStringList() ); + KViewPluginsConfig( TQWidget * parent, const char * name = 0, const TQStringList & args = TQStringList() ); ~KViewPluginsConfig(); private: KConfig * m_config; |