summaryrefslogtreecommitdiff
authorzecke <zecke>2003-01-22 14:59:26 (UTC)
committer zecke <zecke>2003-01-22 14:59:26 (UTC)
commita7b33b069107b64112b1760dc3eca02469a052d9 (patch) (unidiff)
tree22185acb673480104d5ddd10f2e6e209aeaebc4e
parent36fab41fa6b38b9f3aa5ecd74b750eaf739beb16 (diff)
downloadopie-a7b33b069107b64112b1760dc3eca02469a052d9.zip
opie-a7b33b069107b64112b1760dc3eca02469a052d9.tar.gz
opie-a7b33b069107b64112b1760dc3eca02469a052d9.tar.bz2
Make it compile with Opie/X11
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
@@ -1245,13 +1245,13 @@ QSize TEWidget::sizeHint() const
1245 1245
1246void TEWidget::styleChange(QStyle &) 1246void 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/* --------------------------------------------------------------------- */
@@ -1317,13 +1317,13 @@ void TEWidget::dropEvent(QDropEvent* event)
1317} 1317}
1318#endif 1318#endif
1319 1319
1320 1320
1321void TEWidget::drop_menu_activated(int) 1321void 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;
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
@@ -125,13 +125,13 @@ protected:
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;