[Uml-devel] KDE/kdesdk/umbrello/umbrello/dialogs
Andi Fischer
andi.fischer at hispeed.ch
Mon Jul 7 21:27:07 UTC 2008
SVN commit 829236 by fischer:
Krazy: replacing QTabWidget by KTabWidget.
M +5 -4 codeeditor.cpp
M +1 -10 codeeditor.h
M +10 -2 codeviewerdialogbase.ui
--- trunk/KDE/kdesdk/umbrello/umbrello/dialogs/codeeditor.cpp #829235:829236
@@ -1,11 +1,10 @@
/***************************************************************************
- * *
* 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) 2003 Brian Thomas brian.thomas at gsfc.nasa.gov *
+ * copyright (C) 2003 Brian Thomas <brian.thomas at gsfc.nasa.gov> *
* copyright (C) 2004-2008 *
* Umbrello UML Modeller Authors <uml-devel at uml.sf.net> *
***************************************************************************/
@@ -13,7 +12,7 @@
// own header
#include "codeeditor.h"
-// qt/kde includes
+// qt includes
#include <QtGui/QMouseEvent>
#include <QtGui/QKeyEvent>
#include <QtGui/QKeySequence>
@@ -23,6 +22,8 @@
#include <QtGui/QBrush>
#include <QtGui/QLayout>
#include <QtCore/QRegExp>
+
+// kde includes
#include <kdebug.h>
#include <klocale.h>
#include <kaction.h>
@@ -94,7 +95,7 @@
QLabel * CodeEditor::getComponentLabel()
{
- return m_parentDlg->componentLabel;
+ return m_parentDlg->ui_componentLabel;
}
// FIX: used only for debugging right now. eliminate eventually -b.t.
--- trunk/KDE/kdesdk/umbrello/umbrello/dialogs/codeeditor.h #829235:829236
@@ -1,19 +1,10 @@
-
/***************************************************************************
- codeeditor.h - description
- -------------------
- begin : Fri Aug 1 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) 2003 Brian Thomas <brian.thomas at gsfc.nasa.gov> *
* copyright (C) 2004-2008 *
* Umbrello UML Modeller Authors <uml-devel at uml.sf.net> *
***************************************************************************/
--- trunk/KDE/kdesdk/umbrello/umbrello/dialogs/codeviewerdialogbase.ui #829235:829236
@@ -22,7 +22,7 @@
</widget>
</item>
<item row="1" column="0" colspan="3" >
- <widget class="QLabel" name="componentLabel" >
+ <widget class="QLabel" name="ui_componentLabel" >
<property name="sizePolicy" >
<sizepolicy vsizetype="Fixed" hsizetype="Preferred" >
<horstretch>0</horstretch>
@@ -53,12 +53,20 @@
</layout>
</item>
<item>
- <widget class="QTabWidget" name="m_tabWidget" />
+ <widget class="KTabWidget" name="m_tabWidget" />
</item>
</layout>
</item>
</layout>
</widget>
+ <customwidgets>
+ <customwidget>
+ <class>KTabWidget</class>
+ <extends>QTabWidget</extends>
+ <header>ktabwidget.h</header>
+ <container>1</container>
+ </customwidget>
+ </customwidgets>
<resources/>
<connections/>
</ui>
More information about the umbrello-devel
mailing list