summaryrefslogtreecommitdiffstats
path: root/src/kerrylabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kerrylabel.cpp')
-rw-r--r--src/kerrylabel.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/kerrylabel.cpp b/src/kerrylabel.cpp
index 4169138..9c85025 100644
--- a/src/kerrylabel.cpp
+++ b/src/kerrylabel.cpp
@@ -21,7 +21,7 @@
#include "kerrylabel.h"
#include "hitwidget.h"
-#include <qdragobject.h>
+#include <ntqdragobject.h>
#include <kglobalsettings.h>
#include <kurl.h>
#include <krun.h>
@@ -31,13 +31,13 @@
#include <knewmenu.h>
*/
-KerryLabel::KerryLabel (QWidget* parent, const char* name)
+KerryLabel::KerryLabel (TQWidget* parent, const char* name)
: KURLLabel (parent, name)
{
dragInfo.state = diNone;
}
-void KerryLabel::mousePressEvent(QMouseEvent* ev)
+void KerryLabel::mousePressEvent(TQMouseEvent* ev)
{
if (!url().isEmpty())
{
@@ -56,7 +56,7 @@ void KerryLabel::mousePressEvent(QMouseEvent* ev)
KURLLabel::mousePressEvent(ev);
}
-void KerryLabel::mouseMoveEvent(QMouseEvent* ev)
+void KerryLabel::mouseMoveEvent(TQMouseEvent* ev)
{
if (dragInfo.state == diPending) {
int distance = KGlobalSettings::dndEventDelay();
@@ -69,7 +69,7 @@ void KerryLabel::mouseMoveEvent(QMouseEvent* ev)
KURLLabel::mouseMoveEvent(ev);
}
-void KerryLabel::mouseReleaseEvent(QMouseEvent* ev)
+void KerryLabel::mouseReleaseEvent(TQMouseEvent* ev)
{
if ( ev->button() == LeftButton)
{
@@ -82,12 +82,12 @@ void KerryLabel::doDrag()
{
dragInfo.state = diDragging;
const KURL kuri = KURL(url());
- dragInfo.dragObject = new QTextDrag("'"+kuri.url().replace("file://",QString::null)+"'", this);
+ dragInfo.dragObject = new TQTextDrag("'"+kuri.url().replace("file://",TQString::null)+"'", this);
dragInfo.dragObject->dragCopy();
- // Don't delete the QTextDrag object. Qt will delete it when it's done with it.
+ // Don't delete the TQTextDrag object. TQt will delete it when it's done with it.
}
-// void KerryLabel::popupMenu( const QPoint &_global )
+// void KerryLabel::popupMenu( const TQPoint &_global )
// {
// KFileItem item( ((HitWidget*)parent())->uri(),((HitWidget*)parent())->mimetype(),KFileItem::Unknown);
// KFileItemList _items;