give duncan something to grep for :)
authorcoolo <coolo@e0cc52ee-31ee-0310-8b87-e83c4596d67c>
Mon, 3 Dec 2007 18:16:24 +0000 (18:16 +0000)
committercoolo <coolo@e0cc52ee-31ee-0310-8b87-e83c4596d67c>
Mon, 3 Dec 2007 18:16:24 +0000 (18:16 +0000)
git-svn-id: http://svn.opensuse.org/svn/yast/branches/tmp/coolo/qt4-port@42636 e0cc52ee-31ee-0310-8b87-e83c4596d67c

14 files changed:
src/CMakeLists.txt
src/YQCheckBoxFrame.cc
src/YQDateField.cc
src/YQDateField.h
src/YQDownloadProgress.cc
src/YQFrame.cc
src/YQFrame.h
src/YQIconPool.h
src/YQLabel.cc
src/YQLogView.cc
src/YQLogView.h
src/YQMultiLineEdit.cc
src/YQMultiProgressMeter.cc
src/YQRadioButton.h

index 38b63a2..d8c7c57 100644 (file)
@@ -1,4 +1,4 @@
-INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${QT_QT3SUPPORT_INCLUDE_DIR} "${CMAKE_SOURCE_DIR}/src/pkg" )
+INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} "${CMAKE_SOURCE_DIR}/src/pkg" )
 
 ADD_DEFINITIONS(
 -DY2LOG=\\\"QT4\\\" ${QT_DEFINITIONS}
index f507add..95338d5 100644 (file)
@@ -21,7 +21,6 @@
 #include <ycp/y2log.h>
 #include <qcheckbox.h>
 //Added by qt3to4:
-#include <q3frame.h>
 #include <Q3GroupBox>
 #include <qevent.h>
 #include "YQUI.h"
index 9c80ae8..b08045c 100644 (file)
@@ -21,7 +21,6 @@
 #include <ycp/y2log.h>
 
 #include <qdatetimeedit.h>
-#include <q3datetimeedit.h>
 #include <QVBoxLayout>
 
 #include "utf8.h"
index 68dd5e9..2d975d0 100644 (file)
 #define YQDateField_h
 
 #include <QFrame>
+#include <Qt3Support/Q3DateEdit>
+
 #include "YDateField.h"
 
-class Q3DateEdit;
 class YQWidgetCaption;
 
 
index b9bab6a..6c426a5 100644 (file)
@@ -18,7 +18,6 @@
 
 
 #include <qlabel.h>
-#include <q3progressbar.h>
 #include <qtimer.h>
 #define y2log_component "qt-ui"
 #include <ycp/y2log.h>
index 47efcfd..f3694a9 100644 (file)
@@ -22,7 +22,6 @@
 #include "YQUI.h"
 #include "utf8.h"
 //Added by qt3to4:
-#include <q3frame.h>
 
 using std::max;
 
index 9674fb4..dd8664c 100644 (file)
@@ -20,9 +20,9 @@
 #ifndef YQFrame_h
 #define YQFrame_h
 
-#include <Qt3Support/q3groupbox.h>
 
 #include "YFrame.h"
+#include <Qt3Support/Q3GroupBox>
 
 class QWidget;
 
index f845fe0..04ad6d1 100644 (file)
@@ -21,7 +21,7 @@
 #define YQIconPool_h
 
 #include <qpixmap.h>
-#include <q3ptrdict.h>
+#include <Qt3Support/Q3PtrDict>
 
 class YQIconPool
 {
index dba5f25..44c519b 100644 (file)
@@ -25,7 +25,6 @@
 #include "YQApplication.h"
 #include "YQLabel.h"
 //Added by qt3to4:
-#include <q3frame.h>
 #include <qlabel.h>
 
 
index 77faefc..88cc598 100644 (file)
@@ -19,7 +19,6 @@
 
 #include <qlabel.h>
 #include <qstyle.h>
-#include <q3multilineedit.h>
 #include <QVBoxLayout>
 #define y2log_component "qt-ui"
 #include <ycp/y2log.h>
index 673b4e5..6f1f283 100644 (file)
 #define YQLogView_h
 
 #include <QFrame>
+#include <Qt3Support/Q3MultiLineEdit>
 
 #include "YLogView.h"
 
 class YQWidgetCaption;
-class Q3MultiLineEdit;
 
 
 class YQLogView : public QFrame, public YLogView
index bb668b6..a031085 100644 (file)
@@ -17,7 +17,6 @@
 /-*/
 
 
-#include <q3multilineedit.h>
 #include <QVBoxLayout>
 #include <QTextEdit>
 #include <qlabel.h>
index 3eb7f38..83f5724 100644 (file)
 #include <ycp/y2log.h>
 
 #include <qevent.h>
-//Added by qt3to4:
-#include <q3pointarray.h>
-#include <qevent.h>
-#include <qevent.h>
+#include <Qt3Support/Q3PointArray>
 
 #include "YQUI.h"
 #include "YQMultiProgressMeter.h"
@@ -260,7 +257,7 @@ void YQMultiProgressMeter::drawSegment( int segment,
        {
            Q3PointArray points( 4 );
            int p=0;
-    
+
            points.setPoint( p++, offset + fillStart,   border + fillHeight );
            points.setPoint( p++, offset + fillStart,   border + thickness - fillHeight );
            points.setPoint( p++, offset + length,      border + thickness - indent );
@@ -277,7 +274,7 @@ void YQMultiProgressMeter::drawSegment( int segment,
        {
            Q3PointArray points( 4 );
            int p=0;
-    
+
            points.setPoint( p++, offset,               border + thickness );
            points.setPoint( p++, offset,               border );
            points.setPoint( p++, offset + fillStart,   border + fillHeight );
@@ -334,7 +331,7 @@ void YQMultiProgressMeter::drawMarkers( QPainter & painter, int offset, int thic
     const QBrush & color = palette().foreground();
     painter.setBrush( color );
     // painter.setBrush( NoBrush );
-    
+
 
     // Draw upper marker triangle
 
index 362b077..fd55d2a 100644 (file)
@@ -20,9 +20,8 @@
 #ifndef YQRadioButton_h
 #define YQRadioButton_h
 
-#include <q3groupbox.h>
 #include "YRadioButton.h"
-
+#include <Qt3Support/Q3GroupBox>
 
 
 class QRadioButton;