diff options
Diffstat (limited to 'kopete/protocols/msn/config')
-rw-r--r-- | kopete/protocols/msn/config/Makefile.am | 12 | ||||
-rw-r--r-- | kopete/protocols/msn/config/kopete_msn_config.desktop | 123 | ||||
-rw-r--r-- | kopete/protocols/msn/config/msnpreferences.cpp | 33 | ||||
-rw-r--r-- | kopete/protocols/msn/config/msnprefs.ui | 217 |
4 files changed, 385 insertions, 0 deletions
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 <ogoffart @ kde.org> + Kopete (c) 2002-2003 by the Kopete developers <[email protected]> + + ************************************************************************* + * * + * 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 <kgenericfactory.h> +#include "kcautoconfigmodule.h" +#include "msnprefs.h" + +class MSNPreferences; + +typedef KGenericFactory<MSNPreferences> 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 @@ +<!DOCTYPE UI><UI version="3.1" stdsetdef="1"> +<class>msnPrefsUI</class> +<author>Duncan Mac-Vicar P.</author> +<widget class="QWidget"> + <property name="name"> + <cstring>msnPrefsUI</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>522</width> + <height>347</height> + </rect> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel3_2_2_2_3</cstring> + </property> + <property name="font"> + <font> + <bold>1</bold> + </font> + </property> + <property name="text"> + <string>General</string> + </property> + </widget> + <widget class="QFrame"> + <property name="name"> + <cstring>Frame3_3_3_2_3</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>1</hsizetype> + <vsizetype>0</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="frameShape"> + <enum>HLine</enum> + </property> + <property name="frameShadow"> + <enum>Sunken</enum> + </property> + </widget> + <widget class="QCheckBox"> + <property name="name"> + <cstring>NotifyNewChat</cstring> + </property> + <property name="text"> + <string>&Automatically open a chat window when someone starts a conversation</string> + </property> + </widget> + <widget class="QCheckBox"> + <property name="name"> + <cstring>AutoDownloadPicture</cstring> + </property> + <property name="text"> + <string>&Automatically download the display picture if possible</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + <widget class="QCheckBox"> + <property name="name"> + <cstring>useCustomEmoticons</cstring> + </property> + <property name="text"> + <string>Download and show custom emoticons (experimental)</string> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel1_3_3_3</cstring> + </property> + <property name="text"> + <string></string> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>TextLabel3_2_2_2_2</cstring> + </property> + <property name="font"> + <font> + <bold>1</bold> + </font> + </property> + <property name="text"> + <string>Away Messages</string> + </property> + </widget> + <widget class="QFrame"> + <property name="name"> + <cstring>Frame3_3_3_2_2</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>1</hsizetype> + <vsizetype>0</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="frameShape"> + <enum>HLine</enum> + </property> + <property name="frameShadow"> + <enum>Sunken</enum> + </property> + </widget> + <widget class="QCheckBox"> + <property name="name"> + <cstring>SendAwayMessages</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>7</hsizetype> + <vsizetype>0</vsizetype> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> + <property name="text"> + <string>Send &away messages</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> + <widget class="QLayoutWidget"> + <property name="name"> + <cstring>layout18</cstring> + </property> + <hbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLabel"> + <property name="name"> + <cstring>textLabel3</cstring> + </property> + <property name="text"> + <string>Do not send more than one away message every</string> + </property> + </widget> + <widget class="KIntNumInput"> + <property name="name"> + <cstring>AwayMessageSeconds</cstring> + </property> + <property name="value"> + <number>90</number> + </property> + <property name="minValue"> + <number>1</number> + </property> + </widget> + <widget class="QLabel"> + <property name="name"> + <cstring>textLabel4</cstring> + </property> + <property name="text"> + <string>seconds</string> + </property> + </widget> + </hbox> + </widget> + <spacer> + <property name="name"> + <cstring>spacer7</cstring> + </property> + <property name="orientation"> + <enum>Vertical</enum> + </property> + <property name="sizeType"> + <enum>Expanding</enum> + </property> + <property name="sizeHint"> + <size> + <width>21</width> + <height>70</height> + </size> + </property> + </spacer> + </vbox> +</widget> +<connections> + <connection> + <sender>SendAwayMessages</sender> + <signal>toggled(bool)</signal> + <receiver>AwayMessageSeconds</receiver> + <slot>setEnabled(bool)</slot> + </connection> +</connections> +<tabstops> + <tabstop>NotifyNewChat</tabstop> + <tabstop>AutoDownloadPicture</tabstop> + <tabstop>useCustomEmoticons</tabstop> + <tabstop>SendAwayMessages</tabstop> + <tabstop>AwayMessageSeconds</tabstop> +</tabstops> +<includes> + <include location="global" impldecl="in implementation">knuminput.h</include> +</includes> +<layoutdefaults spacing="6" margin="11"/> +<includehints> + <includehint>knuminput.h</includehint> + <includehint>knuminput.h</includehint> +</includehints> +</UI> |