kde-extraapps/kget/tests/testkget.h

38 lines
867 B
C
Raw Normal View History

/* This file is part of the KDE project
Copyright (C) 2009 Dario Massarin <nekkar@libero.it>
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.
*/
#ifndef _TESTKGET_H
#define _TESTKGET_H
#include <QtTest/QtTest>
class TransferGroupHandler;
class TestKGet : public QObject
{
Q_OBJECT
public:
TestKGet();
private slots:
void simpleTest();
void transferGroupTest();
void transferGroupRepetitiveAddTest();
void addedTransferGroupEvent(TransferGroupHandler * group);
void removedTransferGroupEvent(TransferGroupHandler * group);
private:
TransferGroupHandler * m_addedGH;
TransferGroupHandler * m_removedGH;
};
#endif