blob: efde5e7f4fa04751a9bd9436b4b70aed6929f0a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#include <QApplication>
#include <QDebug>
#include "../qpackageproperties.h"
#include "../qpackageproperties.cpp"
#include "../qlistconverter.h"
#include "../qlistconverter.cpp"
#include <QStringList>
namespace CppPortage {
class QPackageProperties;
}
using namespace CppPortage;
void test();
void test() {
QPackageProperties packPro(QString("slot"),QStringList("keyw"),QStringList("home"),QStringList("flags"));
qDebug() << "QString Slot()" << packPro.Slot();
qDebug() << "QStringList Homepages()" << packPro.Homepages();
qDebug() << "QStringList Flags()" << packPro.Flags();
qDebug() << "QStringList Keywords" << packPro.Keywords();
}
int main(int argc, char *argv[])
{
test();
QApplication app(argc, argv);
return app.exec();
}
|