author | zecke <zecke> | 2003-01-22 14:59:26 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-01-22 14:59:26 (UTC) |
commit | a7b33b069107b64112b1760dc3eca02469a052d9 (patch) (unidiff) | |
tree | 22185acb673480104d5ddd10f2e6e209aeaebc4e /noncore | |
parent | 36fab41fa6b38b9f3aa5ecd74b750eaf739beb16 (diff) | |
download | opie-a7b33b069107b64112b1760dc3eca02469a052d9.zip opie-a7b33b069107b64112b1760dc3eca02469a052d9.tar.gz opie-a7b33b069107b64112b1760dc3eca02469a052d9.tar.bz2 |
Make it compile with Opie/X11
-rw-r--r-- | noncore/apps/opie-console/TEWidget.cpp | 4 | ||||
-rw-r--r-- | noncore/apps/opie-console/TEWidget.h | 2 |
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 | |||
@@ -1247,9 +1247,9 @@ void TEWidget::styleChange(QStyle &) | |||
1247 | { | 1247 | { |
1248 | propagateSize(); | 1248 | propagateSize(); |
1249 | } | 1249 | } |
1250 | 1250 | ||
1251 | #ifndef QT_NO_DRAGANDDROP | 1251 | #ifdef QT_NO_DRAGANDDROP_FOO |
1252 | 1252 | ||
1253 | /* --------------------------------------------------------------------- */ | 1253 | /* --------------------------------------------------------------------- */ |
1254 | /* */ | 1254 | /* */ |
1255 | /* Drag & Drop */ | 1255 | /* Drag & Drop */ |
@@ -1319,9 +1319,9 @@ void TEWidget::dropEvent(QDropEvent* event) | |||
1319 | 1319 | ||
1320 | 1320 | ||
1321 | void TEWidget::drop_menu_activated(int) | 1321 | void TEWidget::drop_menu_activated(int) |
1322 | { | 1322 | { |
1323 | #ifndef QT_NO_DRAGANDDROP | 1323 | #ifdef QT_NO_DRAGANDDROP_FOO |
1324 | switch (item) | 1324 | switch (item) |
1325 | { | 1325 | { |
1326 | case 0: // paste | 1326 | case 0: // paste |
1327 | currentSession->getEmulation()->sendString(dropText.local8Bit()); | 1327 | currentSession->getEmulation()->sendString(dropText.local8Bit()); |
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 | |||
@@ -127,9 +127,9 @@ protected: | |||
127 | void focusInEvent( QFocusEvent * ); | 127 | void focusInEvent( QFocusEvent * ); |
128 | void focusOutEvent( QFocusEvent * ); | 128 | void focusOutEvent( QFocusEvent * ); |
129 | bool focusNextPrevChild( bool next ); | 129 | bool focusNextPrevChild( bool next ); |
130 | 130 | ||
131 | #ifndef QT_NO_DRAGANDDROP | 131 | #ifdef QT_NO_DRAGANDDROP_FOO_BAR_ |
132 | // Dnd | 132 | // Dnd |
133 | void dragEnterEvent(QDragEnterEvent* event); | 133 | void dragEnterEvent(QDragEnterEvent* event); |
134 | void dropEvent(QDropEvent* event); | 134 | void dropEvent(QDropEvent* event); |
135 | #endif | 135 | #endif |