blob: b7e99aca4d3d4c3dca55e9d13900a87dc4482aca (
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
|
#include <QCoreApplication>
#include <QDebug>
#include <QStringList>
#include "../qpackageproperties.h"
#include "../qlistconverter.h"
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();
QCoreApplication app(argc, argv);
return app.exec();
}
|