diff --git a/doc/classchart.doc b/doc/classchart.doc index 67fb81eb..3df9741c 100644 --- a/doc/classchart.doc +++ b/doc/classchart.doc @@ -79,7 +79,7 @@ - + @@ -111,7 +111,7 @@ - + @@ -277,7 +277,7 @@ - + @@ -313,7 +313,7 @@ - + diff --git a/doc/dnd.doc b/doc/dnd.doc index fe210fd4..086f4ce7 100644 --- a/doc/dnd.doc +++ b/doc/dnd.doc @@ -58,7 +58,7 @@ TQTextEdit widget source code. \section1 Dragging To start a drag, for example in a \link TQWidget::mouseMoveEvent() -mouse motion event\endlink, create an object of the QDragObject +mouse motion event\endlink, create an object of the TQDragObject subclass appropriate for your media, such as TQTextDrag for text and TQImageDrag for images. Then call the drag() method. This is all you need for simple dragging of existing types. @@ -67,14 +67,14 @@ For example, to start dragging some text from a widget: \code void MyWidget::startDrag() { - QDragObject *d = new TQTextDrag( myHighlightedText(), this ); + TQDragObject *d = new TQTextDrag( myHighlightedText(), this ); d->dragCopy(); // do NOT delete d. } \endcode -Note that the QDragObject is not deleted after the drag. The -QDragObject needs to persist after the drag is apparently finished +Note that the TQDragObject is not deleted after the drag. The +TQDragObject needs to persist after the drag is apparently finished since it may still be communicating with another process. Eventually Qt will delete the object. If the widget owning the drag object is deleted before then, any pending drop will be canceled and the drag @@ -103,7 +103,7 @@ MyWidget::MyWidget(...) : setAcceptDrops(TRUE); } -void MyWidget::dragEnterEvent(QDragEnterEvent* event) +void MyWidget::dragEnterEvent(TQDragEnterEvent* event) { event->accept( TQTextDrag::canDecode(event) || @@ -111,7 +111,7 @@ void MyWidget::dragEnterEvent(QDragEnterEvent* event) ); } -void MyWidget::dropEvent(QDropEvent* event) +void MyWidget::dropEvent(TQDropEvent* event) { TQImage image; TQString text; @@ -126,14 +126,14 @@ void MyWidget::dropEvent(QDropEvent* event) \section1 The Clipboard -The QDragObject, QDragEnterEvent, QDragMoveEvent, and QDropEvent -classes are all subclasses of QMimeSource: the class of objects which +The TQDragObject, TQDragEnterEvent, TQDragMoveEvent, and TQDropEvent +classes are all subclasses of TQMimeSource: the class of objects which provide typed information. If you base your data transfers on -QDragObject, you not only get drag-and-drop, but you also get +TQDragObject, you not only get drag-and-drop, but you also get traditional cut-and-paste for free. The QClipboard has two functions: \code - setData(QMimeSource*) - QMimeSource* data()const + setData(TQMimeSource*) + TQMimeSource* data()const \endcode With these functions you can trivially put your drag-and-drop oriented information on the clipboard: @@ -151,8 +151,8 @@ void MyWidget::paste() insertText( text ); } \endcode -You can even use QDragObject subclasses as part of file IO. For -example, if your application has a subclass of QDragObject that +You can even use TQDragObject subclasses as part of file IO. For +example, if your application has a subclass of TQDragObject that encodes CAD designs in DXF format, your saving and loading code might be: \code @@ -178,7 +178,7 @@ void MyWidget::load() } } \endcode -Note how the QDragObject subclass is called "MyCadDrag", not +Note how the TQDragObject subclass is called "MyCadDrag", not "MyDxfDrag": because in the future you might extend it to provide DXF, DWG, SVF, WMF, or even QPicture data to other applications. @@ -186,7 +186,7 @@ DXF, DWG, SVF, WMF, or even QPicture data to other applications. In the simpler cases, the target of a drag-and-drop receives a copy of the data being dragged and the source decides whether to delete the -original. This is the "Copy" action in QDropEvent. The target may also +original. This is the "Copy" action in TQDropEvent. The target may also choose to understand other actions, specifically the Move and Link actions. If the target understands the Move action, \e{the target} is responsible for both the copy and delete operations and @@ -215,12 +215,12 @@ which of those it can accept. For example, TQTextDrag provides support for the "\c{text/plain}" MIME type (ordinary unformatted text), and the Unicode formats "\c{text/utf16}" and "\c{text/utf8}"; TQImageDrag provides for "\c{image/*}", where \c{*} is any image format that -\l TQImageIO supports; and the QUriDrag subclass provides +\l TQImageIO supports; and the TQUriDrag subclass provides "\c{text/uri-list}", a standard format for transferring a list of filenames (or URLs). To implement drag-and-drop of some type of information for which there -is no available QDragObject subclass, the first and most important +is no available TQDragObject subclass, the first and most important step is to look for existing formats that are appropriate: the Internet Assigned Numbers Authority (\link http://www.iana.org IANA\endlink) provides a \link @@ -230,31 +230,31 @@ list of MIME media types\endlink at the Information Sciences Institute maximizes the inter-operability of your application with other software now and in the future. -To support an additional media type, subclass either QDragObject or -QStoredDrag. Subclass QDragObject when you need to provide support for -multiple media types. Subclass the simpler QStoredDrag when one type +To support an additional media type, subclass either TQDragObject or +TQStoredDrag. Subclass TQDragObject when you need to provide support for +multiple media types. Subclass the simpler TQStoredDrag when one type is sufficient. -Subclasses of QDragObject will override the -\link QDragObject::format() +Subclasses of TQDragObject will override the +\link TQDragObject::format() const char* format(int i) const \endlink and -\link QDragObject::encodedData() +\link TQDragObject::encodedData() QByteArray encodedData(const char* mimetype) const \endlink members, and provide a set-method to encode the media data and static members canDecode() and decode() to decode incoming data, similar to \link TQImageDrag::canDecode() -bool canDecode(QMimeSource*) const +bool canDecode(TQMimeSource*) const \endlink and \link TQImageDrag::decode() -QByteArray decode(QMimeSource*) const +QByteArray decode(TQMimeSource*) const \endlink of TQImageDrag. Of course, you can provide drag-only or drop-only support for a media type by omitting some of these methods. -Subclasses of QStoredDrag provide a set-method to encode the media +Subclasses of TQStoredDrag provide a set-method to encode the media data and the same static members canDecode() and decode() to decode incoming data. @@ -276,17 +276,17 @@ the drag start point and the drop event might look like this: \code void MyEditor::startDrag() { - QDragObject *d = new TQTextDrag(myHighlightedText(), this); + TQDragObject *d = new TQTextDrag(myHighlightedText(), this); if ( d->drag() && d->target() != this ) cutMyHighlightedText(); } -void MyEditor::dropEvent(QDropEvent* event) +void MyEditor::dropEvent(TQDropEvent* event) { TQString text; if ( TQTextDrag::decode(event, text) ) { - if ( event->source() == this && event->action() == QDropEvent::Move ) { + if ( event->source() == this && event->action() == TQDropEvent::Move ) { // Careful not to tread on my own feet event->acceptAction(); moveMyHighlightedTextTo(event->pos()); @@ -303,7 +303,7 @@ accept drops of text onto text objects in the view. In these cases, the \link TQWidget::dragMoveEvent() dragMoveEvent()\endlink is used and an \e area is given for which the drag is accepted or ignored: \code -void MyWidget::dragMoveEvent(QDragMoveEvent* event) +void MyWidget::dragMoveEvent(TQDragMoveEvent* event) { if ( TQTextDrag::canDecode(event) ) { MyCadItem* item = findMyItemAt(event->pos()); @@ -316,7 +316,7 @@ If the computations to find objects are particularly slow, you might achieve improved performance if you tell the system an area for which you promise the acceptance persists: \code -void MyWidget::dragMoveEvent(QDragMoveEvent* event) +void MyWidget::dragMoveEvent(TQDragMoveEvent* event) { if ( TQTextDrag::canDecode(event) ) { MyCadItem* item = findMyItemAt(event->pos()); diff --git a/doc/features.doc b/doc/features.doc index 127768ce..23abedb3 100644 --- a/doc/features.doc +++ b/doc/features.doc @@ -100,13 +100,13 @@ The available options are: \header \i31 MIME \row \i TQT_NO_MIME \i Multipurpose Internet Mail Extensions, an Internet standard for encoding - and tagging typed data (eg. text, images, colors) (\l QMimeSource) + and tagging typed data (eg. text, images, colors) (\l TQMimeSource) \i \row \i TQT_NO_RICHTEXT \i HTML-like text (\l TQStyleSheet, \l QLabel) \i TQT_NO_MIME \row \i TQT_NO_DRAGANDDROP - \i Drag-and-drop data between applications (\l QDragObject) + \i Drag-and-drop data between applications (\l TQDragObject) \i TQT_NO_MIME \row \i TQT_NO_CLIPBOARD \i Cut-and-paste data between applications (\l QClipboard) diff --git a/doc/html/annotated.html b/doc/html/annotated.html index fba80fe4..608ae988 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -86,7 +86,7 @@ body { background: #ffffff; color: black; }
To start a drag, for example in a mouse motion event, create an object of the TQDragObject +
To start a drag, for example in a mouse motion event, create an object of the TQDragObject subclass appropriate for your media, such as TQTextDrag for text and TQImageDrag for images. Then call the drag() method. This is all you need for simple dragging of existing types. @@ -70,8 +70,8 @@ need for simple dragging of existing types.
void MyWidget::startDrag() { - TQDragObject *d = new TQTextDrag( myHighlightedText(), this ); - d->dragCopy(); + TQDragObject *d = new TQTextDrag( myHighlightedText(), this ); + d->dragCopy(); // do NOT delete d. }@@ -127,14 +127,14 @@ void MyWidget::dropEvent(TQDropEvent* event)
The TQDragObject, TQDragEnterEvent, TQDragMoveEvent, and TQDropEvent +
The TQDragObject, TQDragEnterEvent, TQDragMoveEvent, and TQDropEvent classes are all subclasses of TQMimeSource: the class of objects which provide typed information. If you base your data transfers on TQDragObject, you not only get drag-and-drop, but you also get traditional cut-and-paste for free. The TQClipboard has two functions:
setData(TQMimeSource*) - TQMimeSource* data()const + TQMimeSource* data()constWith these functions you can trivially put your drag-and-drop oriented @@ -154,7 +154,7 @@ void MyWidget::paste() } -You can even use TQDragObject subclasses as part of file IO. For +You can even use TQDragObject subclasses as part of file IO. For example, if your application has a subclass of TQDragObject that encodes CAD designs in DXF format, your saving and loading code might be: @@ -182,14 +182,14 @@ void MyWidget::load() } -Note how the TQDragObject subclass is called "MyCadDrag", not +Note how the TQDragObject subclass is called "MyCadDrag", not "MyDxfDrag": because in the future you might extend it to provide DXF, DWG, SVF, WMF, or even TQPicture data to other applications.
In the simpler cases, the target of a drag-and-drop receives a copy of the data being dragged and the source decides whether to delete the -original. This is the "Copy" action in TQDropEvent. The target may also +original. This is the "Copy" action in TQDropEvent. The target may also choose to understand other actions, specifically the Move and Link actions. If the target understands the Move action, the target is responsible for both the copy and delete operations and the source will not attempt to delete the data itself. If the target @@ -214,11 +214,11 @@ which of those it can accept. For example, TQTextDrag< for the "text/plain" MIME type (ordinary unformatted text), and the Unicode formats "text/utf16" and "text/utf8"; TQImageDrag provides for "image/*", where * is any image format that -TQImageIO supports; and the TQUriDrag subclass provides +TQImageIO supports; and the TQUriDrag subclass provides "text/uri-list", a standard format for transferring a list of filenames (or URLs).
To implement drag-and-drop of some type of information for which there -is no available TQDragObject subclass, the first and most important +is no available TQDragObject subclass, the first and most important step is to look for existing formats that are appropriate: the Internet Assigned Numbers Authority (IANA) provides a hierarchical list of MIME media types at the Information Sciences Institute @@ -226,12 +226,12 @@ list of MIME media types at the Information Sciences Institute maximizes the inter-operability of your application with other software now and in the future.
To support an additional media type, subclass either TQDragObject or -TQStoredDrag. Subclass TQDragObject when you need to provide support for +TQStoredDrag. Subclass TQDragObject when you need to provide support for multiple media types. Subclass the simpler TQStoredDrag when one type is sufficient.
Subclasses of TQDragObject will override the -const char* format(int i) const and -TQByteArray encodedData(const char* mimetype) const +const char* format(int i) const and +TQByteArray encodedData(const char* mimetype) const members, and provide a set-method to encode the media data and static members canDecode() and decode() to decode incoming data, similar to bool canDecode(TQMimeSource*) const and @@ -259,8 +259,8 @@ the drag start point and the drop event might look like this:
void MyEditor::startDrag() { - TQDragObject *d = new TQTextDrag(myHighlightedText(), this); - if ( d->drag() && d->target() != this ) + TQDragObject *d = new TQTextDrag(myHighlightedText(), this); + if ( d->drag() && d->target() != this ) cutMyHighlightedText(); } diff --git a/doc/html/draganddrop.html b/doc/html/draganddrop.html index bb6bc439..4961aa69 100644 --- a/doc/html/draganddrop.html +++ b/doc/html/draganddrop.html @@ -37,21 +37,21 @@ encoding and decoding. See also Drag and Drop with TQt.
TQColorDrag | Drag and drop object for transferring colors - |
TQDragEnterEvent | Event which is sent to the widget when a drag and drop first drags onto the widget - |
TQDragLeaveEvent | Event which is sent to the widget when a drag and drop leaves the widget - |
TQDragMoveEvent | Event which is sent while a drag and drop is in progress - |
TQDragObject | Encapsulates MIME-based data transfer - |
TQDropEvent | Event which is sent when a drag and drop is completed + |
TQColorDrag | Drag and drop object for transferring colors + |
TQDragEnterEvent | Event which is sent to the widget when a drag and drop first drags onto the widget + |
TQDragLeaveEvent | Event which is sent to the widget when a drag and drop leaves the widget + |
TQDragMoveEvent | Event which is sent while a drag and drop is in progress + |
TQDragObject | Encapsulates MIME-based data transfer + |
TQDropEvent | Event which is sent when a drag and drop is completed |
TQIconDrag | Supports drag and drop operations within a TQIconView |
TQIconDragItem | Encapsulates a drag item |
TQImageDrag | Drag and drop object for transferring images - |
TQMacMime | Maps open-standard MIME to Mac flavors - |
TQMimeSource | Abstraction of objects which provide formatted data of a certain MIME type - |
TQStoredDrag | Simple stored-value drag object for arbitrary MIME data + |
TQMacMime | Maps open-standard MIME to Mac flavors + |
TQMimeSource | Abstraction of objects which provide formatted data of a certain MIME type + |
TQStoredDrag | Simple stored-value drag object for arbitrary MIME data |
TQTextDrag | Drag and drop object for transferring plain and Unicode text - |
TQUriDrag | Drag object for a list of URI references - |
TQWindowsMime | Maps open-standard MIME to Window Clipboard formats + |
TQUriDrag | Drag object for a list of URI references + |
TQWindowsMime | Maps open-standard MIME to Window Clipboard formats |
The clipboard offers a simple mechanism to copy and paste data between applications. -
TQClipboard supports the same data types that TQDragObject does, and +
TQClipboard supports the same data types that TQDragObject does, and uses similar mechanisms. For advanced clipboard usage read the drag-and-drop documentation.
There is a single TQClipboard object in an application, and you can @@ -102,7 +102,7 @@ access it using TQApplication::clipboard types: setText() allows the exchange of Unicode text and setPixmap() and setImage() allows the exchange of TQPixmaps and TQImages between applications. The setData() function is the -ultimate in flexibility: it allows you to add any TQMimeSource into the +ultimate in flexibility: it allows you to add any TQMimeSource into the clipboard. There are corresponding getters for each of these, e.g. text(), image() and pixmap().
You can clear the clipboard by calling clear().
@@ -177,9 +177,9 @@ determined by the return value of selectionModeE
If selectionModeEnabled() returns TRUE, the mode argument is
TQClipboard::Selection, otherwise the mode argument is TQClipboard::Clipboard.
- The mode argument is used to control which part of the system
clipboard is used. If mode is TQClipboard::Clipboard, the
@@ -188,7 +188,7 @@ TQClipboard::Selection, the data is retrieved from the global
mouse selection.
See also setData().
- This function uses the TQClipboard::data() function which takes
@@ -273,7 +273,7 @@ which take a TQClipboard::Mode argument.
Returns the selection mode.
See also setSelectionMode() and supportsSelection().
- The TQDragObject subclasses are reasonable objects to put into the
-clipboard (but do not try to call TQDragObject::drag() on the same
+ The TQDragObject subclasses are reasonable objects to put into the
+clipboard (but do not try to call TQDragObject::drag() on the same
object). Any TQDragObject placed in the clipboard should have a
-parent of 0. Do not put TQDragMoveEvent or TQDropEvent subclasses in
+parent of 0. Do not put TQDragMoveEvent or TQDropEvent subclasses in
the clipboard, as they do not belong to the event handler which
receives them.
The setText(), setImage() and setPixmap() functions are simpler
wrappers for setting text, image and pixmap data respectively.
See also data().
- This function uses the TQClipboard::setData() function which takes
diff --git a/doc/html/ntqevent.html b/doc/html/ntqevent.html
index c4327484..812ef5fd 100644
--- a/doc/html/ntqevent.html
+++ b/doc/html/ntqevent.html
@@ -36,7 +36,7 @@ event classes. Event objects contain event parameters.
More...
#include <ntqevent.h>
Inherits TQt.
- Inherited by TQTimerEvent, TQMouseEvent, TQWheelEvent, TQTabletEvent, TQKeyEvent, TQFocusEvent, TQPaintEvent, TQMoveEvent, TQResizeEvent, TQCloseEvent, TQIconDragEvent, TQShowEvent, TQHideEvent, TQContextMenuEvent, TQIMEvent, TQDropEvent, TQDragLeaveEvent, TQChildEvent, and TQCustomEvent.
+ Inherited by TQTimerEvent, TQMouseEvent, TQWheelEvent, TQTabletEvent, TQKeyEvent, TQFocusEvent, TQPaintEvent, TQMoveEvent, TQResizeEvent, TQCloseEvent, TQIconDragEvent, TQShowEvent, TQHideEvent, TQContextMenuEvent, TQIMEvent, TQDropEvent, TQDragLeaveEvent, TQChildEvent, and TQCustomEvent.
By default this function returns 0. You should reimplement it and
-create a TQDragObject depending on the selected items.
+create a TQDragObject depending on the selected items.
Reimplemented from TQScrollView.
- This signal is emitted, when a drop event occurred on the
diff --git a/doc/html/ntqpixmap.html b/doc/html/ntqpixmap.html
index 1d993913..97cbf7a7 100644
--- a/doc/html/ntqpixmap.html
+++ b/doc/html/ntqpixmap.html
@@ -444,7 +444,7 @@ color of the widget.
Convenience function. Gets the data associated with the absolute
name abs_name from the default mime source factory and decodes it
to a pixmap.
- See also TQMimeSourceFactory, TQImage::fromMimeSource(), and TQImageDrag::decode().
+ See also TQMimeSourceFactory, TQImage::fromMimeSource(), and TQImageDrag::decode().
Example: textedit/textedit.cpp.
Example: chart/canvasview.cpp.
- Reimplemented in TQTable.
- Reimplemented in TQTable.
- Reimplemented in TQTable.
- context is the optional context of the rich text object. This
becomes important if text contains relative references, for
example within image tags. TQSimpleRichText always uses the default
-mime source factory (see TQMimeSourceFactory::defaultFactory())
+mime source factory (see TQMimeSourceFactory::defaultFactory())
to resolve those references. The context will then be used to
calculate the absolute path. See
-TQMimeSourceFactory::makeAbsolute() for details.
+TQMimeSourceFactory::makeAbsolute() for details.
The sheet is an optional style sheet. If it is 0, the default
style sheet will be used (see TQStyleSheet::defaultSheet()).
- The sheet is an optional style sheet. If it is 0, the default
style sheet will be used (see TQStyleSheet::defaultSheet()).
This constructor is useful for creating a TQSimpleRichText object
diff --git a/doc/html/ntqtable.html b/doc/html/ntqtable.html
index 835de0fe..3eab7ae3 100644
--- a/doc/html/ntqtable.html
+++ b/doc/html/ntqtable.html
@@ -595,29 +595,29 @@ This function should be called whenever the column width of col
has been changed. It updates the geometry of any affected columns
and repaints the table to reflect the changes it has made.
- The focus is moved to the cell where the TQDragEnterEvent occurred.
+ The focus is moved to the cell where the TQDragEnterEvent occurred.
Reimplemented from TQScrollView.
- Reimplemented from TQScrollView.
- The focus is moved to the cell where the TQDragMoveEvent occurred.
+ The focus is moved to the cell where the TQDragMoveEvent occurred.
Reimplemented from TQScrollView.
- See also setDragEnabled().
- By default this function returns 0. You might reimplement it and
-create a TQDragObject depending on the selected items.
+create a TQDragObject depending on the selected items.
See also dropped().
Additionally, drawContents() highlights the current cell.
Reimplemented from TQScrollView.
- This signal is emitted when a drop event occurred on the table.
diff --git a/doc/html/ntqwhatsthis.html b/doc/html/ntqwhatsthis.html
index 1aeaf065..5986243e 100644
--- a/doc/html/ntqwhatsthis.html
+++ b/doc/html/ntqwhatsthis.html
@@ -89,7 +89,7 @@ stylesheet. This makes it possible to embed images. See
"Click this button to open a <em>new file</em>. <br>"
"You can also select the <b>Open</b> command "
"from the <b>File</b> menu.</p>";
- TQMimeSourceFactory::defaultFactory()->setPixmap( "document-open",
+ TQMimeSourceFactory::defaultFactory()->setPixmap( "document-open",
fileOpenAction->iconSet().pixmap() );
fileOpenAction->setWhatsThis( fileOpenText );
diff --git a/doc/html/porting.html b/doc/html/porting.html
index 2edb1275..62bede80 100644
--- a/doc/html/porting.html
+++ b/doc/html/porting.html
@@ -382,7 +382,7 @@ new code.
The default implementation does nothing and returns FALSE. A
subclass must reimplement this to accept drops.
@@ -355,7 +355,7 @@ reimplement this function.
Returns TRUE if this item accepts drops; otherwise returns FALSE.
See also setDropEnabled() and acceptDrop().
- With the above line we add the "What's This?" help-text to the
fileOpen button...
- ... and tell the rich-text engine that when a help-text (like the one
saved in fileOpenText) requests an image named "document-open", the openIcon pixmap is used.
diff --git a/doc/html/simple_dd-example.html b/doc/html/simple_dd-example.html
index 63e2a8c8..37bacb35 100644
--- a/doc/html/simple_dd-example.html
+++ b/doc/html/simple_dd-example.html
@@ -65,8 +65,8 @@ class DDListBox : public TQListBox
public:
DDListBox( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 );
// Low-level drag and drop
- void dragEnterEvent( TQDragEnterEvent *evt );
- void dropEvent( TQDropEvent *evt );
+ void dragEnterEvent( TQDragEnterEvent *evt );
+ void dropEvent( TQDropEvent *evt );
void mousePressEvent( TQMouseEvent *evt );
void mouseMoveEvent( TQMouseEvent * );
private:
@@ -82,8 +82,8 @@ public:
DDIconViewItem( TQIconView *parent, const TQString &text ) :
TQIconViewItem( parent, text ) {}
// High-level drag and drop
- bool acceptDrop( const TQMimeSource *mime ) const;
- void dropped( TQDropEvent *evt, const TQValueList<TQIconDragItem>& );
+ bool acceptDrop( const TQMimeSource *mime ) const;
+ void dropped( TQDropEvent *evt, const TQValueList<TQIconDragItem>& );
};
@@ -94,9 +94,9 @@ public:
DDIconView( TQWidget * parent = 0, const char * name = 0, WFlags f = 0 ) :
TQIconView( parent, name, f ) {}
// High-level drag and drop
- TQDragObject *dragObject();
+ TQDragObject *dragObject();
public slots:
- void slotNewItem( TQDropEvent *evt, const TQValueList<TQIconDragItem>& list );
+ void slotNewItem( TQDropEvent *evt, const TQValueList<TQIconDragItem>& list );
};
TQMimeSource * TQClipboard::data ( Mode mode ) const
+
TQMimeSource * TQClipboard::data ( Mode mode ) const
-Returns a reference to a TQMimeSource representation of the current
+Returns a reference to a TQMimeSource representation of the current
clipboard data.
TQMimeSource * TQClipboard::data () const
+
TQMimeSource * TQClipboard::data () const
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
void TQClipboard::setData ( TQMimeSource * src, Mode mode )
+
void TQClipboard::setData ( TQMimeSource * src, Mode mode )
Sets the clipboard data to src. Ownership of the data is
transferred to the clipboard. If you want to remove the data
@@ -283,17 +283,17 @@ clipboard is used. If mode is TQClipboard::Clipboard, the
data is retrieved from the global clipboard. If mode is
TQClipboard::Selection, the data is retrieved from the global
mouse selection.
-void TQClipboard::setData ( TQMimeSource * src )
+
void TQClipboard::setData ( TQMimeSource * src )
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
Public Members
@@ -125,10 +125,10 @@ cleaned up.
TQDragObject * TQListView::dragObject () [virtual protected]
+
TQDragObject * TQListView::dragObject () [virtual protected]
If the user presses the mouse on an item and starts moving the
mouse, and the item allow dragging (see
TQListViewItem::setDragEnabled()), this function is called to get a
drag object and a drag is started unless dragObject() returns 0.
void TQListView::drawContentsOffset ( TQPainter * p, int ox, int oy, int cx, int cy, int cw, int ch ) [virtual protected]
@@ -606,7 +606,7 @@ pixels high bounding rectangle starting at position cx, cy
with offset ox, oy. Uses the painter p.
void TQListView::dropped ( TQDropEvent * e ) [signal]
+
void TQListView::dropped ( TQDropEvent * e ) [signal]
TQPixmap TQPixmap::grabWidget ( TQWidget * widget, int x = 0, int y = 0, int w = -1, int h = -1 ) [static]
diff --git a/doc/html/ntqscrollview.html b/doc/html/ntqscrollview.html
index 104ad788..e885520f 100644
--- a/doc/html/ntqscrollview.html
+++ b/doc/html/ntqscrollview.html
@@ -422,28 +422,28 @@ This event handler is called whenever the TQScrollView receives a
be a point on the contents.
void TQScrollView::contentsDragEnterEvent ( TQDragEnterEvent * ) [virtual protected]
+
void TQScrollView::contentsDragEnterEvent ( TQDragEnterEvent * ) [virtual protected]
This event handler is called whenever the TQScrollView receives a
dragEnterEvent(): the drag position is translated to be a point
on the contents.
void TQScrollView::contentsDragLeaveEvent ( TQDragLeaveEvent * ) [virtual protected]
+
void TQScrollView::contentsDragLeaveEvent ( TQDragLeaveEvent * ) [virtual protected]
This event handler is called whenever the TQScrollView receives a
dragLeaveEvent(): the drag position is translated to be a point
on the contents.
void TQScrollView::contentsDragMoveEvent ( TQDragMoveEvent * ) [virtual protected]
+
void TQScrollView::contentsDragMoveEvent ( TQDragMoveEvent * ) [virtual protected]
This event handler is called whenever the TQScrollView receives a
dragMoveEvent(): the drag position is translated to be a point on
the contents.
void TQScrollView::contentsDropEvent ( TQDropEvent * ) [virtual protected]
+
void TQScrollView::contentsDropEvent ( TQDropEvent * ) [virtual protected]
This event handler is called whenever the TQScrollView receives a
dropEvent(): the drop position is translated to be a point on the
diff --git a/doc/html/ntqsimplerichtext.html b/doc/html/ntqsimplerichtext.html
index db4908e7..8715d338 100644
--- a/doc/html/ntqsimplerichtext.html
+++ b/doc/html/ntqsimplerichtext.html
@@ -97,14 +97,14 @@ the widget's font, for example:
TQSimpleRichText::TQSimpleRichText ( const TQString & text, const TQFont & fnt, const TQString & context, const TQStyleSheet * sheet, const TQMimeSourceFactory * factory, int pageBreak = -1, const TQColor & linkColor = TQt::blue, bool linkUnderline = TRUE )
+
TQSimpleRichText::TQSimpleRichText ( const TQString & text, const TQFont & fnt, const TQString & context, const TQStyleSheet * sheet, const TQMimeSourceFactory * factory, int pageBreak = -1, const TQColor & linkColor = TQt::blue, bool linkUnderline = TRUE )
Constructs a TQSimpleRichText from the rich text string text and
the font fnt.
@@ -115,10 +115,10 @@ as TQColorGroup's context is the optional context of the rich text object. This
becomes important if text contains relative references, for
example within image tags. TQSimpleRichText always uses the default
-mime source factory (see TQMimeSourceFactory::defaultFactory())
+mime source factory (see TQMimeSourceFactory::defaultFactory())
to resolve those references. The context will then be used to
calculate the absolute path. See
-TQMimeSourceFactory::makeAbsolute() for details.
+TQMimeSourceFactory::makeAbsolute() for details.
void TQTable::contentsDragEnterEvent ( TQDragEnterEvent * e ) [virtual protected]
+
void TQTable::contentsDragEnterEvent ( TQDragEnterEvent * e ) [virtual protected]
This event handler is called whenever a TQTable object receives a
-TQDragEnterEvent e, i.e. when the user pressed the mouse
+TQDragEnterEvent e, i.e. when the user pressed the mouse
button to drag something.
-void TQTable::contentsDragLeaveEvent ( TQDragLeaveEvent * e ) [virtual protected]
+
void TQTable::contentsDragLeaveEvent ( TQDragLeaveEvent * e ) [virtual protected]
This event handler is called when a drag activity leaves this
TQTable object with event e.
void TQTable::contentsDragMoveEvent ( TQDragMoveEvent * e ) [virtual protected]
+
void TQTable::contentsDragMoveEvent ( TQDragMoveEvent * e ) [virtual protected]
This event handler is called whenever a TQTable object receives a
-TQDragMoveEvent e, i.e. when the user actually drags the
+TQDragMoveEvent e, i.e. when the user actually drags the
mouse.
-void TQTable::contentsDropEvent ( TQDropEvent * e ) [virtual protected]
+
void TQTable::contentsDropEvent ( TQDropEvent * e ) [virtual protected]
This event handler is called when the user ends a drag and drop by
dropping something onto this TQTable and thus triggers the drop
@@ -716,14 +716,14 @@ double-clicked. The cell where the event took place is at row,
If this function returns TRUE, the table supports dragging.
TQDragObject * TQTable::dragObject () [virtual protected]
+
TQDragObject * TQTable::dragObject () [virtual protected]
If the user presses the mouse on a selected cell, starts moving
(i.e. dragging), and dragEnabled() is TRUE, this function is
called to obtain a drag object. A drag using this object begins
immediately unless dragObject() returns 0.
void TQTable::drawContents ( TQPainter * p, int cx, int cy, int cw, int ch ) [virtual protected]
@@ -735,7 +735,7 @@ wide and ch pixels high clipping rectangle at position cx,
void TQTable::dropped ( TQDropEvent * e ) [signal]
+
void TQTable::dropped ( TQDropEvent * e ) [signal]
bool TQListViewItem::acceptDrop ( const TQMimeSource * mime ) const [virtual]
+
bool TQListViewItem::acceptDrop ( const TQMimeSource * mime ) const [virtual]
-Returns TRUE if the item can accept drops of type TQMimeSource mime; otherwise returns FALSE.
+Returns TRUE if the item can accept drops of type TQMimeSource mime; otherwise returns FALSE.
void TQListViewItem::dropped ( TQDropEvent * e ) [virtual protected]
+
void TQListViewItem::dropped ( TQDropEvent * e ) [virtual protected]
This function is called when something was dropped on the item. e
contains all the information about the drop.
diff --git a/doc/html/qt.dcf b/doc/html/qt.dcf
index 6f196c97..ebb2c35d 100644
--- a/doc/html/qt.dcf
+++ b/doc/html/qt.dcf
@@ -1011,13 +1011,13 @@
- TQMimeSourceFactory::defaultFactory()->setPixmap( "document-open", openIcon );
+
@@ -189,14 +189,14 @@ const char* green_icon[]={
}
-void DDListBox::dragEnterEvent( TQDragEnterEvent *evt )
+void DDListBox::dragEnterEvent( TQDragEnterEvent *evt )
{
if ( TQTextDrag::canDecode( evt ) )
- evt->accept();
+ evt->accept();
}
-void DDListBox::dropEvent( TQDropEvent *evt )
+void DDListBox::dropEvent( TQDropEvent *evt )
{
TQString text;
@@ -215,8 +215,8 @@ const char* green_icon[]={
void DDListBox::mouseMoveEvent( TQMouseEvent * )
{
if ( dragging ) {
- TQDragObject *d = new TQTextDrag( currentText(), this );
- d->dragCopy(); // do NOT delete d.
+ TQDragObject *d = new TQTextDrag( currentText(), this );
+ d->dragCopy(); // do NOT delete d.
dragging = FALSE;
}
}
@@ -225,15 +225,15 @@ const char* green_icon[]={
// IconViewIcon -- high level drag and drop
-bool DDIconViewItem::acceptDrop( const TQMimeSource *mime ) const
+bool DDIconViewItem::acceptDrop( const TQMimeSource *mime ) const
{
- if ( mime->provides( "text/plain" ) )
+ if ( mime->provides( "text/plain" ) )
return TRUE;
return FALSE;
}
-void DDIconViewItem::dropped( TQDropEvent *evt, const TQValueList<TQIconDragItem>& )
+void DDIconViewItem::dropped( TQDropEvent *evt, const TQValueList<TQIconDragItem>& )
{
TQString label;
@@ -249,7 +249,7 @@ const char* green_icon[]={
return new TQTextDrag( currentItem()->text(), this );
}
-void DDIconView::slotNewItem( TQDropEvent *evt, const TQValueList<TQIconDragItem>& )
+void DDIconView::slotNewItem( TQDropEvent *evt, const TQValueList<TQIconDragItem>& )
{
TQString label;
diff --git a/doc/html/tetrix-example.html b/doc/html/tetrix-example.html
index bcab982a..f5dbb7ed 100644
--- a/doc/html/tetrix-example.html
+++ b/doc/html/tetrix-example.html
@@ -47,7 +47,7 @@ This is the TQt implementation of the well known game Tetris.
*****************************************************************************/
#include "qtetrix.h"
-#include "qdragapp.h"
+#include "tqdragapp.h"
#include "ntqfont.h"
int main( int argc, char **argv )
diff --git a/doc/html/titleindex b/doc/html/titleindex
index 8d46bce4..159b1386 100644
--- a/doc/html/titleindex
+++ b/doc/html/titleindex
@@ -238,8 +238,8 @@ TQColor Class | ntqcolor.html
TQColor Member List | qcolor-members.html
QColorDialog Class | ntqcolordialog.html
QColorDialog Member List | qcolordialog-members.html
-QColorDrag Class | qcolordrag.html
-QColorDrag Member List | qcolordrag-members.html
+TQColorDrag Class | tqcolordrag.html
+TQColorDrag Member List | tqcolordrag-members.html
QColorGroup Class | qcolorgroup.html
QColorGroup Member List | qcolorgroup-members.html
QComboBox Class | ntqcombobox.html
@@ -339,18 +339,18 @@ TQDomText Class | tqdomtext.html
TQDomText Member List | tqdomtext-members.html
QDoubleValidator Class | qdoublevalidator.html
QDoubleValidator Member List | qdoublevalidator-members.html
-QDragEnterEvent Class | qdragenterevent.html
-QDragEnterEvent Member List | qdragenterevent-members.html
-QDragLeaveEvent Class | qdragleaveevent.html
-QDragLeaveEvent Member List | qdragleaveevent-members.html
-QDragMoveEvent Class | qdragmoveevent.html
-QDragMoveEvent Member List | qdragmoveevent-members.html
-QDragObject Class | ntqdragobject.html
-QDragObject Member List | qdragobject-members.html
-QDropEvent Class | qdropevent.html
-QDropEvent Member List | qdropevent-members.html
-QDropSite Class | ntqdropsite.html
-QDropSite Member List | qdropsite-members.html
+TQDragEnterEvent Class | tqdragenterevent.html
+TQDragEnterEvent Member List | tqdragenterevent-members.html
+TQDragLeaveEvent Class | tqdragleaveevent.html
+TQDragLeaveEvent Member List | tqdragleaveevent-members.html
+TQDragMoveEvent Class | tqdragmoveevent.html
+TQDragMoveEvent Member List | tqdragmoveevent-members.html
+TQDragObject Class | tqdragobject.html
+TQDragObject Member List | tqdragobject-members.html
+TQDropEvent Class | tqdropevent.html
+TQDropEvent Member List | tqdropevent-members.html
+TQDropSite Class | tqdropsite.html
+TQDropSite Member List | tqdropsite-members.html
TQEditorFactory Class | tqeditorfactory.html
TQEditorFactory Member List | tqeditorfactory-members.html
QEmbed - File and Image Embedder | qembed.html
@@ -531,8 +531,8 @@ QLocalFs Class | ntqlocalfs.html
QLocalFs Member List | qlocalfs-members.html
QLocale Class | ntqlocale.html
QLocale Member List | qlocale-members.html
-QMacMime Class | qmacmime.html
-QMacMime Member List | qmacmime-members.html
+TQMacMime Class | tqmacmime.html
+TQMacMime Member List | tqmacmime-members.html
QMacStyle Class | qmacstyle.html
QMacStyle Member List | qmacstyle-members.html
QMag | qmag-example.html
@@ -556,10 +556,10 @@ QMetaObject Class | ntqmetaobject.html
QMetaObject Member List | qmetaobject-members.html
QMetaProperty Class | qmetaproperty.html
QMetaProperty Member List | qmetaproperty-members.html
-QMimeSource Class | qmimesource.html
-QMimeSource Member List | qmimesource-members.html
-QMimeSourceFactory Class | qmimesourcefactory.html
-QMimeSourceFactory Member List | qmimesourcefactory-members.html
+TQMimeSource Class | tqmimesource.html
+TQMimeSource Member List | tqmimesource-members.html
+TQMimeSourceFactory Class | tqmimesourcefactory.html
+TQMimeSourceFactory Member List | tqmimesourcefactory-members.html
QMotif Class | qmotif.html
QMotif Member List | qmotif-members.html
QMotif Support Extension | motif-examples.html
@@ -758,8 +758,8 @@ TQSqlSelectCursor Class | tqsqlselectcursor.html
TQSqlSelectCursor Member List | tqsqlselectcursor-members.html
TQStatusBar Class | tqstatusbar.html
TQStatusBar Member List | tqstatusbar-members.html
-QStoredDrag Class | qstoreddrag.html
-QStoredDrag Member List | qstoreddrag-members.html
+TQStoredDrag Class | tqstoreddrag.html
+TQStoredDrag Member List | tqstoreddrag-members.html
TQStrIList Class | tqstrilist.html
TQStrIList Member List | tqstrilist-members.html
TQStrList Class | tqstrlist.html
@@ -850,8 +850,8 @@ QTranslatorMessage Class | qtranslatormessage.html
QTranslatorMessage Member List | qtranslatormessage-members.html
TQTsciiCodec Class | tqtsciicodec.html
TQTsciiCodec Member List | tqtsciicodec-members.html
-QUriDrag Class | quridrag.html
-QUriDrag Member List | quridrag-members.html
+TQUriDrag Class | tquridrag.html
+TQUriDrag Member List | tquridrag-members.html
QUrl Class | ntqurl.html
QUrl Member List | qurl-members.html
QUrlInfo Class | ntqurlinfo.html
@@ -900,8 +900,8 @@ TQWidgetPlugin Class | tqwidgetplugin.html
TQWidgetPlugin Member List | tqwidgetplugin-members.html
TQWidgetStack Class | tqwidgetstack.html
TQWidgetStack Member List | tqwidgetstack-members.html
-QWindowsMime Class | qwindowsmime.html
-QWindowsMime Member List | qwindowsmime-members.html
+TQWindowsMime Class | tqwindowsmime.html
+TQWindowsMime Member List | tqwindowsmime-members.html
QWindowsStyle Class | ntqwindowsstyle.html
QWindowsStyle Member List | qwindowsstyle-members.html
QWizard Class | ntqwizard.html
@@ -1114,9 +1114,9 @@ ntqdns.h Include File | qdns-h.html
ntqdockarea.h Include File | qdockarea-h.html
ntqdockwindow.h Include File | qdockwindow-h.html
tqdom.h Include File | tqdom-h.html
-ntqdragobject.h Include File | qdragobject-h.html
+tqdragobject.h Include File | tqdragobject-h.html
ntqdrawutil.h Include File | qdrawutil-h.html
-ntqdropsite.h Include File | qdropsite-h.html
+tqdropsite.h Include File | tqdropsite-h.html
tqeditorfactory.h Include File | tqeditorfactory-h.html
ntqerrormessage.h Include File | qerrormessage-h.html
tqeucjpcodec.h Include File | tqeucjpcodec-h.html
@@ -1174,7 +1174,7 @@ tqmenubar.h Include File | tqmenubar-h.html
tqmenudata.h Include File | tqmenudata-h.html
ntqmessagebox.h Include File | qmessagebox-h.html
ntqmetaobject.h Include File | qmetaobject-h.html
-ntqmime.h Include File | qmime-h.html
+tqmime.h Include File | tqmime-h.html
qmotif.h Include File | qmotif-h.html
qmotifdialog.h Include File | qmotifdialog-h.html
ntqmotifplusstyle.h Include File | qmotifplusstyle-h.html
diff --git a/doc/html/tqaction-application-example.html b/doc/html/tqaction-application-example.html
index 41860395..0adf7d84 100644
--- a/doc/html/tqaction-application-example.html
+++ b/doc/html/tqaction-application-example.html
@@ -152,7 +152,7 @@ private:
"Click this button to open a <em>new file</em>. <br>"
"You can also select the <b>Open</b> command "
"from the <b>File</b> menu.</p>";
- TQMimeSourceFactory::defaultFactory()->setPixmap( "document-open",
+ TQMimeSourceFactory::defaultFactory()->setPixmap( "document-open",
fileOpenAction->iconSet().pixmap() );
fileOpenAction->setWhatsThis( fileOpenText );
diff --git a/doc/html/qcolordrag-members.html b/doc/html/tqcolordrag-members.html
similarity index 77%
rename from doc/html/qcolordrag-members.html
rename to doc/html/tqcolordrag-members.html
index 525cfa64..f9d0bb70 100644
--- a/doc/html/qcolordrag-members.html
+++ b/doc/html/tqcolordrag-members.html
@@ -1,5 +1,5 @@
-
+
@@ -32,12 +32,12 @@ body { background: #ffffff; color: black; }
TQMimeSourceFactory::defaultFactory()->setPixmap( "document-open", openIcon );
This is the complete list of member functions for -TQColorDrag, including inherited members. +TQColorDrag, including inherited members.
The TQColorDrag class provides a drag and drop object for transferring colors. More... -
#include <ntqdragobject.h> -
Inherits TQStoredDrag. -
List of all member functions. +
#include <tqdragobject.h> +
Inherits TQStoredDrag. +
The color is set in the constructor but can be changed with setColor(). -
For more information about drag and drop, see the TQDragObject class +
For more information about drag and drop, see the TQDragObject class and the drag and drop documentation.
See also Drag And Drop Classes.
This is the complete list of member functions for -TQDragEnterEvent, including inherited members. +TQDragEnterEvent, including inherited members.
The TQDragEnterEvent class provides an event which is sent to the widget when a drag and drop first drags onto the widget. More...
#include <ntqevent.h> -
Inherits TQDragMoveEvent. -
List of all member functions. +
Inherits TQDragMoveEvent. +
-
This event is always immediately followed by a TQDragMoveEvent, so +
This event is always immediately followed by a TQDragMoveEvent, so you only need to respond to one or the other event. This class inherits most of its functionality from TQDragMoveEvent, which in -turn inherits most of its functionality from TQDropEvent. -
See also TQDragLeaveEvent, TQDragMoveEvent, TQDropEvent, Drag And Drop Classes, and Event Classes. +turn inherits most of its functionality from TQDropEvent. +
See also TQDragLeaveEvent, TQDragMoveEvent, TQDropEvent, Drag And Drop Classes, and Event Classes.
This is the complete list of member functions for -TQDragLeaveEvent, including inherited members. +TQDragLeaveEvent, including inherited members.
#include <ntqevent.h>
Inherits TQEvent. -
List of all member functions. +
-
This event is always preceded by a TQDragEnterEvent and a series of -TQDragMoveEvents. It is not sent if a TQDropEvent is sent +
This event is always preceded by a TQDragEnterEvent and a series of +TQDragMoveEvents. It is not sent if a TQDropEvent is sent instead. -
See also TQDragEnterEvent, TQDragMoveEvent, TQDropEvent, Drag And Drop Classes, and Event Classes. +
See also TQDragEnterEvent, TQDragMoveEvent, TQDropEvent, Drag And Drop Classes, and Event Classes.
This is the complete list of member functions for -TQDragMoveEvent, including inherited members. +TQDragMoveEvent, including inherited members.
The TQDragMoveEvent class provides an event which is sent while a drag and drop is in progress. More...
#include <ntqevent.h> -
Inherits TQDropEvent. -
Inherited by TQDragEnterEvent. -
List of all member functions. +
Inherits TQDropEvent. +
Inherited by TQDragEnterEvent. +
When a widget accepts drop events, it will receive this event repeatedly while the drag is within the widget's boundaries. The widget should examine -the event to see what data it provides, and accept() the drop if appropriate. +the event to see what data it provides, and accept() the drop if appropriate.
Note that this class inherits most of its functionality from -TQDropEvent. +TQDropEvent.
See also Drag And Drop Classes and Event Classes.