File indexing completed on 2024-04-21 04:34:22

0001 /* This file is part of the TikZKit project.
0002  *
0003  * Copyright (C) 2013-2014 Dominik Haumann <dhaumann@kde.org>
0004  *
0005  * This library is free software; you can redistribute it and/or modify
0006  * it under the terms of the GNU Library General Public License as published
0007  * by the Free Software Foundation, either version 2 of the License, or
0008  * (at your option) any later version.
0009  *
0010  * This library is distributed in the hope that it will be useful,
0011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
0012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0013  * GNU Library General Public License for more details.
0014  *
0015  * You should have received a copy of the GNU Library General Public License
0016  * along with this library; see the file COPYING.LIB.  If not, see
0017  * <http://www.gnu.org/licenses/>.
0018  */
0019 #ifndef TEST_META_NODE_H
0020 #define TEST_META_NODE_H
0021 
0022 #include <QObject>
0023 #include <QPointF>
0024 
0025 class MetaPosTest : public QObject
0026 {
0027     Q_OBJECT
0028 
0029 public Q_SLOTS:
0030     void initTestCase();
0031     void cleanupTestCase();
0032 
0033 private Q_SLOTS:
0034     void testMetaPos();
0035     void testMetaPosWithNode();
0036     void testSet0();
0037     void testMetaPosPtr();
0038     void testToString();
0039     void testFromString();
0040 
0041 public Q_SLOTS:
0042     void changedEmitted();
0043 
0044 private:
0045     int m_changeCount;
0046 };
0047 
0048 #endif // TEST_META_NODE_H
0049 
0050 // kate: indent-width 4; replace-tabs on;