-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 | |||
@@ -1243,17 +1243,17 @@ QSize TEWidget::sizeHint() const | |||
1243 | return size(); | 1243 | return size(); |
1244 | } | 1244 | } |
1245 | 1245 | ||
1246 | void TEWidget::styleChange(QStyle &) | 1246 | 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 */ |
1256 | /* */ | 1256 | /* */ |
1257 | /* --------------------------------------------------------------------- */ | 1257 | /* --------------------------------------------------------------------- */ |
1258 | 1258 | ||
1259 | 1259 | ||
@@ -1315,17 +1315,17 @@ void TEWidget::dropEvent(QDropEvent* event) | |||
1315 | // Paste it | 1315 | // Paste it |
1316 | } | 1316 | } |
1317 | } | 1317 | } |
1318 | #endif | 1318 | #endif |
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()); |
1328 | // KWM::activate((Window)this->winId()); | 1328 | // KWM::activate((Window)this->winId()); |
1329 | break; | 1329 | break; |
1330 | case 1: // cd ... | 1330 | case 1: // cd ... |
1331 | currentSession->getEmulation()->sendString("cd "); | 1331 | 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: | |||
123 | void mousePressEvent( QMouseEvent* ); | 123 | void mousePressEvent( QMouseEvent* ); |
124 | void mouseReleaseEvent( QMouseEvent* ); | 124 | void mouseReleaseEvent( QMouseEvent* ); |
125 | void mouseMoveEvent( QMouseEvent* ); | 125 | void mouseMoveEvent( QMouseEvent* ); |
126 | 126 | ||
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 |
136 | 136 | ||
137 | virtual int charClass(char) const; | 137 | virtual int charClass(char) const; |
138 | 138 | ||
139 | void clearImage(); | 139 | void clearImage(); |