Drop USE_TQT4 code

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/14/head
Michele Calgaro 1 year ago
parent ba6005e901
commit 7933eeb061
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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);
}

@ -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"]);

@ -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);

Loading…
Cancel
Save