File indexing completed on 2024-03-24 05:00:06

0001 /* This file is part of the KDE project
0002 
0003    Copyright (C) 2009 Dario Massarin <nekkar@libero.it>
0004 
0005    This program is free software; you can redistribute it and/or
0006    modify it under the terms of the GNU General Public
0007    License as published by the Free Software Foundation; either
0008    version 2 of the License, or (at your option) any later version.
0009 */
0010 
0011 #ifndef _TESTKGET_H
0012 #define _TESTKGET_H
0013 
0014 #include <QtTest>
0015 
0016 class TransferGroupHandler;
0017 
0018 class TestKGet : public QObject
0019 {
0020     Q_OBJECT
0021 public:
0022     TestKGet();
0023 
0024 private Q_SLOTS:
0025     void simpleTest();
0026     void transferGroupTest();
0027     void transferGroupRepetitiveAddTest();
0028 
0029     void addedTransferGroupEvent(TransferGroupHandler *group);
0030     void removedTransferGroupEvent(TransferGroupHandler *group);
0031 
0032 private:
0033     TransferGroupHandler *m_addedGH;
0034     TransferGroupHandler *m_removedGH;
0035 };
0036 
0037 #endif