[Uml-devel] kdesdk/umbrello/umbrello
Laurent Montel
montel at kde.org
Tue Sep 16 11:15:03 UTC 2003
CVS commit by mlaurent:
Deprecated--
M +2 -2 activitywidget.cpp 1.10
M +3 -3 statewidget.cpp 1.10
M +2 -2 stereotype.cpp 1.2
--- kdesdk/umbrello/umbrello/activitywidget.cpp #1.9:1.10
@@ -13,5 +13,5 @@
#include "dialogs/activitydialog.h"
-#include <klineeditdlg.h>
+#include <kinputdialog.h>
#include <klocale.h>
#include <qpainter.h>
@@ -143,5 +143,5 @@ void ActivityWidget::slotMenuSelection(i
switch( sel ) {
case ListPopupMenu::mt_Rename:
- name = KLineEditDlg::getText( i18n("Enter Activity Name"), i18n("Enter the name of the new activity:"), m_Name, &ok );
+ name = KInputDialog::getText( i18n("Enter Activity Name"), i18n("Enter the name of the new activity:"), m_Name, &ok );
if( ok && name.length() > 0 )
m_Name = name;
--- kdesdk/umbrello/umbrello/statewidget.cpp #1.9:1.10
@@ -8,5 +8,5 @@
***************************************************************************/
-#include <klineeditdlg.h>
+#include <kinputdialog.h>
#include <klocale.h>
#include <kdebug.h>
@@ -154,5 +154,5 @@ void StateWidget::slotMenuSelection(int
switch( sel ) {
case ListPopupMenu::mt_Rename:
- name = KLineEditDlg::getText( i18n("Enter State Name"), i18n("Enter the name of the new state:"), getName(), &ok );
+ name = KInputDialog::getText( i18n("Enter State Name"), i18n("Enter the name of the new state:"), getName(), &ok );
if( ok && name.length() > 0 )
setName( name );
@@ -165,5 +165,5 @@ void StateWidget::slotMenuSelection(int
break;
case ListPopupMenu::mt_New_Activity:
- name = KLineEditDlg::getText( i18n("Enter Activity"), i18n("Enter the name of the new activity:"), i18n("new activity"), &ok );
+ name = KInputDialog::getText( i18n("Enter Activity"), i18n("Enter the name of the new activity:"), i18n("new activity"), &ok );
if( ok && name.length() > 0 )
addActivity( name );
--- kdesdk/umbrello/umbrello/stereotype.cpp #1.1:1.2
@@ -12,5 +12,5 @@
#include <klocale.h>
-#include <klineeditdlg.h>
+#include <kinputdialog.h>
#include <kdebug.h>
@@ -65,5 +65,5 @@ bool UMLStereotype::loadFromXMI(QDomElem
bool UMLStereotype::showPropertiesDialogue(QWidget* parent) {
bool ok;
- QString name = KLineEditDlg::getText( i18n("Enter name:"), getName(), &ok, parent);
+ QString name = KInputDialog::getText( i18n("Enter name:"), getName(), QString::null,&ok, parent);
if (ok) {
setName(name);
More information about the umbrello-devel
mailing list