summaryrefslogtreecommitdiffstats
path: root/src/widgets/ntqlistbox.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-09-27 17:59:01 +0900
committerMichele Calgaro <[email protected]>2018-09-27 17:59:01 +0900
commit5fd88f2a2099db96bee7a208d09843fd32fd6bf3 (patch)
tree5cfd64687a124eb90c6dfee144b207d30df95073 /src/widgets/ntqlistbox.h
parent3e98ce7f85f06e95ad121c6f541d14464d85919e (diff)
downloadtqt3-5fd88f2a2099db96bee7a208d09843fd32fd6bf3.tar.gz
tqt3-5fd88f2a2099db96bee7a208d09843fd32fd6bf3.zip
qt -> tqt conversion:
QT_NO_ASCII_CAST -> TQT_NO_ASCII_CAST QT_NO_STL -> TQT_NO_STL QT_NO_COMPAT -> TQT_NO_COMPAT QT_NO_TRANSLATION -> TQT_NO_TRANSLATION Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/widgets/ntqlistbox.h')
-rw-r--r--src/widgets/ntqlistbox.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/widgets/ntqlistbox.h b/src/widgets/ntqlistbox.h
index c9790959f..7584e4f81 100644
--- a/src/widgets/ntqlistbox.h
+++ b/src/widgets/ntqlistbox.h
@@ -169,7 +169,7 @@ public:
void viewportPaintEvent( TQPaintEvent * );
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
bool dragSelect() const { return TRUE; }
void setDragSelect( bool ) {}
bool autoScroll() const { return TRUE; }
@@ -258,7 +258,7 @@ protected:
void updateItem( int index );
void updateItem( TQListBoxItem * );
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
void updateCellWidth() { }
int totalWidth() const { return contentsWidth(); }
int totalHeight() const { return contentsHeight(); }
@@ -273,7 +273,7 @@ protected:
void windowActivationChange( bool );
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
bool itemYPos( int index, int *yPos ) const;
int findItem( int yPos ) const { return index(itemAt(TQPoint(0,yPos)) ); }
#endif
@@ -331,7 +331,7 @@ public:
bool isSelected() const { return s; }
bool isCurrent() const;
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
bool selected() const { return isSelected(); }
bool current() const { return isCurrent(); }
#endif