[Parley-devel] [Bug 191178] Copying and Pasting across parley instances does not work
    Casey Link 
    unnamedrambler at gmail.com
       
    Fri May  1 09:15:37 CEST 2009
    
    
  
https://bugs.kde.org/show_bug.cgi?id=191178
--- Comment #2 from Casey Link <unnamedrambler gmail com>  2009-05-01 09:15:37 ---
After some further poking around, it seems nigh impossible to easily fix this
bug in Parley alone.
The "correct" solution would be to have the VocabularyMimeData::retrieveData()
method return a serialized list of it's KEduVocExpressions when a certain
mimetype (possibly "text/kdevocexpression") is requested of it.
I propose adding a method to libkdeedu/keduvocdocument/keduvocexpression.h that
serializes the contents of the expression. Something like 
QString expressionToClipboard() const;
and of course, the opposite 
KEduVocExpression expressionFromClipboard(const QString &data);
However, it looks like KEduVocExpression is a pretty complex type containing 
a QMap<int, KEduVocTranslation> as well as a KEduVocLesson* 
I assume some information could be tossed when copy/pasting? surely the grade
information isn't needed?
-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
    
    
More information about the Parley-devel
mailing list