summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/krecentfileitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/krecentfileitem.cpp')
-rw-r--r--kmymoney2/dialogs/krecentfileitem.cpp26
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);
}