[Uml-devel] branches/work/soc-umbrello/umbrello/dialogs

Andi Fischer andi.fischer at hispeed.ch
Mon Oct 10 18:32:08 UTC 2011


SVN commit 1258247 by fischer:

Last Q3 elements removed.

 M  +11 -18    defaultcodegenpolicypage.cpp  
 M  +3 -19     defaultcodegenpolicypage.h  
 M  +0 -5      umlrolepropertiesbase.ui  


--- branches/work/soc-umbrello/umbrello/dialogs/defaultcodegenpolicypage.cpp #1258246:1258247
@@ -1,20 +1,11 @@
-
 /***************************************************************************
-                          codegenerationpolicypage.cpp  -  description
-                             -------------------
-    begin                : Tue Jul 29 2003
-    copyright            : (C) 2003 by Brian Thomas
-    email                : brian.thomas at gsfc.nasa.gov
- ***************************************************************************/
-
-/***************************************************************************
- *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
  *   it under the terms of the GNU General Public License as published by  *
  *   the Free Software Foundation; either version 2 of the License, or     *
  *   (at your option) any later version.                                   *
  *                                                                         *
- *   copyright (C) 2004-2007                                               *
+ *   copyright (C) 2003      Brian Thomas <brian.thomas at gsfc.nasa.gov>     *
+ *   copyright (C) 2004-2011                                               *
  *   Umbrello UML Modeller Authors <uml-devel at uml.sf.net>                  *
  ***************************************************************************/
 
@@ -22,21 +13,23 @@
 #include "defaultcodegenpolicypage.h"
 
 // qt/kde includes
-#include <QLabel>
+#include <QtGui/QLabel>
 #include <klocale.h>
 
-
-/** This is the page which comes up IF there is no special options for the
+/**
+ * This is the page which comes up IF there is no special options for the
  * code generator.
  */
 DefaultCodeGenPolicyPage::DefaultCodeGenPolicyPage ( QWidget *parent, const char *name, CodeGenPolicyExt * policy )
         :CodeGenerationPolicyPage(parent,name,policy)
 {
-    textLabel = new QLabel(this);
-    textLabel->setObjectName("textLabel");
-    textLabel->setText(tr2i18n("<p align=\"center\">No Options Available.</p>"));
+    m_textLabel = new QLabel(this);
+    m_textLabel->setObjectName("textLabel");
+    m_textLabel->setText(tr2i18n("<p align=\"center\">No Options Available.</p>"));
 }
 
-DefaultCodeGenPolicyPage::~DefaultCodeGenPolicyPage() { }
+DefaultCodeGenPolicyPage::~DefaultCodeGenPolicyPage()
+{
+}
 
 #include "defaultcodegenpolicypage.moc"
--- branches/work/soc-umbrello/umbrello/dialogs/defaultcodegenpolicypage.h #1258246:1258247
@@ -1,4 +1,3 @@
-
 /****************************************************************************
 ** Form interface generated from reading ui file 'Defaultcodegenpolicypage.ui'
 **
@@ -11,36 +10,21 @@
 #ifndef DEFAULTCODEGENPOLICYPAGE_H
 #define DEFAULTCODEGENPOLICYPAGE_H
 
-#include <qvariant.h>
-#include <qwidget.h>
-//Added by qt3to4:
-#include <QLabel>
-#include <QVBoxLayout>
-#include <QHBoxLayout>
-#include <QGridLayout>
 #include "codegenerationpolicypage.h"
 
-class QVBoxLayout;
-class QHBoxLayout;
-class QGridLayout;
 class QLabel;
+class QWidget;
 
 class DefaultCodeGenPolicyPage : public CodeGenerationPolicyPage
 {
     Q_OBJECT
-
 public:
-
     explicit DefaultCodeGenPolicyPage( QWidget* parent = 0, const char* name = 0, CodeGenPolicyExt * policy =0);
-
     ~DefaultCodeGenPolicyPage();
 
-    QLabel* textLabel;
+private:
+    QLabel* m_textLabel;
 
-protected:
-
-protected slots:
-
 };
 
 #endif // DEFAULTCODEGENPOLICYPAGE_H
--- branches/work/soc-umbrello/umbrello/dialogs/umlrolepropertiesbase.ui #1258246:1258247
@@ -160,11 +160,6 @@
    <extends>QLineEdit</extends>
    <header>klineedit.h</header>
   </customwidget>
-  <customwidget>
-   <class>Q3TextEdit</class>
-   <extends>Q3Frame</extends>
-   <header>q3textedit.h</header>
-  </customwidget>
  </customwidgets>
  <resources/>
  <connections/>




More information about the umbrello-devel mailing list