From 357ddeb8afd82d69ef871c146f4fc8f2c67fb17e Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Wed, 13 Jan 2021 19:30:17 +0200 Subject: Conversion Qt3->TQt Signed-off-by: Mavridis Philippe --- src/configdialog.cpp | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'src/configdialog.cpp') diff --git a/src/configdialog.cpp b/src/configdialog.cpp index 29d513e..6c02371 100644 --- a/src/configdialog.cpp +++ b/src/configdialog.cpp @@ -20,19 +20,19 @@ email : markey@web.de #include "autoscanoptions.h" #include "logoptions.h" -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include //kapp #include @@ -45,7 +45,7 @@ email : markey@web.de // PUBLIC ////////////////////////////////////////////////////////////////////////////////////////// -KlamavConfigDialog::KlamavConfigDialog( QWidget *parent, const char* name, KConfigSkeleton *config ) +KlamavConfigDialog::KlamavConfigDialog( TQWidget *parent, const char* name, KConfigSkeleton *config ) : KConfigDialog( parent, name, config ) { setWFlags( WDestructiveClose ); @@ -64,15 +64,15 @@ KlamavConfigDialog::KlamavConfigDialog( QWidget *parent, const char* name, KConf addPage( m_autoscanoptions, i18n( "Auto-Scan" ), "filefind", i18n( "Configure Auto-Scan" ) ); addPage( m_logoptions, i18n( "Event Logging" ), "kate", i18n( "Configure Events to Log" ) ); - QObjectList *list = queryList( "QLabel", "infoPixmap" ); - for( QObject *label = list->first(); label; label = list->next() ) - static_cast(label)->setPixmap( QMessageBox::standardIcon( QMessageBox::Information ) ); + TQObjectList *list = queryList( "TQLabel", "infoPixmap" ); + for( TQObject *label = list->first(); label; label = list->next() ) + static_cast(label)->setPixmap( TQMessageBox::standardIcon( TQMessageBox::Information ) ); delete list; //stop KFont Requesters getting stupidly large - list = queryList( "QLabel", "m_sampleLabel" ); - for( QObject *label = list->first(); label; label = list->next() ) - static_cast(label)->setMaximumWidth( 250 ); + list = queryList( "TQLabel", "m_sampleLabel" ); + for( TQObject *label = list->first(); label; label = list->next() ) + static_cast(label)->setMaximumWidth( 250 ); delete list; @@ -85,7 +85,7 @@ KlamavConfigDialog::~KlamavConfigDialog() /** Show page by object name */ -void KlamavConfigDialog::showPage( const QCString& page ) +void KlamavConfigDialog::showPage( const TQCString& page ) { for( uint index = 0; index < m_pageList.count(); index++ ) { if ( m_pageList[index]->name() == page ) { @@ -96,7 +96,7 @@ void KlamavConfigDialog::showPage( const QCString& page ) } /** Reimplemented from KConfigDialog */ -void KlamavConfigDialog::addPage( QWidget *page, const QString &itemName, const QString &pixmapName, const QString &header, bool manage ) +void KlamavConfigDialog::addPage( TQWidget *page, const TQString &itemName, const TQString &pixmapName, const TQString &header, bool manage ) { // Add the widget pointer to our list, for later reference m_pageList << page; -- cgit v1.2.3