[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdenetwork/kopete/kopete
From: Olivier Goffart <ogoffart () kde ! org>
Date: 2005-12-30 11:09:26
Message-ID: 1135940966.384675.2748.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 492559 by ogoffart:
Reflect change in the knotify config made in the branch
M +1 -1 Makefile.am
M +2 -7 config/knotify/knotifyeventlist.cpp
D eventsrc
A kopete.notifyrc eventsrc#492518
--- trunk/KDE/kdenetwork/kopete/kopete/Makefile.am #492558:492559
@@ -43,7 +43,7 @@
config/knotify/libknotifyconfig.la
mydatadir = $(kde_datadir)/kopete
-mydata_DATA = kopeteui.rc eventsrc
+mydata_DATA = kopeteui.rc kopete.notifyrc
mimedir = $(kde_mimedir)/application
mime_DATA = x-kopete-emoticons.desktop
--- trunk/KDE/kdenetwork/kopete/kopete/config/knotify/knotifyeventlist.cpp #492558:492559
@@ -41,13 +41,12 @@
clear();
delete config;
delete loconf;
- config= new KConfig(appname + "/eventsrc" , true, false, "data"),
- loconf= new KConfig(appname + ".eventsrc" , false , false );
+ config= new KConfig(appname +"/" + appname + ".notifyrc" , true, false, "data"),
+ loconf= new KConfig(appname + ".notifyrc" , false , false );
QStringList conflist = config->groupList();
QRegExp rx("^Event/([^/]*)$");
conflist=conflist.filter( rx );
-// kdDebug() << k_funcinfo << conflist << endl;
foreach (QString group , conflist )
{
@@ -66,18 +65,14 @@
QString name = config->readEntry("Name");
QString description = config->readEntry("Comment");
-// kdDebug() << k_funcinfo << id <<endl;
m_elements << new KNotifyEventListItem(this, id, name, description, loconf , config );
}
}
void KNotifyEventList::save( )
{
- kdDebug() << k_funcinfo << endl;
-
foreach( KNotifyEventListItem *it , m_elements )
{
- kdDebug() << k_funcinfo << "*" << endl;
it->save();
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic