From bcb704366cb5e333a626c18c308c7e0448a8e69f Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kopete/protocols/msn/config/Makefile.am | 12 ++ .../protocols/msn/config/kopete_msn_config.desktop | 123 ++++++++++++ kopete/protocols/msn/config/msnpreferences.cpp | 33 ++++ kopete/protocols/msn/config/msnprefs.ui | 217 +++++++++++++++++++++ 4 files changed, 385 insertions(+) create mode 100644 kopete/protocols/msn/config/Makefile.am create mode 100644 kopete/protocols/msn/config/kopete_msn_config.desktop create mode 100644 kopete/protocols/msn/config/msnpreferences.cpp create mode 100644 kopete/protocols/msn/config/msnprefs.ui (limited to 'kopete/protocols/msn/config') diff --git a/kopete/protocols/msn/config/Makefile.am b/kopete/protocols/msn/config/Makefile.am new file mode 100644 index 00000000..ab29db48 --- /dev/null +++ b/kopete/protocols/msn/config/Makefile.am @@ -0,0 +1,12 @@ +METASOURCES = AUTO +AM_CPPFLAGS = $(KOPETE_INCLUDES) $(all_includes) + +kde_module_LTLIBRARIES = kcm_kopete_msn.la + +kcm_kopete_msn_la_SOURCES = msnprefs.ui msnpreferences.cpp +kcm_kopete_msn_la_LDFLAGS = -no-undefined -module $(KDE_PLUGIN) $(all_libraries) +kcm_kopete_msn_la_LIBADD = ../../../libkopete/libkopete.la $(LIB_KUTILS) + +service_DATA = kopete_msn_config.desktop +servicedir = $(kde_servicesdir)/kconfiguredialog + diff --git a/kopete/protocols/msn/config/kopete_msn_config.desktop b/kopete/protocols/msn/config/kopete_msn_config.desktop new file mode 100644 index 00000000..2af4da08 --- /dev/null +++ b/kopete/protocols/msn/config/kopete_msn_config.desktop @@ -0,0 +1,123 @@ +[Desktop Entry] +Icon=msn_protocol +Type=Service +ServiceTypes=KCModule + +X-KDE-ModuleType=Library +X-KDE-Library=kopete_msn +X-KDE-FactoryName=MSNProtocolConfigFactory +X-KDE-ParentApp=kopete_msn +X-KDE-ParentComponents=kopete_msn + +Name=MSN Plugin +Name[ar]=توصيلة MSN +Name[be]=Модуль MSN +Name[bg]=MSN +Name[bn]=এমএসএন প্লাগিন +Name[br]=Lugent MSN +Name[bs]=MSN dodatak +Name[ca]=Connector de MSN +Name[cs]=MSN modul +Name[cy]=Ategyn MSN +Name[da]=MSN-Plugin +Name[de]=MSN-Modul +Name[el]=Πρόσθετο MSN +Name[es]=Complemento de MSN +Name[et]=MSN plugin +Name[eu]=MSN Plugin-a +Name[fa]=وصلۀ ام‌اس‌ان +Name[fi]=MSN-liitännäinen +Name[fr]=Module MSN +Name[ga]=Breiseán MSN +Name[gl]=Plugin para MSN +Name[he]=תוסף MSN +Name[hi]=एमएसएन प्लगइन +Name[hr]=MSN umetak +Name[hu]=MSN modul +Name[is]=MSN íforrit +Name[it]=Plugin MSN +Name[ja]=MSN プラグイン +Name[ka]=MSN მოდული +Name[kk]=MSN плагин модулі +Name[km]=កម្មវិធី​ជំនួយ MSN +Name[lt]=MSN įskiepis +Name[mk]=MSN-приклучок +Name[nb]=MSN programtillegg +Name[nds]=MSN-Moduul +Name[ne]=एमएसएन प्लगइन +Name[nl]=MSN-plugin +Name[nn]=MSN-programtillegg +Name[pa]=MSN ਪਲੱਗਇਨ +Name[pl]=Wtyczka MSN +Name[pt]='Plugin' MSN +Name[pt_BR]=Plug-in MSN +Name[ro]=Modul MSN +Name[ru]=Модуль MSN +Name[se]=MSN-lassemoduvla +Name[sk]=Modul MSN +Name[sl]=Vstavek za MSN +Name[sr]=MSN прикључак +Name[sr@Latn]=MSN priključak +Name[sv]=MSN-insticksprogram +Name[ta]=MSN செருகல் +Name[tg]=Модули MSN +Name[tr]=MSN Eklentisi +Name[uk]=Втулок MSN +Name[uz]=MSN plagini +Name[uz@cyrillic]=MSN плагини +Name[wa]=Tchôke-divins MSN +Name[zh_CN]=MSN 插件 +Name[zh_HK]=MSN 插件 +Name[zh_TW]=MSN 外掛程式 +Comment=Microsoft Network Protocol +Comment[ar]=بروتوكول شبكة Microsoft +Comment[be]=Пратакол сеткі Microsoft Network +Comment[bg]=Протокол за връзка с Microsoft Network +Comment[bn]=মাইক্রোসফ্ট নেটওয়ার্ক প্রোটোকল +Comment[br]=Komenad rouedad Microsoft +Comment[bs]=Microsoft Network protokol +Comment[ca]=Protocol per a la xarxa de Microsoft +Comment[cs]=Protokol sítě Microsoft +Comment[cy]=Protocol Rhwydwaith Microsoft +Comment[de]=Microsoft Netzwerk-Protokoll +Comment[el]=Πρωτόκολλο Microsoft Network +Comment[es]=Protocolo de red de Microsoft +Comment[et]=Microsofti võrguprotokoll +Comment[fa]=قرارداد شبکۀ میکروسافت +Comment[fi]=Microsoft Network -yhteyskäytäntö +Comment[fr]=Protocole réseau Microsoft +Comment[ga]=Prótacal Gréasáin Mhicrosoft +Comment[gl]=Protocolo para a rede de Microsoft +Comment[he]=תוסף חיבור לרשת מיקרוסופט +Comment[hi]=माइक्रोसॉफ्ट नेटवर्क प्रोटोकॉल +Comment[hr]=Microsoft mrežni protokol +Comment[hu]=Microsoft hálózati protokoll +Comment[is]=Microsoft Network Protocol +Comment[it]=Protocollo di rete Microsoft +Comment[ja]=Microsoft ネットワークプロトコル +Comment[ka]=Microsoft ქსელის ოქმი +Comment[kk]=Microsoft Network желі протоколы +Comment[km]=ពិធីការ​បណ្ដាញ​ម៉ៃក្រូសូហ្វ +Comment[lt]=Microsoft tinklo protokolas +Comment[mk]=Мрежен протокол на Microsoft +Comment[nds]=Microsoft-Nettwarkprotokoll +Comment[ne]=माइक्रोसफ्ट सञ्जाल प्रोटोकल +Comment[nl]=Protocol voor Microsoft Network +Comment[nn]=Microsoft Network-protokoll +Comment[pl]=Protokół Microsoft Network +Comment[pt]=Protocolo da Microsoft Network +Comment[pt_BR]=Protocolo de Rede Microsoft +Comment[ru]=Протокол сети Microsoft Network +Comment[sl]=Protokol za povezavo na MSN +Comment[sv]=Microsoft-nätverksprotokoll +Comment[ta]=மைக்ரோசாப்ட் இணைய விதிமுறை +Comment[tg]=Қарордоди Шабакаи Microsoft +Comment[tr]=Microsoft Ağ Protokolü +Comment[uk]=Мережний протокол Microsoft +Comment[uz]=Microsoft tarmogʻi bilan aloqa oʻrnatish uchun protokol +Comment[uz@cyrillic]=Microsoft тармоғи билан алоқа ўрнатиш учун протокол +Comment[wa]=Protocole pol rantoele da Microsoft +Comment[zh_CN]=Microsoft Network 协议 +Comment[zh_HK]=Microsoft 網絡通訊協定 +Comment[zh_TW]=Microsoft 網路協定 + diff --git a/kopete/protocols/msn/config/msnpreferences.cpp b/kopete/protocols/msn/config/msnpreferences.cpp new file mode 100644 index 00000000..b28c2ea3 --- /dev/null +++ b/kopete/protocols/msn/config/msnpreferences.cpp @@ -0,0 +1,33 @@ +/* + msnpreferences.cpp - MSN Preferences Widget + + Copyright (c) 2002-2003 by Olivier Goffart + Kopete (c) 2002-2003 by the Kopete developers + + ************************************************************************* + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ************************************************************************* +*/ + +#include +#include "kcautoconfigmodule.h" +#include "msnprefs.h" + +class MSNPreferences; + +typedef KGenericFactory MSNProtocolConfigFactory; +K_EXPORT_COMPONENT_FACTORY( kcm_kopete_msn, MSNProtocolConfigFactory( "kcm_kopete_msn" ) ) + +class MSNPreferences : public KCAutoConfigModule +{ +public: + MSNPreferences( QWidget *parent = 0, const char * = 0, const QStringList &args = QStringList() ) : KCAutoConfigModule( MSNProtocolConfigFactory::instance(), parent, args ) + { + setMainWidget( new msnPrefsUI( this ) , "MSN"); + } +}; diff --git a/kopete/protocols/msn/config/msnprefs.ui b/kopete/protocols/msn/config/msnprefs.ui new file mode 100644 index 00000000..c9321a60 --- /dev/null +++ b/kopete/protocols/msn/config/msnprefs.ui @@ -0,0 +1,217 @@ + +msnPrefsUI +Duncan Mac-Vicar P. + + + msnPrefsUI + + + + 0 + 0 + 522 + 347 + + + + + unnamed + + + + TextLabel3_2_2_2_3 + + + + 1 + + + + General + + + + + Frame3_3_3_2_3 + + + + 1 + 0 + 0 + 0 + + + + HLine + + + Sunken + + + + + NotifyNewChat + + + &Automatically open a chat window when someone starts a conversation + + + + + AutoDownloadPicture + + + &Automatically download the display picture if possible + + + true + + + + + useCustomEmoticons + + + Download and show custom emoticons (experimental) + + + + + TextLabel1_3_3_3 + + + + + + + + TextLabel3_2_2_2_2 + + + + 1 + + + + Away Messages + + + + + Frame3_3_3_2_2 + + + + 1 + 0 + 0 + 0 + + + + HLine + + + Sunken + + + + + SendAwayMessages + + + + 7 + 0 + 0 + 0 + + + + Send &away messages + + + true + + + + + layout18 + + + + unnamed + + + + textLabel3 + + + Do not send more than one away message every + + + + + AwayMessageSeconds + + + 90 + + + 1 + + + + + textLabel4 + + + seconds + + + + + + + spacer7 + + + Vertical + + + Expanding + + + + 21 + 70 + + + + + + + + SendAwayMessages + toggled(bool) + AwayMessageSeconds + setEnabled(bool) + + + + NotifyNewChat + AutoDownloadPicture + useCustomEmoticons + SendAwayMessages + AwayMessageSeconds + + + knuminput.h + + + + knuminput.h + knuminput.h + + -- cgit v1.2.1