summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/TEWidget.cpp4
-rw-r--r--noncore/apps/opie-console/TEWidget.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/noncore/apps/opie-console/TEWidget.cpp b/noncore/apps/opie-console/TEWidget.cpp
index 3d010cb..444924b 100644
--- a/noncore/apps/opie-console/TEWidget.cpp
+++ b/noncore/apps/opie-console/TEWidget.cpp
@@ -1243,17 +1243,17 @@ QSize TEWidget::sizeHint() const
return size();
}
void TEWidget::styleChange(QStyle &)
{
propagateSize();
}
-#ifndef QT_NO_DRAGANDDROP
+#ifdef QT_NO_DRAGANDDROP_FOO
/* --------------------------------------------------------------------- */
/* */
/* Drag & Drop */
/* */
/* --------------------------------------------------------------------- */
@@ -1315,17 +1315,17 @@ void TEWidget::dropEvent(QDropEvent* event)
// Paste it
}
}
#endif
void TEWidget::drop_menu_activated(int)
{
-#ifndef QT_NO_DRAGANDDROP
+#ifdef QT_NO_DRAGANDDROP_FOO
switch (item)
{
case 0: // paste
currentSession->getEmulation()->sendString(dropText.local8Bit());
// KWM::activate((Window)this->winId());
break;
case 1: // cd ...
currentSession->getEmulation()->sendString("cd ");
diff --git a/noncore/apps/opie-console/TEWidget.h b/noncore/apps/opie-console/TEWidget.h
index 6ff731b..900a659 100644
--- a/noncore/apps/opie-console/TEWidget.h
+++ b/noncore/apps/opie-console/TEWidget.h
@@ -123,17 +123,17 @@ protected:
void mousePressEvent( QMouseEvent* );
void mouseReleaseEvent( QMouseEvent* );
void mouseMoveEvent( QMouseEvent* );
void focusInEvent( QFocusEvent * );
void focusOutEvent( QFocusEvent * );
bool focusNextPrevChild( bool next );
-#ifndef QT_NO_DRAGANDDROP
+#ifdef QT_NO_DRAGANDDROP_FOO_BAR_
// Dnd
void dragEnterEvent(QDragEnterEvent* event);
void dropEvent(QDropEvent* event);
#endif
virtual int charClass(char) const;
void clearImage();