summaryrefslogtreecommitdiffstats
path: root/src/testlib/qtesttable_p.h
blob: bf6781752641266851bc4f2fb1b0fe7cde35d1de (plain)
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
// Copyright (C) 2018 The Qt Company Ltd.// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only#ifndef QTESTTABLE_P_H#define QTESTTABLE_P_H//// W A R N I N G// -------------//// This file is not part of the Qt API. It exists purely as an// implementation detail. This header file may change from version to// version without notice, or even be removed.//// We mean it.//#include <QtTest/qttestglobal.h>#include <QtCore/private/qglobal_p.h> QT_BEGIN_NAMESPACE class QTestData;class QTestTablePrivate;class Q_TESTLIB_EXPORT QTestTable {public:QTestTable();~QTestTable();voidaddColumn(int elementType,const char*elementName); QTestData *newData(const char*tag);intelementCount()const;intdataCount()const;intelementTypeId(int index)const;const char*dataTag(int index)const;intindexOf(const char*elementName)const;boolisEmpty()const; QTestData *testData(int index)const;static QTestTable *globalTestTable();static QTestTable *currentTestTable();static voidclearGlobalTestTable();private:Q_DISABLE_COPY(QTestTable) QTestTablePrivate *d;}; QT_END_NAMESPACE #endif
close