File indexing completed on 2024-05-12 04:49:36
0001 /**************************************************************************************** 0002 * Copyright (c) 2010 Nathan Sala <sala.nathan@gmail.com> * 0003 * * 0004 * This program is free software; you can redistribute it and/or modify it under * 0005 * the terms of the GNU General Public License as published by the Free Software * 0006 * Foundation; either version 2 of the License, or (at your option) any later * 0007 * version. * 0008 * * 0009 * This program is distributed in the hope that it will be useful, but WITHOUT ANY * 0010 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A * 0011 * PARTICULAR PURPOSE. See the GNU General Public License for more details. * 0012 * * 0013 * You should have received a copy of the GNU General Public License along with * 0014 * this program. If not, see <http://www.gnu.org/licenses/>. * 0015 ****************************************************************************************/ 0016 0017 #include "TestDataEngine.h" 0018 #include <QtTest> 0019 0020 0021 TestDataEngine::TestDataEngine( QObject* parent ):QObject(parent) 0022 //: m_containment(Plasma::Containment()), 0023 //m_contextView(Context::ContextView(&m_containment, 0)) 0024 { 0025 // qDebug() << " coucou "; 0026 // m_contextWidget = new ContextWidget(0); 0027 // m_contextWidget->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding ); 0028 // m_contextWidget->setSpacing( 0 ); 0029 // m_contextWidget->setFrameShape( QFrame::NoFrame ); 0030 // m_contextWidget->setFrameShadow( QFrame::Sunken ); 0031 // m_contextWidget->setMinimumSize( 100, 100 ); 0032 // qDebug() << " coucou 1\n"; 0033 // m_contextScene = new Plasma::Corona(this); 0034 // qDebug() << " coucou 2\n"; 0035 // m_containment = m_contextScene->createContainment(QString("testlol")); 0036 // qDebug() << " coucou 3\n"; 0037 // m_contextView = new Context::ContextView(m_containment, m_contextScene, NULL); 0038 }