summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-25 12:29:20 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-25 12:29:20 +0900
commit7933eeb0613bc492820e6e048027dd010ad71234 (patch)
tree027886636cad355e94145cb79ef0da2d3200f091
parentba6005e901224a5f03b58e975a1b452ef61ae8ec (diff)
downloadkmymoney-7933eeb0613bc492820e6e048027dd010ad71234.tar.gz
kmymoney-7933eeb0613bc492820e6e048027dd010ad71234.zip
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--kmymoney2/dialogs/investtransactioneditor.cpp1
-rw-r--r--kmymoney2/dialogs/transactioneditor.cpp1
-rw-r--r--libkgpgfile/kgpgfile.h16
3 files changed, 0 insertions, 18 deletions
diff --git a/kmymoney2/dialogs/investtransactioneditor.cpp b/kmymoney2/dialogs/investtransactioneditor.cpp
index 3d4a605..9e26734 100644
--- a/kmymoney2/dialogs/investtransactioneditor.cpp
+++ b/kmymoney2/dialogs/investtransactioneditor.cpp
@@ -701,7 +701,6 @@ TQWidget* InvestTransactionEditor::firstWidget(void) const
bool InvestTransactionEditor::isComplete(TQString& reason) const
{
reason = TQString();
- // reason.clear(); // for TQt4
return d->m_activity->isComplete(reason);
}
diff --git a/kmymoney2/dialogs/transactioneditor.cpp b/kmymoney2/dialogs/transactioneditor.cpp
index 3cd3183..df85015 100644
--- a/kmymoney2/dialogs/transactioneditor.cpp
+++ b/kmymoney2/dialogs/transactioneditor.cpp
@@ -1744,7 +1744,6 @@ MyMoneyMoney StdTransactionEditor::removeVatSplit(void)
bool StdTransactionEditor::isComplete(TQString& reason) const
{
reason = TQString();
- // reason.clear(); // for TQt4
TQMap<TQString, TQWidget*>::const_iterator it_w;
kMyMoneyDateInput* postDate = dynamic_cast<kMyMoneyDateInput*>(m_editWidgets["postdate"]);
diff --git a/libkgpgfile/kgpgfile.h b/libkgpgfile/kgpgfile.h
index db89f2f..d12b718 100644
--- a/libkgpgfile/kgpgfile.h
+++ b/libkgpgfile/kgpgfile.h
@@ -24,10 +24,6 @@
#include <tqstringlist.h>
#include <kdemacros.h>
-#ifdef Q_MOC_RUN
-#define USE_QT4
-#endif // Q_MOC_RUN
-
/**
* @author Thomas Baumgart
*/
@@ -60,15 +56,7 @@ class TDEProcess;
* GPGAvailable(). Other, more general methods such as open(), close() and flush() are
* not shown in the above picture.
*/
-// MOC_SKIP_BEGIN
-#ifdef USE_QT4
-class KDE_EXPORT KGPGFile : public TQFile
-#else // USE_QT4
-// MOC_SKIP_END
class KDE_EXPORT KGPGFile : public TQObject, public TQFile
-// MOC_SKIP_BEGIN
-#endif // USE_QT4
-// MOC_SKIP_END
{
TQ_OBJECT
@@ -84,11 +72,7 @@ public:
virtual void close(void);
virtual void flush(void);
-#ifdef USE_QT4
- virtual qint64 size(void) const { return 0; };
-#else // USE_QT4
virtual Offset size(void) const { return 0; };
-#endif // USE_QT4
virtual TQ_LONG readBlock(char *data, TQ_ULONG maxlen);
virtual TQ_LONG writeBlock(const char *data, TQ_ULONG maxlen);