Gentoo Archives: gentoo-commits

From: "Ingmar Vanhassel (ingmar)" <ingmar@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in kde-base/kdepim/files: korganizer-3.5.9-kdeenablefinal.patch
Date: Mon, 25 Feb 2008 09:43:51
Message-Id: E1JTZsC-000468-QG@stork.gentoo.org
1 ingmar 08/02/25 09:43:48
2
3 Added: korganizer-3.5.9-kdeenablefinal.patch
4 Log:
5 Added a patch to fix compilation with USE=kdeenablefinal, fixes bug 211027.
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.1 kde-base/kdepim/files/korganizer-3.5.9-kdeenablefinal.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdepim/files/korganizer-3.5.9-kdeenablefinal.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kdepim/files/korganizer-3.5.9-kdeenablefinal.patch?rev=1.1&content-type=text/plain
13
14 Index: korganizer-3.5.9-kdeenablefinal.patch
15 ===================================================================
16 --- branches/KDE/3.5/kdepim/kdgantt/KDGanttViewTaskItem.h 2008/02/24 13:29:26 778731
17 +++ branches/KDE/3.5/kdepim/kdgantt/KDGanttViewTaskItem.h 2008/02/24 13:32:04 778732
18 @@ -60,8 +60,10 @@
19 void setStartTime( const QDateTime& start );
20 void setEndTime( const QDateTime& end );
21
22 -private:
23 +protected:
24 void showItem( bool show = true, int coordY = 0 );
25 +
26 +private:
27 void initItem();
28 void hideMe();
29 QBrush myBrush, undefinedBrush;
30 --- branches/KDE/3.5/kdepim/korganizer/kodaymatrix.cpp 2008/02/24 14:12:56 778743
31 +++ branches/KDE/3.5/kdepim/korganizer/kodaymatrix.cpp 2008/02/24 14:14:09 778744
32 @@ -54,6 +54,7 @@
33 #include <qcursor.h>
34 #include <kpopupmenu.h>
35 #include <X11/Xlib.h>
36 +#undef FocusIn
37 #undef KeyPress
38 #undef None
39 #undef Status
40 --- branches/KDE/3.5/kdepim/korganizer/timelineitem.cpp 2008/02/23 16:28:17 778447
41 +++ branches/KDE/3.5/kdepim/korganizer/timelineitem.cpp 2008/02/23 16:32:02 778448
42 @@ -119,13 +119,13 @@
43 y = coordY;
44 else
45 y = getCoordY();
46 - int startX = myGanttView->myTimeHeader->getCoordX(myStartTime);
47 - int endX = myGanttView->myTimeHeader->getCoordX(myEndTime);
48 + int startX = myGanttView->timeHeaderWidget()->getCoordX(myStartTime);
49 + int endX = myGanttView->timeHeaderWidget()->getCoordX(myEndTime);
50
51 const int mw = QMAX( 1, QMIN( 4, endX - startX ) );
52 if ( !mLeft || mw != mMarkerWidth ) {
53 if ( !mLeft ) {
54 - mLeft = new KDCanvasPolygon( myGanttView->myTimeTable, this, Type_is_KDGanttViewItem );
55 + mLeft = new KDCanvasPolygon( myGanttView->timeTableWidget(), this, Type_is_KDGanttViewItem );
56 mLeft->setBrush( Qt::black );
57 }
58 QPointArray a = QPointArray( 4 );
59 @@ -137,7 +137,7 @@
60 }
61 if ( !mRight || mw != mMarkerWidth ) {
62 if ( !mRight ) {
63 - mRight = new KDCanvasPolygon( myGanttView->myTimeTable, this, Type_is_KDGanttViewItem );
64 + mRight = new KDCanvasPolygon( myGanttView->timeTableWidget(), this, Type_is_KDGanttViewItem );
65 mRight->setBrush( Qt::black );
66 }
67 QPointArray a = QPointArray( 4 );
68
69
70
71
72 --
73 gentoo-commits@l.g.o mailing list