summaryrefslogtreecommitdiffstats
path: root/KMFSysTray/mainwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'KMFSysTray/mainwidget.cpp')
-rw-r--r--KMFSysTray/mainwidget.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/KMFSysTray/mainwidget.cpp b/KMFSysTray/mainwidget.cpp
index 5eeded9..37fb869 100644
--- a/KMFSysTray/mainwidget.cpp
+++ b/KMFSysTray/mainwidget.cpp
@@ -22,9 +22,9 @@
#include "mainwidget.h"
// QT includes
-#include <qcolor.h>
-#include <qpushbutton.h>
-#include <qwidget.h>
+#include <tqcolor.h>
+#include <tqpushbutton.h>
+#include <tqwidget.h>
// KDE includes
#include <kled.h>
@@ -33,29 +33,29 @@
// Project Includes
#include "details.h"
-MainWidget::MainWidget(QWidget* parent, const char* name, WFlags fl)
-: MainWidgetDesigner(parent,name,fl)
+MainWidget::MainWidget(TQWidget* tqparent, const char* name, WFlags fl)
+: MainWidgetDesigner(tqparent,name,fl)
{
m_ledActive->off();
m_cmd_info->setEnabled( false );
m_wid_details = new Details( 0 );
- connect( m_wid_details, SIGNAL( closing() ), this, SLOT ( slotDetailsClosed() ) );
- connect( this, SIGNAL( sigUpdateRuleCount( const QString&, const QString&, int ) ),
- m_wid_details, SLOT( slotUpdateRuleCount( const QString&, const QString&, int ) ) );
- connect( m_cmd_info, SIGNAL( clicked() ), this, SLOT( slotShowDetails() ) ) ;
+ connect( m_wid_details, TQT_SIGNAL( closing() ), this, TQT_SLOT ( slotDetailsClosed() ) );
+ connect( this, TQT_SIGNAL( sigUpdateRuleCount( const TQString&, const TQString&, int ) ),
+ m_wid_details, TQT_SLOT( slotUpdateRuleCount( const TQString&, const TQString&, int ) ) );
+ connect( m_cmd_info, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotShowDetails() ) ) ;
}
MainWidget::~MainWidget()
{
}
-void MainWidget::slotSetRunningStatus( bool on ) {
+void MainWidget::slotSetRunningtqStatus( bool on ) {
m_ledActive->on();
m_cmd_info->setEnabled( on );
if ( on ) {
- m_ledActive -> setColor( QColor(0, 255, 0) );
+ m_ledActive -> setColor( TQColor(0, 255, 0) );
} else {
- m_ledActive -> setColor( QColor(255, 0, 0) );
+ m_ledActive -> setColor( TQColor(255, 0, 0) );
}
}