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

List:       kde-commits
Subject:    koffice/lib/kofficecore
From:       Laurent Montel <montel () kde ! org>
Date:       2006-03-27 13:46:09
Message-ID: 1143467169.481562.3355.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 523133 by mlaurent:

minor fix

 M  +7 -4      KoDocument.cpp  
 M  +1 -1      KoFilterManager.h  
 M  +1 -1      KoGenStyles.h  


--- trunk/koffice/lib/kofficecore/KoDocument.cpp #523132:523133
@@ -70,7 +70,7 @@
 #include <QEvent>
 #include <Q3ValueList>
 #include <QResizeEvent>
-
+#include <QDateTime>
 #include <config.h>
 #include <assert.h>
 
@@ -181,7 +181,7 @@
         KGlobal::iconLoader()->addAppDir("koffice");
         m_view = 0L;
         // Avoid warning from KParts - we'll have the KoView as focus proxy anyway
-        setFocusPolicy( ClickFocus );
+        setFocusPolicy( Qt::ClickFocus );
     }
 
     virtual ~KoViewWrapperWidget() {
@@ -212,8 +212,10 @@
 };
 
 KoBrowserExtension::KoBrowserExtension( KoDocument * doc, const char * name )
-    : KParts::BrowserExtension( doc, name )
+    : KParts::BrowserExtension( doc)
 {
+#warning "kde4: setObjectName needed ?"
+	setObjectName(name);
     emit enableAction( "print", true );
 }
 
@@ -231,8 +233,9 @@
 }
 
 KoDocument::KoDocument( QWidget * parentWidget, const char *widgetName, QObject* \
                parent, const char* name, bool singleViewMode )
-    : KParts::ReadWritePart( parent, name )
+    : KParts::ReadWritePart( parent/*, name*/ )
 {
+	setObjectName(name);
     if(s_documentList==0L)
         s_documentList=new Q3PtrList<KoDocument>;
     s_documentList->append(this);
--- trunk/koffice/lib/kofficecore/KoFilterManager.h #523132:523133
@@ -50,7 +50,7 @@
     /**
      * This enum is used to distinguish the import/export cases
      */
-    enum Qt::Orientation { Import = 1,  Export = 2 };
+    enum Orientation { Import = 1,  Export = 2 };
 
     /**
      * Create a filter manager for a document
--- trunk/koffice/lib/kofficecore/KoGenStyles.h #523132:523133
@@ -25,7 +25,7 @@
 //Added by qt3to4:
 #include <Q3ValueList>
 #include <Q3CString>
-
+#include <QString>
 #include <koffice_export.h>
 
 class KoXmlWriter;


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

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