summaryrefslogtreecommitdiffstats
path: root/kmyfirewall/genericinterface/kmfgenericinterfacelogging.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmyfirewall/genericinterface/kmfgenericinterfacelogging.cpp')
-rw-r--r--kmyfirewall/genericinterface/kmfgenericinterfacelogging.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kmyfirewall/genericinterface/kmfgenericinterfacelogging.cpp b/kmyfirewall/genericinterface/kmfgenericinterfacelogging.cpp
index 9b065a9..eb16434 100644
--- a/kmyfirewall/genericinterface/kmfgenericinterfacelogging.cpp
+++ b/kmyfirewall/genericinterface/kmfgenericinterfacelogging.cpp
@@ -23,9 +23,9 @@
#include "kmfgenericinterfacelogging.h"
// QT includes
-#include <qstring.h>
-#include <qcheckbox.h>
-#include <qtimer.h>
+#include <tqstring.h>
+#include <tqcheckbox.h>
+#include <tqtimer.h>
// KDE includes
#include <klocale.h>
@@ -36,16 +36,16 @@
#include "../core/kmfnetwork.h"
#include "../core/kmfgenericdoc.h"
namespace KMF {
-KMFGenericInterfaceLogging::KMFGenericInterfaceLogging( QWidget *parent, const char *name, WFlags f )
- : KMyFirewallGenericInterfaceLogging( parent, name, f ) {
- connect( m_c_log, SIGNAL( toggled( bool ) ),
- this,SLOT( slotLoggingChanged( bool ) ) );
+KMFGenericInterfaceLogging::KMFGenericInterfaceLogging( TQWidget *tqparent, const char *name, WFlags f )
+ : KMyFirewallGenericInterfaceLogging( tqparent, name, f ) {
+ connect( m_c_log, TQT_SIGNAL( toggled( bool ) ),
+ this,TQT_SLOT( slotLoggingChanged( bool ) ) );
- connect( m_c_limitLog, SIGNAL( toggled( bool ) ),
- this,SLOT( slotLimitChanged( bool ) ) );
+ connect( m_c_limitLog, TQT_SIGNAL( toggled( bool ) ),
+ this,TQT_SLOT( slotLimitChanged( bool ) ) );
- connect( m_le_logPrefix, SIGNAL( textChanged( const QString & ) ),
- this,SLOT ( slotLogPrefixChanged( const QString & ) ) );
+ connect( m_le_logPrefix, TQT_SIGNAL( textChanged( const TQString & ) ),
+ this,TQT_SLOT ( slotLogPrefixChanged( const TQString & ) ) );
}
@@ -90,7 +90,7 @@ void KMFGenericInterfaceLogging::slotLoggingChanged( bool onoff ) {
KMFUndoEngine::instance()->startTransaction(
m_doc->currentDocAsGenericDoc(),
- i18n( "%1 logging of dropped packets." ).arg( onoff ? i18n( "Enable" ) : i18n( "Disable" ) )
+ i18n( "%1 logging of dropped packets." ).tqarg( onoff ? i18n( "Enable" ) : i18n( "Disable" ) )
);
m_doc->currentDocAsGenericDoc()->setLogDropped( onoff );
KMFUndoEngine::instance()->endTransaction();
@@ -102,19 +102,19 @@ void KMFGenericInterfaceLogging::slotLimitChanged( bool onoff ) {
}
KMFUndoEngine::instance()->startTransaction(
m_doc->currentDocAsGenericDoc(),
- i18n( "%1 logging limit." ).arg( onoff ? i18n( "Enable" ) : i18n( "Disable" ) )
+ i18n( "%1 logging limit." ).tqarg( onoff ? i18n( "Enable" ) : i18n( "Disable" ) )
);
m_doc->currentDocAsGenericDoc()->setLimitLog( onoff );
KMFUndoEngine::instance()->endTransaction();
}
-void KMFGenericInterfaceLogging::slotLogPrefixChanged( const QString & ) {
+void KMFGenericInterfaceLogging::slotLogPrefixChanged( const TQString & ) {
if ( m_doc->currentDocAsGenericDoc()->logPrefix() == m_le_logPrefix->text().simplifyWhiteSpace() ) {
return;
}
KMFUndoEngine::instance()->startTransaction(
m_doc->currentDocAsGenericDoc(),
- i18n( "Change logging prefix to %1." ).arg( m_le_logPrefix->text().simplifyWhiteSpace() )
+ i18n( "Change logging prefix to %1." ).tqarg( m_le_logPrefix->text().simplifyWhiteSpace() )
);
m_doc->currentDocAsGenericDoc()->setLogPrefix( m_le_logPrefix->text().simplifyWhiteSpace() );
KMFUndoEngine::instance()->endTransaction();