[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenonbeta/kopete/plugins/perlscript
From: Jason Keirstead <jason () keirstead ! org>
Date: 2003-02-01 0:14:34
[Download RAW message or body]
CVS commit by brunes:
Don't have the scripts showing up twice
M +1 -1 perlscriptplugin.cpp 1.4
M +2 -0 perlscriptprefs.cpp 1.4
M +1 -0 perlscriptprefs.h 1.3
--- kdenonbeta/kopete/plugins/perlscript/perlscriptplugin.cpp #1.3:1.4
@@ -64,5 +64,5 @@ PerlPlugin::PerlPlugin( QObject *parent,
connect( m_prefs, SIGNAL(scriptAdded( const QString &, const QString &, \
const QString & )), this, SLOT( slotAddScript( const QString &, const QString &, \
const QString & ) ));
connect( m_prefs, SIGNAL(scriptRemoved( const QString &)), this, \
SLOT(slotRemoveScript( const QString & )) );
- connect( m_prefs, SIGNAL(saved()), this, SLOT(slotClearScripts()) );
+ connect( m_prefs, SIGNAL(loaded()), this, SLOT(slotClearScripts()) );
m_prefs->reopen();
--- kdenonbeta/kopete/plugins/perlscript/perlscriptprefs.cpp #1.3:1.4
@@ -93,4 +93,6 @@ void PerlScriptPreferences::slotSelectio
void PerlScriptPreferences::reopen()
{
+ emit( loaded() );
+
KConfig *config = KGlobal::config();
config->setGroup( QString::fromLatin1("Perl Scripting Plugin") );
--- kdenonbeta/kopete/plugins/perlscript/perlscriptprefs.h #1.2:1.3
@@ -37,4 +37,5 @@ public:
signals:
+ void loaded();
void saved();
void scriptAdded( const QString &scriptPath, const QString &scriptName, \
const QString &scriptDesc );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic