Ignore:
Timestamp:
Nov 20, 2009, 7:39:03 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

gui/kernel: mime: Implemented mime<-clipboard interface for "text/plain" (getting from the system clipboard).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/kernel/qmime.h

    r332 r334  
    127127                                     ULONG &flags, ULONG *data) const = 0;
    128128
     129
     130
    129131    // for converting to Qt
    130     virtual QStringList mimesForFormats(const QList<ULONG> &formats) const = 0;
     132    virtual Q mimesForFormats(const QList<ULONG> &formats) const = 0;
    131133    virtual QVariant convertFromFormat(ULONG format, ULONG flags, ULONG data,
    132134                                       const QString &mimeType,
     
    145147    struct Match
    146148    {
    147         Match(QPMMime *c, const QString f, int p) :
    148             converter(c), mime(f), format(0), priority(p) {}
     149        Match(QPMMime *c, const QString f, int p) :
     150            converter(c), mime(f), format(), priority(p) {}
    149151
    150152        Match(QPMMime *c, ULONG f, int p) :
     
    153155        QPMMime *converter;
    154156        QString mime; // used by allConvertersFromFormats()
    155         ULONG format; // used by allConvertersFromMimeData()
     157        ULONG format; // used by allConvertersFromMimeData()
    156158        int priority;
    157159    };
Note: See TracChangeset for help on using the changeset viewer.