Canorus  0.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Static Public Attributes | Private Attributes
CAMimeData Class Reference

#include <mimedata.h>

Inheritance diagram for CAMimeData:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CAMimeData ()
 CAMimeData (QList< CAContext * > list)
virtual ~CAMimeData ()
bool hasFormat (const QString) const
QStringList formats () const
void setContexts (QList< CAContext * > list)
QList< CAContext * > contexts () const
bool hasContexts () const

Static Public Attributes

static const QString CANORUS_MIME_TYPE = "application/canorus-contexts"

Private Attributes

QList< CAContext * > _contexts

Constructor & Destructor Documentation

CAMimeData::CAMimeData ( QList< CAContext * >  list)

References setContexts().

Here is the call graph for this function:

CAMimeData::~CAMimeData ( ) [virtual]

References contexts().

Here is the call graph for this function:


Member Function Documentation

QList<CAContext*> CAMimeData::contexts ( ) const [inline]

References _contexts.

Referenced by ~CAMimeData().

Here is the caller graph for this function:

QStringList CAMimeData::formats ( ) const

References CANORUS_MIME_TYPE, and hasContexts().

Referenced by hasFormat().

Here is the call graph for this function:

Here is the caller graph for this function:

bool CAMimeData::hasContexts ( ) const [inline]

References _contexts.

Referenced by formats().

Here is the caller graph for this function:

bool CAMimeData::hasFormat ( const QString  format) const

References formats().

Here is the call graph for this function:

void CAMimeData::setContexts ( QList< CAContext * >  list) [inline]

References _contexts.

Referenced by CAMimeData().

Here is the caller graph for this function:


Member Data Documentation

QList<CAContext*> CAMimeData::_contexts [private]

Referenced by contexts(), hasContexts(), and setContexts().

const QString CAMimeData::CANORUS_MIME_TYPE = "application/canorus-contexts" [static]

Copyright (c) 2007, Matevž Jekovec, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.

Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE.GPL for details.

    Subclass of QMimeData which incorporates list of Music elements for
    copy/paste functionality.

    MIME types for Canorus contexts are "application/canorus-contexts".

Referenced by formats().


The documentation for this class was generated from the following files: