summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDon Seiler <rizzo@gentoo.org>2003-08-26 14:31:16 +0000
committerDon Seiler <rizzo@gentoo.org>2003-08-26 14:31:16 +0000
commit4c2c1ddc6df7399516c2680c9df3577c225ce3fb (patch)
tree7bedf93a7df866e4eba7d011b01df184f72ebc70 /dev-db/tora/files
parentAdding patch for middle-mouse pasting from clipboard (diff)
downloadgentoo-2-4c2c1ddc6df7399516c2680c9df3577c225ce3fb.tar.gz
gentoo-2-4c2c1ddc6df7399516c2680c9df3577c225ce3fb.tar.bz2
gentoo-2-4c2c1ddc6df7399516c2680c9df3577c225ce3fb.zip
Adding patch for middle-mouse pasting from clipboard
Diffstat (limited to 'dev-db/tora/files')
-rw-r--r--dev-db/tora/files/digest-tora-1.3.11-r21
-rw-r--r--dev-db/tora/files/tora-clipboard.patch86
2 files changed, 87 insertions, 0 deletions
diff --git a/dev-db/tora/files/digest-tora-1.3.11-r2 b/dev-db/tora/files/digest-tora-1.3.11-r2
new file mode 100644
index 000000000000..d176267843c8
--- /dev/null
+++ b/dev-db/tora/files/digest-tora-1.3.11-r2
@@ -0,0 +1 @@
+MD5 e056c5c84db1da8bccd7688a0aef9317 tora-alpha-1.3.11.tar.gz 2405314
diff --git a/dev-db/tora/files/tora-clipboard.patch b/dev-db/tora/files/tora-clipboard.patch
new file mode 100644
index 000000000000..b7f3dfa4f9aa
--- /dev/null
+++ b/dev-db/tora/files/tora-clipboard.patch
@@ -0,0 +1,86 @@
+Index: qtlegacy/qtmultilineedit.cpp
+===================================================================
+RCS file: /cvsroot/tora/tora/qtlegacy/qtmultilineedit.cpp,v
+retrieving revision 1.6
+diff -u -r1.6 qtmultilineedit.cpp
+--- qtlegacy/qtmultilineedit.cpp 24 Jul 2003 02:26:48 -0000 1.6
++++ qtlegacy/qtmultilineedit.cpp 26 Aug 2003 08:34:32 -0000
+@@ -1348,7 +1348,7 @@
+ case Key_Y:
+ redo();
+ break;
+-#if defined (_WS_WIN_)
++#if defined (Q_WS_WIN)
+ case Key_Insert:
+ copy();
+ #endif
+@@ -1379,7 +1379,7 @@
+ end( e->state() & ShiftButton );
+ break;
+ case Key_Delete:
+-#if defined (_WS_WIN_)
++#if defined (Q_WS_WIN)
+ if ( e->state() & ShiftButton ) {
+ cut();
+ break;
+@@ -1401,7 +1401,7 @@
+ case Key_Tab:
+ insert( e->text() );
+ break;
+-#if defined (_WS_WIN_)
++#if defined (Q_WS_WIN)
+ case Key_Insert:
+ if ( e->state() & ShiftButton )
+ paste();
+@@ -2376,13 +2376,13 @@
+ turnMark( FALSE );
+
+ #ifndef QT_NO_CLIPBOARD
+-#if defined(_WS_X11_)
++#if defined(Q_WS_X11)
+ else if ( echoMode() == Normal )
+ copy();
+ #endif
+
+ if ( e->button() == MidButton && !readOnly ) {
+-#if defined(_WS_X11_)
++#if defined(Q_WS_X11)
+ paste(); // Will repaint the cursor line.
+ #else
+ #ifndef QT_NO_COMPAT
+@@ -2845,7 +2845,7 @@
+ turnMark( markDragX != markAnchorX || markDragY != markAnchorY );
+
+ #ifndef QT_NO_CLIPBOARD
+-#if defined(_WS_X11_)
++#if defined(Q_WS_X11)
+ if ( echoMode() == Normal )
+ copy();
+ #endif
+@@ -2876,7 +2876,7 @@
+ {
+ QString t = markedText();
+ if ( !t.isEmpty() && echoMode() == Normal ) {
+-#if defined(_WS_X11_)
++#if defined(Q_WS_X11)
+ disconnect( QApplication::clipboard(), SIGNAL(dataChanged()), this, 0);
+ #endif
+ #if defined(_OS_WIN32_)
+@@ -2924,7 +2924,7 @@
+
+ void QtMultiLineEdit::clipboardChanged()
+ {
+-#if defined(_WS_X11_)
++#if defined(Q_WS_X11)
+ disconnect( QApplication::clipboard(), SIGNAL(dataChanged()),
+ this, SLOT(clipboardChanged()) );
+ turnMark( FALSE );
+@@ -4195,7 +4195,7 @@
+ switch ( ke->key() ) {
+ case Key_A:
+ case Key_E:
+-#if defined (_WS_WIN_)
++#if defined (Q_WS_WIN)
+ case Key_Insert:
+ #endif
+ case Key_X: