Пример #1
0
void BirthdayReminder::init()
{
	setInfo(QT_TRANSLATE_NOOP("Plugin", "BirthdayReminder"),
			QT_TRANSLATE_NOOP("Plugin", "This plugin shows notifications when someone from "
							  "your contact list has a birthday"),
			PLUGIN_VERSION(0, 1, 0, 0));
	setCapabilities(Loadable);
}
Пример #2
0
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);
}
Пример #3
0
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"));
}
Пример #4
0
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"));
}
Пример #5
0
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);
}
Пример #6
0
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;
}
Пример #7
0
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);
}
Пример #8
0
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);
}
Пример #9
0
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"));

}
Пример #10
0
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);
	
	}
Пример #11
0
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());
}
Пример #12
0
void DPlugin::init()
{
	qDebug("%s", Q_FUNC_INFO);
	ExtensionIcon dIcon("mac");
	setInfo(QT_TRANSLATE_NOOP("Plugin", "DBus notifications"),
		QT_TRANSLATE_NOOP("Plugin", "Notification system based on Freedesktop DBus protocol"),
		PLUGIN_VERSION(0, 0, 1, 0),
		dIcon);
	addAuthor(QT_TRANSLATE_NOOP("Author","Sidorov Aleksey"),
			  QT_TRANSLATE_NOOP("Task","Author"),
			  QLatin1String("*****@*****.**"),
			  QLatin1String("sauron.me"));
	addExtension<DBusBackend>(QT_TRANSLATE_NOOP("plugin","DBus notifications"),
							   QT_TRANSLATE_NOOP("plugin","Notification system based on Freedesktop DBus protocol"));
}
Пример #13
0
void AWNPlugin::init ()
{
    qutim_sdk_0_3::ExtensionIcon icon("info");
    addAuthor(QT_TRANSLATE_NOOP("Author", "Stanislav (proDOOMman) Kosolapov"),
              QT_TRANSLATE_NOOP("Task", "Developer"),
              QLatin1String("*****@*****.**")
              );
    setInfo(QT_TRANSLATE_NOOP("Plugin", "AWN"),
            QT_TRANSLATE_NOOP("Plugin", "Avant window navigator dock integration"),
            PLUGIN_VERSION(0, 0, 1, 0),
            icon
            );
    addExtension<AWNService>(QT_TRANSLATE_NOOP("Plugin", "AWN"),
                             QT_TRANSLATE_NOOP("Plugin", "Avant window navigator dock integration")
                             );
}
Пример #14
0
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);
}
Пример #15
0
void WeatherPlugin::init()
{
	addAuthor( QT_TRANSLATE_NOOP( "Author", "Nikita Belov" ),
				QT_TRANSLATE_NOOP( "Task", "Developer" ),
				QLatin1String("*****@*****.**") );
	setInfo( QT_TRANSLATE_NOOP("Plugin", "Weather plugin"),
				QT_TRANSLATE_NOOP("Plugin", "Plugin shows a current weather in your city."),
				PLUGIN_VERSION( 0, 0, 1, 0 ),
				ExtensionIcon( QIcon( ":/icons/weather.png" ) ) );
	setCapabilities(Loadable);
	ActionGenerator *gen = new ActionGenerator(QIcon(":/icons/weather.png"),
											   QT_TRANSLATE_NOOP("Weather", "Get weather"),
											   SLOT(getWeather()));
	MenuController::addAction<WContact>(gen);
	gen = new ActionGenerator(QIcon(":/icons/weather.png"),
							  QT_TRANSLATE_NOOP("Weather", "Get weather forecast"),
							  SLOT(getForecast()));
	MenuController::addAction<WContact>(gen);
}
Пример #16
0
void MrimPlugin::init()
{
	LocalizedString info = QT_TRANSLATE_NOOP("Plugin", "Module-based realization of Mail.Ru IM protocol");
	LocalizedString plugName = QT_TRANSLATE_NOOP("Plugin", "MRIM");

	setInfo(plugName, info,
			PLUGIN_VERSION(MRIM_MAJOR_VER, MRIM_MINOR_VER, MRIM_SECMINOR_VER, MRIM_PATCH_VER));

	addAuthor(QT_TRANSLATE_NOOP("Author", "Peter Rusanov"),
			  QT_TRANSLATE_NOOP("Task", "Author"),
			  QLatin1String("*****@*****.**"));

	addExtension(plugName, info,
				 new GeneralGenerator<MrimProtocol>(),
				 ExtensionIcon("im-mrim"));

	addExtension(QT_TRANSLATE_NOOP("Plugin", "MRIM account creator"),
				 QT_TRANSLATE_NOOP("Plugin", "Account creator for module-based realization of Mail.Ru IM protocol"),
				 new GeneralGenerator<MrimAccountWizard>(),
				 ExtensionIcon("im-mrim"));
}
Пример #17
0
	PluginInfoData::PluginInfoData()
	    : version(PLUGIN_VERSION(0, 0, 0, 1)), inited(0), loaded(0)
	{
	}
Пример #18
0
void JPlugin::init()
{
	qRegisterMetaType<QSet<QString> >("QSet<QString>");
	ExtensionIcon jabberIcon("im-jabber");
	setInfo(QT_TRANSLATE_NOOP("Plugin", "Jabber"),
			QT_TRANSLATE_NOOP("Plugin", "Jabber protocol"),
			PLUGIN_VERSION(0, 0, 1, 0),
			jabberIcon);
	addAuthor(QLatin1String("reindeer"));
	addAuthor(QT_TRANSLATE_NOOP("Author", "Nikita Belov"),
			  QT_TRANSLATE_NOOP("Task", "Author"),
			  QLatin1String("*****@*****.**"));
	addAuthor(QLatin1String("euroelessar"));
	addAuthor(QLatin1String("sauron"));
	addExtension(QT_TRANSLATE_NOOP("Plugin", "Jabber"),
				 QT_TRANSLATE_NOOP("Plugin", "Jabber protocol"),
				 new GeneralGenerator<JProtocol>(),
				 jabberIcon);
	addExtension(QT_TRANSLATE_NOOP("Plugin", "Jabber account creator"),
				 QT_TRANSLATE_NOOP("Plugin", "Account creator for Jabber protocol"),
				 new GeneralGenerator<JAccountWizard>(),
				 jabberIcon);
	addExtension(QT_TRANSLATE_NOOP("Plugin", "LiveJournal account creator"),
				 QT_TRANSLATE_NOOP("Plugin", "Account creator for LiveJournal"),
				 new GeneralGenerator<LJAccountWizard>(),
				 ExtensionIcon("im-livejournal"));
	addExtension(QT_TRANSLATE_NOOP("Plugin", "Google Talk account creator"),
				 QT_TRANSLATE_NOOP("Plugin", "Account creator for Google Talk"),
				 new GeneralGenerator<GTAccountWizard>(),
				 ExtensionIcon("im-gtalk"));
	addExtension(QT_TRANSLATE_NOOP("Plugin", "Yandex.Online account creator"),
				 QT_TRANSLATE_NOOP("Plugin", "Account creator for Yandex.Online"),
				 new GeneralGenerator<YAccountWizard>(),
				 ExtensionIcon("im-yandex"));
	addExtension(QT_TRANSLATE_NOOP("Plugin", "QIP account creator"),
				 QT_TRANSLATE_NOOP("Plugin", "Account creator for QIP"),
				 new GeneralGenerator<QIPAccountWizard>(),
				 ExtensionIcon("im-qip"));
#ifndef Q_WS_S60
	addExtension(QT_TRANSLATE_NOOP("Plugin", "Jabber XML console"),
				 QT_TRANSLATE_NOOP("Plugin", "XML console for low-level protocol debugging"),
				 new GeneralGenerator<XmlConsole, JabberExtension>(),
				 ExtensionIcon("utilities-terminal"));
#endif
	//		addExtension(QT_TRANSLATE_NOOP("Plugin", "Jabber AdHoc"),
	//			QT_TRANSLATE_NOOP("Plugin", "Implementation of Ad-hoc Commands"),
	//			new GeneralGenerator<JAdHocModule, JabberExtension>(),
	//			ExtensionIcon("utilities-terminal"));
	//		addExtension(QT_TRANSLATE_NOOP("Plugin", "Jabber Remote Control"),
	//			QT_TRANSLATE_NOOP("Plugin", "Implementation of client remote controlling"),
	//			new GeneralGenerator<RemoteControl, JabberExtension>(),
	//			ExtensionIcon("utilities-terminal"));
	addExtension(QT_TRANSLATE_NOOP("Plugin", "Jabber Service Browser"),
				 QT_TRANSLATE_NOOP("Plugin", "Implementation of service browser"),
				 new GeneralGenerator<JServiceBrowserModule, JabberExtension>(),
				 ExtensionIcon("services"));
	//		addExtension(QT_TRANSLATE_NOOP("Plugin", "Jabber File Transfer"),
	//			QT_TRANSLATE_NOOP("Plugin", "Implementation of XEP-0096"),
	//			new GeneralGenerator<JFileTransferFactory>(),
	//			ExtensionIcon("document-save"));
	addExtension(QT_TRANSLATE_NOOP("Plugin", "Jabber Personal Events support"),
				 QT_TRANSLATE_NOOP("Plugin", "Implementation of personal events protocol"),
				 new GeneralGenerator<JPersonEventSupport, JabberExtension>(),
				 ExtensionIcon(""));
	addExtension(QT_TRANSLATE_NOOP("Plugin", "Jabber VCard support"),
				 QT_TRANSLATE_NOOP("Plugin", "Implementation of VCard info requests"),
				 new GeneralGenerator<JVCardManager, JabberExtension>(),
				 ExtensionIcon(""));
	addExtension(QT_TRANSLATE_NOOP("Plugin", "Jabber User Mood support"),
				 QT_TRANSLATE_NOOP("Plugin", "Convertes internal XMPP data of mood to Qt data types"),
				 new GeneralGenerator<JPersonMoodConverter, PersonEventConverter>(),
				 ExtensionIcon(""));
	addExtension(QT_TRANSLATE_NOOP("Plugin", "Jabber Mood Chooser"),
				 QT_TRANSLATE_NOOP("Plugin", "Provides the dialog to set your mood"),
				 new GeneralGenerator<JMoodChooser, JabberExtension>(),
				 ExtensionIcon(""));
	addExtension(QT_TRANSLATE_NOOP("Plugin", "Jabber User Tune support"),
				 QT_TRANSLATE_NOOP("Plugin", "Convertes internal XMPP data of tune to Qt data types"),
				 new GeneralGenerator<JPersonTuneConverter, PersonEventConverter>(),
				 ExtensionIcon(""));
	addExtension(QT_TRANSLATE_NOOP("Plugin", "Jabber User Activity support"),
				QT_TRANSLATE_NOOP("Plugin", "Convertes internal XMPP data of activity to Qt data types"),
				new GeneralGenerator<JPersonActivityConverter, PersonEventConverter>(),
				ExtensionIcon(""));
	addExtension(QT_TRANSLATE_NOOP("Plugin", "Jabber Activity Chooser"),
				QT_TRANSLATE_NOOP("Plugin", "Provides the dialog to set your activity"),
				new GeneralGenerator<JActivityChooser, JabberExtension>(),
				ExtensionIcon(""));
	addExtension(QT_TRANSLATE_NOOP("Plugin", "Jabber proxy support"),
				 QT_TRANSLATE_NOOP("Plugin", "Jabber proxy support"),
				 new SingletonGenerator<JProxyManager, NetworkProxyManager>(),
				 ExtensionIcon("im-jabber"));
}