summaryrefslogtreecommitdiffstats
path: root/src/configdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/configdialog.cpp')
-rw-r--r--src/configdialog.cpp44
1 files changed, 22 insertions, 22 deletions
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 <qcombobox.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qlineedit.h>
-#include <qmessagebox.h>
-#include <qobjectlist.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
-#include <qspinbox.h>
-#include <qtextcodec.h>
-#include <qtooltip.h>
-#include <qvbox.h>
+#include <tqcombobox.h>
+#include <tqgroupbox.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqlineedit.h>
+#include <tqmessagebox.h>
+#include <tqobjectlist.h>
+#include <tqpushbutton.h>
+#include <tqradiobutton.h>
+#include <tqspinbox.h>
+#include <tqtextcodec.h>
+#include <tqtooltip.h>
+#include <tqvbox.h>
#include <kapplication.h> //kapp
#include <kcombobox.h>
@@ -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<QLabel*>(label)->setPixmap( QMessageBox::standardIcon( QMessageBox::Information ) );
+ TQObjectList *list = queryList( "TQLabel", "infoPixmap" );
+ for( TQObject *label = list->first(); label; label = list->next() )
+ static_cast<TQLabel*>(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<QLabel*>(label)->setMaximumWidth( 250 );
+ list = queryList( "TQLabel", "m_sampleLabel" );
+ for( TQObject *label = list->first(); label; label = list->next() )
+ static_cast<TQLabel*>(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;