umbrello/umbrello
activitypage.cpp
Go to the documentation of this file.
120 connect(m_pActivityLW, SIGNAL(itemClicked(QListWidgetItem*)), this, SLOT(slotClicked(QListWidgetItem*)));
129 connect(m_pActivityLW, SIGNAL(itemDoubleClicked(QListWidgetItem*)), this, SLOT(slotDoubleClicked(QListWidgetItem*)));
197 name = KInputDialog::getText(i18n("Rename Activity"), i18n("Enter the new name of the activity:"), name, &ok, UMLApp::app());
static QString toString(MenuType menu)
Convert enum MenuType to string.
Definition: listpopupmenu.cpp:1986
bool renameActivity(const QString &activity, const QString &newName)
Renames the given activity.
Definition: statewidget.cpp:354
Definition: listpopupmenu.h:157
void slotDoubleClicked(QListWidgetItem *item)
Definition: activitypage.cpp:299
void setActivities(const QStringList &list)
Sets the states activities to the ones given.
Definition: statewidget.cpp:366
void slotRightButtonPressed(const QPoint &p)
Definition: activitypage.cpp:206
void enableWidgets(bool state)
Set the state of the widgets on the page with the given value.
Definition: activitypage.cpp:310
Definition: listpopupmenu.h:158
QPushButton * m_pDeleteActivityButton
Definition: activitypage.h:59
A popup menu that depending on what type is set to will display a different menu. ...
Definition: listpopupmenu.h:40
static MenuType typeFromAction(QAction *action)
Convenience method to extract the ListPopupMenu type from an action.
Definition: listpopupmenu.cpp:1122
bool addActivity(const QString &activity)
Adds an activity to this widget.
Definition: statewidget.cpp:333
bool removeActivity(const QString &activity)
Removes the given activity from the state.
Definition: statewidget.cpp:343
Definition: listpopupmenu.h:236
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:05:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:05:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.