mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
fixed syntax error, since revision 2585
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@2593 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -1327,7 +1327,7 @@ DiagramImageItem *DiagramView::addDiagramImageAtPos(const QPointF &pos) {
|
||||
@param pos Position du champ de texte ajoute
|
||||
@return le champ de texte ajoute
|
||||
*/
|
||||
IndependentTextItem *DiagramView::addDiagramTextAtPos(const QPointF &pos, const QString text) {
|
||||
IndependentTextItem *DiagramView::addDiagramTextAtPos(const QPointF &pos, const QString &text) {
|
||||
if (!isInteractive() || scene -> isReadOnly()) return(0);
|
||||
|
||||
// cree un nouveau champ de texte
|
||||
|
||||
@@ -76,7 +76,7 @@ class DiagramView : public QGraphicsView {
|
||||
void editText();
|
||||
void addImage();
|
||||
void editImage();
|
||||
IndependentTextItem *addDiagramTextAtPos(const QPointF &, const QString text = 0);
|
||||
IndependentTextItem *addDiagramTextAtPos(const QPointF &, const QString &text = 0);
|
||||
DiagramImageItem *addDiagramImageAtPos(const QPointF &);
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user