Bug 42849 - Export part interface so Kompare can be used as a part
Summary: Export part interface so Kompare can be used as a part
Status: CLOSED WORKSFORME
Alias: None
Product: kompare
Classification: Applications
Component: general (show other bugs)
Version: 2.0
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: KDiff/Kompare bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-20 19:03 UTC by Julian Rockey
Modified: 2009-01-23 18:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Rockey 2002-05-20 18:52:39 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kompare
Version:           2.0 (using KDE 3.0.0 )
Severity:          wishlist
Installed from:    Compiled From Sources
Compiler:          gcc 2.96 (Mandrake 8.1)
OS:                Linux
OS/Compiler notes: Not Specified

Although Kompare is implemented as a KPart there is no facility for applications embedding this part to use the compare() method as Kompare's interface is exported as a KReadWrite part (and kompare_part.h is not exported). So openURL() can be used to open a .diff file but two files can't be opened for comparing. This make it unfortunately almost impossible to usefully embed Kompare in another application.


(Submitted via bugs.kde.org)
Comment 1 Otto Bruggeman 2002-10-14 23:59:45 UTC
Implemented in the make_it_cool branch in cvs, will be in 3.2 afaict.
Comment 2 Otto Bruggeman 2003-04-21 00:38:35 UTC
As soon as 3.2 is out can you tell me if this is what you wanted ? I know this takes a 
long time, but you can check the file in cvs in the mean time 
(kdesdk/kompare/interfaces/kompareinterface.h). 
Comment 3 Julian Rockey 2003-04-21 14:27:44 UTC
Is this in CVS HEAD? There's no files in the interfaces directory. Did you add & commit it?! 
 
Comment 4 Otto Bruggeman 2003-04-23 20:45:31 UTC
Like i said they are in the make_it_cool branch, cvs update -r make_it_cool in the 
kdesdk/kompare directory should work. (If you want head back in that repository, 
just execute cvs update -A again in that directory) 
Comment 5 Julian Rockey 2003-04-26 11:43:08 UTC
Apologies. I've looked at the interface header in make_it_cool and it looks exactly what I 
require for KFS. Thanks. I guess it is planned to merge make_it_cool for 3.2? 
 
Comment 6 Otto Bruggeman 2003-04-26 15:38:01 UTC
Yup that is the plan if i think that i have enough time to make everything stable but i 
think i will :) 
Comment 7 Winfried Dobbe 2005-01-16 00:57:42 UTC
Any updates on this subject? To use the (very cool :-) ) komparepart, I copied the kompareinterface.h from the kompare sources to my own project, but I hope that is just temporarily....