Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Attributes
nsDragObject Class Reference

#include <nsMime.h>

Collaboration diagram for nsDragObject:
Collaboration graph

List of all members.

Public Member Functions

 nsDragObject (nsMimeStore *mimeStore, QWidget *dragSource=0, const char *name=0)
 ~nsDragObject ()
const char * format (int i) const
virtual QByteArray encodedData (const char *) const

Protected Attributes


Detailed Description

Definition at line 82 of file nsMime.h.

Constructor & Destructor Documentation

nsDragObject::nsDragObject ( nsMimeStore mimeStore,
QWidget *  dragSource = 0,
const char *  name = 0 

Definition at line 149 of file nsMime.cpp.

    : QDragObject(dragSource, name)
    if (!mimeStore)
        NS_ASSERTION(PR_TRUE, "Invalid  pointer.");

    mMimeStore = mimeStore;

Definition at line 159 of file nsMime.cpp.

    delete mMimeStore;

Member Function Documentation

QByteArray nsDragObject::encodedData ( const char *  frm) const [virtual]

Definition at line 176 of file nsMime.cpp.

#ifdef NS_DEBUG
    printf("nsDragObject::encodedData %s\n",frm);
    return mMimeStore->encodedData(frm);

Here is the call graph for this function:

const char * nsDragObject::format ( int  i) const

Definition at line 164 of file nsMime.cpp.

    if (i >= (int)mMimeStore->count())
        return 0;

    const char* frm = mMimeStore->format(i);
#ifdef NS_DEBUG
    printf("nsDragObject::format i=%i %s\n",i, frm);
    return frm;

Here is the call graph for this function:

Member Data Documentation

Definition at line 94 of file nsMime.h.

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