diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-24 19:37:05 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-24 19:37:05 +0900 |
commit | 0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc (patch) | |
tree | be5eda50c23980aa4b44de1e8b2e209c6c02d2d1 /src/widgets | |
parent | 1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 (diff) | |
download | tqt3-0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc.tar.gz tqt3-0e787fb7f5b56b4fe87cd8ada64ae740bbca87bc.zip |
Rename text class nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/widgets')
-rw-r--r-- | src/widgets/qlineedit.cpp | 2 | ||||
-rw-r--r-- | src/widgets/qt_widgets.pri | 18 | ||||
-rw-r--r-- | src/widgets/qtitlebar_p.h | 2 | ||||
-rw-r--r-- | src/widgets/tqaction.cpp | 2 | ||||
-rw-r--r-- | src/widgets/tqlabel.cpp (renamed from src/widgets/qlabel.cpp) | 10 | ||||
-rw-r--r-- | src/widgets/tqlabel.h (renamed from src/widgets/ntqlabel.h) | 0 | ||||
-rw-r--r-- | src/widgets/tqmainwindow.cpp | 2 | ||||
-rw-r--r-- | src/widgets/tqpopupmenu.cpp | 8 | ||||
-rw-r--r-- | src/widgets/tqsyntaxhighlighter.cpp (renamed from src/widgets/qsyntaxhighlighter.cpp) | 6 | ||||
-rw-r--r-- | src/widgets/tqsyntaxhighlighter.h (renamed from src/widgets/ntqsyntaxhighlighter.h) | 0 | ||||
-rw-r--r-- | src/widgets/tqsyntaxhighlighter_p.h (renamed from src/widgets/qsyntaxhighlighter_p.h) | 2 | ||||
-rw-r--r-- | src/widgets/tqtextbrowser.cpp | 2 | ||||
-rw-r--r-- | src/widgets/tqtextedit.cpp | 2 | ||||
-rw-r--r-- | src/widgets/tqtooltip.cpp | 2 | ||||
-rw-r--r-- | src/widgets/tqwhatsthis.cpp (renamed from src/widgets/qwhatsthis.cpp) | 14 | ||||
-rw-r--r-- | src/widgets/tqwhatsthis.h (renamed from src/widgets/ntqwhatsthis.h) | 0 |
16 files changed, 36 insertions, 36 deletions
diff --git a/src/widgets/qlineedit.cpp b/src/widgets/qlineedit.cpp index 75570cc09..d37c43539 100644 --- a/src/widgets/qlineedit.cpp +++ b/src/widgets/qlineedit.cpp @@ -59,7 +59,7 @@ #include "tqstringlist.h" #include "ntqguardedptr.h" #include "tqstyle.h" -#include "ntqwhatsthis.h" +#include "tqwhatsthis.h" #include "../kernel/qinternal_p.h" #include "private/tqtextlayout_p.h" #include "tqvaluevector.h" diff --git a/src/widgets/qt_widgets.pri b/src/widgets/qt_widgets.pri index 38ef25ca9..876cc428c 100644 --- a/src/widgets/qt_widgets.pri +++ b/src/widgets/qt_widgets.pri @@ -21,7 +21,7 @@ widgets { $$WIDGETS_H/ntqhgroupbox.h \ $$WIDGETS_H/ntqhbox.h \ $$WIDGETS_H/tqiconview.h \ - $$WIDGETS_H/ntqlabel.h \ + $$WIDGETS_H/tqlabel.h \ $$WIDGETS_H/ntqlcdnumber.h \ $$WIDGETS_H/ntqlineedit.h \ $$WIDGETS_H/ntqlistbox.h \ @@ -43,8 +43,8 @@ widgets { $$WIDGETS_H/ntqsplitter.h \ $$WIDGETS_H/tqstatusbar.h \ $$WIDGETS_H/ntqtabbar.h \ - $$WIDGETS_H/ntqsyntaxhighlighter.h \ - $$WIDGETS_P/qsyntaxhighlighter_p.h \ + $$WIDGETS_H/tqsyntaxhighlighter.h \ + $$WIDGETS_P/tqsyntaxhighlighter_p.h \ $$WIDGETS_H/ntqtabwidget.h \ $$WIDGETS_P/qtitlebar_p.h \ $$WIDGETS_H/tqtoolbar.h \ @@ -55,7 +55,7 @@ widgets { $$WIDGETS_H/ntqvbox.h \ $$WIDGETS_H/ntqvbuttongroup.h \ $$WIDGETS_H/ntqvgroupbox.h \ - $$WIDGETS_H/ntqwhatsthis.h \ + $$WIDGETS_H/tqwhatsthis.h \ $$WIDGETS_H/tqwidgetstack.h \ $$WIDGETS_H/tqaction.h \ $$WIDGETS_H/tqdatetimeedit.h \ @@ -83,7 +83,7 @@ widgets { $$WIDGETS_CPP/qhgroupbox.cpp \ $$WIDGETS_CPP/qhbox.cpp \ $$WIDGETS_CPP/tqiconview.cpp \ - $$WIDGETS_CPP/qlabel.cpp \ + $$WIDGETS_CPP/tqlabel.cpp \ $$WIDGETS_CPP/qlcdnumber.cpp \ $$WIDGETS_CPP/qlineedit.cpp \ $$WIDGETS_CPP/qlistbox.cpp \ @@ -105,7 +105,7 @@ widgets { $$WIDGETS_CPP/qspinwidget.cpp \ $$WIDGETS_CPP/qsplitter.cpp \ $$WIDGETS_CPP/tqstatusbar.cpp \ - $$WIDGETS_CPP/qsyntaxhighlighter.cpp \ + $$WIDGETS_CPP/tqsyntaxhighlighter.cpp \ $$WIDGETS_CPP/qtabbar.cpp \ $$WIDGETS_CPP/qtabwidget.cpp \ $$WIDGETS_CPP/qtitlebar.cpp \ @@ -117,7 +117,7 @@ widgets { $$WIDGETS_CPP/qvbox.cpp \ $$WIDGETS_CPP/qvbuttongroup.cpp \ $$WIDGETS_CPP/qvgroupbox.cpp \ - $$WIDGETS_CPP/qwhatsthis.cpp \ + $$WIDGETS_CPP/tqwhatsthis.cpp \ $$WIDGETS_CPP/tqwidgetstack.cpp \ $$WIDGETS_CPP/tqaction.cpp \ $$WIDGETS_CPP/tqdatetimeedit.cpp \ @@ -133,9 +133,9 @@ wince-* { SOURCES += $$WIDGETS_CPP/ce/qcemainwindow.cpp HEADERS += $$WIDGETS_H/ce/qcemainwindow.h - SOURCES -= $$WIDGETS_CPP/qsyntaxhighlighter.cpp \ + SOURCES -= $$WIDGETS_CPP/tqsyntaxhighlighter.cpp \ $$WIDGETS_CPP/qsplashscreen.cpp - HEADERS -= $$WIDGETS_H/ntqsyntaxhighlighter.h \ + HEADERS -= $$WIDGETS_H/tqsyntaxhighlighter.h \ $$WIDGETS_H/ntqsplashscreen.h } diff --git a/src/widgets/qtitlebar_p.h b/src/widgets/qtitlebar_p.h index b933658dd..ae9fd6b15 100644 --- a/src/widgets/qtitlebar_p.h +++ b/src/widgets/qtitlebar_p.h @@ -57,7 +57,7 @@ #ifndef QT_H #include "ntqbutton.h" -#include "ntqlabel.h" +#include "tqlabel.h" #endif // QT_H #if !defined(TQT_NO_TITLEBAR) diff --git a/src/widgets/tqaction.cpp b/src/widgets/tqaction.cpp index 6bf1a50f8..31d308420 100644 --- a/src/widgets/tqaction.cpp +++ b/src/widgets/tqaction.cpp @@ -47,7 +47,7 @@ #include "tqtoolbutton.h" #include "ntqcombobox.h" #include "tqtooltip.h" -#include "ntqwhatsthis.h" +#include "tqwhatsthis.h" #include "tqstatusbar.h" #include "tqobjectlist.h" diff --git a/src/widgets/qlabel.cpp b/src/widgets/tqlabel.cpp index 7f2c5cbae..7f9d858bb 100644 --- a/src/widgets/qlabel.cpp +++ b/src/widgets/tqlabel.cpp @@ -38,7 +38,7 @@ ** **********************************************************************/ -#include "ntqlabel.h" +#include "tqlabel.h" #ifndef TQT_NO_LABEL #include "tqpainter.h" #include "ntqdrawutil.h" @@ -48,7 +48,7 @@ #include "tqbitmap.h" #include "tqpicture.h" #include "ntqapplication.h" -#include "ntqsimplerichtext.h" +#include "tqsimplerichtext.h" #include "tqstylesheet.h" #include "tqstyle.h" @@ -67,7 +67,7 @@ public: /*! - \class TQLabel ntqlabel.h + \class TQLabel tqlabel.h \brief The TQLabel widget provides a text or image display. \ingroup basic @@ -128,7 +128,7 @@ public: buddy (the TQLineEdit) when the user presses Alt+P. You can also use the setBuddy() function to accomplish the same thing. - <img src=qlabel-m.png> <img src=qlabel-w.png> + <img src=tqlabel-m.png> <img src=tqlabel-w.png> \sa TQLineEdit, TQTextEdit, TQPixmap, TQMovie, \link guibooks.html#fowler GUI Design Handbook: Label\endlink @@ -258,7 +258,7 @@ void TQLabel::init() The label resizes itself if auto-resizing is enabled. - Note that Qlabel is well-suited to display small rich text + Note that TQLabel is well-suited to display small rich text documents, i.e. those small documents that get their document specific settings (font, text color, link color) from the label's palette and font properties. For large documents, use TQTextEdit diff --git a/src/widgets/ntqlabel.h b/src/widgets/tqlabel.h index f8d728807..f8d728807 100644 --- a/src/widgets/ntqlabel.h +++ b/src/widgets/tqlabel.h diff --git a/src/widgets/tqmainwindow.cpp b/src/widgets/tqmainwindow.cpp index 071a330ff..7b66839db 100644 --- a/src/widgets/tqmainwindow.cpp +++ b/src/widgets/tqmainwindow.cpp @@ -57,7 +57,7 @@ #include "ntqscrollview.h" #include "tqtooltip.h" #include "tqdatetime.h" -#include "ntqwhatsthis.h" +#include "tqwhatsthis.h" #include "tqbitmap.h" #include "ntqdockarea.h" #include "tqstringlist.h" diff --git a/src/widgets/tqpopupmenu.cpp b/src/widgets/tqpopupmenu.cpp index 09961bf03..26aa7f9cc 100644 --- a/src/widgets/tqpopupmenu.cpp +++ b/src/widgets/tqpopupmenu.cpp @@ -48,7 +48,7 @@ #include "tqpixmap.h" #include "tqpixmapcache.h" #include "tqtimer.h" -#include "ntqwhatsthis.h" +#include "tqwhatsthis.h" #include "tqobjectlist.h" #include "ntqguardedptr.h" #include "qeffects_p.h" @@ -124,7 +124,7 @@ static void popupSubMenuLater( int msec, TQPopupMenu * receiver ) { static bool preventAnimation = FALSE; #ifndef TQT_NO_WHATSTHIS -extern void qWhatsThisBDH(); +extern void tqWhatsThisBDH(); static TQMenuItem* whatsThisItem = 0; #endif @@ -816,7 +816,7 @@ void TQPopupMenu::hideAllPopups() #ifndef TQT_NO_WHATSTHIS if (whatsThisItem) { - qWhatsThisBDH(); + tqWhatsThisBDH(); whatsThisItem = 0; } #endif @@ -2570,7 +2570,7 @@ void TQPopupMenu::setActiveItem( int i ) hilitSig( mi->id() ); #ifndef TQT_NO_WHATSTHIS if (whatsThisItem && whatsThisItem != mi) { - qWhatsThisBDH(); + tqWhatsThisBDH(); } whatsThisItem = mi; #endif diff --git a/src/widgets/qsyntaxhighlighter.cpp b/src/widgets/tqsyntaxhighlighter.cpp index d9fececf1..223f7930c 100644 --- a/src/widgets/qsyntaxhighlighter.cpp +++ b/src/widgets/tqsyntaxhighlighter.cpp @@ -38,8 +38,8 @@ ** **********************************************************************/ -#include "ntqsyntaxhighlighter.h" -#include "private/qsyntaxhighlighter_p.h" +#include "tqsyntaxhighlighter.h" +#include "private/tqsyntaxhighlighter_p.h" #ifndef TQT_NO_SYNTAXHIGHLIGHTER #include "../kernel/qrichtext_p.h" @@ -47,7 +47,7 @@ #include "tqtimer.h" /*! - \class TQSyntaxHighlighter ntqsyntaxhighlighter.h + \class TQSyntaxHighlighter tqsyntaxhighlighter.h \brief The TQSyntaxHighlighter class is a base class for implementing TQTextEdit syntax highlighters. diff --git a/src/widgets/ntqsyntaxhighlighter.h b/src/widgets/tqsyntaxhighlighter.h index 81556553e..81556553e 100644 --- a/src/widgets/ntqsyntaxhighlighter.h +++ b/src/widgets/tqsyntaxhighlighter.h diff --git a/src/widgets/qsyntaxhighlighter_p.h b/src/widgets/tqsyntaxhighlighter_p.h index 156cc9321..c4d7deabf 100644 --- a/src/widgets/qsyntaxhighlighter_p.h +++ b/src/widgets/tqsyntaxhighlighter_p.h @@ -42,7 +42,7 @@ #define TQSYNTAXHIGHLIGHTER_P_H #ifndef TQT_NO_SYNTAXHIGHLIGHTER -#include "ntqsyntaxhighlighter.h" +#include "tqsyntaxhighlighter.h" #include "private/qrichtext_p.h" class TQSyntaxHighlighterPrivate diff --git a/src/widgets/tqtextbrowser.cpp b/src/widgets/tqtextbrowser.cpp index fd4bced0a..1409a20ff 100644 --- a/src/widgets/tqtextbrowser.cpp +++ b/src/widgets/tqtextbrowser.cpp @@ -54,7 +54,7 @@ #include "tqbitmap.h" #include "tqtimer.h" #include "tqimage.h" -#include "ntqsimplerichtext.h" +#include "tqsimplerichtext.h" #include "tqdragobject.h" #include "tqurl.h" #include "ntqcursor.h" diff --git a/src/widgets/tqtextedit.cpp b/src/widgets/tqtextedit.cpp index a0887cb5d..9ef0752a7 100644 --- a/src/widgets/tqtextedit.cpp +++ b/src/widgets/tqtextedit.cpp @@ -75,7 +75,7 @@ #include "ntqmetaobject.h" #include "tqtextbrowser.h" #include <private/qucom_p.h> -#include "private/qsyntaxhighlighter_p.h" +#include "private/tqsyntaxhighlighter_p.h" #include <ntqguardedptr.h> #ifndef TQT_NO_ACCEL diff --git a/src/widgets/tqtooltip.cpp b/src/widgets/tqtooltip.cpp index 6a048f5e1..7a9166452 100644 --- a/src/widgets/tqtooltip.cpp +++ b/src/widgets/tqtooltip.cpp @@ -38,7 +38,7 @@ #include "tqtooltip.h" #ifndef TQT_NO_TOOLTIP -#include "ntqlabel.h" +#include "tqlabel.h" #include "tqptrdict.h" #include "ntqapplication.h" #include "ntqguardedptr.h" diff --git a/src/widgets/qwhatsthis.cpp b/src/widgets/tqwhatsthis.cpp index 65df04e7b..1328c49ea 100644 --- a/src/widgets/qwhatsthis.cpp +++ b/src/widgets/tqwhatsthis.cpp @@ -36,7 +36,7 @@ ** **********************************************************************/ -#include "ntqwhatsthis.h" +#include "tqwhatsthis.h" #ifndef TQT_NO_WHATSTHIS #include "ntqapplication.h" #include "tqpaintdevicemetrics.h" @@ -49,7 +49,7 @@ #include "ntqcursor.h" #include "tqbitmap.h" #include "tqtooltip.h" -#include "ntqsimplerichtext.h" +#include "tqsimplerichtext.h" #include "tqstylesheet.h" #if defined(QT_ACCESSIBILITY_SUPPORT) #include "ntqaccessible.h" @@ -62,7 +62,7 @@ #endif /*! - \class TQWhatsThis ntqwhatsthis.h + \class TQWhatsThis tqwhatsthis.h \brief The TQWhatsThis class provides a simple description of any widget, i.e. answering the question "What's this?". @@ -233,7 +233,7 @@ const int vMargin = 8; const int hMargin = 12; // Lets TQPopupMenu destroy the TQWhatsThat. -void qWhatsThisBDH() +void tqWhatsThisBDH() { if ( wt && wt->whatsThat ) wt->whatsThat->hide(); @@ -479,7 +479,7 @@ void TQWhatsThisButton::mouseReleased() } } -static void qWhatsThisPrivateCleanup() +static void tqWhatsThisPrivateCleanup() { if( wt ) { delete wt; @@ -617,7 +617,7 @@ void TQWhatsThisPrivate::setUpWhatsThis() // It is necessary to use a post routine, because // the destructor deletes pixmaps and other stuff that // needs a working X connection under X11. - tqAddPostRoutine( qWhatsThisPrivateCleanup ); + tqAddPostRoutine( tqWhatsThisPrivateCleanup ); } } @@ -997,5 +997,5 @@ void TQWhatsThis::setFont( const TQFont &font ) TQApplication::setFont( font, TRUE, "TQWhatsThat" ); } -#include "qwhatsthis.moc" +#include "tqwhatsthis.moc" #endif diff --git a/src/widgets/ntqwhatsthis.h b/src/widgets/tqwhatsthis.h index 66b4b3c90..66b4b3c90 100644 --- a/src/widgets/ntqwhatsthis.h +++ b/src/widgets/tqwhatsthis.h |