P @Fleischgewehr → @ojab:
ring (), "Ignotus", "nlminhtl@gmail.com", QString (), QStringList ("Improvements in Psto.net plugin for Azoth.") << tr ("Laure plugin.") << tr ("Last.FM Scrobbler plugin.") << tr ("openSUSE package maintainer") << tr ("Fedora package maintainer"), QList<int> () << 2011 << 2012); contribs << ContributorInfo (QString (), "lk4d4", QString (), "lk4d4@yander.ru", QStringList ("Initial ebuilds for Gentoo Linux."), QList<int> () << 2009); contribs << ContributorInfo ("Maxim Kirenenko", "part1zan_ aka 0x73571ab", "part1zancheg@gmail.com", "part1zancheg@gmail.com", QStringList (tr ("Extensive and thorough testing.")), QList<int> () << 2010 << 2011); contribs << ContributorInfo (QString (), "Miha", QString (), "miha@52.ru", QStringList ("OpenSUSE package maintainer."), QList<int> () << 2009); contribs << ContributorInfo (QString (), "nobodyzzz", QString (), "nobodyzzz666@gmail.com", QStringList ("Juick plugin.") << tr ("FatApe plugin, the GreaseMonkey support layer for Poshuku.") << tr ("Various patches."), QList<int> () << 2011); contribs << ContributorInfo (QString (), "PanteR", "panter_dsd@jabber.ru", "panter.dsd@gmail.com", QStringList (tr ("Various patches.")), QList<int> () << 2009 << 2010); contribs << ContributorInfo (QString (), "Pevzi", QString (), "pevzi23@gmail.com", QStringList (tr ("Graphical artwork.")), QList<int> () << 2009 << 2010); contribs << ContributorInfo (QString (), QString::fromUtf8 ("Phóéñíx"), "nounou@jabber.ru", QString (), QStringList (tr ("Arabic translations.")), QList<int> () << 2009 << 2010); contribs << ContributorInfo (QString (), "sejros", QString (), "home@sejros.mp", QStringList (tr ("Esperanto translations")), QList<int> () << 2009); contribs << ContributorInfo (QString (), "V0id", QString (), "getbusy@mail.ru", QStringList (tr ("Aggregator fixes and improvements.")) << tr ("Various patches.") << tr ("Ukrainian translations."), QList<int> () << 2008 << 2009 << 2010); QStringList formatted; Q_FOREACH (const ContributorInfo& i, authors) formatted << i.Fmt (); Ui_.Authors_→setHtml (formatted.join ("<hr />")); formatted.clear (); Q_FOREACH (const ContributorInfo& i, contribs) formatted << i.Fmt (); Ui_.Contributors_→setHtml (formatted.join ("<hr />")); if (QCoreApplication::arguments ().contains ("--format-contribs-for-web")) { formatted.clear (); Q_FOREACH (const ContributorInfo& i, authors) formatted << i.FmtWeb (); formatted << QString () << QString (); Q_FOREACH (const ContributorInfo& i, contribs) formatted << i.FmtWeb (); qDebug () << formatted.join ("\n\n"); } BuildDiagInfo (); } void AboutDialog::BuildDiagInfo () { QString text = QString ("LeechCraft ") + LEECHCRAFT_VERSION + "\n"; text += QString ("Built with Qt %1, running with Qt %2\n") .arg (QT_VERSION_STR) .arg (qVersion ()); text += QString ("Running on: %1\n").arg (Util::SysInfo::GetOSName ()); text += "--------------------------------\n\n"; QStringList loadedModules; QStringList unPathedModules; PluginManager *pm = Core::Instance ().GetPluginManager (); Q_FOREACH (QObject *plugin, pm→GetAllPlugins ()) { const QString& path = pm→GetPluginLibraryPath (plugin); IInfo *ii = qobject_cast<IInfo*> (plugin); if (path.isEmpty ()) unPathedModules << ("* " + ii→GetName ()); else loadedModules << ("* " + ii→GetName () + " (" + path + ")"); IHaveDiagInfo *diagInfo = qobject_cast<IHaveDiagInfo*> (plugin); if (diagInfo) { text += "Diag info for " + ii→GetName () + ":\n"; text += diagInfo→GetDiagInfoString (); text += "\n--------------------------------\n\n"; } } text += QString ("Normal plugins:") + "\n" + loadedModules.join ("\n") + "\n\n"; if (!unPathedModules.isEmpty ()) text += QString ("Adapted plugins:") + "\n" + unPathedModules.join ("\n") + "\n\n"; Ui_.DiagInfo_→setPlainText (text); } }
ojab
28.04.2012 15:24 YGG!
Do you really want to delete ?
А?
#ogotho/4
Шок, смерть.