<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>AlbumShaper: PhotoDrag Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.9 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>PhotoDrag Class Reference</h1><!-- doxytag: class="PhotoDrag" --><!-- doxytag: inherits="QUriDrag" --><div class="dynheader"> Inheritance diagram for PhotoDrag:</div> <div class="dynsection"> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <div class="dynheader"> Collaboration diagram for PhotoDrag:</div> <div class="dynsection"> <center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div> <p> <a href="classPhotoDrag-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPhotoDrag.html#3dce03c3c18621ea21697354d659fe9c">PhotoDrag</a> (<a class="el" href="classQWidget.html">QWidget</a> *dragSource=0, const char *name=0)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPhotoDrag.html#3612ec53301e56746ae0958d115d0ad0">drag</a> (DragMode mode)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">force all drags to COPY (not move/delete) original files!!! <a href="#3612ec53301e56746ae0958d115d0ad0"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <p>Definition at line <a class="el" href="photosIconView_8cpp_source.html#l00035">35</a> of file <a class="el" href="photosIconView_8cpp_source.html">photosIconView.cpp</a>.</p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="3dce03c3c18621ea21697354d659fe9c"></a><!-- doxytag: member="PhotoDrag::PhotoDrag" ref="3dce03c3c18621ea21697354d659fe9c" args="(QWidget *dragSource=0, const char *name=0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">PhotoDrag::PhotoDrag </td> <td>(</td> <td class="paramtype"><a class="el" href="classQWidget.html">QWidget</a> * </td> <td class="paramname"> <em>dragSource</em> = <code>0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> = <code>0</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="photosIconView_8cpp_source.html#l00038">38</a> of file <a class="el" href="photosIconView_8cpp_source.html">photosIconView.cpp</a>.</p> <div class="fragment"><pre class="fragment"><a name="l00039"></a>00039 { <a class="code" href="classQUriDrag.html">QUriDrag</a>(dragSource, name); } </pre></div> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="3612ec53301e56746ae0958d115d0ad0"></a><!-- doxytag: member="PhotoDrag::drag" ref="3612ec53301e56746ae0958d115d0ad0" args="(DragMode mode)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool PhotoDrag::drag </td> <td>(</td> <td class="paramtype">DragMode </td> <td class="paramname"> <em>mode</em> </td> <td> ) </td> <td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> force all drags to COPY (not move/delete) original files!!! <p> <p>Definition at line <a class="el" href="photosIconView_8cpp_source.html#l00042">42</a> of file <a class="el" href="photosIconView_8cpp_source.html">photosIconView.cpp</a>.</p> <div class="fragment"><pre class="fragment"><a name="l00043"></a>00043 { <span class="keywordflow">return</span> <a class="code" href="classPhotoDrag.html#3612ec53301e56746ae0958d115d0ad0" title="force all drags to COPY (not move/delete) original files!!!">QDragObject::drag</a>( QDragObject::DragCopy ); } </pre></div> <p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="photosIconView_8cpp_source.html">photosIconView.cpp</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Sun Aug 23 02:34:37 2009 for AlbumShaper by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> </body> </html>