File indexing completed on 2024-05-12 04:49:40
0001 /**************************************************************************************** 0002 * Copyright (c) 2012 Jasneet Singh Bhatti <jazneetbhatti@gmail.com> * 0003 * This program is free software; you can redistribute it and/or modify it under * 0004 * the terms of the GNU General Public License as published by the Free Software * 0005 * Foundation; either version 2 of the License, or (at your option) any later * 0006 * version. * 0007 * * 0008 * This program is distributed in the hope that it will be useful, but WITHOUT ANY * 0009 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A * 0010 * PARTICULAR PURPOSE. See the GNU General Public License for more details. * 0011 * * 0012 * You should have received a copy of the GNU General Public License along with * 0013 * this program. If not, see <http://www.gnu.org/licenses/>. * 0014 ****************************************************************************************/ 0015 0016 #ifndef TESTACTIONSCAPABILITY_H 0017 #define TESTACTIONSCAPABILITY_H 0018 0019 #include "amarok_export.h" 0020 #include "core/capabilities/Capability.h" 0021 0022 #include <QAction> 0023 #include <QList> 0024 #include <QTemporaryDir> 0025 #include <QTest> 0026 0027 0028 class TestActionsCapability : public QObject 0029 { 0030 Q_OBJECT 0031 0032 public: 0033 TestActionsCapability(); 0034 0035 private Q_SLOTS: 0036 void testActions(); 0037 void testCapabilityInterfaceType(); 0038 0039 private: 0040 QList< QAction* > m_actions; 0041 }; 0042 0043 #endif // TESTACTIONSCAPABILITY_H