summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-03-13 10:33:47 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-03-14 09:20:46 +0900
commitccc90afb8999280588e00964c83149faa0697c10 (patch)
treea456aec3df72c98dff2f83fce84ba22b1816bf03 /src
parentf9ec1da001f5dfa94cc8aa8f584f017514432691 (diff)
downloadtellico-ccc90afb.tar.gz
tellico-ccc90afb.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit a7d0c9e487de9ae8c41d16c6da218151e3412cf3)
Diffstat (limited to 'src')
-rw-r--r--src/gui/listview.cpp2
-rw-r--r--src/mainwindow.cpp4
-rw-r--r--src/rtf2html/rtf2html.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/listview.cpp b/src/gui/listview.cpp
index 2634097..88afc55 100644
--- a/src/gui/listview.cpp
+++ b/src/gui/listview.cpp
@@ -234,7 +234,7 @@ void ListView::drawContentsOffset(TQPainter* p, int ox, int oy, int cx, int cy,
/* ****************** ListViewItem ********************* */
ListViewItem::~ListViewItem() {
- // I think there's a bug in qt where the children of this item are deleted after the item itself
+ // I think there's a bug in tqt where the children of this item are deleted after the item itself
// as a result, there is no listView() pointer for the children, that obvious causes
// a problem with updating the selection. So we MUST call clear() here ourselves!
clear();
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 5901dd9..e284014 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -1651,7 +1651,7 @@ void MainWindow::slotUpdateCollectionToolBar(Data::CollPtr coll_) {
if(tb) {
KComboBox* cb = tb->getCombo(m_entryGrouping->itemId(i));
if(cb) {
- // qt caches the combobox size and never recalculates the sizeHint()
+ // tqt caches the combobox size and never recalculates the sizeHint()
// the source code recommends calling setFont to invalidate the sizeHint
cb->setFont(cb->font());
cb->updateGeometry();
@@ -1836,7 +1836,7 @@ void MainWindow::setFilter(const TQString& text_) {
}
}
// if the text contains any non-word characters, assume it's a regexp
- // but \W in qt is letter, number, or '_', I want to be a bit less strict
+ // but \W in tqt is letter, number, or '_', I want to be a bit less strict
TQRegExp rx(TQString::fromLatin1("[^\\w\\s-']"));
if(text.find(rx) == -1) {
// split by whitespace, and add rules for each word
diff --git a/src/rtf2html/rtf2html.cpp b/src/rtf2html/rtf2html.cpp
index 6940608..abd4a0c 100644
--- a/src/rtf2html/rtf2html.cpp
+++ b/src/rtf2html/rtf2html.cpp
@@ -14,7 +14,7 @@
* *
***************************************************************************/
-// force to use QT with STL
+// force to use TQt with STL
#if defined(TQT_NO_STL)
# define DISABLE_TQT_NO_STL
# undef TQT_NO_STL