29 void CTestIcon::iconIndex()
31 const int max =
static_cast<int>(CIcons::IconIsGenerated);
38 const int i =
static_cast<int>(ii);
41 static const QString verifyMsg(
"Wrong index %1/%2 for icon %3");
42 qDebug() << verifyMsg.arg(i).arg(c).arg(icon.getDescriptiveText());
43 QVERIFY2(i == c,
"Wrong icon index");
53 #include "testicon.moc"
Value object for icons. An icon is stored in the global icon repository and identified by its index....
static const CSequence< CIcon > & allIcons()
All icons.
IconIndex
Index for each icon, allows to send them via DBus, efficiently store them, etc.
Free functions in swift::misc.
SWIFTTEST_MAIN(MiscTest::CTestIcon)
main