diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-05 06:00:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-05 06:00:29 +0000 |
commit | fecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch) | |
tree | 6b8614802f0d01b353bc9ba78aff2090846c198e /kmymoney2/dialogs/krecentfileitem.cpp | |
parent | dadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff) | |
download | kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.tar.gz kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.zip |
TQt4 port kmymoney
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239855 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/dialogs/krecentfileitem.cpp')
-rw-r--r-- | kmymoney2/dialogs/krecentfileitem.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kmymoney2/dialogs/krecentfileitem.cpp b/kmymoney2/dialogs/krecentfileitem.cpp index 679078d..dfcb0b8 100644 --- a/kmymoney2/dialogs/krecentfileitem.cpp +++ b/kmymoney2/dialogs/krecentfileitem.cpp @@ -23,10 +23,10 @@ // ---------------------------------------------------------------------------- // QT Includes -#include <qtooltip.h> -#include <qwidget.h> -#include <qrect.h> -#include <qpoint.h> +#include <tqtooltip.h> +#include <tqwidget.h> +#include <tqrect.h> +#include <tqpoint.h> // ---------------------------------------------------------------------------- // KDE Includes @@ -37,12 +37,12 @@ #include "krecentfileitem.h" -KRecentFileItem::KRecentFileItem(const QString& url, QIconView* parent, const QString& text, const QPixmap& icon) - : QIconViewItem(parent, text, icon), +KRecentFileItem::KRecentFileItem(const TQString& url, TQIconView* tqparent, const TQString& text, const TQPixmap& icon) + : TQIconViewItem(tqparent, text, icon), m_url(url), - m_parent(parent) + m_parent(tqparent) { - QToolTip::add(parent, rect(), url); + TQToolTip::add(tqparent, rect(), url); // avoid moving this item around setDragEnabled(false); } @@ -53,10 +53,10 @@ KRecentFileItem::~KRecentFileItem() bool KRecentFileItem::move( int x, int y ) { - QRect r = rect(); - QToolTip::remove(m_parent, rect()); - r.moveTopLeft(QPoint(x,y)); - QToolTip::add(m_parent, r, m_url); - return QIconViewItem::move(x,y); + TQRect r = rect(); + TQToolTip::remove(m_parent, rect()); + r.moveTopLeft(TQPoint(x,y)); + TQToolTip::add(m_parent, r, m_url); + return TQIconViewItem::move(x,y); } |