<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;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.6.2 --> <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><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <div class="dynheader"> Collaboration diagram for PhotoDrag:</div> <div class="dynsection"> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classPhotoDrag-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPhotoDrag.html#a3dce03c3c18621ea21697354d659fe9c">PhotoDrag</a> (<a class="el" href="classQWidget.html">QWidget</a> *dragSource=0, const char *name=0)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPhotoDrag.html#a3612ec53301e56746ae0958d115d0ad0">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="#a3612ec53301e56746ae0958d115d0ad0"></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" id="a3dce03c3c18621ea21697354d659fe9c"></a><!-- doxytag: member="PhotoDrag::PhotoDrag" ref="a3dce03c3c18621ea21697354d659fe9c" 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>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> <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> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a3612ec53301e56746ae0958d115d0ad0"></a><!-- doxytag: member="PhotoDrag::drag" ref="a3612ec53301e56746ae0958d115d0ad0" 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> <p><div class="fragment"><pre class="fragment"><a name="l00043"></a>00043 { <span class="keywordflow">return</span> <a class="code" href="classPhotoDrag.html#a3612ec53301e56746ae0958d115d0ad0" title="force all drags to COPY (not move/delete) original files!!!">QDragObject::drag</a>( QDragObject::DragCopy ); } </pre></div></p> </div> </div> <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></li> </ul> </div> <hr size="1"/><address style="text-align: right;"><small>Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.2 </small></address> </body> </html>