AboutData::AboutData() : KAboutData("basket", "", ki18n("BasKet Note Pads"), VERSION, ki18n(description), KAboutData::License_GPL_V2, ki18n("(c) 2003-2007, S\303\251bastien Lao\303\273t, (c) 2013-2014, Gleb Baryshev"), KLocalizedString(), "http://basket.kde.org/", "https://bugs.launchpad.net/basket") { //Pass basket.kde.org to constructor to be used as D-Bus domain name, but set the displayed address below setHomepage("https://launchpad.net/basket"); addAuthor(ki18n("Kelvie Wong"), ki18n("Maintainer"), "*****@*****.**"); addAuthor(ki18n("S\303\251bastien Lao\303\273t"), ki18n("Original Author"), "*****@*****.**"); addAuthor(ki18n("Petri Damst\303\251n"), ki18n("Basket encryption, Kontact integration, KnowIt importer"), "*****@*****.**"); addAuthor(ki18n("Alex Gontmakher"), ki18n("Baskets auto lock, save-status icon, HTML copy/paste, basket name tooltip, drop to basket name"), "*****@*****.**"); addAuthor(ki18n("Marco Martin"), ki18n("Original icon"), "*****@*****.**"); }
void SessionHelper::init() { setInfo(QT_TRANSLATE_NOOP("Plugin", "Session helper"), QT_TRANSLATE_NOOP("Plugin", "Activates the session when certain events"), PLUGIN_VERSION(0, 1, 0, 0)); setCapabilities(Loadable); addAuthor(QLatin1String("sauron")); addAuthor(QLatin1String("nicoizo")); }
void OscarPlugin::init() { qRegisterMetaTypeStreamOperators<FeedbagItem>("qutim_sdk_0_3::oscar::FeedbagItem"); setInfo(QT_TRANSLATE_NOOP("Plugin", "Oscar"), QT_TRANSLATE_NOOP("Plugin", "Module-based implementation of Oscar protocol"), PLUGIN_VERSION(0, 0, 1, 0)); addAuthor(QT_TRANSLATE_NOOP("Author", "Ruslan Nigmatullin"), QT_TRANSLATE_NOOP("Task", "Author"), QLatin1String("*****@*****.**")); addAuthor(QT_TRANSLATE_NOOP("Author", "Alexey Prokhin"), QT_TRANSLATE_NOOP("Task", "Author"), QLatin1String("*****@*****.**")); addExtension(QT_TRANSLATE_NOOP("Plugin", "ICQ"), QT_TRANSLATE_NOOP("Plugin", "Module-based implementation of ICQ protocol"), new GeneralGenerator<IcqProtocol>(), ExtensionIcon("im-icq")); addExtension(QT_TRANSLATE_NOOP("Plugin", "ICQ account creator"), QT_TRANSLATE_NOOP("Plugin", "Account creator for module-based implementation of ICQ protocol"), new GeneralGenerator<IcqAccountCreationWizard>(), ExtensionIcon("im-icq")); addExtension(QT_TRANSLATE_NOOP("Plugin", "Oscar roster"), QT_TRANSLATE_NOOP("Plugin", "Oscar roster"), new SingletonGenerator<Roster, SNACHandler, FeedbagItemHandler>(), ExtensionIcon("im-icq")); addExtension(QT_TRANSLATE_NOOP("Plugin", "Oscar messages"), QT_TRANSLATE_NOOP("Plugin", "Oscar messages"), new SingletonGenerator<MessagesHandler, SNACHandler>(), ExtensionIcon("im-icq")); addExtension(QT_TRANSLATE_NOOP("Plugin", "Oscar file transfer protocol"), QT_TRANSLATE_NOOP("Plugin", "Oscar file transfer protocol"), new SingletonGenerator<OftFileTransferFactory, MessagePlugin>(), ExtensionIcon("im-icq")); addExtension(QT_TRANSLATE_NOOP("Plugin", "Oscar file transfer settings"), QT_TRANSLATE_NOOP("Plugin", "Oscar file transfer settings"), new SingletonGenerator<OscarFileTransferSettings, SettingsExtension>(), ExtensionIcon("im-icq")); addExtension(QT_TRANSLATE_NOOP("Plugin", "MetaInfo icq service"), QT_TRANSLATE_NOOP("Plugin", "MetaInfo icq service"), new SingletonGenerator<MetaInfo, SNACHandler>(), ExtensionIcon("im-icq")); addExtension(QT_TRANSLATE_NOOP("Plugin", "Oscar authorization support"), QT_TRANSLATE_NOOP("Plugin", "Oscar authorization support"), new SingletonGenerator<Authorization, SNACHandler, FeedbagItemHandler>(), ExtensionIcon("im-icq")); addExtension(QT_TRANSLATE_NOOP("Plugin", "Oscar privacy lists"), QT_TRANSLATE_NOOP("Plugin", "Oscar privacy lists"), new SingletonGenerator<PrivacyLists, FeedbagItemHandler>(), ExtensionIcon("im-icq")); addExtension(QT_TRANSLATE_NOOP("Plugin", "Oscar contact search"), QT_TRANSLATE_NOOP("Plugin", "Oscar contact search implementation"), new GeneralGenerator<OscarContactSearchFactory>(), ExtensionIcon("im-icq")); addExtension(QT_TRANSLATE_NOOP("Plugin", "Oscar proxy support"), QT_TRANSLATE_NOOP("Plugin", "Oscar proxy support"), new SingletonGenerator<OscarProxyManager, NetworkProxyManager>(), ExtensionIcon("im-icq")); }
SunPlugin::SunPlugin() { setVisible( false ); setVersion( "1.0" ); setCopyrightYear( 2011 ); addAuthor( "Torsten Rahn", "*****@*****.**" ); addAuthor( "Bernhard Beschow", "*****@*****.**"); addAuthor( "Harshit Jain", "*****@*****.**" ); }
CrosshairsPlugin::CrosshairsPlugin ( ) : m_isInitialized( false ), m_svgobj( 0 ), m_configDialog( 0 ), m_uiConfigWidget( 0 ) { setVersion( "1.0" ); setCopyrightYears( QList<int>() << 2009 << 2010 ); addAuthor( "Cezar Mocan", "*****@*****.**" ); addAuthor( "Torsten Rahn", "*****@*****.**" ); }
/** @return Le widget contenu par l'onglet "Auteurs" */ QWidget *AboutQET::authorsTab() const { QLabel *authors = new QLabel(); addAuthor(authors, "Beno\356t Ansieau", "*****@*****.**", tr("Id\351e originale")); addAuthor(authors, "Xavier Guerrin", "*****@*****.**", tr("D\351veloppement")); addAuthor(authors, "Laurent Trinques", "*****@*****.**", tr("Collection d'\351l\351ments & D\351veloppement")); addAuthor(authors, "Cyril Frausti", "*****@*****.**", tr("D\351veloppement")); addAuthor(authors, "Joshua Claveau", "*****@*****.**", tr("D\351veloppement")); authors -> setAlignment(Qt::AlignCenter); authors -> setOpenExternalLinks(true); authors -> setTextFormat(Qt::RichText); return(authors); }
AboutData::AboutData() : KAboutData ("silence", 0, ki18n(APPNAME), VERSION, ki18n("An information management tool."), KAboutData::License_GPL_V2, ki18n("(c) 2009 - 2010, Silence developers"), KLocalizedString(), "http://silence.sekalura.net", "*****@*****.**") { addAuthor(ki18n("Manuel Unglaub"), ki18n("Maintainer"), "*****@*****.**"); addAuthor(ki18n("Yves Adler"), KLocalizedString(), "*****@*****.**"); }
//! @return The widget contained by the tab "Authors" QWidget *AboutQUCS::authorsTab() const { QLabel *authors = new QLabel(); addAuthor(authors, "Stefan Jahn", "*****@*****.**", tr("Original idea")); addAuthor(authors, "Bastien Roucaries", "*****@*****.**", tr("Programming")); addAuthor(authors, "Gopala Krishna", "*****@*****.**", tr("Programming")); addAuthor(authors, "Pablo Daniel Pareja Obregon", "*****@*****.**", tr("Programming")); authors->setAlignment(Qt::AlignCenter); authors->setOpenExternalLinks(true); authors->setTextFormat(Qt::RichText); return authors; }
CompassFloatItem::CompassFloatItem ( const QPointF &point, const QSizeF &size ) : AbstractFloatItem( point, size ), m_isInitialized( false ), m_svgobj( 0 ), m_compass(), m_polarity( 0 ), m_configDialog( 0 ), m_uiConfigWidget( 0 ) { setVersion( "1.0" ); setCopyrightYears( QList<int>() << 2009 << 2010 ); addAuthor( QString::fromUtf8( "Dennis Nienhüser" ), "*****@*****.**" ); addAuthor( "Torsten Rahn", "*****@*****.**" ); }
EarthquakePlugin::EarthquakePlugin() : m_isInitialized( false ), m_configDialog( 0 ) { setNameId( "earthquake" ); setVersion( "1.0" ); setCopyrightYears( QList<int>() << 2010 << 2011 ); addAuthor( QString::fromUtf8( "Utku Aydın" ), "*****@*****.**" ); addAuthor( "Daniel Marth", "*****@*****.**" ); setEnabled( true ); // Plugin is enabled by default setVisible( false ); // Plugin is invisible by default connect( this, SIGNAL( settingsChanged( QString ) ), this, SLOT( updateSettings() ) ); }
void ASpellPlugin::init() { ExtensionIcon icon("tools-check-spelling"); addAuthor(QT_TRANSLATE_NOOP("Author", "Ruslan Nigmatullin"), QT_TRANSLATE_NOOP("Task", "Developer"), QLatin1String("*****@*****.**")); addAuthor(QT_TRANSLATE_NOOP("Author", "Alexey Prokhin"), QT_TRANSLATE_NOOP("Task", "Author"), QLatin1String("*****@*****.**")); setInfo(QT_TRANSLATE_NOOP("Plugin", "ASpell checker"), QT_TRANSLATE_NOOP("Plugin", "Check spelling by ASpell library"), PLUGIN_VERSION(0, 0, 1, 0), icon); addExtension<ASpellChecker>(QT_TRANSLATE_NOOP("Plugin", "ASpell checker"), QT_TRANSLATE_NOOP("Plugin", "Check spelling by ASpell library"), icon); }
bool UniPAX::PublicationXref::setAttribute(std::string& attribute, std::string& value, PersistenceManager& manager) { if (UniPAX::Xref::setAttribute(attribute, value, manager)) return true; if (boost::iequals(attribute,"url")) { addUrl(value); return true; } if (boost::iequals(attribute,"title")) { setTitle(value); return true; } if (boost::iequals(attribute,"source")) { addSource(value); return true; } if (boost::iequals(attribute,"author")) { addAuthor(value); return true; } if (boost::iequals(attribute,"year")) { return (PersistenceManager::convertAttribute(value,year)); } return false; }
void ScriptPlugin::init() { addAuthor(QLatin1String("euroelessar")); setInfo(QT_TRANSLATE_NOOP("Plugin", "Script API"), QT_TRANSLATE_NOOP("Plugin", "Added ability to create plugins at JavaScript"), PLUGIN_VERSION(0, 0, 1, 0), ExtensionIcon("network-wireless")); setCapabilities(Loadable); }
void AuthorEditWidget::addAuthor() { QString authorName = authorComboBox->currentText(); if(!authorName.isNull() && !authorName.isEmpty()) { addAuthor(authorName); } }
void WritableBookDescription::addAuthor(const std::string &name) { int stripIndex = name.length() - 1; while ((stripIndex >= 0) && (name[stripIndex] == ' ')) { --stripIndex; } std::string strippedName = name.substr(0, stripIndex + 1); int index = strippedName.rfind(' '); if (index == -1) { addAuthor(strippedName, strippedName); } else { std::string lastName = strippedName.substr(index + 1); while ((index >= 0) && (strippedName[index] == ' ')) { --index; } std::string firstName = strippedName.substr(0, index + 1); addAuthor(firstName + ' ' + lastName, lastName); } }
void MassMessaging::init() { debug() << Q_FUNC_INFO; addAuthor(QLatin1String("sauron")); setInfo(QT_TRANSLATE_NOOP("Plugin", "MassMessaging"), QT_TRANSLATE_NOOP("Plugin", "Simple messaging to contact list"), PLUGIN_VERSION(0, 1, 0, 0)); setCapabilities(Loadable); }
/** @return Le widget contenu par l'onglet "Contributeurs" */ QWidget *AboutQET::contributorsTab() const { QLabel *contributors = new QLabel(); addAuthor(contributors, "Remi Collet", "*****@*****.**", tr("Paquets Fedora et Red Hat")); addAuthor(contributors, "Trem", "*****@*****.**", tr("Paquets Mandriva")); addAuthor(contributors, "Laurent Trinques", "*****@*****.**", tr("Paquets Debian")); addAuthor(contributors, "Markos Chandras", "[email protected].", tr("Paquets gentoo")); addAuthor(contributors, "Nuno Pinheiro", "*****@*****.**", tr("Ic\364nes")); contributors -> setOpenExternalLinks(true); contributors -> setTextFormat(Qt::RichText); QWidget *contributors_widget = new QWidget(); QHBoxLayout *contributors_layout = new QHBoxLayout(contributors_widget); contributors_layout -> addWidget(contributors, 0, Qt::AlignCenter); return(contributors_widget); }
void EmoEditPlugin::init() { addAuthor(QLatin1String("euroelessar")); setInfo(QT_TRANSLATE_NOOP("Plugin", "EmoEdit plugin"), QT_TRANSLATE_NOOP("Plugin", "Add emoticons to text edit widget"), PLUGIN_VERSION(0, 0, 1, 0), ExtensionIcon()); setCapabilities(Loadable); m_inParsingState = false; }
OktetaAboutData::OktetaAboutData() : KAboutData( ProgramId, 0, ki18n("Okteta"), ProgramVersion, // name ki18n("KDE byte editor"), // description KAboutData::License_GPL_V2, ki18n("Copyright 2006-2010 Friedrich W. H. Kossebau"), //copyright ki18n("Edit the raw data of files"), // comment ProgramHomepage ) { setProgramIconName( QString::fromLatin1("okteta") ); addLicense(KAboutData::License_GPL_V3); setOrganizationDomain( "kde.org" ); addAuthor( ki18n("Friedrich W. H. Kossebau"), // name ki18n("Author"), // task FWHKEmailAddress ); addAuthor( ki18nc("Author","Alexander Richardson"),// name ki18nc("Task description","Structures tool"), // task AREmailAddress ); }
void MetamenuPlugin::init () { qutim_sdk_0_3::ExtensionIcon icon("info"); addAuthor(QLatin1String("nicoizo")); setInfo(QT_TRANSLATE_NOOP("Plugin", "MetaMenu"), QT_TRANSLATE_NOOP("Plugin", "Ubuntu metamenu integration"), PLUGIN_VERSION(0, 0, 1, 1), icon ); setCapabilities(Loadable); }
void MassMessaging::init() { debug() << Q_FUNC_INFO; addAuthor(QT_TRANSLATE_NOOP("Author","Sidorov Aleksey"), QT_TRANSLATE_NOOP("Task","Author"), QLatin1String("*****@*****.**"), QLatin1String("sauron.me")); setInfo(QT_TRANSLATE_NOOP("Plugin", "MassMessaging"), QT_TRANSLATE_NOOP("Plugin", "Simple messaging to contact list"), PLUGIN_VERSION(0, 1, 0, 0)); setCapabilities(Loadable); }
//! @return The widget contained by the tab "Translators" QWidget *AboutQUCS::translatorsTab() const { QLabel *translators = new QLabel(); addAuthor(translators, "Pablo Daniel Pareja Obregon", "*****@*****.**", tr("Spanish translation")); translators->setAlignment(Qt::AlignCenter); translators->setOpenExternalLinks(true); translators->setTextFormat(Qt::RichText); return translators; }
AboutData::AboutData() : KAboutData(AboutData::componentName(), AboutData::displayName(), VERSION, i18n(description), KAboutLicense::GPL_V2, i18n("Copyright © 2003–2007, Sébastien Laoût; Copyright © 2013–2019, Gleb Baryshev"), QString(), "http://basket.kde.org/") { //Pass basket.kde.org to constructor to be used as D-Bus domain name, but set the displayed address below setHomepage("https://launchpad.net/basket"); setBugAddress("https://bugs.launchpad.net/basket"); addAuthor(i18n("OmegaPhil"), i18n("Paste as plaintext option"), "*****@*****.**"); addAuthor(i18n("Kelvie Wong"), i18n("Maintainer"), "*****@*****.**"); addAuthor(i18n("Sébastien Laoût"), i18n("Original Author"), "*****@*****.**"); addAuthor(i18n("Petri Damstén"), i18n("Basket encryption, Kontact integration, KnowIt importer"), "*****@*****.**"); addAuthor(i18n("Alex Gontmakher"), i18n("Baskets auto lock, save-status icon, HTML copy/paste, basket name tooltip, drop to basket name"), "*****@*****.**"); addAuthor(i18n("Marco Martin"), i18n("Original icon"), "*****@*****.**"); }
int main (int argc, char **argv) { KLocalizedString::setApplicationDomain("kronometer"); QApplication app {argc, argv}; KCrash::initialize(); auto aboutData = KAboutData { QStringLiteral("kronometer"), // componentName i18nc("KAboutData display name", "Kronometer"), QStringLiteral(KRONOMETER_VERSION_STRING), i18n("Kronometer is a simple stopwatch application"), // shortDescription KAboutLicense::GPL_V2, // licenseType i18n("Copyright (C) 2014-2016 Elvis Angelaccio"), // copyrightStatement {}, // otherText QStringLiteral("http://aelog.org/kronometer") // homePageAddress }; aboutData.addAuthor( i18n("Elvis Angelaccio"), i18n("Maintainer"), QStringLiteral("*****@*****.**"), QStringLiteral("http://aelog.org") ); aboutData.addCredit( i18n("Ken Vermette"), i18n("Kronometer icon"), QStringLiteral("*****@*****.**") ); KAboutData::setApplicationData(aboutData); app.setApplicationName(aboutData.componentName()); app.setApplicationDisplayName(aboutData.displayName()); app.setOrganizationDomain(aboutData.organizationDomain()); app.setApplicationVersion(aboutData.version()); app.setWindowIcon(QIcon::fromTheme(QStringLiteral("kronometer"))); // Make sure that the local data directory is available. auto appdata = QFileInfo {QStandardPaths::writableLocation(QStandardPaths::AppLocalDataLocation)}; if (not appdata.exists()) { auto dir = QDir {appdata.absolutePath()}; dir.mkdir(appdata.fileName()); } auto window = new MainWindow {}; window->show(); return app.exec(); }
void Maemo5TrayPlugin::init() { addAuthor(QT_TRANSLATE_NOOP("Author", "Evgeniy Degtyarev"), QT_TRANSLATE_NOOP("Task", "Author"), QLatin1String("*****@*****.**")); setInfo(QT_TRANSLATE_NOOP("Plugin", "Maemo 5 Tray"), QT_TRANSLATE_NOOP("Plugin", "Implement Maemo 5 specific system tray"), PLUGIN_VERSION(0, 0, 1, 0)); addExtension<Maemo5Tray>(QT_TRANSLATE_NOOP("Plugin", "Maemo 5 Tray"), QT_TRANSLATE_NOOP("Plugin", "Implement Maemo 5 specific system tray")); }
OktetaAboutData::OktetaAboutData() : KAboutData( QStringLiteral("okteta"), i18n("Okteta"), // name QStringLiteral("0.21.60"), i18n("Hex editor"), // description KAboutLicense::GPL_V2, i18n("Copyright 2006-2016 Friedrich W. H. Kossebau"), //copyright i18n("Edit the raw data of files"), // comment QStringLiteral("https://userbase.kde.org/Okteta") ) { addLicense(KAboutLicense::GPL_V3); setOrganizationDomain( "kde.org" ); addAuthor( i18n("Friedrich W. H. Kossebau"), // name i18n("Author"), // task QStringLiteral("*****@*****.**") ); addAuthor( i18nc("Author","Alexander Richardson"),// name i18nc("Task description","Structures tool"), // task QStringLiteral("*****@*****.**") ); #if KCOREADDONS_VERSION >= 0x051600 setDesktopFileName(QStringLiteral("org.kde.okteta")); #endif }
void Maemo5SettingsPlugin::init() { setInfo(QT_TRANSLATE_NOOP("Plugin", "Maemo 5 Settings"), QT_TRANSLATE_NOOP("Plugin", "Specific Maemo 5 settings"), PLUGIN_VERSION(0, 0, 1, 0)); addAuthor(QT_TRANSLATE_NOOP("Author","Evgeniy Degtyarev"), QT_TRANSLATE_NOOP("Task","Author"), QLatin1String("*****@*****.**")); addExtension<Maemo5Settings>(QT_TRANSLATE_NOOP("plugin","Maemo 5 Settings"), QT_TRANSLATE_NOOP("plugin","Specific Maemo 5 settings")); m_item = new GeneralSettingsItem<Maemo5Settings>(Settings::Plugin, Icon("maemo5"), QT_TRANSLATE_NOOP("Settings","Maemo 5 Settings")); Settings::registerItem(m_item); }
OpenCachingPlugin::OpenCachingPlugin() : m_isInitialized( false ), m_configDialog( 0 ) { setNameId( "opencaching" ); setVersion( "1.0" ); setCopyrightYear( 2011 ); addAuthor( "Daniel Marth", "*****@*****.**" ); setDataText( tr( "Cache positions by opencaching.de." ) ); setEnabled( true ); // Plugin is enabled by default setVisible( false ); // Plugin is invisible by default connect( this, SIGNAL(settingsChanged(QString)), this, SLOT(updateSettings()) ); }
void PhononSoundPlugin::init() { addAuthor(QT_TRANSLATE_NOOP("Author", "Ruslan Nigmatullin"), QT_TRANSLATE_NOOP("Task", "Author"), QLatin1String("*****@*****.**")); setInfo(QT_TRANSLATE_NOOP("Plugin", "Phonon sound engine"), QT_TRANSLATE_NOOP("Plugin", "Sound engine based on KDE sound engine"), PLUGIN_VERSION(0, 1, 0, 0), ExtensionIcon()); setCapabilities(Loadable); addExtension<PhononSoundBackend>( QT_TRANSLATE_NOOP("Plugin", "Phonon sound engine"), QT_TRANSLATE_NOOP("Plugin", "Sound engine based on KDE sound engine"), ExtensionIcon()); }
AboutData::AboutData() : KAboutData(QStringLiteral("kjots"), i18n("KJots"), QStringLiteral(KJOTS_VERSION), i18n("KDE note taking utility"), KAboutLicense::GPL, i18n("Copyright © 1997–2015 KJots authors")) { addAuthor(i18n("Daniel Vrátil"), i18n("Maintainer"), QStringLiteral("*****@*****.**")); addAuthor(i18n("Stephen Kelly"), QString(), QStringLiteral("*****@*****.**")); addAuthor(i18n("Pradeepto K. Bhattacharya"), QString(), QStringLiteral("*****@*****.**")); addAuthor(i18n("Jaison Lee"), QString(), QStringLiteral("*****@*****.**")); addAuthor(i18n("Aaron J. Seigo"), QString(), QStringLiteral("*****@*****.**")); addAuthor(i18n("Stanislav Kljuhhin"), QString(), QStringLiteral("*****@*****.**")); addAuthor(i18n("Christoph Neerfeld"), i18n("Original author"), QStringLiteral("*****@*****.**")); addAuthor(i18n("Laurent Montel"), QString(), QStringLiteral("*****@*****.**")); }