From kopete-devel Thu Dec 04 16:07:28 2008 From: =?ISO-8859-1?Q?Timo_Schl=FC=DFler?= Date: Thu, 04 Dec 2008 16:07:28 +0000 To: kopete-devel Subject: Re: [kopete-devel] History Import extension Message-Id: <49380040.3050108 () schluessler ! org> X-MARC-Message: https://marc.info/?l=kopete-devel&m=122840690705531 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0984592839==" This is a multi-part message in MIME format. --===============0984592839== Content-Type: multipart/alternative; boundary="------------030601000802060109090004" This is a multi-part message in MIME format. --------------030601000802060109090004 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Probably the import function should better be started by a button in the historyviewer, shouldn't it? And can somebody check in my code if it works to your satisfaction? regards, timo Timo Schlüßler wrote: > Hello, > > attached is a patch and the two files which add the ability to import > logs from pidgin to kopete. The source-code files belong to > kdenetwork/kopete/plugins/history. > I changed HistoryLogger slightly so that appendMessage() uses the > timestamp from the message that is to be imported but not > QDate::currentDate(). > > I don't know what happens if you want to import multiuser chatlogs > because i haven't got any ... i would be glad if you can check that. > For me it works just fine, but the logs from pidgin are very unsteady. > anyway i hope it works for all pidgin logs. > > thanks for testing, > timo > > ------------------------------------------------------------------------ > > _______________________________________________ > kopete-devel mailing list > kopete-devel@kde.org > https://mail.kde.org/mailman/listinfo/kopete-devel --------------030601000802060109090004 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Probably the import function should better be started by a button in the historyviewer, shouldn't it?
And can somebody check in my code if it works to your satisfaction?

regards,
timo


Timo Schlüßler wrote:
Hello,

attached is a patch and the two files which add the ability to import
logs from pidgin to kopete. The source-code files belong to
kdenetwork/kopete/plugins/history.
I changed HistoryLogger slightly so that appendMessage() uses the
timestamp from the message that is to be imported  but not
QDate::currentDate().

I don't know what happens if you want to import multiuser chatlogs
because i haven't got any ... i would be glad if you can check that.
For me it works just fine, but the logs from pidgin are very unsteady.
anyway i hope it works for all pidgin logs.

thanks for testing,
timo


_______________________________________________ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel
--------------030601000802060109090004-- --===============0984592839== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kopete-devel mailing list kopete-devel@kde.org https://mail.kde.org/mailman/listinfo/kopete-devel --===============0984592839==--