From 97b691e5b7190342b85435f022bf3621ac80a461 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:10:23 -0600 Subject: Rename old tq methods that no longer need a unique name (cherry picked from commit 161cc76d48c479b4f90433703b855a48b093f9cc) --- KMFSysTray/app.cpp | 2 +- KMFSysTray/details_designer.ui | 2 +- KMFSysTray/kmfsystray.cpp | 4 ++-- KMFSysTray/kmfsystray.h | 2 +- KMFSysTray/mainwidget.cpp | 2 +- KMFSysTray/mainwidget.h | 2 +- KMFSysTray/mainwidget_designer.ui | 4 ++-- 7 files changed, 9 insertions(+), 9 deletions(-) (limited to 'KMFSysTray') diff --git a/KMFSysTray/app.cpp b/KMFSysTray/app.cpp index 1e3d906..334a5e8 100644 --- a/KMFSysTray/app.cpp +++ b/KMFSysTray/app.cpp @@ -42,7 +42,7 @@ MainApp::MainApp() : KApplication() { // KConfig *ksConfig = config(); // KMFIPTWatcher *watch = new KMFIPTWatcher( this, "KMFIPTWatcher" ); // MainWidget *mainWid = new MainWidget( 0 ); -// connect( watch, TQT_SIGNAL( sigUpdateActive( bool ) ), mainWid, TQT_SLOT( slotSetRunningtqStatus( bool ) ) ); +// connect( watch, TQT_SIGNAL( sigUpdateActive( bool ) ), mainWid, TQT_SLOT( slotSetRunningStatus( bool ) ) ); // connect( watch, TQT_SIGNAL( sigUpdateRuleCount( const TQString&, const TQString&, int ) ), // mainWid, TQT_SIGNAL( sigUpdateRuleCount( const TQString&, const TQString&, int ) ) ); diff --git a/KMFSysTray/details_designer.ui b/KMFSysTray/details_designer.ui index a221336..dba4021 100644 --- a/KMFSysTray/details_designer.ui +++ b/KMFSysTray/details_designer.ui @@ -458,7 +458,7 @@ Expanding - + 51 20 diff --git a/KMFSysTray/kmfsystray.cpp b/KMFSysTray/kmfsystray.cpp index 35ab6ef..9876c85 100644 --- a/KMFSysTray/kmfsystray.cpp +++ b/KMFSysTray/kmfsystray.cpp @@ -54,7 +54,7 @@ KMFSysTray::KMFSysTray( TQWidget* w ) : KSystemTray ( w ) , DCOPObject( "KMFSys setPixmap( baseIcon ); // Connect the watch deamon - connect( watch, TQT_SIGNAL( sigUpdateActive( bool ) ), this, TQT_SLOT( slotSetRunningtqStatus( bool ) ) ); + connect( watch, TQT_SIGNAL( sigUpdateActive( bool ) ), this, TQT_SLOT( slotSetRunningStatus( bool ) ) ); connect( watch, TQT_SIGNAL( sigUpdateRuleCount( const TQString&, const TQString&, int ) ), this, TQT_SIGNAL( sigUpdateRuleCount( const TQString&, const TQString&, int ) ) ); @@ -86,7 +86,7 @@ void KMFSysTray::initMenu() { } -void KMFSysTray::slotSetRunningtqStatus( bool on ) { +void KMFSysTray::slotSetRunningStatus( bool on ) { if ( on ) { baseIcon = KSystemTray::loadIcon( "kmyfirewall" ); } else { diff --git a/KMFSysTray/kmfsystray.h b/KMFSysTray/kmfsystray.h index e9b6f92..7130a8e 100644 --- a/KMFSysTray/kmfsystray.h +++ b/KMFSysTray/kmfsystray.h @@ -54,7 +54,7 @@ public: virtual void preferences(); public slots: - void slotSetRunningtqStatus( bool on ); + void slotSetRunningStatus( bool on ); void slotLaunchKMF(); void slotShowDetails(); void slotQueryDetails(); diff --git a/KMFSysTray/mainwidget.cpp b/KMFSysTray/mainwidget.cpp index f3f214f..14387f5 100644 --- a/KMFSysTray/mainwidget.cpp +++ b/KMFSysTray/mainwidget.cpp @@ -49,7 +49,7 @@ MainWidget::~MainWidget() { } -void MainWidget::slotSetRunningtqStatus( bool on ) { +void MainWidget::slotSetRunningStatus( bool on ) { m_ledActive->on(); m_cmd_info->setEnabled( on ); if ( on ) { diff --git a/KMFSysTray/mainwidget.h b/KMFSysTray/mainwidget.h index 1e9b371..92329ef 100644 --- a/KMFSysTray/mainwidget.h +++ b/KMFSysTray/mainwidget.h @@ -37,7 +37,7 @@ public: /*$PUBLIC_FUNCTIONS$*/ public slots: - void slotSetRunningtqStatus( bool ); + void slotSetRunningStatus( bool ); void slotDetailsClosed(); protected: diff --git a/KMFSysTray/mainwidget_designer.ui b/KMFSysTray/mainwidget_designer.ui index 06cd24c..211372f 100644 --- a/KMFSysTray/mainwidget_designer.ui +++ b/KMFSysTray/mainwidget_designer.ui @@ -37,13 +37,13 @@ 0 - + 30 30 - + 30 30 -- cgit v1.2.1