[Uml-devel] kdesdk/umbrello/umbrello
Oliver Kellogg
Oliver.Kellogg at t-online.de
Tue Sep 16 13:17:10 UTC 2003
Hey Laurent,
Are you aware that this change breaks compilation
for people with a pre-3.2 Qt ?
IMHO it would be a shame to make umbrello-1.2 require
Qt-3.2 - given that everything compiles fine until now
with older Qt's.
Regards,
Oliver
> 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);
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Uml-devel mailing list
> umbrello-devel at kde.org
> https://mail.kde.org/mailman/listinfo/umbrello-devel
More information about the umbrello-devel
mailing list