From 4aed2c8219774f5d797760606b8489a92ddc5163 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/kdebase@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kcontrol/accessibility/Makefile.am | 15 + kcontrol/accessibility/accessibility.cpp | 141 ++ kcontrol/accessibility/accessibility.desktop | 239 +++ kcontrol/accessibility/accessibility.h | 71 + .../accessibility/accessibilityconfigwidget.ui | 1630 ++++++++++++++++++++ .../accessibility/accessibilityconfigwidget.ui.h | 22 + kcontrol/accessibility/configure.in.in | 3 + kcontrol/accessibility/kcm_accessibility.kcfg | 67 + kcontrol/accessibility/settings.kcfgc | 5 + 9 files changed, 2193 insertions(+) create mode 100644 kcontrol/accessibility/Makefile.am create mode 100644 kcontrol/accessibility/accessibility.cpp create mode 100644 kcontrol/accessibility/accessibility.desktop create mode 100644 kcontrol/accessibility/accessibility.h create mode 100644 kcontrol/accessibility/accessibilityconfigwidget.ui create mode 100644 kcontrol/accessibility/accessibilityconfigwidget.ui.h create mode 100644 kcontrol/accessibility/configure.in.in create mode 100644 kcontrol/accessibility/kcm_accessibility.kcfg create mode 100644 kcontrol/accessibility/settings.kcfgc (limited to 'kcontrol/accessibility') diff --git a/kcontrol/accessibility/Makefile.am b/kcontrol/accessibility/Makefile.am new file mode 100644 index 000000000..67eb8957a --- /dev/null +++ b/kcontrol/accessibility/Makefile.am @@ -0,0 +1,15 @@ +AM_CPPFLAGS = $(all_includes) +METASOURCES = AUTO + +kde_module_LTLIBRARIES = kcm_accessibility.la + +kcm_accessibility_la_SOURCES = accessibility.cpp accessibilityconfigwidget.ui +kcm_accessibility_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined +kcm_accessibility_la_LIBADD = $(LIB_KIO) + +noinst_HEADERS = accessibility.h + +xdg_apps_DATA = accessibility.desktop + +messages: rc.cpp + $(XGETTEXT) *.cpp -o $(podir)/kcmaccessibility.pot diff --git a/kcontrol/accessibility/accessibility.cpp b/kcontrol/accessibility/accessibility.cpp new file mode 100644 index 000000000..de7b9953b --- /dev/null +++ b/kcontrol/accessibility/accessibility.cpp @@ -0,0 +1,141 @@ +/**************************************************************************** + accessibility.cpp + KDE Control Accessibility module to control Bell, Keyboard and ?Mouse? + ------------------- + Copyright : (c) 2000 Matthias Hlzer-Klpfel + ------------------- + Original Author: Matthias Hlzer-Klpfel + Contributors: Jos Pablo Ezequiel "Pupeno" Fernndez + Current Maintainer: Jos Pablo Ezequiel "Pupeno" Fernndez + ****************************************************************************/ + +/**************************************************************************** + * * + * 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 +#include + +#include +#include +#include +#include +#include +#include + +#include "accessibility.moc" + +typedef KGenericFactory AccessibilityFactory; +K_EXPORT_COMPONENT_FACTORY( kcm_accessibility, AccessibilityFactory("kcmaccessibility") ) + +/** + * This function checks if the kaccess daemon needs to be run + * This function will be deprecated since the kaccess daemon will be part of kded + */ +// static bool needToRunKAccessDaemon( KConfig *config ){ +// KConfigGroup group( config, "Bell" ); +// +// if(!group.readBoolEntry("SystemBell", true)){ +// return true; +// } +// if(group.readBoolEntry("ArtsBell", false)){ +// return true; +// } +// if(group.readBoolEntry("VisibleBell", false)){ +// return true; +// } +// return false; // don't need it +// } + +AccessibilityConfig::AccessibilityConfig(QWidget *parent, const char *name, const QStringList &) + : AccessibilityConfigWidget( parent, name){ + + KAboutData *about = + new KAboutData(I18N_NOOP("kcmaccessiblity"), I18N_NOOP("KDE Accessibility Tool"), + 0, 0, KAboutData::License_GPL, + I18N_NOOP("(c) 2000, Matthias Hoelzer-Kluepfel")); + + about->addAuthor("Matthias Hoelzer-Kluepfel", I18N_NOOP("Author") , "hoelzer@kde.org"); + about->addAuthor("Jos Pablo Ezequiel Fernndez", I18N_NOOP("Author") , "pupeno@kde.org"); + setAboutData( about ); + + kdDebug() << "Running: AccessibilityConfig::AccessibilityConfig(QWidget *parent, const char *name, const QStringList &)" << endl; + // TODO: set the KURL Dialog to open just audio files + connect( mainTab, SIGNAL(currentChanged(QWidget*)), this, SIGNAL(quickHelpChanged()) ); + load(); +} + + +AccessibilityConfig::~AccessibilityConfig(){ + kdDebug() << "Running: AccessibilityConfig::~AccessibilityConfig()" << endl; +} + +void AccessibilityConfig::load() +{ + load( false ); +} + +void AccessibilityConfig::load( bool useDefaults ) +{ + kdDebug() << "Running: AccessibilityConfig::load()" << endl; + + KConfig *bell = new KConfig("bellrc", true); + + bell->setReadDefaults( useDefaults ); + + bell->setGroup("General"); + systemBell->setChecked(bell->readBoolEntry("SystemBell", false)); + customBell->setChecked(bell->readBoolEntry("CustomBell", false)); + visibleBell->setChecked(bell->readBoolEntry("VisibleBell", false)); + + bell->setGroup("CustomBell"); + soundToPlay->setURL(bell->readPathEntry("Sound", "")); + + bell->setGroup("Visible"); + invertScreen->setChecked(bell->readBoolEntry("Invert", true)); + flashScreen->setChecked(bell->readBoolEntry("Flash", false)); + // TODO: There has to be a cleaner way. + QColor *redColor = new QColor(Qt::red); + flashScreenColor->setColor(bell->readColorEntry("FlashColor", redColor)); + delete redColor; + visibleBellDuration->setValue(bell->readNumEntry("Duration", 500)); + + delete bell; + emit changed( useDefaults ); +} + + +void AccessibilityConfig::save(){ + kdDebug() << "Running: AccessibilityConfig::save()" << endl; + + KConfig *bell = new KConfig("bellrc"); + + bell->setGroup("General"); + bell->writeEntry("SystemBell", systemBell->isChecked()); + bell->writeEntry("CustomBell", customBell->isChecked()); + bell->writeEntry("VisibleBell", visibleBell->isChecked()); + + bell->setGroup("CustomBell"); + bell->writePathEntry("Sound", soundToPlay->url()); + + bell->setGroup("Visible"); + bell->writeEntry("Invert", invertScreen->isChecked()); + bell->writeEntry("Flash", flashScreen->isChecked()); + bell->writeEntry("FlashColor", flashScreenColor->color()); + bell->writeEntry("Duration", visibleBellDuration->value()); + + bell->sync(); + delete bell; +} + + +void AccessibilityConfig::defaults() +{ + load( true ); +} diff --git a/kcontrol/accessibility/accessibility.desktop b/kcontrol/accessibility/accessibility.desktop new file mode 100644 index 000000000..2295b85c6 --- /dev/null +++ b/kcontrol/accessibility/accessibility.desktop @@ -0,0 +1,239 @@ +[Desktop Entry] +Exec=kcmshell accessibility +Icon=access +Type=Application + + +X-KDE-Library=accessibility +X-KDE-Factoryname=accessibility +X-KDE-ParentApp=kcontrol + +Name=Accessibility +Name[af]=Toeganklikheid +Name[ar]=تسهيل الوصول +Name[az]=Yetişmə Qabiliyyəti +Name[be]=Даступнасць +Name[bg]=Равностоен достъп +Name[bn]=সহায়ক প্রযুক্তি +Name[br]=Haezadusted +Name[bs]=Pristupačnost +Name[ca]=Accessibilitat +Name[cs]=Zpřístupnění +Name[csb]=Pòmòce przistãpù +Name[cy]=Hygyrchedd +Name[da]=Tilgængelighed +Name[de]=Zugangshilfen +Name[el]=Προσιτότητα +Name[eo]=Alirebleco +Name[es]=Accesibilidad +Name[et]=Hõlbustus +Name[eu]=Erabilerraztasuna +Name[fa]=دستیابی‌پذیری +Name[fi]=Helppokäyttötoiminnot +Name[fr]=Accessibilité +Name[fy]=Tagonklikens +Name[ga]=Inrochtaineacht +Name[gl]=Accesibilidade +Name[he]=נגישות +Name[hi]=पहुँच +Name[hr]=Pristupačnost +Name[hu]=Kezelési segítség +Name[id]=Aksesibiliti +Name[is]=Aðgengi +Name[it]=Accessibilità +Name[ja]=アクセシビリティ +Name[ka]=სპეციალური შესაძლბლობები +Name[kk]=Арнайы мүмкіндіктер +Name[km]=ភាព​អាច​ចូល​ដំណើរការ​បាន +Name[ko]=내게 필요한 설정 +Name[lo]=ຄວາມສາມາດໃນການໃຊ້ງານ +Name[lt]=Prieinamumas +Name[lv]=Pieejamība +Name[mk]=Пристапливост +Name[mn]=Хэрэглэх тохь +Name[ms]=Kebolehcapaian +Name[mt]=Aċċessibiltà +Name[nb]=Tilgjengelighet +Name[nds]=Behinnertenhülp +Name[ne]=पहुँचता +Name[nl]=Toegankelijkheid +Name[nn]=Tilgjenge +Name[nso]=Botsenelo +Name[oc]=Accessibilitat +Name[pa]=ਸਹੂਲਤਾਂ +Name[pl]=Dostępność +Name[pt]=Acessibilidade +Name[pt_BR]=Acessibilidade +Name[ro]=Accesibilitate +Name[ru]=Специальные возможности +Name[rw]=Ukugerwaho +Name[se]=Álkkibut geavaheapmi +Name[sk]=Prístupnosť +Name[sl]=Dostopnost +Name[sr]=Приступачност +Name[sr@Latn]=Pristupačnost +Name[ss]=Kutfolakala kalula +Name[sv]=Handikappstöd +Name[ta]=அணுகல் +Name[te]=అందుబాటు +Name[tg]=Имконпазирӣ +Name[th]=ตัวช่วยในการใช้งาน +Name[tr]=Erişilebilirlik +Name[tt]=Qulaylıq +Name[uk]=Доступність +Name[uz]=Qulayliklar +Name[uz@cyrillic]=Қулайликлар +Name[ven]=Dzheneaho +Name[vi]=Hỗ trợ người tàn tật +Name[wa]=Accessibilité +Name[xh]=Unikezelo +Name[zh_CN]=辅助 +Name[zh_TW]=無障礙輔助 +Name[zu]=Ukungena + +Comment=Improve accessibility for disabled persons +Comment[af]=Verbeter toeganklikheid vir gestremde persone +Comment[ar]=تسهيل الاستخدام لذوي الاحتياجات الخاصة +Comment[az]=Yetişmə qabiliyyəti zəyif olanların həyatını asanlaşdırar +Comment[be]=Павялічвае даступнасць для людзей з фізічнымі адхіленнямі +Comment[bg]=Настройване на достъпа за хора с увреждания +Comment[bn]=অসমর্থ ব্যবহারকারীদের সহায়তা করার প্রযুক্তি +Comment[bs]=Bolja pristupačnost za osobe sa nedostacima +Comment[ca]=Accessibilitat millorada per a persones discapacitades +Comment[cs]=Zlepšení přístupnosti pro osoby s postižením +Comment[csb]=Pòprôwionô przistãpnosc dlô niefùlsprôwnëch lëdzi +Comment[cy]=Gwella hygyrchedd i bobl anabl +Comment[da]=Forbedr tilgængelighed for handicappede personer +Comment[de]=Verbesserte Benutzbarkeit für behinderte Menschen +Comment[el]=Βελτίωση της προσιτότητας για άτομα με ειδικές ανάγκες +Comment[eo]=Plibonigita alirebleco por handikapitoj +Comment[es]=Mejorar accesibilidad para discapacitados +Comment[et]=Puuetega inimestele mõeldud seaded +Comment[eu]=Erabilerraztasuna hobetzen du pertsona elbarrientzat +Comment[fa]=بهبود دستیابی‌پذیری برای اشخاص ناتوان +Comment[fi]=Käyttöä helpottavia asetuksia +Comment[fr]=Accessibilité améliorée pour les personnes handicapées +Comment[fy]=Ferbeterde tagonklikens foar brûkers mei in handikap +Comment[ga]=Feabhsaigh an inrochtaineacht do dhaoine míchumasaithe +Comment[gl]=Acesibilidade mellorada para persoas con discapacidades +Comment[he]=שיפור הנגישות עבור אנשים עם מגבלות +Comment[hi]=विकलांग व्यक्तियों के लिए पहुँच बेहतर बनाए +Comment[hr]=Unaprijedite pristupačnost osobama s invaliditetom +Comment[hu]=A számítógép kezelését segítő eszközök fogyatékosoknak +Comment[is]=Endurbætt aðgengi fyrir þá sem þurfa +Comment[it]=Accessibilità migliorata per le persone disabili +Comment[ja]=障害のある方達のためのアクセス改善 +Comment[ka]=ფიზიკური ნაკლოვანებბის მქონი ხალხისთვის სპეციალური შესაძლბლობები +Comment[kk]=Мүмкіншіліктері шектеулі адамдарға көмек +Comment[km]=បង្កើន​មធ្យោបាយ​ងាយស្រួល​សម្រាប់​មនុស្ស​ពិការ +Comment[ko]=장애인들을 위하여 접근성을 향상시킵니다 +Comment[lo]=ປັບຄ່າຄວາມສາມາດໃນການໃຊ້ງານສຳຫລັບຜູ້ທີ່ມີຄວາມສາມາດ +Comment[lt]=Pagerintas prieinamumas neįgaliems asmenims +Comment[lv]=Uzlabo pieejamību cilvekiem ar īpašām vajadzībām +Comment[mk]=Ја подобрува пристапливоста за хендикепирани лица +Comment[mn]=Гэмтэлтэй хүнд зориулан сайжруулсан хэрэглээ +Comment[ms]=Tingkatkan keaksesan bagi orang kurang upaya +Comment[mt]=Aċċessibbiltà aħjar għal persuni b'diżabilità +Comment[nb]=Forbedret tilgjengelighet for funksjonshemmede +Comment[nds]=Verbetert den Togang för Behinnerte +Comment[ne]=अक्षम व्यक्तिका लागि पहुँच क्षमता सुधार गर्नुहोस् +Comment[nl]=Verbeterde toegankelijkheid voor gebruikers met een handicap +Comment[nn]=Forbetra tilgjenge for funksjonshemma personar +Comment[nso]=Kaonafatsa botsenelo bja batho bao basa kgonego go itirela +Comment[pa]=ਅਪੰਗ ਵਿਅਕਤੀ ਲਈ ਸੁਧਾਰੀ ਸਹਾਇਤਾ +Comment[pl]=Poprawiona dostępność dla osób niepełnosprawnych +Comment[pt]=Acessibilidade melhorada para pessoas com necessidades especiais +Comment[pt_BR]=Melhora a acessibilidade para pessoas com deficiência +Comment[ro]=Îmbunătățește accesibilitate KDE pentru persoanele cu handicap +Comment[ru]=Специальные возможности для людей с физическими недостатками +Comment[rw]=Kongera ukugerwaho kw'abantu bahagaritswe +Comment[se]=Álkkibut geavaheapmi doaimmahehttejuvvon olbmuide +Comment[sk]=Zlepšenie prístupnosti pre postihnutých používateľov +Comment[sl]=Izboljšana dostopnost za prizadete osebe +Comment[sr]=Унапређује приступачност за хендикепиране особе +Comment[sr@Latn]=Unapređuje pristupačnost za hendikepirane osobe +Comment[ss]=Phucula kufinyelela kwebantfu labachwalile +Comment[sv]=Förbättrad tillgänglighet för handikappade personer +Comment[ta]=பார்க்க முடியாதவர்களுக்கு அணுகலை அதிகப்படுத்தவும் +Comment[tg]=Имкониятҳои махсус барои одамони нуқсони ҷисмонӣ +Comment[th]=ทำให้ความสามารถในการใช้งาน สำหรับผู้พิการดีขึ้น +Comment[tr]=Görme sorunu olanlar için erişilebilirlik seçenekleri +Comment[tt]=Ğäriplär öçen uñaylıqlar +Comment[uk]=Підвищення зручності для інвалідів +Comment[uz]=Nogiron kishilar uchun qulayliklar +Comment[uz@cyrillic]=Ногирон кишилар учун қулайликлар +Comment[ven]=Khwinifhadzani madzhenele uitela vhathu vha zwihole +Comment[vi]=Hỗ trợ người tàn tật +Comment[wa]=Amidrêye l' accessibilité po les mesplotchès djins +Comment[xh]=Phucula unikekezeleko lwabantu abakhubazekileyo +Comment[zh_CN]=方便残疾人使用的辅助功能 +Comment[zh_TW]=方便傷殘人士使用 +Comment[zu]=Ukwenza ukungena kwabantu abakhubazekile kube lula + +Keywords=access,accessibility,deaf,impaired,bell,audible bell,visible bell,Keyboard,keys,sticky keys,bounce keys,slow keys,mouse navigation,num pad +Keywords[af]=access,accessibility,deaf,impaired,bell,audible bell,visible bell,Keyboard,keys,sticky keys,bounce keys,slow keys,mouse navigation,num bordjie +Keywords[az]=yetişmə,yetişmə qabiliyyəti,kar,əlil,çən,eşidilə bilən çən,görünür çən,Klaviatura,düymələr,yapışqan düymələr,hoppanan düymələr,yavaş düymələr,siçan yönləndirməsi,num pad +Keywords[be]=доступ,даступнасць,званок,гукавы сігнал,бачны сігнал,клавіятура,клавішы,"ліпучыя" клавішы,"рухомыя" клавішы,марудныя клавішы,навігацыя мышшу,лічбавая клавіятура,access,accessibility,deaf,impaired,bell,audible bell,visible bell,Keyboard,keys,sticky keys,bounce keys,slow keys,mouse navigation,num pad +Keywords[bg]=достъп, увреждания, равностоен, равноправен, зрителни, зрителен, без зрение, access, accessibility, deaf, impaired, bell, audible bell, visible bell, Keyboard, keys, sticky keys, bounce keys, slow keys, mouse navigation, num pad +Keywords[ca]=accés,accessibilitat,sord,disminuït,timbre,timbre audible,timbre visible,Teclat,tecles,tecles apegaloses,tecles de repetició,tecles lentes,navegació del ratolí,teclat numèric +Keywords[cs]=Zpřístupnění,Hluchý,Slepý,Postižený,Zvonek,Slyšitelný zvonek,Viditelný zvonek,Klávesnice,Pomalé klávesy,Navigace myši,Num pad +Keywords[csb]=przistãp,przistãpnosc,głëchy,zwónk,słëszalny zwónk widzalny zwónk,klawiatura,klawisze,przëklejone klawisze,odbijanié klawiszów,pòwólné klawisze,nawigacëjô mëszą,numericznô klawiatura +Keywords[cy]=mynediad,hygyrchedd,byddar,cloch,cloch clywadwy,cloch gweladwy,bysellfwrdd,allweddell,bysell,bysell gludog,bysell sponcio,bysell araf,llywio llygoden,pad rhif +Keywords[da]=adgang,tilgængelighed,døv,handicappet,klokke,hørbar klokke,synlig klokke,Tastatur,taster,klæbrige taster,bounce-taster,langsomme taster,musenavigering,numerisk tastatur +Keywords[de]=Behinderung,Maussteuerung,Signale,Tastatur,Tasten,Taubheit,Verlangsamte Tasten,Zahlenblock,Zugang,Zugangshilfen +Keywords[el]=πρόσβαση,προσιτότητα,κωφός,impaired,κουδούνι,ακουστή ειδοποίηση,ορατή ειδοποίηση,Πληκτρολόγιο,πλήκτρα,κολλημένα πλήκτρα,πλήκτρα αναπήδησης,αργά πλήκτρα,πλοήγηση ποντικιού,αριθμητικό πληκτρολόγιο +Keywords[eo]=aliro,handikapito,malhelpito,pepo,videbla pepo,klavaro,klavoj,klavfikso, musnavigado,nombroklavaro +Keywords[es]=acceso,accesibilidad,sordo,disminuido,timbre,timbre audible,timbre visible,Teclado,teclas,teclas pegajosas,teclas de golpe,teclas lentas,navegación del ratón,teclado numérico +Keywords[et]=juurdepääs,kurt,puue,puudega,signaal,kuuldav signaal,visuaalne signaal,klaviatuur,klahvid,kleepuvad klahvid,põrkavad klahvid,aeglased klahvid,hiire liigutamine,numbriklaviatuur +Keywords[eu]=sarrera,erabilerraztasuna,gorra,elbarria,ezkila,ezkila entzungarria, ezkila ikusgarria,Teklatua,teklak,tekla itsaskorrak, bounce teklak,tekla geldoak,sagu bidezko arakaketa,tekla numerikoak +Keywords[fa]=دستیابی، دستیابی‌پذیری، ناشنوا، معلول، زنگ، زنگ شنیدنی، زنگ مرئی، صفحه کلید، کلیدها، کلیدهای چسبناک، کلیدهای واگشت، کلیدهای کند، ناوش موشی، صفحه اعداد +Keywords[fi]=käytettävyys,esteettömyys,kuuro,vammautunut,virheilmoitus,virheääni,näkyvä virheilmoitus,näppäimistö,näppäimet,alas jäävät näppäimet,toistavat näppäimet,hitaat näppäimet,hiirinavigointi,numeronäppäimistö +Keywords[fr]=accès,accessibilité,surdité,sourd,cloche,son,cloche visuelle,cloche sonore,clavier,touches,souris,touches lentes,touches rémanentes,cloche auditive,touches répétées,répétition des touches,auto-maintien des touches,maintien des touches,navigation à la souris,pointeur de souris,émulation du clavier,clavier numérique +Keywords[fy]=tagong,tagonklikens,dôf,handikap,beheind,bel,sinjalearing,sichtbermeldingen,Kaaiboerd,kaaien,kleef kaaien,kaaioanslag,Mûsnavigaasje,num pad,numeryske klavier +Keywords[ga]=rochtain,inrochtaineacht,bodhar,clog,clog inchloiste,clog infheicthe,Méarchlár,eochracha,eochracha greamaitheacha,eochracha preabtha,eochracha go mall,nascleanúint luiche,eochaircheap uimhriúil +Keywords[gl]=aceso,acesibilidade,impar,campá,badalada audíbel,badalada visíbel,teclado,teclas,teclas pegadias,teclas de repetición,teclas lentas,navegación do rato,teclado numérico +Keywords[he]=גישה,נגישות,חירשים,לקויים,פעמון,פעמון נשמע,פעמון חזותי,לוח,מקשים ,מקלדת ,מקשים,מקשים דביקים,מקשים מוקפצים,מקשים אטיים,ניווט עכבר,מקשי מספרים, access,accessibility,deaf,impaired,bell,audible bell,visible bell,Keyboard,keys,sticky keys,bounce keys,slow keys,mouse navigation,num pad +Keywords[hi]=एक्सेस, पहुँच,बघिर,दुर्बल,घंटी,सुनने योग्य घंटी,दिखने योग्य घंटी,कुंजीपट,कुंजियाँ, चिपकी (स्टिकी) कुंजी,बाउंस कुंजी,धीमी कुंजी,माउस नेविगेशन,न्यूम पैड +Keywords[hr]=access,accessibility,deaf,impaired,bell,audible bell,visible bell,Keyboard,keys,sticky keys,bounce keys,slow keys,mouse navigation,num pad,pristup,pristupačnost,gluh,gluhoća,oštećenje,zvono,zvuk zvona,vidljivo zvono,tipkovnica,tipke,odbijanje tipki,spore tipke,navigacija mišem,numeričke tipke +Keywords[hu]=hozzáférés,segédeszközök,süket,fogyatékos,csengő,hallható csengetés,látható csengetés,billentyűzet,billentyűk,ragadós billentyűk,visszaugró billentyűk,lassú billentyűk,egérkezelés,numerikus billentyűzet +Keywords[is]=aðgangur,aðgengi,heyrnarlaus,fatlaður,píp,bjalla,sjáanleg bjalla,lyklaborð,takkar,músarnotkun,talnaborð +Keywords[it]=accesso,accessibilità,non udenti,portatori di handicap,campanella,campanella udibile,campanella visibile,tastiera,tasti,permanenza dei tasti,pressione ravvicinata dei tasti,rallentamento dei tasti,navigazione mouse,tastierino numerico +Keywords[ja]=アクセス,アクセシビリティ,聾唖,障害,ベル,音声ベル,視覚ベル,キーボート,キー,スティッキーキー,バウンスキー,スローキー,マウス補助,数字パッド +Keywords[km]=ចូល​ដំណើរការ,មធ្យោបាយ​ងាយស្រួល,ថ្លង់,ពិការ,កណ្ដឹង,កណ្ដឹង​ឭ,កណ្ដឹង​មើល​ឃើញ,ក្ដារចុច,គ្រាប់ចុច,គ្រាប់ចុច​ស្អិត,គ្រាប់ចុច​លោត,គ្រាប់ចុច​យឺត,ការ​រុករក​កណ្ដុរ,បន្ទះ​លេខ +Keywords[lt]=prieinamumas,kurčias,kurčnebylys,neįgalus,skambutis,girdimas,matomas skambutis,klaviatūra,mygtukai,prisegti mygtukai,lėti mygtukai,navigacija su pele +Keywords[lv]=pieeja,pieejamība,kurls,vājināts,zvans,dzirdams zvans,redzams zvans,Tastatūra,taustiņi,salīmētie taustiņi,elastīgie taustiņi,lēnie taustiņi,peles navigācija,num pads +Keywords[mk]=access,accessibility,deaf,impaired,bell,audible bell,visible bell,Keyboard,keys,sticky keys,bounce keys,slow keys,mouse navigation,num pad,пристап,пристапност,глув,хендикепиран,ѕвонче,звучно ѕвонче,визуелно ѕвонче,Тастатура,копчиња,лепливи копчиња,отскочни копчиња,бавни копчиња,навигација со глушецот,тастатура со бројки +Keywords[mn]=Гар,Гэмтэл,Дүлий,Сигнал,Товчилуур,Тооны хэсэг,Хандалт,Хулганы жолоодлого,Хэрэглэх тохь, Удаашруулсан товчилуур +Keywords[mt]=access,accessibility,aċċessibbiltà,deaf,trux,truxa,torox,impaired,ħadikappat,bell,audible bell,visible bell,Keyboard,keys,sticky keys,bounce keys,slow keys,mouse navigation,num pad +Keywords[nb]=tilgang,tilgjengelighet,døv,handikappet,lyd,signal,bjelle,synlig signal,tastatur,taster,faste valgtaster,trege taster,filtertaster,musnavigering,numerisk tastatur +Keywords[nds]=Togang,accessibility,doof,Behinnerte,Pingel,höörbore Pingel,Ogenpingel,Tastatuur,Tasten,backige Tasten,springen Tasten,langsam Tasten,Muusnavigatschoon,Tallenblock +Keywords[ne]=पहुँच, पहुँचयोग्यता, डिफ, बिग्रेको, बेल, सुन्न सकिने बेल, हेर्न सकिने बेल, कुञ्जीपाटी, कुञ्जीहरू, टाँसिने कुञ्जीहरू, उफ्रिने कुञ्जीहरू, ढिलो कुञ्जीहरू, माउस नेभिगेसन, नम प्याड +Keywords[nl]=toegang,toegankelijkheid,doof,handicap,gehandicapt,bel,signalering,zichtbare meldingen,Keyboard,toetsenbord,keys,toetsen,vastgeplakte toetsen,toetsenaanslag,muisnavigatie,num pad,numerieke klavier +Keywords[nn]=tilgang,tilgjenge,døv,handikappa,lyd,signal,bjelle,synleg signal,tastatur,tastar,faste modifikasjonstastar,trege tastar,filtertastar,musnavigering,numerisk tastatur +Keywords[nso]=tsenelo,botsenelo,sefofu,kelekantswe,bell,bell yeo e kwagalago, bell yeo e bonagalago,Keyboard,ditobetswa,ditobetswa tseo di tiilego,ditobetswa tsago pampa,ditobetswa tsago nanya,navigation ya legotlo,num pad +Keywords[pa]=access,accessibility,deaf,impaired,bell,audible bell,visible bell,ਕੀ-ਬੋਰਡ,keys,sticky keys,bounce keys,slow keys,mouse navigation,num pad +Keywords[pl]=dostęp,dostępność,głuchy,upośledzony,dzwonek,słyszalny dzwonek widzialny dzwonek,klawiatura,klawisze,klejące klawisze,odbijanie klawiszy,powolne klawisze,nawigacja myszą,klawiatura numeryczna +Keywords[pt]=acesso,acessibilidade,surdo,deficiente,campainha,campainha audível,campainha visível,teclado,teclas,teclas 'sticky',teclas 'bounce',teclas lentas,navegação com o rato,num pad +Keywords[pt_BR]=acesso,acessibilidade,surdo,deficiente,campainha,audível,campainha visível, teclado,teclas,teclas persistentes,teclas repetidas,teclas lentas,navegação do mouse,teclado numérico +Keywords[ro]=acces,accesibilitate,surd,handicap,difuzor,audibil,sunet vizibil,tastatură,taste,taste comutator,taste fără repetiție,taste lente,navigare mouse,tastatura numerică +Keywords[ru]=access,accessibility,deaf,impaired,bell,audible bell,visible bell,Keyboard,keys,sticky keys,bounce keys,slow keys,mouse navigation,num pad,залипающие клавиши,специальные возможности,клавиши +Keywords[rw]=kugera,ukugerwaho,ikitumva,cyononekaye,inzogera,inzogera yumvikana,inzogera igaragara,mwandikisho,buto,buto zifashe,buto zidunda,iyega ry'imbeba,agacemibare +Keywords[se]=álkkibut,bealljeheapmi,doaimmahehttejuvvon,jietna,signála,oaidnus signála,boallobeavdi,boalut,giddes boalut,sáhpannavigašuvdna,numerálaš boallobeavdi +Keywords[sk]=prístup,prístupnosť,hluchý,postihnutý,zvonček,hlasný zvonček,viditeľný zvonček, klávesnica,klávesy,lepivé klávesy,odrážané klávesy,pomalé klávesy,navigácia myšou,číslice +Keywords[sl]=dostop,dostopnost,gluh,gluhota,prizadetost,zvonec,vidni zvonec,zvonček,tipkovnica,tipke,lepljive tipke,počasne tipke,navigacija miške,numerična tipkovnica,invalidnost,invalid +Keywords[sr]=приступ,приступачност,глув,хендикепиран,звоно,звучно звоно,визуелно звоно,тастатура,тастери,лепљиви тастери,спори тастери,померање миша,нумеричка тастатура +Keywords[sr@Latn]=pristup,pristupačnost,gluv,hendikepiran,zvono,zvučno zvono,vizuelno zvono,tastatura,tasteri,lepljivi tasteri,spori tasteri,pomeranje miša,numerička tastatura +Keywords[sv]=tillgång,tillgänglighet,döv,handikappad,signal,ljudsignal,visuell signal,Tangentbord,tangenter,klistriga tangenter,studsande tangenter,långsamma tangenter,musnavigering,numeriskt tangentbord +Keywords[ta]=அணுகல்,அணுகும் முறை,காது கேளாத,ஆற்றல் குறைந்த,மணியோசை,காதால் கேட்கும் அளவிற்கு மணியோசை,தெரியும் மணியோசை,விசைபலகை,விசைகள்,ஒட்டும் விசைகள்,மீளும் தன்மையுடைய விசைகள்,மெதுவான விசைகள்,சுட்டிநாவிகேஷன்,எண்ணிக்கை அட்டை +Keywords[th]=การเข้าถึง,ความง่ายในการใช้งาน,หูหนวก,บกพร่อง,ออด, ออดใช้ฟัง,ออดใช้ดู,แป้นพิมพ์,ปุ่ม,ปุ่มติดหนึบ,ปุ่มสะท้อน, ปุ่มชะลอ,นำทางโดยเมาส์,แผงปุ่มตัวเลข +Keywords[tr]=erişim,erişilebilirlik,sağır,özürlü,zil,duyulabilir zil,görünür zil,Klavye,tuşlar,yapışkan tuşlar,zıplayan tuşlar,yavaş tuşlar,fare yönlendirmesi,num pad +Keywords[uk]=доступ,доступність,глухий,каліка,дзвінок,аудіодзвінок,відеодзвінок,клавіатура,клавіші,липкі клавіші,пружні клавіші,повільні клавіші,навігація миші,цифрова клавіатура +Keywords[ven]=dzhena,dzheneaho,dzingandevhe,bele,bele i pfalaho,bele i vhonalaho,khiibodo,khii,khii i nambatelaho,khii i fhufhaho,khii i lengaho,lwendo lwa mausu,num pad +Keywords[vi]=truy cập,hỗ trợ người tàn tật,điếc,bị thương,chuông,chuông kêu,chuông rung,bàn phím,phím,phím dính,phím nảy,phím chậm,di chuyển chuột,bàn phím số +Keywords[wa]=accès,accessibilité,sourd,mesplotche,cloke,clotche,veyåve,taprece,tapes,aclapantès tapes,tapes di ridjiblaedje,londjinnès tapes,naiviaedje al sori,num pad,xhilete,etindåve xhilete,veyåve xhilete +Keywords[xh]=nikezela,unikezelo,ayiva,yonakalisiwe,intsimbi,intsimbi evakalayo, intsimbi ebonakalayo,ibhodi yezitshixo,izitshixo,isithixo esincangathi, izitshixo ezilungisiweyo,izitshixo ezinengxolo,izitshixo ezicothayo,indlela yokubeka i mouse endaweni,inkatha ye num +Keywords[zh_CN]=access,accessibility,deaf,impaired,bell,audible bell,visible bell,Keyboard,keys,sticky keys,bounce keys,slow keys,mouse navigation,num pad,辅助功能,聋,键盘,粘滞键,撞击键,筛选键,鼠标导航,可视铃声,小键盘 +Keywords[zh_TW]=access,accessibility,deaf,impaired,bell,audible bell,visible bell,Keyboard,keys,sticky keys,bounce keys,slow keys,mouse navigation,num pad,使用,聾,鈴聲,聽得見的鈴,看得見的鈴,鍵盤,按鍵,滑鼠導向,數字鍵 +Keywords[zu]=ngena,ukungena,okuthuli,kukhubazekile,insimbi,insimbiezwakalayo, insimbi ebonakalayo,okhiye,okhiye abanamathelayo,okhiyeababhampayo,okhiye abahamba kancane,ukuzula kwe-mouse,num pad + +Categories=Qt;KDE;X-KDE-settings-accessibility; diff --git a/kcontrol/accessibility/accessibility.h b/kcontrol/accessibility/accessibility.h new file mode 100644 index 000000000..ad94dcdcc --- /dev/null +++ b/kcontrol/accessibility/accessibility.h @@ -0,0 +1,71 @@ +/**************************************************************************** + accessibility.h + KDE Control Accessibility module to control Bell, Keyboard and ?Mouse? + ------------------- + Copyright : (c) 2000 Matthias Hlzer-Klpfel + ------------------- + Original Author: Matthias Hlzer-Klpfel + Contributors: Jos Pablo Ezequiel "Pupeno" Fernndez + Current Maintainer: Jos Pablo Ezequiel "Pupeno" Fernndez + ****************************************************************************/ + +/**************************************************************************** + * * + * 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. * + * * + ****************************************************************************/ + +#ifndef _ACCESSIBILITY_H_ +#define _ACCESSIBILITY_H_ + +#include + +#include "accessibilityconfigwidget.h" + +class AccessibilityConfig : public AccessibilityConfigWidget { + Q_OBJECT + + public: + /** + * Constructor + */ + AccessibilityConfig(QWidget *parent = 0L, const char *name = 0L, const QStringList &foo = QStringList()); + + /** + * Destructor + */ + virtual ~AccessibilityConfig(); + + /** + * This method is invoked whenever the module should read its + * configuration (most of the times from a config file) and update the + * user interface. This happens when the user clicks the "Reset" button in + * the control center, to undo all of his changes and restore the currently + * valid settings. NOTE that this is not called after the modules is loaded, + * so you probably want to call this method in the constructor. + */ + void load(); + void load( bool useDefaults ); + + /** + * This function gets called when the user wants to save the settings in + * the user interface, updating the config files or wherever the + * configuration is stored. The method is called when the user clicks "Apply" + * or "Ok". + */ + void save(); + + /** + * This function is called to set the settings in the module to sensible + * default values. It gets called when hitting the "Default" button. The + * default values should probably be the same as the ones the application + * uses when started without a config file. + */ + void defaults(); + +}; + +#endif // _ACCESSIBILITY_H_ diff --git a/kcontrol/accessibility/accessibilityconfigwidget.ui b/kcontrol/accessibility/accessibilityconfigwidget.ui new file mode 100644 index 000000000..5d0069a09 --- /dev/null +++ b/kcontrol/accessibility/accessibilityconfigwidget.ui @@ -0,0 +1,1630 @@ + +AccessibilityConfigWidget +José Pablo Ezequiel Fernández <pupeno@kde.org> + + + AccessibilityConfigWidget + + + + 0 + 0 + 552 + 419 + + + + Accessibility + + + + unnamed + + + 0 + + + + mainTab + + + + tab + + + &Bell + + + + unnamed + + + + audibleBellGroup + + + &Audible Bell + + + This is the configuration of the Audible Bell.<br> +It could be the system bell and/or a custom bell. + + + + unnamed + + + + systemBell + + + Use &system bell + + + If this option is checked, the default system bell will be used. See the "System Bell" control module for how to customize the system bell.<br> +Normally, this is just a "beep". + + + + + customBell + + + Use &customized bell + + + Check this option if you want to use a customized bell, playing a sound file. If you do this, you will probably want to turn off the system bell.<br> +Please note that on slow machines this may cause a "lag" between the event causing the bell and the sound being played. + + + + + soundToPlayLayout + + + + unnamed + + + + soundToPlaySpacer + + + Horizontal + + + Fixed + + + + 20 + 20 + + + + + + soundToPlayLabel + + + false + + + Sound &to play: + + + soundToPlay + + + If the option "Use customized bell" is enabled, you can choose a sound file here. + + + + + soundToPlay + + + false + + + + + + + + + visibleBellGroup + + + &Visible Bell + + + + unnamed + + + + visibleBell + + + &Use visible bell + + + + + layout9 + + + + unnamed + + + + visibleBellDurationLayout + + + + unnamed + + + + visibleBellDuration + + + false + + + msec + + + 2000 + + + 100 + + + 100 + + + 500 + + + + + visibleBellDurationSlider + + + false + + + 100 + + + 2000 + + + 100 + + + 100 + + + 500 + + + Horizontal + + + Right + + + + + visibleBellDurationLabel + + + false + + + &Duration: + + + visibleBellDuration + + + + + + + visibleBellOptionsSpacer + + + Horizontal + + + Fixed + + + + 20 + 20 + + + + + + inverFlashScreenButtonGroup + + + NoFrame + + + Plain + + + 0 + + + + + + true + + + + unnamed + + + 0 + + + + invertScreen + + + false + + + I&nvert screen + + + true + + + + + flashScreenLayout + + + + unnamed + + + + flashScreen + + + false + + + F&lash screen: + + + + + flashScreenColor + + + false + + + + + + + 255 + 0 + 0 + + + + + + flashScreenSpacer + + + Horizontal + + + Expanding + + + + 0 + 15 + + + + + + + + + + + + + + bellSpacer + + + Vertical + + + Expanding + + + + 20 + 0 + + + + + + + + tab + + + &Keyboard + + + + unnamed + + + + stickyKeysGroup + + + S&ticky Keys + + + + unnamed + + + + stickyKeys + + + Use &sticky keys + + + + + lockWithStickyKeysLayout + + + + unnamed + + + + lockWithStickyKeysSpacer + + + Horizontal + + + Fixed + + + + 20 + 20 + + + + + + lockWithStickyKeys + + + false + + + &Lock with sticky keys + + + true + + + + + + + + + slowKeysGroup + + + Slo&w Keys + + + + unnamed + + + + slowKeys + + + &Use slow keys + + + + + slowKeysDelayLayout + + + + unnamed + + + + slowKeysDelay + + + false + + + msec + + + 2000 + + + 100 + + + 100 + + + 500 + + + + + slowKeysDelaySlider + + + false + + + 100 + + + 2000 + + + 100 + + + 100 + + + 500 + + + Horizontal + + + Right + + + + + slowKeysSpacer + + + Horizontal + + + Fixed + + + + 20 + 20 + + + + + + slowKeysDelayLabel + + + false + + + &Duration: + + + slowKeysDelay + + + + + + + + + bounceKeysGroup + + + &Bounce Keys + + + + unnamed + + + + bounceKeys + + + Use bou&nce keys + + + + + bounceKeysDelayLayout + + + + unnamed + + + + bounceKeysDelaySlider + + + false + + + 100 + + + 2000 + + + 100 + + + 100 + + + 500 + + + Horizontal + + + Right + + + + + bounceKeysDelaySpacer + + + Horizontal + + + Fixed + + + + 20 + 20 + + + + + + bounceKeysDelay + + + false + + + msec + + + 2000 + + + 100 + + + 100 + + + 500 + + + + + bounceKeysDelayLabel + + + false + + + Du&ration: + + + bounceKeysDelay + + + + + + + + + keyboardSpacer + + + Vertical + + + Expanding + + + + 21 + 61 + + + + + + + + tab + + + &Mouse + + + + unnamed + + + + mouseNavigationGroup + + + &Navigation + + + + unnamed + + + + moveWithKeyboard + + + Mo&ve mouse with keyboard + + + + + moveWithKeyboardLayout + + + + unnamed + + + + accelerationTime + + + false + + + 5000 + + + 1 + + + 250 + + + 1000 + + + + + accelerationTimeSlider + + + false + + + 1 + + + 5000 + + + 250 + + + 2500 + + + 1000 + + + Horizontal + + + Right + + + + + maximumSpeedLabel + + + false + + + Ma&ximum speed: + + + AlignVCenter|AlignRight + + + maximumSpeed + + + + + accelerationTimeLabel + + + false + + + Acceleration &time: + + + AlignVCenter|AlignRight + + + accelerationTime + + + + + accelerationDelaySlider + + + false + + + 1 + + + 1000 + + + 50 + + + 500 + + + 160 + + + Horizontal + + + Right + + + + + maximumSpeed + + + false + + + 1000 + + + 1 + + + 10 + + + 500 + + + + + repeatInterval + + + false + + + msec + + + 1000 + + + 1 + + + 10 + + + 5 + + + + + moveWithKeyboardSpacer + + + Horizontal + + + Fixed + + + + 20 + 20 + + + + + + maximumSpeedSlider + + + false + + + 1 + + + 1000 + + + 10 + + + 100 + + + 500 + + + Horizontal + + + Right + + + 50 + + + + + repeatIntervalLabel + + + false + + + &Repeat interval: + + + AlignVCenter|AlignRight + + + repeatInterval + + + + + accelerationDelay + + + false + + + + 1 + 0 + 0 + 0 + + + + msec + + + 1000 + + + 1 + + + 50 + + + 160 + + + + + accelerationProfileLabel + + + false + + + Acceleration &profile: + + + AlignVCenter|AlignRight + + + accelerationProfile + + + + + accelerationProfile + + + false + + + 1000 + + + -1000 + + + 100 + + + + + accelerationProfileSlider + + + false + + + -1000 + + + 1000 + + + 100 + + + 1000 + + + Horizontal + + + Right + + + 100 + + + + + repeatInternalSlider + + + false + + + 1 + + + 1000 + + + 10 + + + 100 + + + 5 + + + Horizontal + + + Right + + + 50 + + + + + accelerationDelayLabel + + + false + + + &Acceleration delay: + + + AlignVCenter|AlignRight + + + accelerationDelay + + + + + + + + + mouseSpacer + + + Vertical + + + Expanding + + + + 20 + 1 + + + + + + + + + + + customBell + toggled(bool) + soundToPlay + setEnabled(bool) + + + customBell + toggled(bool) + soundToPlayLabel + setEnabled(bool) + + + visibleBellDuration + valueChanged(int) + visibleBellDurationSlider + setValue(int) + + + visibleBellDurationSlider + valueChanged(int) + visibleBellDuration + setValue(int) + + + slowKeysDelay + valueChanged(int) + slowKeysDelaySlider + setValue(int) + + + slowKeysDelaySlider + valueChanged(int) + slowKeysDelay + setValue(int) + + + bounceKeysDelay + valueChanged(int) + bounceKeysDelaySlider + setValue(int) + + + bounceKeysDelaySlider + valueChanged(int) + bounceKeysDelay + setValue(int) + + + visibleBell + toggled(bool) + invertScreen + setEnabled(bool) + + + visibleBell + toggled(bool) + flashScreen + setEnabled(bool) + + + visibleBell + toggled(bool) + AccessibilityConfigWidget + updateFlashScreenColor() + + + visibleBell + toggled(bool) + visibleBellDuration + setEnabled(bool) + + + visibleBell + toggled(bool) + visibleBellDurationLabel + setEnabled(bool) + + + visibleBell + toggled(bool) + visibleBellDurationSlider + setEnabled(bool) + + + flashScreen + toggled(bool) + flashScreenColor + setEnabled(bool) + + + stickyKeys + toggled(bool) + lockWithStickyKeys + setEnabled(bool) + + + slowKeys + toggled(bool) + slowKeysDelayLabel + setEnabled(bool) + + + slowKeys + toggled(bool) + slowKeysDelay + setEnabled(bool) + + + slowKeys + toggled(bool) + slowKeysDelaySlider + setEnabled(bool) + + + bounceKeys + toggled(bool) + bounceKeysDelayLabel + setEnabled(bool) + + + bounceKeys + toggled(bool) + bounceKeysDelay + setEnabled(bool) + + + bounceKeys + toggled(bool) + bounceKeysDelaySlider + setEnabled(bool) + + + accelerationDelay + valueChanged(int) + accelerationDelaySlider + setValue(int) + + + accelerationDelaySlider + valueChanged(int) + accelerationDelay + setValue(int) + + + repeatInterval + valueChanged(int) + repeatInternalSlider + setValue(int) + + + repeatInternalSlider + valueChanged(int) + repeatInterval + setValue(int) + + + accelerationTime + valueChanged(int) + accelerationTimeSlider + setValue(int) + + + accelerationTimeSlider + valueChanged(int) + accelerationTime + setValue(int) + + + maximumSpeed + valueChanged(int) + maximumSpeedSlider + setValue(int) + + + maximumSpeedSlider + valueChanged(int) + maximumSpeed + setValue(int) + + + accelerationProfile + valueChanged(int) + accelerationProfileSlider + setValue(int) + + + accelerationProfileSlider + valueChanged(int) + accelerationProfile + setValue(int) + + + moveWithKeyboard + toggled(bool) + accelerationDelayLabel + setEnabled(bool) + + + moveWithKeyboard + toggled(bool) + accelerationDelay + setEnabled(bool) + + + moveWithKeyboard + toggled(bool) + accelerationDelaySlider + setEnabled(bool) + + + moveWithKeyboard + toggled(bool) + repeatIntervalLabel + setEnabled(bool) + + + moveWithKeyboard + toggled(bool) + repeatInterval + setEnabled(bool) + + + moveWithKeyboard + toggled(bool) + repeatInternalSlider + setEnabled(bool) + + + moveWithKeyboard + toggled(bool) + accelerationTimeLabel + setEnabled(bool) + + + moveWithKeyboard + toggled(bool) + accelerationTime + setEnabled(bool) + + + moveWithKeyboard + toggled(bool) + accelerationTimeSlider + setEnabled(bool) + + + moveWithKeyboard + toggled(bool) + maximumSpeedLabel + setEnabled(bool) + + + moveWithKeyboard + toggled(bool) + maximumSpeed + setEnabled(bool) + + + moveWithKeyboard + toggled(bool) + maximumSpeedSlider + setEnabled(bool) + + + moveWithKeyboard + toggled(bool) + accelerationProfileLabel + setEnabled(bool) + + + moveWithKeyboard + toggled(bool) + accelerationProfile + setEnabled(bool) + + + moveWithKeyboard + toggled(bool) + accelerationProfileSlider + setEnabled(bool) + + + systemBell + toggled(bool) + AccessibilityConfigWidget + changed(bool) + + + customBell + toggled(bool) + AccessibilityConfigWidget + changed(bool) + + + soundToPlay + textChanged(const QString&) + AccessibilityConfigWidget + changed(bool) + + + visibleBell + toggled(bool) + AccessibilityConfigWidget + changed(bool) + + + invertScreen + toggled(bool) + AccessibilityConfigWidget + changed(bool) + + + flashScreen + toggled(bool) + AccessibilityConfigWidget + changed(bool) + + + flashScreenColor + changed(const QColor&) + AccessibilityConfigWidget + changed(bool) + + + visibleBellDuration + valueChanged(int) + AccessibilityConfigWidget + changed(bool) + + + visibleBellDurationSlider + valueChanged(int) + AccessibilityConfigWidget + changed(bool) + + + stickyKeys + toggled(bool) + AccessibilityConfigWidget + changed(bool) + + + lockWithStickyKeys + toggled(bool) + AccessibilityConfigWidget + changed(bool) + + + slowKeys + toggled(bool) + AccessibilityConfigWidget + changed(bool) + + + slowKeysDelay + valueChanged(int) + AccessibilityConfigWidget + changed(bool) + + + slowKeysDelaySlider + valueChanged(int) + AccessibilityConfigWidget + changed(bool) + + + bounceKeys + toggled(bool) + AccessibilityConfigWidget + changed(bool) + + + bounceKeysDelay + valueChanged(int) + AccessibilityConfigWidget + changed(bool) + + + bounceKeysDelaySlider + valueChanged(int) + AccessibilityConfigWidget + changed(bool) + + + moveWithKeyboard + toggled(bool) + AccessibilityConfigWidget + changed(bool) + + + accelerationDelay + valueChanged(int) + AccessibilityConfigWidget + changed(bool) + + + accelerationDelaySlider + valueChanged(int) + AccessibilityConfigWidget + changed(bool) + + + repeatInterval + valueChanged(int) + AccessibilityConfigWidget + changed(bool) + + + repeatInternalSlider + valueChanged(int) + AccessibilityConfigWidget + changed(bool) + + + accelerationTime + valueChanged(int) + AccessibilityConfigWidget + changed(bool) + + + accelerationTimeSlider + valueChanged(int) + AccessibilityConfigWidget + changed(bool) + + + maximumSpeed + valueChanged(int) + AccessibilityConfigWidget + changed(bool) + + + maximumSpeedSlider + valueChanged(int) + AccessibilityConfigWidget + changed(bool) + + + accelerationProfile + valueChanged(int) + AccessibilityConfigWidget + changed(bool) + + + accelerationProfileSlider + valueChanged(int) + AccessibilityConfigWidget + changed(bool) + + + + mainTab + systemBell + customBell + soundToPlay + visibleBell + invertScreen + flashScreen + flashScreenColor + visibleBellDuration + visibleBellDurationSlider + stickyKeys + lockWithStickyKeys + slowKeys + slowKeysDelay + slowKeysDelaySlider + bounceKeys + bounceKeysDelay + bounceKeysDelaySlider + moveWithKeyboard + accelerationDelay + accelerationDelaySlider + repeatInterval + repeatInternalSlider + accelerationTime + accelerationTimeSlider + maximumSpeed + maximumSpeedSlider + accelerationProfile + accelerationProfileSlider + + + accessibilityconfigwidget.ui.h + kdialog.h + + + updateFlashScreenColor() + + + + + kcmodule.h + kurlrequester.h + klineedit.h + kpushbutton.h + knuminput.h + kcolorbutton.h + knuminput.h + knuminput.h + knuminput.h + knuminput.h + knuminput.h + knuminput.h + knuminput.h + + diff --git a/kcontrol/accessibility/accessibilityconfigwidget.ui.h b/kcontrol/accessibility/accessibilityconfigwidget.ui.h new file mode 100644 index 000000000..38d44a502 --- /dev/null +++ b/kcontrol/accessibility/accessibilityconfigwidget.ui.h @@ -0,0 +1,22 @@ +/**************************************************************************** +** ui.h extension file, included from the uic-generated form implementation. +** +** If you wish to add, delete or rename functions or slots use +** Qt Designer which will update this file, preserving your code. Create an +** init() function in place of a constructor, and a destroy() function in +** place of a destructor. +*****************************************************************************/ + +void AccessibilityConfigWidget::updateFlashScreenColor(){ + flashScreenColor->setEnabled(flashScreen->isChecked()); +} + + +void AccessibilityConfigWidget::configChanged() +{ + +} + + + + diff --git a/kcontrol/accessibility/configure.in.in b/kcontrol/accessibility/configure.in.in new file mode 100644 index 000000000..c3f539bd5 --- /dev/null +++ b/kcontrol/accessibility/configure.in.in @@ -0,0 +1,3 @@ +ACCESSIBILITY_SUBDIR= +KDE_CHECK_HEADER(X11/extensions/XKBstr.h, ACCESSIBILITY_SUBDIR=accessibility) +AM_CONDITIONAL(include_kcontrol_accessibility, test -n "$ACCESSIBILITY_SUBDIR") diff --git a/kcontrol/accessibility/kcm_accessibility.kcfg b/kcontrol/accessibility/kcm_accessibility.kcfg new file mode 100644 index 000000000..ad9d0d450 --- /dev/null +++ b/kcontrol/accessibility/kcm_accessibility.kcfg @@ -0,0 +1,67 @@ + + + + + + + false + + + + false + + + + false + + + + + + + + + + + false + + + + true + + + + #FF0000 + + + + 500 + 3000 + + + + diff --git a/kcontrol/accessibility/settings.kcfgc b/kcontrol/accessibility/settings.kcfgc new file mode 100644 index 000000000..b0b7a9407 --- /dev/null +++ b/kcontrol/accessibility/settings.kcfgc @@ -0,0 +1,5 @@ +File=kcm_accessibility.kcfg +ClassName=Settings +Singleton=true +Mutators=true + -- cgit v1.2.1