summaryrefslogtreecommitdiffstats
path: root/freebsd/dependencies/pinentry-tqt/files/patch-tqt_secqlineedit.h
blob: cf199b93a5753c9cf255ad80703b92ec48ac726f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
--- tqt/secqlineedit.h.orig	2019-03-06 07:09:48 UTC
+++ tqt/secqlineedit.h
@@ -80,7 +80,7 @@ class TQPopupMenu;
 class TQTextParagraph;
 class TQTextCursor;
 
-class Q_EXPORT SecTQLineEdit : public TQFrame
+class TQ_EXPORT SecTQLineEdit : public TQFrame
 {
     TQ_OBJECT
     TQ_ENUMS( EchoMode )
@@ -127,7 +127,7 @@ class Q_EXPORT SecTQLineEdit : public TQFrame (public)
 
     int alignment() const;
 
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
     void cursorLeft( bool mark, int steps = 1 ) { cursorForward( mark, -steps ); }
     void cursorRight( bool mark, int steps = 1 ) { cursorForward( mark, steps ); }
 #endif
@@ -153,7 +153,7 @@ class Q_EXPORT SecTQLineEdit : public TQFrame (public)
     bool isUndoAvailable() const;
     bool isRedoAvailable() const;
 
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
     bool hasMarkedText() const { return hasSelectedText(); }
     SecTQString markedText() const { return selectedText(); }
 #endif
@@ -175,7 +175,7 @@ public slots:
     virtual void setSelection( int, int );
     virtual void setCursorPosition( int );
     virtual void setAlignment( int flag );
-#ifndef QT_NO_CLIPBOARD
+#ifndef TQT_NO_CLIPBOARD
     virtual void cut();
     virtual void copy() const;
     virtual void paste();
@@ -204,7 +204,7 @@ signals: (protected)
     void resizeEvent( TQResizeEvent * );
     void drawContents( TQPainter * );
     void windowActivationChange( bool );
-#ifndef QT_NO_COMPAT
+#ifndef TQT_NO_COMPAT
     void repaintArea( int, int ) { update(); }
 #endif