diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-27 17:52:36 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-27 17:52:36 +0000 |
commit | ff419492931de3748936967da36948af7a04d7a0 (patch) | |
tree | 31a70be62d3bfb8e405d51e4b256a7210940ffe8 /KMFSysTray/details.cpp | |
parent | f1fd95abe28acef708caac65af44473461d7026c (diff) | |
download | kmyfirewall-ff419492931de3748936967da36948af7a04d7a0.tar.gz kmyfirewall-ff419492931de3748936967da36948af7a04d7a0.zip |
TQt4 convert kmyfirewall
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmyfirewall@1238525 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'KMFSysTray/details.cpp')
-rw-r--r-- | KMFSysTray/details.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/KMFSysTray/details.cpp b/KMFSysTray/details.cpp index 067d697..0dfa3bc 100644 --- a/KMFSysTray/details.cpp +++ b/KMFSysTray/details.cpp @@ -22,16 +22,16 @@ #include "details.h" // QT includes -#include <qlcdnumber.h> +#include <tqlcdnumber.h> // KDE includes #include <kdebug.h> #include <kpushbutton.h> -Details::Details( QWidget* parent, const char* name, WFlags fl ) - : DetailsDesigner( parent, name, fl ) { +Details::Details( TQWidget* tqparent, const char* name, WFlags fl ) + : DetailsDesigner( tqparent, name, fl ) { - QObject::connect( m_cmd_close, SIGNAL( clicked() ), this, SLOT ( close() ) ); + TQObject::connect( m_cmd_close, TQT_SIGNAL( clicked() ), this, TQT_SLOT ( close() ) ); } @@ -42,24 +42,24 @@ Details::~Details() {} void Details::close() { kdDebug() << "void Details::close()" << endl; emit closing(); - QWidget::close(); + TQWidget::close(); } void Details::show() { kdDebug() << "void Details::show()" << endl; emit showing(); - QWidget::show(); + TQWidget::show(); } void Details::hide() { kdDebug() << "void Details::hide()" << endl; emit closing(); - QWidget::hide(); + TQWidget::hide(); } -void Details::slotUpdateRuleCount( const QString& table, const QString& chain, int num ) { - kdDebug() << "slotUpdateRuleCount( const QString& " << table << ", const QString& " << chain << ", int " << num << " )" << endl; - QLCDNumber *lcd = 0; +void Details::slotUpdateRuleCount( const TQString& table, const TQString& chain, int num ) { + kdDebug() << "slotUpdateRuleCount( const TQString& " << table << ", const TQString& " << chain << ", int " << num << " )" << endl; + TQLCDNumber *lcd = 0; if ( table == "filter" ) { if ( chain == "INPUT" ) { lcd = m_lcd_numRulesIn_Filter_Input; |