From d796c9dd933ab96ec83b9a634feedd5d32e1ba3f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 8 Nov 2011 12:31:36 -0600 Subject: Test conversion to TQt3 from Qt3 8c6fc1f8e35fd264dd01c582ca5e7549b32ab731 --- doc/html/qcolordrag.html | 98 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 doc/html/qcolordrag.html (limited to 'doc/html/qcolordrag.html') diff --git a/doc/html/qcolordrag.html b/doc/html/qcolordrag.html new file mode 100644 index 00000000..7a555f3b --- /dev/null +++ b/doc/html/qcolordrag.html @@ -0,0 +1,98 @@ + + + + + +TQColorDrag Class + + + + + + + +
+ +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

TQColorDrag Class Reference

+ +

The TQColorDrag class provides a drag and drop object for +transferring colors. +More... +

#include <qdragobject.h> +

Inherits TQStoredDrag. +

List of all member functions. +

Public Members

+ +

Static Public Members

+ +

Detailed Description

+ + +

The TQColorDrag class provides a drag and drop object for +transferring colors. +

+

This class provides a drag object which can be used to transfer data +about colors for drag and drop and in the clipboard. For example, it +is used in TQColorDialog. +

The color is set in the constructor but can be changed with +setColor(). +

For more information about drag and drop, see the TQDragObject class +and the drag and drop documentation. +

See also Drag And Drop Classes. + +


Member Function Documentation

+

TQColorDrag::TQColorDrag ( const TQColor & col, TQWidget * dragsource = 0, const char * name = 0 ) +

+Constructs a color drag object with the color col. Passes dragsource and name to the TQStoredDrag constructor. + +

TQColorDrag::TQColorDrag ( TQWidget * dragsource = 0, const char * name = 0 ) +

+Constructs a color drag object with a white color. Passes dragsource and name to the TQStoredDrag constructor. + +

bool TQColorDrag::canDecode ( TQMimeSource * e ) [static] +

+Returns TRUE if the color drag object can decode the mime source +e; otherwise returns FALSE. + +

bool TQColorDrag::decode ( TQMimeSource * e, TQColor & col ) [static] +

+Decodes the mime source e and sets the decoded values to col. + +

void TQColorDrag::setColor ( const TQColor & col ) +

+Sets the color of the color drag to col. + + +

+This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


+ +
Copyright © 2007 +TrolltechTrademarks +
TQt 3.3.8
+
+ -- cgit v1.2.1