From 69d87202cb139ffe9e4b3ce92e434523b7b09b64 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 17 Oct 2018 19:46:30 +0900 Subject: QT_NO_* -> TQT_NO_* renaming. Signed-off-by: Michele Calgaro --- src/widgets/ntqiconview.h | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'src/widgets/ntqiconview.h') diff --git a/src/widgets/ntqiconview.h b/src/widgets/ntqiconview.h index 0de83775..e9c5d949 100644 --- a/src/widgets/ntqiconview.h +++ b/src/widgets/ntqiconview.h @@ -53,7 +53,7 @@ #include "ntqpicture.h" #endif // QT_H -#ifndef QT_NO_ICONVIEW +#ifndef TQT_NO_ICONVIEW class TQIconView; class TQPainter; @@ -70,7 +70,7 @@ class TQIconViewItemLineEdit; class TQStringList; class TQIconDragPrivate; -#ifndef QT_NO_DRAGANDDROP +#ifndef TQT_NO_DRAGANDDROP class Q_EXPORT TQIconDragItem { @@ -129,7 +129,7 @@ public: TQIconViewItem( TQIconView *parent, TQIconViewItem *after, const TQString &text ); TQIconViewItem( TQIconView *parent, const TQString &text, const TQPixmap &icon ); TQIconViewItem( TQIconView *parent, TQIconViewItem *after, const TQString &text, const TQPixmap &icon ); -#ifndef QT_NO_PICTURE +#ifndef TQT_NO_PICTURE TQIconViewItem( TQIconView *parent, const TQString &text, const TQPicture &picture ); TQIconViewItem( TQIconView *parent, TQIconViewItem *after, const TQString &text, const TQPicture &picture ); #endif @@ -141,7 +141,7 @@ public: virtual TQString text() const; virtual TQPixmap *pixmap() const; -#ifndef QT_NO_PICTURE +#ifndef TQT_NO_PICTURE virtual TQPicture *picture() const; #endif virtual TQString key() const; @@ -187,7 +187,7 @@ public: virtual bool acceptDrop( const TQMimeSource *mime ) const; -#ifndef QT_NO_TEXTEDIT +#ifndef TQT_NO_TEXTEDIT void rename(); #endif @@ -195,7 +195,7 @@ public: virtual void setText( const TQString &text ); virtual void setPixmap( const TQPixmap &icon ); -#ifndef QT_NO_PICTURE +#ifndef TQT_NO_PICTURE virtual void setPicture( const TQPicture &icon ); #endif virtual void setText( const TQString &text, bool recalc, bool redraw = TRUE ); @@ -206,13 +206,13 @@ public: static int RTTI; protected: -#ifndef QT_NO_TEXTEDIT +#ifndef TQT_NO_TEXTEDIT virtual void removeRenameBox(); #endif virtual void calcRect( const TQString &text_ = TQString::null ); virtual void paintItem( TQPainter *p, const TQColorGroup &cg ); virtual void paintFocus( TQPainter *p, const TQColorGroup &cg ); -#ifndef QT_NO_DRAGANDDROP +#ifndef TQT_NO_DRAGANDDROP virtual void dropped( TQDropEvent *e, const TQValueList &lst ); #endif virtual void dragEntered(); @@ -225,11 +225,11 @@ protected: private: void init( TQIconViewItem *after = 0 -#ifndef QT_NO_PICTURE +#ifndef TQT_NO_PICTURE , TQPicture *pic = 0 #endif ); -#ifndef QT_NO_TEXTEDIT +#ifndef TQT_NO_TEXTEDIT void renameItem(); void cancelRenameItem(); #endif @@ -239,7 +239,7 @@ private: TQString itemText, itemKey; TQString tmpText; TQPixmap *itemIcon; -#ifndef QT_NO_PICTURE +#ifndef TQT_NO_PICTURE TQPicture *itemPic; #endif TQIconViewItem *prev, *next; @@ -252,7 +252,7 @@ private: uint dirty : 1; uint wordWrapDirty : 1; TQRect itemRect, itemTextRect, itemIconRect; -#ifndef QT_NO_TEXTEDIT +#ifndef TQT_NO_TEXTEDIT TQIconViewItemLineEdit *renameBox; #endif TQRect oldRect; @@ -414,7 +414,7 @@ signals: void mouseButtonClicked( int button, TQIconViewItem* item, const TQPoint& pos ); void contextMenuRequested( TQIconViewItem* item, const TQPoint &pos ); -#ifndef QT_NO_DRAGANDDROP +#ifndef TQT_NO_DRAGANDDROP void dropped( TQDropEvent *e, const TQValueList &lst ); #endif void moved(); @@ -439,7 +439,7 @@ protected: void contentsMouseDoubleClickEvent( TQMouseEvent *e ); void contentsContextMenuEvent( TQContextMenuEvent *e ); -#ifndef QT_NO_DRAGANDDROP +#ifndef TQT_NO_DRAGANDDROP void contentsDragEnterEvent( TQDragEnterEvent *e ); void contentsDragMoveEvent( TQDragMoveEvent *e ); void contentsDragLeaveEvent( TQDragLeaveEvent *e ); @@ -454,7 +454,7 @@ protected: void enterEvent( TQEvent *e ); virtual void drawRubber( TQPainter *p ); -#ifndef QT_NO_DRAGANDDROP +#ifndef TQT_NO_DRAGANDDROP virtual TQDragObject *dragObject(); virtual void startDrag(); #endif @@ -472,7 +472,7 @@ protected: private: void contentsMousePressEventEx( TQMouseEvent *e ); virtual void drawDragShapes( const TQPoint &pnt ); -#ifndef QT_NO_DRAGANDDROP +#ifndef TQT_NO_DRAGANDDROP virtual void initDragEnter( TQDropEvent *e ); #endif void drawContents( TQPainter* ); @@ -505,6 +505,6 @@ private: // Disabled copy constructor and operator= #endif }; -#endif // QT_NO_ICONVIEW +#endif // TQT_NO_ICONVIEW #endif // TQICONVIEW_H -- cgit v1.2.1