[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenox/konq-embed
From:       Eva Brucherseifer <eva () kde ! org>
Date:       2006-05-22 17:25:33
Message-ID: 1148318733.242930.22840.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 543742 by eva:

- use much larger startDragDistance on Embedded without DND and where
  people use a difficult to control pen


 M  +9 -0      dropin/kapplication.cpp  
 M  +2 -0      dropin/kapplication.h  
 A             kdesrc/khtml/patches/khtml_dragdistance_3.5.patch  
 M  +2 -0      prepare_kde_src  


--- trunk/kdenox/konq-embed/dropin/kapplication.cpp #543741:543742
@@ -166,4 +166,13 @@
     return result;
 }
 
+int KApplication::startDragDistance() 
+#if (QT_VERSION < 0x030000)
+{ return 1000000; }
+//{ return QApplication::startDragDistance(); }
+#else
+{ return QApplication::startDragDistance(); }
+#endif
+
+
 #include "kapplication.moc"
--- trunk/kdenox/konq-embed/dropin/kapplication.h #543741:543742
@@ -120,6 +120,8 @@
    // required since kdelibs 3.4
    void updateUserTimestamp(unsigned long = 0) {}
 
+   static int KApplication::startDragDistance();
+
 signals:
     // required by KHTMLView
     void kdisplayPaletteChanged();
--- trunk/kdenox/konq-embed/prepare_kde_src #543741:543742
@@ -459,6 +459,8 @@
 		patch -s -d ./kdesrc/kjs -p0 -i  patches/kjs_dtoa_arm.patch
 		echo "*** applying http-use-useragent patch..."
 		patch -s -d ./kdesrc/kio -p0 -i  patches/http_use_useragent.patch
+		echo "*** applying html-dragdistance patch..."
+		patch -s -d ./kdesrc/khtml -p0 -i  patches/khtml_dragdistance_3.5.patch
 		  ;;
 	*) echo "Unknown kdelibs version. Patches NOT applied.\n" ;;
   esac
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic