aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/qt33/files
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/qt33/files')
-rw-r--r--x11-toolkits/qt33/files/patch-qfiledialog.cpp11
-rw-r--r--x11-toolkits/qt33/files/patch-qlistview.cpp11
-rw-r--r--x11-toolkits/qt33/files/patch-qlock.cpp10
-rw-r--r--x11-toolkits/qt33/files/patch-qpopupmenu.cpp11
-rw-r--r--x11-toolkits/qt33/files/patch-qtextedit.cpp20
5 files changed, 42 insertions, 21 deletions
diff --git a/x11-toolkits/qt33/files/patch-qfiledialog.cpp b/x11-toolkits/qt33/files/patch-qfiledialog.cpp
deleted file mode 100644
index 79ae98e8f03b..000000000000
--- a/x11-toolkits/qt33/files/patch-qfiledialog.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/dialogs/qfiledialog.cpp Thu Nov 7 14:07:21 2002
-+++ /cvs/qt-copy/src/dialogs/qfiledialog.cpp Thu Nov 21 13:06:09 2002
-@@ -3170,7 +3170,7 @@
- user = dr.mid( 1, i-1 ).local8Bit();
- dr = dr.mid( i, dr.length() );
- struct passwd *pw;
--#if defined(QT_THREAD_SUPPORT) && defined(_POSIX_THREAD_SAFE_FUNCTIONS)
-+#if 0
- struct passwd mt_pw;
- char buffer[2048];
- if ( ::getpwnam_r( user, &mt_pw, buffer, 2048, &pw ) == 0 && pw == &mt_pw )
diff --git a/x11-toolkits/qt33/files/patch-qlistview.cpp b/x11-toolkits/qt33/files/patch-qlistview.cpp
new file mode 100644
index 000000000000..73882d3e9746
--- /dev/null
+++ b/x11-toolkits/qt33/files/patch-qlistview.cpp
@@ -0,0 +1,11 @@
+--- src/widgets/qlistview.cpp.orig Mon Feb 24 09:30:39 2003
++++ src/widgets/qlistview.cpp Mon May 12 19:42:07 2003
+@@ -6215,7 +6215,7 @@
+
+ void QListView::ensureItemVisible( const QListViewItem * i )
+ {
+- if ( !i )
++ if ( !i || !i->isVisible() )
+ return;
+
+ QListViewItem *parent = i->parent();
diff --git a/x11-toolkits/qt33/files/patch-qlock.cpp b/x11-toolkits/qt33/files/patch-qlock.cpp
deleted file mode 100644
index ee610b2d46b2..000000000000
--- a/x11-toolkits/qt33/files/patch-qlock.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
---- src/kernel/qlock.cpp.orig Mon Dec 9 04:40:45 2002
-+++ src/kernel/qlock.cpp Sun Dec 29 05:31:54 2002
-@@ -41,6 +41,7 @@
- #include <sys/file.h>
- #else
- #include <sys/types.h>
-+#include <sys/ipc.h>
- #include <sys/sem.h>
- #if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED) \
- || defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD) || defined(Q_OS_BSDI)
diff --git a/x11-toolkits/qt33/files/patch-qpopupmenu.cpp b/x11-toolkits/qt33/files/patch-qpopupmenu.cpp
new file mode 100644
index 000000000000..78affc105b4a
--- /dev/null
+++ b/x11-toolkits/qt33/files/patch-qpopupmenu.cpp
@@ -0,0 +1,11 @@
+--- src/widgets/qpopupmenu.cpp.orig Mon May 12 19:44:39 2003
++++ src/widgets/qpopupmenu.cpp Mon May 12 19:45:42 2003
+@@ -1739,7 +1739,7 @@
+ if ( style().styleHint(QStyle::SH_PopupMenu_SloppySubMenus, this) &&
+ d->mouseMoveBuffer.contains( e->pos() ) ) {
+ actItem = item;
+- popupSubMenuLater( style().styleHint(QStyle::SH_PopupMenu_SubMenuPopupDelay, this) * 2,
++ popupSubMenuLater( style().styleHint(QStyle::SH_PopupMenu_SubMenuPopupDelay, this) * 6,
+ this );
+ return;
+ }
diff --git a/x11-toolkits/qt33/files/patch-qtextedit.cpp b/x11-toolkits/qt33/files/patch-qtextedit.cpp
new file mode 100644
index 000000000000..7c22203692de
--- /dev/null
+++ b/x11-toolkits/qt33/files/patch-qtextedit.cpp
@@ -0,0 +1,20 @@
+--- src/widgets/qtextedit.cpp.orig Mon Feb 24 09:30:37 2003
++++ src/widgets/qtextedit.cpp Mon May 12 19:50:19 2003
+@@ -1863,7 +1863,7 @@
+ }
+ setModified();
+ emit textChanged();
+- emit selectionChanged();
++ emit copyAvailable( doc->hasSelection( QTextDocument::Standard ) );
+ }
+
+ /*!
+@@ -4801,7 +4801,7 @@
+ return;
+ if ( doc->hasSelection( QTextDocument::Standard ) )
+ removeSelectedText();
+- if ( !m->provides( st.data() ) )
++ if ( !QRichTextDrag::canDecode( m ) )
+ return;
+ QString t;
+ if ( !QRichTextDrag::decode( m, t, st.data(), subtype ) )