From a7b33b069107b64112b1760dc3eca02469a052d9 Mon Sep 17 00:00:00 2001 From: zecke Date: Wed, 22 Jan 2003 14:59:26 +0000 Subject: Make it compile with Opie/X11 --- (limited to 'noncore') 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 @@ -1248,7 +1248,7 @@ void TEWidget::styleChange(QStyle &) propagateSize(); } -#ifndef QT_NO_DRAGANDDROP +#ifdef QT_NO_DRAGANDDROP_FOO /* --------------------------------------------------------------------- */ /* */ @@ -1320,7 +1320,7 @@ void TEWidget::dropEvent(QDropEvent* event) void TEWidget::drop_menu_activated(int) { -#ifndef QT_NO_DRAGANDDROP +#ifdef QT_NO_DRAGANDDROP_FOO switch (item) { case 0: // paste 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 @@ -128,7 +128,7 @@ protected: 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); -- cgit v0.9.0.2