diff options
author | Lukáš Lalinský <lalinsky@gmail.com> | 2008-12-07 01:05:09 +0100 |
---|---|---|
committer | Lukáš Lalinský <lalinsky@gmail.com> | 2008-12-07 01:05:09 +0100 |
commit | 364531ec14761f07b22dbec6461376aad81159f6 (patch) | |
tree | d12861cb31805dfb551a9b1361a5c8513bbfd7a3 /diagramconnection.cpp | |
parent | 67ee0e1c5b11cc2a4c70018f524c9ce00da30b60 (diff) | |
download | dbmodel-364531ec14761f07b22dbec6461376aad81159f6.tar.xz |
Move source code to src/ and add translation support
Diffstat (limited to 'diagramconnection.cpp')
-rw-r--r-- | diagramconnection.cpp | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/diagramconnection.cpp b/diagramconnection.cpp deleted file mode 100644 index a996994..0000000 --- a/diagramconnection.cpp +++ /dev/null @@ -1,38 +0,0 @@ -// Copyright (C) 2008 Lukas Lalinsky -// -// 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. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License along -// with this program; if not, write to the Free Software Foundation, Inc., -// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -#include "diagramconnection.h" - -DiagramConnection::DiagramConnection(DiagramItem *parent) - : DiagramItem(parent) -{ - m_objects[0] = 0; - m_objects[1] = 0; -} - -void -DiagramConnection::setSource(DiagramObject *object) -{ - m_objects[0] = object; - emit endPointChanged(); -} - -void -DiagramConnection::setTarget(DiagramObject *object) -{ - m_objects[1] = object; - emit endPointChanged(); -} |