From dc6b76cac424bdf8b3cffb4ae82f3954d8acdba5 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 26 Jan 2013 13:16:20 -0600 Subject: Rename a number of libraries and executables to avoid conflicts with KDE4 --- kcontrol/arts/CMakeLists.txt | 2 +- kcontrol/arts/Makefile.am | 2 +- kcontrol/arts/arts.cpp | 4 +- kcontrol/background/bgrender.cpp | 4 +- .../componentchooser/componentservices/Makefile.am | 4 +- kcontrol/display/CMakeLists.txt | 2 +- kcontrol/display/display.desktop | 2 +- kcontrol/displayconfig/CMakeLists.txt | 2 +- kcontrol/displayconfig/Makefile.am | 2 +- kcontrol/displayconfig/displayconfig.h | 2 +- kcontrol/dnssd/CMakeLists.txt | 8 +- kcontrol/dnssd/Makefile.am | 12 +- kcontrol/dnssd/kcm_kdnssd.desktop | 155 ---- kcontrol/dnssd/kcm_tdednssd.desktop | 155 ++++ kcontrol/dnssd/kcmdnssd.cpp | 8 +- kcontrol/filetypes/Makefile.am | 2 +- kcontrol/filetypes/filetypedetails.cpp | 2 +- kcontrol/filetypes/filetypesview.cpp | 4 +- kcontrol/filetypes/keditfiletype.cpp | 2 +- kcontrol/filetypes/typeslistitem.h | 2 +- kcontrol/iccconfig/CMakeLists.txt | 2 +- kcontrol/iccconfig/Makefile.am | 2 +- kcontrol/iccconfig/iccconfig.h | 2 +- kcontrol/kcontrol/CMakeLists.txt | 2 +- kcontrol/kcontrol/aboutwidget.cpp | 2 +- kcontrol/kfontinst/kcmfontinst/KCmFontInst.h | 2 +- kcontrol/kfontinst/kcmfontinst/KFileFontView.cpp | 2 +- kcontrol/kfontinst/viewpart/CMakeLists.txt | 4 +- kcontrol/kfontinst/viewpart/FontViewPart.h | 2 +- kcontrol/kfontinst/viewpart/FontViewerApp.h | 4 +- kcontrol/kfontinst/viewpart/Makefile.am | 2 +- kcontrol/kicker/CMakeLists.txt | 2 +- kcontrol/kio/CMakeLists.txt | 2 +- kcontrol/knotify/knotify.cpp | 2 +- kcontrol/konq/CMakeLists.txt | 2 +- kcontrol/konqhtml/CMakeLists.txt | 8 +- kcontrol/konqhtml/Makefile.am | 6 +- kcontrol/konqhtml/appearance.cpp | 16 +- kcontrol/konqhtml/htmlopts.cpp | 10 +- kcontrol/konqhtml/javaopts.cpp | 2 +- kcontrol/konqhtml/jspolicies.h | 2 +- kcontrol/konqhtml/khtml_behavior.desktop | 231 ------ kcontrol/konqhtml/khtml_filter.desktop | 145 ---- kcontrol/konqhtml/khtml_fonts.desktop | 230 ------ kcontrol/konqhtml/khtml_java_js.desktop | 211 ----- kcontrol/konqhtml/main.cpp | 12 +- kcontrol/konqhtml/tdehtml_behavior.desktop | 231 ++++++ kcontrol/konqhtml/tdehtml_filter.desktop | 145 ++++ kcontrol/konqhtml/tdehtml_fonts.desktop | 230 ++++++ kcontrol/konqhtml/tdehtml_java_js.desktop | 211 +++++ kcontrol/kthememanager/kthememanager.cpp | 2 +- kcontrol/pics/cr128-app-kscreensaver.png | Bin 7140 -> 0 bytes kcontrol/pics/cr128-app-tdescreensaver.png | Bin 0 -> 7140 bytes kcontrol/pics/cr16-app-kscreensaver.png | Bin 707 -> 0 bytes kcontrol/pics/cr16-app-tdescreensaver.png | Bin 0 -> 707 bytes kcontrol/pics/cr22-app-kscreensaver.png | Bin 1058 -> 0 bytes kcontrol/pics/cr22-app-tdescreensaver.png | Bin 0 -> 1058 bytes kcontrol/pics/cr32-app-kscreensaver.png | Bin 1663 -> 0 bytes kcontrol/pics/cr32-app-tdescreensaver.png | Bin 0 -> 1663 bytes kcontrol/pics/cr48-app-kscreensaver.png | Bin 2777 -> 0 bytes kcontrol/pics/cr48-app-tdescreensaver.png | Bin 0 -> 2777 bytes kcontrol/pics/cr64-app-kscreensaver.png | Bin 3703 -> 0 bytes kcontrol/pics/cr64-app-tdescreensaver.png | Bin 0 -> 3703 bytes kcontrol/privacy/kprivacymanager.cpp | 2 +- kcontrol/randr/CMakeLists.txt | 18 +- kcontrol/randr/Makefile.am | 26 +- kcontrol/randr/configdialog.cpp | 4 +- kcontrol/randr/krandrapp.cpp | 47 -- kcontrol/randr/krandrapp.h | 44 - kcontrol/randr/krandrbindings.cpp | 34 - kcontrol/randr/krandrinithack.cpp | 0 kcontrol/randr/krandrmodule.cpp | 365 --------- kcontrol/randr/krandrmodule.h | 68 -- kcontrol/randr/krandrpassivepopup.cpp | 118 --- kcontrol/randr/krandrpassivepopup.h | 47 -- kcontrol/randr/krandrtray-autostart.desktop | 144 ---- kcontrol/randr/krandrtray.cpp | 884 --------------------- kcontrol/randr/krandrtray.desktop | 141 ---- kcontrol/randr/krandrtray.h | 94 --- kcontrol/randr/main.cpp | 10 +- kcontrol/randr/tderandrapp.cpp | 47 ++ kcontrol/randr/tderandrapp.h | 44 + kcontrol/randr/tderandrbindings.cpp | 34 + kcontrol/randr/tderandrinithack.cpp | 0 kcontrol/randr/tderandrmodule.cpp | 365 +++++++++ kcontrol/randr/tderandrmodule.h | 68 ++ kcontrol/randr/tderandrpassivepopup.cpp | 118 +++ kcontrol/randr/tderandrpassivepopup.h | 47 ++ kcontrol/randr/tderandrtray-autostart.desktop | 144 ++++ kcontrol/randr/tderandrtray.cpp | 884 +++++++++++++++++++++ kcontrol/randr/tderandrtray.desktop | 141 ++++ kcontrol/randr/tderandrtray.h | 94 +++ kcontrol/screensaver/screensaver.desktop | 2 +- kcontrol/screensaver/scrnsave.cpp | 4 +- kcontrol/spellchecking/spellchecking.cpp | 2 +- 95 files changed, 3071 insertions(+), 3071 deletions(-) delete mode 100644 kcontrol/dnssd/kcm_kdnssd.desktop create mode 100644 kcontrol/dnssd/kcm_tdednssd.desktop delete mode 100644 kcontrol/konqhtml/khtml_behavior.desktop delete mode 100644 kcontrol/konqhtml/khtml_filter.desktop delete mode 100644 kcontrol/konqhtml/khtml_fonts.desktop delete mode 100644 kcontrol/konqhtml/khtml_java_js.desktop create mode 100644 kcontrol/konqhtml/tdehtml_behavior.desktop create mode 100644 kcontrol/konqhtml/tdehtml_filter.desktop create mode 100644 kcontrol/konqhtml/tdehtml_fonts.desktop create mode 100644 kcontrol/konqhtml/tdehtml_java_js.desktop delete mode 100644 kcontrol/pics/cr128-app-kscreensaver.png create mode 100644 kcontrol/pics/cr128-app-tdescreensaver.png delete mode 100644 kcontrol/pics/cr16-app-kscreensaver.png create mode 100644 kcontrol/pics/cr16-app-tdescreensaver.png delete mode 100644 kcontrol/pics/cr22-app-kscreensaver.png create mode 100644 kcontrol/pics/cr22-app-tdescreensaver.png delete mode 100644 kcontrol/pics/cr32-app-kscreensaver.png create mode 100644 kcontrol/pics/cr32-app-tdescreensaver.png delete mode 100644 kcontrol/pics/cr48-app-kscreensaver.png create mode 100644 kcontrol/pics/cr48-app-tdescreensaver.png delete mode 100644 kcontrol/pics/cr64-app-kscreensaver.png create mode 100644 kcontrol/pics/cr64-app-tdescreensaver.png delete mode 100644 kcontrol/randr/krandrapp.cpp delete mode 100644 kcontrol/randr/krandrapp.h delete mode 100644 kcontrol/randr/krandrbindings.cpp delete mode 100644 kcontrol/randr/krandrinithack.cpp delete mode 100644 kcontrol/randr/krandrmodule.cpp delete mode 100644 kcontrol/randr/krandrmodule.h delete mode 100644 kcontrol/randr/krandrpassivepopup.cpp delete mode 100644 kcontrol/randr/krandrpassivepopup.h delete mode 100644 kcontrol/randr/krandrtray-autostart.desktop delete mode 100644 kcontrol/randr/krandrtray.cpp delete mode 100644 kcontrol/randr/krandrtray.desktop delete mode 100644 kcontrol/randr/krandrtray.h create mode 100644 kcontrol/randr/tderandrapp.cpp create mode 100644 kcontrol/randr/tderandrapp.h create mode 100644 kcontrol/randr/tderandrbindings.cpp create mode 100644 kcontrol/randr/tderandrinithack.cpp create mode 100644 kcontrol/randr/tderandrmodule.cpp create mode 100644 kcontrol/randr/tderandrmodule.h create mode 100644 kcontrol/randr/tderandrpassivepopup.cpp create mode 100644 kcontrol/randr/tderandrpassivepopup.h create mode 100644 kcontrol/randr/tderandrtray-autostart.desktop create mode 100644 kcontrol/randr/tderandrtray.cpp create mode 100644 kcontrol/randr/tderandrtray.desktop create mode 100644 kcontrol/randr/tderandrtray.h (limited to 'kcontrol') diff --git a/kcontrol/arts/CMakeLists.txt b/kcontrol/arts/CMakeLists.txt index 616b62070..aaf41edaa 100644 --- a/kcontrol/arts/CMakeLists.txt +++ b/kcontrol/arts/CMakeLists.txt @@ -29,6 +29,6 @@ install( FILES arts.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) tde_add_kpart( kcm_arts AUTOMOC SOURCES arts.cpp generaltab.ui hardwaretab.ui krichtextlabel.cpp - LINK kio-shared kmid-shared + LINK kio-shared tdemid-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/kcontrol/arts/Makefile.am b/kcontrol/arts/Makefile.am index f4b68cfa1..3959f3109 100644 --- a/kcontrol/arts/Makefile.am +++ b/kcontrol/arts/Makefile.am @@ -3,7 +3,7 @@ kde_module_LTLIBRARIES = kcm_arts.la kcm_arts_la_SOURCES = arts.cpp generaltab.ui hardwaretab.ui krichtextlabel.cpp kcm_arts_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined -kcm_arts_la_LIBADD = $(LIB_KIO) $(LIB_KUTILS) -lkmid +kcm_arts_la_LIBADD = $(LIB_KIO) $(LIB_KUTILS) -ltdemid AM_CPPFLAGS = -I$(kde_includes)/arts $(all_includes) diff --git a/kcontrol/arts/arts.cpp b/kcontrol/arts/arts.cpp index 86086cbd9..11002cb7f 100644 --- a/kcontrol/arts/arts.cpp +++ b/kcontrol/arts/arts.cpp @@ -48,7 +48,7 @@ #include #include #include -#include +#include #include "arts.h" @@ -158,7 +158,7 @@ KArtsModule::KArtsModule(TQWidget *parent, const char *name) general = new generalTab(tab); hardware = new hardwareTab(tab); //mixer = TDECModuleLoader::loadModule("kmixcfg", tab); - //midi = new KMidConfig(tab, "kmidconfig"); + //midi = new KMidConfig(tab, "tdemidconfig"); general->layout()->setMargin( KDialog::marginHint() ); hardware->layout()->setMargin( KDialog::marginHint() ); diff --git a/kcontrol/background/bgrender.cpp b/kcontrol/background/bgrender.cpp index 164616c14..3aed1a6fd 100644 --- a/kcontrol/background/bgrender.cpp +++ b/kcontrol/background/bgrender.cpp @@ -311,7 +311,7 @@ wp_load: goto wp_out; } - // _Don't_ use KMimeType, as it relies on ksycoca which we really + // _Don't_ use KMimeType, as it relies on tdesycoca which we really // don't want in krootimage (tdm context). //if ( KMimeType::findByPath( file )->is( "image/svg+xml" ) ) { if (file.endsWith(".svg") || file.endsWith(".svgz")) { @@ -399,7 +399,7 @@ wp_load: } // HACK: Use KFileMetaInfo only when we're attached to DCOP. - // KFileMetaInfo needs ksycoca and so on, but this code is + // KFileMetaInfo needs tdesycoca and so on, but this code is // used also in krootimage (which in turn is used by tdm). if( kapp->dcopClient()->isAttached()) { KFileMetaInfo metaInfo(file); diff --git a/kcontrol/componentchooser/componentservices/Makefile.am b/kcontrol/componentchooser/componentservices/Makefile.am index eea682ff8..3ba55cc0c 100644 --- a/kcontrol/componentchooser/componentservices/Makefile.am +++ b/kcontrol/componentchooser/componentservices/Makefile.am @@ -1,3 +1,3 @@ -kcm_ktexteditor_DATA = kcm_kemail.desktop kcm_terminal.desktop kcm_browser.desktop -kcm_ktexteditordir = $(kde_datadir)/kcm_componentchooser +kcm_tdetexteditor_DATA = kcm_kemail.desktop kcm_terminal.desktop kcm_browser.desktop +kcm_tdetexteditordir = $(kde_datadir)/kcm_componentchooser diff --git a/kcontrol/display/CMakeLists.txt b/kcontrol/display/CMakeLists.txt index cef021e03..84bcb2dfe 100644 --- a/kcontrol/display/CMakeLists.txt +++ b/kcontrol/display/CMakeLists.txt @@ -28,6 +28,6 @@ install( FILES display.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) tde_add_kpart( kcm_display AUTOMOC SOURCES display.cpp - LINK kutils-shared + LINK tdeutils-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/kcontrol/display/display.desktop b/kcontrol/display/display.desktop index 6c8d1c08b..a8d0bd5dc 100644 --- a/kcontrol/display/display.desktop +++ b/kcontrol/display/display.desktop @@ -1,5 +1,5 @@ [Desktop Entry] -Icon=kscreensaver +Icon=tdescreensaver Type=Application Exec=kcmshell display DocPath=kcontrol/kcmdisplay/index.html diff --git a/kcontrol/displayconfig/CMakeLists.txt b/kcontrol/displayconfig/CMakeLists.txt index 9f5192b9e..774743329 100644 --- a/kcontrol/displayconfig/CMakeLists.txt +++ b/kcontrol/displayconfig/CMakeLists.txt @@ -36,6 +36,6 @@ set_source_files_properties( displayconfig.cpp PROPERTIES COMPILE_FLAGS -DKDE_CO tde_add_kpart( kcm_displayconfig AUTOMOC SOURCES monitorworkspace.cpp displayconfig.cpp displayconfigbase.ui displayconfig.skel - LINK kio-shared krandr-shared kutils-shared + LINK kio-shared tderandr-shared tdeutils-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/kcontrol/displayconfig/Makefile.am b/kcontrol/displayconfig/Makefile.am index 55fabd507..a2c2607e4 100644 --- a/kcontrol/displayconfig/Makefile.am +++ b/kcontrol/displayconfig/Makefile.am @@ -3,7 +3,7 @@ kde_module_LTLIBRARIES = kcm_displayconfig.la kcm_displayconfig_la_SOURCES = displayconfig.cpp displayconfigbase.ui displayconfig.skel -kcm_displayconfig_la_LDFLAGS = $(all_libraries) -lkrandr -module -avoid-version -no-undefined +kcm_displayconfig_la_LDFLAGS = $(all_libraries) -ltderandr -module -avoid-version -no-undefined kcm_displayconfig_la_LIBADD = -ltdeui $(LIB_KIO) $(LIB_XRANDR) diff --git a/kcontrol/displayconfig/displayconfig.h b/kcontrol/displayconfig/displayconfig.h index af3e971ee..3591bd93d 100644 --- a/kcontrol/displayconfig/displayconfig.h +++ b/kcontrol/displayconfig/displayconfig.h @@ -34,7 +34,7 @@ #include -#include +#include #include #include "monitorworkspace.h" diff --git a/kcontrol/dnssd/CMakeLists.txt b/kcontrol/dnssd/CMakeLists.txt index bb9050274..e0036ba24 100644 --- a/kcontrol/dnssd/CMakeLists.txt +++ b/kcontrol/dnssd/CMakeLists.txt @@ -22,15 +22,15 @@ link_directories( ##### other data ################################ -install( FILES kcm_kdnssd.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +install( FILES kcm_tdednssd.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) -##### kcm_kdnssd (module) ####################### +##### kcm_tdednssd (module) ####################### set_source_files_properties( kcmdnssd.cpp PROPERTIES COMPILE_FLAGS -DKDE_CONFDIR=\\"${TDE_CONFIG_DIR}\\" ) -tde_add_kpart( kcm_kdnssd AUTOMOC +tde_add_kpart( kcm_tdednssd AUTOMOC SOURCES configdialog.ui kcmdnssd.cpp - LINK kdnssd-shared tdeui-shared + LINK tdednssd-shared tdeui-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/kcontrol/dnssd/Makefile.am b/kcontrol/dnssd/Makefile.am index ef6292a94..da4ffdb5d 100644 --- a/kcontrol/dnssd/Makefile.am +++ b/kcontrol/dnssd/Makefile.am @@ -1,12 +1,12 @@ INCLUDES = $(all_includes) METASOURCES = AUTO -kde_module_LTLIBRARIES = kcm_kdnssd.la -kcm_kdnssd_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries) -kcm_kdnssd_la_SOURCES = configdialog.ui kcmdnssd.cpp kcmdnssd.h +kde_module_LTLIBRARIES = kcm_tdednssd.la +kcm_tdednssd_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries) +kcm_tdednssd_la_SOURCES = configdialog.ui kcmdnssd.cpp kcmdnssd.h -xdg_apps_DATA = kcm_kdnssd.desktop -kcm_kdnssd_la_LIBADD = $(LIB_KDNSSD) $(LIB_TDEUI) +xdg_apps_DATA = kcm_tdednssd.desktop +kcm_tdednssd_la_LIBADD = $(LIB_KDNSSD) $(LIB_TDEUI) messages: rc.cpp $(EXTRACTRC) *.ui *.rc >> rc.cpp - $(XGETTEXT) $(kcm_kdnssd_la_SOURCES) rc.cpp -o $(podir)/kcmkdnssd.pot + $(XGETTEXT) $(kcm_tdednssd_la_SOURCES) rc.cpp -o $(podir)/kcmtdednssd.pot diff --git a/kcontrol/dnssd/kcm_kdnssd.desktop b/kcontrol/dnssd/kcm_kdnssd.desktop deleted file mode 100644 index e62c4ce01..000000000 --- a/kcontrol/dnssd/kcm_kdnssd.desktop +++ /dev/null @@ -1,155 +0,0 @@ -[Desktop Entry] -Comment=Configure service discovery -Comment[af]=Stel dienste ontdekker op -Comment[ar]=إعداد إكتشاف الخدمات -Comment[be]=Настаўленні пошуку сервісаў -Comment[bg]=Настройване откриването на услуги -Comment[bn]=সার্ভিস উদ্ঘাটন কনফিগার করুন -Comment[bs]=Podesite otkrivanje servisa -Comment[ca]=Configura el descobriment de serveis -Comment[cs]=Nastavení hledání služeb -Comment[csb]=Kòfigùracëjô wëkrëwaniô ùsłëżnotów -Comment[da]=Indstil opdagelse af tjeneste -Comment[de]=Diensteerkennung einrichten -Comment[el]=Ρύθμιση εύρεσης υπηρεσιών -Comment[eo]=Agordu servo-seĉadon -Comment[es]=Configura el buscador de servicios -Comment[et]=Teenuste tuvastamise seadistamine -Comment[eu]=Konfiguratu igartze zerbitzua -Comment[fa]=پیکربندی کشف خدمت -Comment[fi]=Asetuspalvelimen löytäminen -Comment[fr]=Configuration de la découverte de service -Comment[fy]=Tsjinst waarnimming ynstellen -Comment[ga]=Cumraigh fionnachtain seirbhísí -Comment[gl]=Configurar o descubremento de servizos -Comment[he]=הגדרת זיהוי השירותים -Comment[hi]=सेवा डिस्कवरी कॉन्फ़िगर करें -Comment[hr]=Konfiguriranje usluge discovery -Comment[hu]=A szolgáltatásdetektálás beállításai -Comment[is]=Stilla uppgötvun þjónustna -Comment[it]=Configura scoperta servizi -Comment[ja]=サービスディスカバリの設定 -Comment[ka]=სერვისის არმოჩენის კონფიგურირება -Comment[kk]=Қызыметтерді байқауды баптау -Comment[km]=កំណត់​រចនាសម្ព័ន្ធ​ការ​រកឃើញ​សេវា -Comment[ko]=서비스 발견 설정 -Comment[lt]=Konfigūruoti tarnybų radimą -Comment[lv]=Konfigurē servisu atrašanu -Comment[mk]=Конфигурирајте го откривањето сервиси -Comment[ms]=Konfigur penemuan servis -Comment[nb]=Sett opp oppdagingstjenesten -Comment[nds]=Dat Finnen vun Deensten inrichten -Comment[ne]=पत्ता लगाउने कार्य कन्फिगर गर्नुहोस् -Comment[nl]=Dienstwaarneming instellen -Comment[nn]=Set opp oppdagingstenesta -Comment[pa]=ਸੇਵਾ ਖੋਜ ਸੰਰਚਨਾ -Comment[pl]=Konfiguracja wykrywania usług -Comment[pt]=Configurar a descoberta de serviços -Comment[pt_BR]=Configurar o serviço discovery -Comment[ro]=Configurează serviciul de descoperire -Comment[ru]=Настройка обнаружения сервисов -Comment[rw]=Kuboneza ivumbura serivisi -Comment[se]=Heivet bálvalusáicama -Comment[sk]=Nastavenie služby Discovery -Comment[sl]=Nastavi odkrivanje storitev -Comment[sr]=Подешавање откривања сервиса -Comment[sr@Latn]=Podešavanje otkrivanja servisa -Comment[sv]=Anpassa tjänstupptäckt -Comment[ta]=சர்வீஸ் டிஸ்கவரியை வடிவமை -Comment[tg]=Танзими хизмати ихтироъ -Comment[th]=ปรับแต่งการค้นพบบริการ -Comment[tr]=Hizmet araştırmasını yapılandır -Comment[tt]=Xezmätlär tabu caylawı -Comment[uk]=Налаштування знаходження служб -Comment[uz]=Tarmoqdagi xizmatlarni qidirishni moslash -Comment[uz@cyrillic]=Тармоқдаги хизматларни қидиришни мослаш -Comment[vi]=Cấu hình dịch vụ khám phá -Comment[wa]=Apontiaedjes do discovraedje do siervice -Comment[zh_CN]=配置探索服务 -Comment[zh_TW]=設定服務偵測 -Exec=kcmshell kcm_kdnssd -GenericName= -GenericName[ko]=일반 -Icon=network_local -MimeType= -Name=Zeroconf Service Discovery -Name[af]=Dienste ontdekker -Name[ar]=إكتشاف الخدمات -Name[be]=Пошук сервісаў -Name[bg]=Откриване на услуги -Name[bn]=সার্ভিস উদ্ঘাটন -Name[bs]=Otkrivanje servisa -Name[ca]=Descobriment de serveis -Name[cs]=Hledání služeb -Name[csb]=Wëkrëwanié ùsłëżnotów -Name[da]=Opdagelse af tjenester -Name[de]=Dienste-Suche -Name[el]=Εύρεση υπηρεσιών -Name[eo]=Servo-Serĉado -Name[es]=Buscador de servicios -Name[et]=Teenuste tuvastamine -Name[eu]=Igartze zerbitzua -Name[fa]=کشف خدمت -Name[fi]=Palvelut -Name[fr]=Découverte de service -Name[fy]=Tsjinst warskôging -Name[ga]=Fionnachtain Seirbhísí -Name[gl]=Descubremento de Servizos -Name[he]=זיהוי שירותים -Name[hi]=सेवा डिस्कवरी -Name[hr]=Usluga Discovery -Name[hu]=Zeroconf-beállítások -Name[is]=Uppgötvun þjónustu -Name[it]=Scoperta servizi -Name[ja]=サービスディスカバリ -Name[ka]=სერვისის აღმოჩენა -Name[kk]=Қызметтерді байқау -Name[km]=ការ​រកឃើញ​សេវា -Name[ko]=서비스 발견 -Name[lt]=Tarnybų radimas -Name[lv]=Servisu atklāšana -Name[mk]=Откривање сервиси -Name[ms]=Penemuan Servis -Name[nb]=Oppdaging av tjenester -Name[nds]=Deensten finnen -Name[ne]=पत्ता लगाउने कार्य -Name[nl]=Dienstwaarneming -Name[nn]=Oppdaging av tenester -Name[pa]=ਸੇਵਾ ਖੋਜ -Name[pl]=Wykrywanie usług -Name[pt]=Descoberta de Serviços -Name[pt_BR]=Serviço Discovery -Name[ro]=Descoperire servicii -Name[ru]=Обнаружение служб -Name[rw]=Ivumbura rya Serivisi -Name[se]=Bálvalusáican -Name[sk]=Služba Discovery -Name[sl]=Odkrivanje storitev -Name[sr]=Откривање сервиса -Name[sr@Latn]=Otkrivanje servisa -Name[sv]=Tjänstupptäckt -Name[ta]=சர்வீஸ் டிஸ்கவரி -Name[tg]=Хизмати ихтироъ -Name[th]=การค้นพบบริการ -Name[tr]=Hizmet Araştırması -Name[tt]=Xezmätlär Tabu -Name[uk]=Знаходження служб -Name[uz]=Tarmoqdagi xizmatlarni qidirish -Name[uz@cyrillic]=Тармоқдаги хизматларни қидириш -Name[vi]=Dịch vụ Khám phá -Name[wa]=Discovraedje di siervices -Name[zh_CN]=服务探索 -Name[zh_TW]=服務偵測 -Path= -StartupNotify=true -Terminal=false -Type=Application -X-DCOP-ServiceType= -X-TDE-HasReadOnlyMode=false -X-TDE-Library=kdnssd -X-TDE-ModuleType=Library -X-TDE-ParentApp=kcontrol -#root parts unused with Avahi -#X-TDE-SubstituteUID=false -#X-TDE-RootOnly=true -Categories=Qt;TDE;X-TDE-settings-network; diff --git a/kcontrol/dnssd/kcm_tdednssd.desktop b/kcontrol/dnssd/kcm_tdednssd.desktop new file mode 100644 index 000000000..ffa16d753 --- /dev/null +++ b/kcontrol/dnssd/kcm_tdednssd.desktop @@ -0,0 +1,155 @@ +[Desktop Entry] +Comment=Configure service discovery +Comment[af]=Stel dienste ontdekker op +Comment[ar]=إعداد إكتشاف الخدمات +Comment[be]=Настаўленні пошуку сервісаў +Comment[bg]=Настройване откриването на услуги +Comment[bn]=সার্ভিস উদ্ঘাটন কনফিগার করুন +Comment[bs]=Podesite otkrivanje servisa +Comment[ca]=Configura el descobriment de serveis +Comment[cs]=Nastavení hledání služeb +Comment[csb]=Kòfigùracëjô wëkrëwaniô ùsłëżnotów +Comment[da]=Indstil opdagelse af tjeneste +Comment[de]=Diensteerkennung einrichten +Comment[el]=Ρύθμιση εύρεσης υπηρεσιών +Comment[eo]=Agordu servo-seĉadon +Comment[es]=Configura el buscador de servicios +Comment[et]=Teenuste tuvastamise seadistamine +Comment[eu]=Konfiguratu igartze zerbitzua +Comment[fa]=پیکربندی کشف خدمت +Comment[fi]=Asetuspalvelimen löytäminen +Comment[fr]=Configuration de la découverte de service +Comment[fy]=Tsjinst waarnimming ynstellen +Comment[ga]=Cumraigh fionnachtain seirbhísí +Comment[gl]=Configurar o descubremento de servizos +Comment[he]=הגדרת זיהוי השירותים +Comment[hi]=सेवा डिस्कवरी कॉन्फ़िगर करें +Comment[hr]=Konfiguriranje usluge discovery +Comment[hu]=A szolgáltatásdetektálás beállításai +Comment[is]=Stilla uppgötvun þjónustna +Comment[it]=Configura scoperta servizi +Comment[ja]=サービスディスカバリの設定 +Comment[ka]=სერვისის არმოჩენის კონფიგურირება +Comment[kk]=Қызыметтерді байқауды баптау +Comment[km]=កំណត់​រចនាសម្ព័ន្ធ​ការ​រកឃើញ​សេវា +Comment[ko]=서비스 발견 설정 +Comment[lt]=Konfigūruoti tarnybų radimą +Comment[lv]=Konfigurē servisu atrašanu +Comment[mk]=Конфигурирајте го откривањето сервиси +Comment[ms]=Konfigur penemuan servis +Comment[nb]=Sett opp oppdagingstjenesten +Comment[nds]=Dat Finnen vun Deensten inrichten +Comment[ne]=पत्ता लगाउने कार्य कन्फिगर गर्नुहोस् +Comment[nl]=Dienstwaarneming instellen +Comment[nn]=Set opp oppdagingstenesta +Comment[pa]=ਸੇਵਾ ਖੋਜ ਸੰਰਚਨਾ +Comment[pl]=Konfiguracja wykrywania usług +Comment[pt]=Configurar a descoberta de serviços +Comment[pt_BR]=Configurar o serviço discovery +Comment[ro]=Configurează serviciul de descoperire +Comment[ru]=Настройка обнаружения сервисов +Comment[rw]=Kuboneza ivumbura serivisi +Comment[se]=Heivet bálvalusáicama +Comment[sk]=Nastavenie služby Discovery +Comment[sl]=Nastavi odkrivanje storitev +Comment[sr]=Подешавање откривања сервиса +Comment[sr@Latn]=Podešavanje otkrivanja servisa +Comment[sv]=Anpassa tjänstupptäckt +Comment[ta]=சர்வீஸ் டிஸ்கவரியை வடிவமை +Comment[tg]=Танзими хизмати ихтироъ +Comment[th]=ปรับแต่งการค้นพบบริการ +Comment[tr]=Hizmet araştırmasını yapılandır +Comment[tt]=Xezmätlär tabu caylawı +Comment[uk]=Налаштування знаходження служб +Comment[uz]=Tarmoqdagi xizmatlarni qidirishni moslash +Comment[uz@cyrillic]=Тармоқдаги хизматларни қидиришни мослаш +Comment[vi]=Cấu hình dịch vụ khám phá +Comment[wa]=Apontiaedjes do discovraedje do siervice +Comment[zh_CN]=配置探索服务 +Comment[zh_TW]=設定服務偵測 +Exec=kcmshell kcm_tdednssd +GenericName= +GenericName[ko]=일반 +Icon=network_local +MimeType= +Name=Zeroconf Service Discovery +Name[af]=Dienste ontdekker +Name[ar]=إكتشاف الخدمات +Name[be]=Пошук сервісаў +Name[bg]=Откриване на услуги +Name[bn]=সার্ভিস উদ্ঘাটন +Name[bs]=Otkrivanje servisa +Name[ca]=Descobriment de serveis +Name[cs]=Hledání služeb +Name[csb]=Wëkrëwanié ùsłëżnotów +Name[da]=Opdagelse af tjenester +Name[de]=Dienste-Suche +Name[el]=Εύρεση υπηρεσιών +Name[eo]=Servo-Serĉado +Name[es]=Buscador de servicios +Name[et]=Teenuste tuvastamine +Name[eu]=Igartze zerbitzua +Name[fa]=کشف خدمت +Name[fi]=Palvelut +Name[fr]=Découverte de service +Name[fy]=Tsjinst warskôging +Name[ga]=Fionnachtain Seirbhísí +Name[gl]=Descubremento de Servizos +Name[he]=זיהוי שירותים +Name[hi]=सेवा डिस्कवरी +Name[hr]=Usluga Discovery +Name[hu]=Zeroconf-beállítások +Name[is]=Uppgötvun þjónustu +Name[it]=Scoperta servizi +Name[ja]=サービスディスカバリ +Name[ka]=სერვისის აღმოჩენა +Name[kk]=Қызметтерді байқау +Name[km]=ការ​រកឃើញ​សេវា +Name[ko]=서비스 발견 +Name[lt]=Tarnybų radimas +Name[lv]=Servisu atklāšana +Name[mk]=Откривање сервиси +Name[ms]=Penemuan Servis +Name[nb]=Oppdaging av tjenester +Name[nds]=Deensten finnen +Name[ne]=पत्ता लगाउने कार्य +Name[nl]=Dienstwaarneming +Name[nn]=Oppdaging av tenester +Name[pa]=ਸੇਵਾ ਖੋਜ +Name[pl]=Wykrywanie usług +Name[pt]=Descoberta de Serviços +Name[pt_BR]=Serviço Discovery +Name[ro]=Descoperire servicii +Name[ru]=Обнаружение служб +Name[rw]=Ivumbura rya Serivisi +Name[se]=Bálvalusáican +Name[sk]=Služba Discovery +Name[sl]=Odkrivanje storitev +Name[sr]=Откривање сервиса +Name[sr@Latn]=Otkrivanje servisa +Name[sv]=Tjänstupptäckt +Name[ta]=சர்வீஸ் டிஸ்கவரி +Name[tg]=Хизмати ихтироъ +Name[th]=การค้นพบบริการ +Name[tr]=Hizmet Araştırması +Name[tt]=Xezmätlär Tabu +Name[uk]=Знаходження служб +Name[uz]=Tarmoqdagi xizmatlarni qidirish +Name[uz@cyrillic]=Тармоқдаги хизматларни қидириш +Name[vi]=Dịch vụ Khám phá +Name[wa]=Discovraedje di siervices +Name[zh_CN]=服务探索 +Name[zh_TW]=服務偵測 +Path= +StartupNotify=true +Terminal=false +Type=Application +X-DCOP-ServiceType= +X-TDE-HasReadOnlyMode=false +X-TDE-Library=tdednssd +X-TDE-ModuleType=Library +X-TDE-ParentApp=kcontrol +#root parts unused with Avahi +#X-TDE-SubstituteUID=false +#X-TDE-RootOnly=true +Categories=Qt;TDE;X-TDE-settings-network; diff --git a/kcontrol/dnssd/kcmdnssd.cpp b/kcontrol/dnssd/kcmdnssd.cpp index 37940be95..6ef87a6c0 100644 --- a/kcontrol/dnssd/kcmdnssd.cpp +++ b/kcontrol/dnssd/kcmdnssd.cpp @@ -34,7 +34,7 @@ #include #include -#include +#include #include #include #include @@ -51,12 +51,12 @@ #define MDNSD_PID "/var/run/mdnsd.pid" typedef KGenericFactory KCMDnssdFactory; -K_EXPORT_COMPONENT_FACTORY( kcm_kdnssd, KCMDnssdFactory("kcmkdnssd")) +K_EXPORT_COMPONENT_FACTORY( kcm_tdednssd, KCMDnssdFactory("kcmtdednssd")) KCMDnssd::KCMDnssd(TQWidget *parent, const char *name, const TQStringList&) : ConfigDialog(parent, name), m_wdchanged(false) { - setAboutData(new TDEAboutData(I18N_NOOP("kcm_kdnssd"), + setAboutData(new TDEAboutData(I18N_NOOP("kcm_tdednssd"), I18N_NOOP("ZeroConf configuration"),0,0,TDEAboutData::License_GPL, I18N_NOOP("(C) 2004,2005 Jakub Stachowski"))); setQuickHelp(i18n("Setup services browsing with ZeroConf")); @@ -65,7 +65,7 @@ KCMDnssd::KCMDnssd(TQWidget *parent, const char *name, const TQStringList&) else if (getenv("TDESU_USER")!=0) tabs->removePage(tab); addConfig(DNSSD::Configuration::self(),this); // it is host-wide setting so it has to be in global config file - domain = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/kdnssdrc" )); + domain = new KSimpleConfig( TQString::fromLatin1( KDE_CONFDIR "/tdednssdrc" )); domain->setGroup("publishing"); load(); connect(hostedit,TQT_SIGNAL(textChanged(const TQString&)),this,TQT_SLOT(wdchanged())); diff --git a/kcontrol/filetypes/Makefile.am b/kcontrol/filetypes/Makefile.am index 21752d05c..31a1d60a2 100644 --- a/kcontrol/filetypes/Makefile.am +++ b/kcontrol/filetypes/Makefile.am @@ -21,7 +21,7 @@ libfiletypes_la_SOURCES = filetypesview.cpp filetypedetails.cpp filegroupdetails keditfiletype_SOURCES = keditfiletype.cpp keditfiletype_LDADD = libfiletypes.la $(LIB_KIO) -keditfiletype_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor +keditfiletype_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor messages: $(XGETTEXT) *.cpp -o $(podir)/filetypes.pot diff --git a/kcontrol/filetypes/filetypedetails.cpp b/kcontrol/filetypes/filetypedetails.cpp index a678e0eb2..abb973580 100644 --- a/kcontrol/filetypes/filetypedetails.cpp +++ b/kcontrol/filetypes/filetypedetails.cpp @@ -235,7 +235,7 @@ void FileTypeDetails::updateAskSave() // - images (reasoning: no need to save, most of the time, because fast to see) // e.g. postscript is different, because takes longer to read, so // it's more likely that the user might want to save it. - // - multipart/* ("server push", see kmultipart) + // - multipart/* ("server push", see tdemultipart) // - other strange 'internal' mimetypes like print/manager... if ( mime->is( "text/html" ) || mime->is( "text/xml" ) || diff --git a/kcontrol/filetypes/filetypesview.cpp b/kcontrol/filetypes/filetypesview.cpp index 07b023532..d641a18b0 100644 --- a/kcontrol/filetypes/filetypesview.cpp +++ b/kcontrol/filetypes/filetypesview.cpp @@ -22,7 +22,7 @@ #include "filetypedetails.h" #include "filegroupdetails.h" #include "filetypesview.h" -#include +#include FileTypesView::FileTypesView(TQWidget *p, const char *name) : TDECModule(p, name) @@ -418,7 +418,7 @@ void FileTypesView::slotDatabaseChanged() { if ( KSycoca::self()->isChanged( "mime" ) ) { - // ksycoca has new KMimeTypes objects for us, make sure to update + // tdesycoca has new KMimeTypes objects for us, make sure to update // our 'copies' to be in sync with it. Not important for OK, but // important for Apply (how to differentiate those 2?). // See BR 35071. diff --git a/kcontrol/filetypes/keditfiletype.cpp b/kcontrol/filetypes/keditfiletype.cpp index 2750e8aab..d568a43fd 100644 --- a/kcontrol/filetypes/keditfiletype.cpp +++ b/kcontrol/filetypes/keditfiletype.cpp @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #ifdef Q_WS_X11 diff --git a/kcontrol/filetypes/typeslistitem.h b/kcontrol/filetypes/typeslistitem.h index 671604961..baaff242e 100644 --- a/kcontrol/filetypes/typeslistitem.h +++ b/kcontrol/filetypes/typeslistitem.h @@ -89,7 +89,7 @@ public: bool isDirty() const; void sync(); void setup(); - void refresh(); // update m_mimetype from ksycoca when Apply is pressed + void refresh(); // update m_mimetype from tdesycoca when Apply is pressed static bool defaultEmbeddingSetting( const TQString& major ); static void reset(); diff --git a/kcontrol/iccconfig/CMakeLists.txt b/kcontrol/iccconfig/CMakeLists.txt index 74f4c6c5c..de5a8905a 100644 --- a/kcontrol/iccconfig/CMakeLists.txt +++ b/kcontrol/iccconfig/CMakeLists.txt @@ -33,6 +33,6 @@ set_source_files_properties( iccconfig.cpp PROPERTIES COMPILE_FLAGS -DKDE_CONFDI tde_add_kpart( kcm_iccconfig AUTOMOC SOURCES iccconfig.cpp iccconfigbase.ui iccconfig.skel - LINK kio-shared krandr-shared + LINK kio-shared tderandr-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/kcontrol/iccconfig/Makefile.am b/kcontrol/iccconfig/Makefile.am index 9d8aec569..098e5aae1 100644 --- a/kcontrol/iccconfig/Makefile.am +++ b/kcontrol/iccconfig/Makefile.am @@ -3,7 +3,7 @@ kde_module_LTLIBRARIES = kcm_iccconfig.la kcm_iccconfig_la_SOURCES = iccconfig.cpp iccconfigbase.ui iccconfig.skel -kcm_iccconfig_la_LDFLAGS = $(all_libraries) -lkrandr -module -avoid-version -no-undefined +kcm_iccconfig_la_LDFLAGS = $(all_libraries) -ltderandr -module -avoid-version -no-undefined kcm_iccconfig_la_LIBADD = -ltdeui $(LIB_KIO) $(LIB_XRANDR) diff --git a/kcontrol/iccconfig/iccconfig.h b/kcontrol/iccconfig/iccconfig.h index 74fe1b49d..1f8408e8f 100644 --- a/kcontrol/iccconfig/iccconfig.h +++ b/kcontrol/iccconfig/iccconfig.h @@ -27,7 +27,7 @@ #include -#include +#include #include "iccconfigbase.h" diff --git a/kcontrol/kcontrol/CMakeLists.txt b/kcontrol/kcontrol/CMakeLists.txt index 401d1d25c..b5eeb1ddd 100644 --- a/kcontrol/kcontrol/CMakeLists.txt +++ b/kcontrol/kcontrol/CMakeLists.txt @@ -44,7 +44,7 @@ set( ${target}_SRCS tde_add_tdeinit_executable( ${target} AUTOMOC SOURCES ${${target}_SRCS} - LINK khtml-shared + LINK tdehtml-shared ) tde_install_symlink( kcontrol ${BIN_INSTALL_DIR}/kinfocenter ) diff --git a/kcontrol/kcontrol/aboutwidget.cpp b/kcontrol/kcontrol/aboutwidget.cpp index 12db9e615..54db1588c 100644 --- a/kcontrol/kcontrol/aboutwidget.cpp +++ b/kcontrol/kcontrol/aboutwidget.cpp @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include #include diff --git a/kcontrol/kfontinst/kcmfontinst/KCmFontInst.h b/kcontrol/kfontinst/kcmfontinst/KCmFontInst.h index 14cb8ee58..c3d64c7b0 100644 --- a/kcontrol/kfontinst/kcmfontinst/KCmFontInst.h +++ b/kcontrol/kfontinst/kcmfontinst/KCmFontInst.h @@ -39,7 +39,7 @@ #include #include #ifdef HAVE_XFT -#include +#include #endif class KDirOperator; diff --git a/kcontrol/kfontinst/kcmfontinst/KFileFontView.cpp b/kcontrol/kfontinst/kcmfontinst/KFileFontView.cpp index 03158eff7..0d05799d9 100644 --- a/kcontrol/kfontinst/kcmfontinst/KFileFontView.cpp +++ b/kcontrol/kfontinst/kcmfontinst/KFileFontView.cpp @@ -475,7 +475,7 @@ TQDragObject *CKFileFontView::dragObject() urls.append( (*it)->url() ); if(urls.count()> 1) - pixmap = DesktopIcon("kmultiple", KIcon::SizeSmall); + pixmap = DesktopIcon("tdemultiple", KIcon::SizeSmall); if(pixmap.isNull()) pixmap = currentFileItem()->pixmap(KIcon::SizeSmall); diff --git a/kcontrol/kfontinst/viewpart/CMakeLists.txt b/kcontrol/kfontinst/viewpart/CMakeLists.txt index 630d1aff4..7fb621fec 100644 --- a/kcontrol/kfontinst/viewpart/CMakeLists.txt +++ b/kcontrol/kfontinst/viewpart/CMakeLists.txt @@ -33,7 +33,7 @@ install( FILES kfontviewpart.rc kfontviewui.rc DESTINATION ${DATA_INSTALL_DIR}/k tde_add_kpart( libkfontviewpart AUTOMOC SOURCES FontViewPart.cpp FontViewPartFactory.cpp FontPreview.cpp - LINK kfontinstprint-static kfontinst-shared kparts-shared + LINK kfontinstprint-static kfontinst-shared tdeparts-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) @@ -42,7 +42,7 @@ tde_add_kpart( libkfontviewpart AUTOMOC tde_add_executable( kfontview AUTOMOC SOURCES FontViewerApp.cpp - LINK kparts-shared + LINK tdeparts-shared DESTINATION ${BIN_INSTALL_DIR} ) diff --git a/kcontrol/kfontinst/viewpart/FontViewPart.h b/kcontrol/kfontinst/viewpart/FontViewPart.h index 21de2e074..1e4500c5a 100644 --- a/kcontrol/kfontinst/viewpart/FontViewPart.h +++ b/kcontrol/kfontinst/viewpart/FontViewPart.h @@ -29,7 +29,7 @@ // (C) Craig Drummond, 2002, 2003, 2004 //////////////////////////////////////////////////////////////////////////////// -#include +#include class TQPushButton; class TQFrame; diff --git a/kcontrol/kfontinst/viewpart/FontViewerApp.h b/kcontrol/kfontinst/viewpart/FontViewerApp.h index 0364e0bbd..150c8ccab 100644 --- a/kcontrol/kfontinst/viewpart/FontViewerApp.h +++ b/kcontrol/kfontinst/viewpart/FontViewerApp.h @@ -30,8 +30,8 @@ //////////////////////////////////////////////////////////////////////////////// #include -#include -#include +#include +#include namespace KFI { diff --git a/kcontrol/kfontinst/viewpart/Makefile.am b/kcontrol/kfontinst/viewpart/Makefile.am index 011f057ec..dc6bbd115 100644 --- a/kcontrol/kfontinst/viewpart/Makefile.am +++ b/kcontrol/kfontinst/viewpart/Makefile.am @@ -17,7 +17,7 @@ AM_CPPFLAGS = -I$(srcdir)/../lib -I$(srcdir)/../../fonts $(all_includes) $(LIBFR METASOURCES = AUTO kfontview_LDADD = $(LIB_KPARTS) -kfontview_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -lktexteditor +kfontview_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor bin_PROGRAMS = kfontview xdg_apps_DATA = kfontview.desktop diff --git a/kcontrol/kicker/CMakeLists.txt b/kcontrol/kicker/CMakeLists.txt index e0746d5b4..648df7c2a 100644 --- a/kcontrol/kicker/CMakeLists.txt +++ b/kcontrol/kicker/CMakeLists.txt @@ -77,6 +77,6 @@ set( ${target}_SRCS tde_add_kpart( ${target} AUTOMOC SOURCES ${${target}_SRCS} - LINK bgnd-static kickermain-shared kutils-shared + LINK bgnd-static kickermain-shared tdeutils-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/kcontrol/kio/CMakeLists.txt b/kcontrol/kio/CMakeLists.txt index 79be7a766..aa0d185e3 100644 --- a/kcontrol/kio/CMakeLists.txt +++ b/kcontrol/kio/CMakeLists.txt @@ -50,6 +50,6 @@ tde_add_kpart( kcm_kio AUTOMOC kproxydlg_ui.ui kcookiesmanagementdlg_ui.ui kcookiespoliciesdlg_ui.ui policydlg_ui.ui useragentdlg_ui.ui uagentproviderdlg_ui.ui manualproxy_ui.ui envvarproxy_ui.ui cache_ui.ui - LINK kio-shared kutils-shared + LINK kio-shared tdeutils-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/kcontrol/knotify/knotify.cpp b/kcontrol/knotify/knotify.cpp index bc9c63cc5..f8e97e573 100644 --- a/kcontrol/knotify/knotify.cpp +++ b/kcontrol/knotify/knotify.cpp @@ -31,7 +31,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/kcontrol/konq/CMakeLists.txt b/kcontrol/konq/CMakeLists.txt index b77e3bf93..d7b12811f 100644 --- a/kcontrol/konq/CMakeLists.txt +++ b/kcontrol/konq/CMakeLists.txt @@ -45,6 +45,6 @@ tde_add_kpart( kcm_konq AUTOMOC behaviour.cpp desktop.cpp desktopbehavior_impl.cpp previews.cpp browser.cpp main.cpp rootopts.cpp fontopts.cpp desktopbehavior.ui - LINK kio-shared kutils-shared + LINK kio-shared tdeutils-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/kcontrol/konqhtml/CMakeLists.txt b/kcontrol/konqhtml/CMakeLists.txt index 77f295aae..097ba8221 100644 --- a/kcontrol/konqhtml/CMakeLists.txt +++ b/kcontrol/konqhtml/CMakeLists.txt @@ -24,8 +24,8 @@ link_directories( ##### other data ################################ install( FILES - khtml_behavior.desktop khtml_java_js.desktop - khtml_fonts.desktop khtml_filter.desktop + tdehtml_behavior.desktop tdehtml_java_js.desktop + tdehtml_fonts.desktop tdehtml_filter.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) install( @@ -36,7 +36,7 @@ install( install( FILES uninstall.desktop DESTINATION ${APPS_INSTALL_DIR}/Settings/WebBrowsing - RENAME khtml_appearance.desktop ) + RENAME tdehtml_appearance.desktop ) ##### kcm_konqhtml (module) ##################### @@ -48,6 +48,6 @@ tde_add_kpart( kcm_konqhtml AUTOMOC jspolicies.cpp nsconfigwidget.ui policies.cpp domainlistview.cpp advancedTabOptions.ui filteropts.cpp - LINK khtml-shared + LINK tdehtml-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) diff --git a/kcontrol/konqhtml/Makefile.am b/kcontrol/konqhtml/Makefile.am index a16c324e4..151e22aff 100644 --- a/kcontrol/konqhtml/Makefile.am +++ b/kcontrol/konqhtml/Makefile.am @@ -13,9 +13,9 @@ kcm_konqhtml_la_SOURCES = advancedTabDialog.cpp htmlopts.cpp jsopts.cpp \ filteropts.cpp kcm_konqhtml_la_LDFLAGS = $(all_libraries) -module -avoid-version -no-undefined -kcm_konqhtml_la_LIBADD = -lkhtml -ltdeui +kcm_konqhtml_la_LIBADD = -ltdehtml -ltdeui -xdg_apps_DATA = khtml_behavior.desktop khtml_java_js.desktop khtml_fonts.desktop khtml_filter.desktop +xdg_apps_DATA = tdehtml_behavior.desktop tdehtml_java_js.desktop tdehtml_fonts.desktop tdehtml_filter.desktop messages: rc.cpp $(XGETTEXT) *.cpp -o $(podir)/kcmkonqhtml.pot @@ -23,4 +23,4 @@ messages: rc.cpp install-data-local: uninstall.desktop $(mkinstalldirs) $(DESTDIR)$(kde_appsdir)/Settings/WebBrowsing $(INSTALL_DATA) $(srcdir)/uninstall.desktop $(DESTDIR)$(kde_appsdir)/Settings/WebBrowsing/nsplugin.desktop - $(INSTALL_DATA) $(srcdir)/uninstall.desktop $(DESTDIR)$(kde_appsdir)/Settings/WebBrowsing/khtml_appearance.desktop + $(INSTALL_DATA) $(srcdir)/uninstall.desktop $(DESTDIR)$(kde_appsdir)/Settings/WebBrowsing/tdehtml_appearance.desktop diff --git a/kcontrol/konqhtml/appearance.cpp b/kcontrol/konqhtml/appearance.cpp index 78619d818..163bdd4f4 100644 --- a/kcontrol/konqhtml/appearance.cpp +++ b/kcontrol/konqhtml/appearance.cpp @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include #include @@ -320,15 +320,15 @@ void KAppearanceOptions::load() void KAppearanceOptions::load( bool useDefaults ) { - TDEConfig khtmlrc("khtmlrc", true, false); + TDEConfig tdehtmlrc("tdehtmlrc", true, false); m_pConfig->setReadDefaults( useDefaults ); - khtmlrc.setReadDefaults( useDefaults ); + tdehtmlrc.setReadDefaults( useDefaults ); -#define SET_GROUP(x) m_pConfig->setGroup(x); khtmlrc.setGroup(x) -#define READ_NUM(x,y) m_pConfig->readNumEntry(x, khtmlrc.readNumEntry(x, y)) -#define READ_ENTRY(x,y) m_pConfig->readEntry(x, khtmlrc.readEntry(x, y)) -#define READ_LIST(x) m_pConfig->readListEntry(x, khtmlrc.readListEntry(x)) +#define SET_GROUP(x) m_pConfig->setGroup(x); tdehtmlrc.setGroup(x) +#define READ_NUM(x,y) m_pConfig->readNumEntry(x, tdehtmlrc.readNumEntry(x, y)) +#define READ_ENTRY(x,y) m_pConfig->readEntry(x, tdehtmlrc.readEntry(x, y)) +#define READ_LIST(x) m_pConfig->readListEntry(x, tdehtmlrc.readListEntry(x)) SET_GROUP(m_groupname); fSize = READ_NUM( "MediumFontSize", 12 ); @@ -348,7 +348,7 @@ void KAppearanceOptions::load( bool useDefaults ) if (m_pConfig->hasKey("Fonts")) fonts = m_pConfig->readListEntry( "Fonts" ); else - fonts = khtmlrc.readListEntry( "Fonts" ); + fonts = tdehtmlrc.readListEntry( "Fonts" ); while (fonts.count() < 7) fonts.append(TQString::null); diff --git a/kcontrol/konqhtml/htmlopts.cpp b/kcontrol/konqhtml/htmlopts.cpp index 153692082..ada8f31a6 100644 --- a/kcontrol/konqhtml/htmlopts.cpp +++ b/kcontrol/konqhtml/htmlopts.cpp @@ -230,13 +230,13 @@ void KMiscHTMLOptions::load() void KMiscHTMLOptions::load( bool useDefaults ) { - TDEConfig khtmlrc("khtmlrc", true, false); - khtmlrc.setReadDefaults( useDefaults ); + TDEConfig tdehtmlrc("tdehtmlrc", true, false); + tdehtmlrc.setReadDefaults( useDefaults ); m_pConfig->setReadDefaults( useDefaults ); -#define SET_GROUP(x) m_pConfig->setGroup(x); khtmlrc.setGroup(x) -#define READ_BOOL(x,y) m_pConfig->readBoolEntry(x, khtmlrc.readBoolEntry(x, y)) -#define READ_ENTRY(x) m_pConfig->readEntry(x, khtmlrc.readEntry(x)) +#define SET_GROUP(x) m_pConfig->setGroup(x); tdehtmlrc.setGroup(x) +#define READ_BOOL(x,y) m_pConfig->readBoolEntry(x, tdehtmlrc.readBoolEntry(x, y)) +#define READ_ENTRY(x) m_pConfig->readEntry(x, tdehtmlrc.readEntry(x)) // *** load *** diff --git a/kcontrol/konqhtml/javaopts.cpp b/kcontrol/konqhtml/javaopts.cpp index 68b20fd2f..617f79f6f 100644 --- a/kcontrol/konqhtml/javaopts.cpp +++ b/kcontrol/konqhtml/javaopts.cpp @@ -17,7 +17,7 @@ #include #include #include -#include +#include #include #include diff --git a/kcontrol/konqhtml/jspolicies.h b/kcontrol/konqhtml/jspolicies.h index 7f3e400fa..3f434e682 100644 --- a/kcontrol/konqhtml/jspolicies.h +++ b/kcontrol/konqhtml/jspolicies.h @@ -25,7 +25,7 @@ #include #include -#include +#include #include "policies.h" diff --git a/kcontrol/konqhtml/khtml_behavior.desktop b/kcontrol/konqhtml/khtml_behavior.desktop deleted file mode 100644 index a4cb670ba..000000000 --- a/kcontrol/konqhtml/khtml_behavior.desktop +++ /dev/null @@ -1,231 +0,0 @@ -[Desktop Entry] -Type=Application -DocPath=kcontrol/khtml/index.html#kbrowse-html -Icon=konqueror -Exec=kcmshell khtml_behavior - - -X-TDE-Library=konqhtml -X-TDE-FactoryName=khtml_behavior - -Name=Web Behavior -Name[af]=Web Gedrag -Name[ar]=سلوك الشبكة -Name[az]=Veb Davranışı -Name[be]=Паводзіны ў Сеціве -Name[bg]=Уеб браузър -Name[bn]=ওয়েব আচরণ -Name[br]=Emzalc'h ar gwiad -Name[bs]=Ponašanje web preglednika -Name[ca]=Comportament web -Name[cs]=Chování na webu -Name[csb]=Przezéranié WWW -Name[cy]=Ymddygiad Gwê -Name[da]=WWW-Opførsel -Name[de]=Webverhalten -Name[el]=Συμπεριφορά ιστού -Name[en_GB]=Web Behaviour -Name[eo]=TTT-Konduto -Name[es]=Comportamiento -Name[et]=Veebilehitseja käitumine -Name[eu]=Web portaera -Name[fa]=رفتار وب -Name[fi]=Verkkokäyttäytyminen -Name[fr]=Comportement web -Name[fy]=Webgedrach -Name[ga]=Oibriú Lín -Name[gl]=Comportamento Web -Name[he]=התנהגות רשת -Name[hi]=वेब बर्ताव -Name[hr]=Web ponašanje -Name[hu]=Webes működés -Name[is]=Vefhegðun -Name[it]=Comportamento Web -Name[ja]=ウェブでの挙動 -Name[ka]=წევ ქცევა -Name[kk]=Веб қасиеттері -Name[km]=ឥរិយាបថ​បណ្ដាញ -Name[ko]=웹 행동 -Name[lt]=Žiniatinklio elgsena -Name[lv]=Tīmekļa izturēšanās -Name[mk]=Веб-однесување -Name[mn]=Вэб байдал -Name[ms]=Kelakuan Web -Name[mt]=Imġieba web -Name[nb]=Nettoppførsel -Name[nds]=Bedregen in't Nett -Name[ne]=वेभ व्यवहार -Name[nl]=Webgedrag -Name[nn]=Vevåtferd -Name[pa]=ਵੈਬ ਵਿਹਾਰ -Name[pl]=Przeglądanie WWW -Name[pt]=Comportamento na Web -Name[pt_BR]=Comportamento Web -Name[ro]=Comportament web -Name[ru]=Поведение Веб -Name[rw]=Imyitwarire Urubugamakuru -Name[se]=Webláhtten -Name[sk]=Správanie WWW -Name[sl]=Spletno obnašanje -Name[sr]=Веб понашање -Name[sr@Latn]=Veb ponašanje -Name[sv]=Nätbeteende -Name[ta]=வலைப் பண்புகள் -Name[te]=వెబ్ ప్రవర్తన -Name[tg]=Рафтори Вэб -Name[th]=พฤติกรรมของเว็บ -Name[tr]=Web Davranışı -Name[tt]=Web Çağılışı -Name[uk]=Поведінка Навігатора -Name[uz]=Veb xususiyatlari -Name[uz@cyrillic]=Веб хусусиятлари -Name[vi]=Cách hoạt động của duyệt mạng -Name[wa]=Dujhance waibe -Name[zh_CN]=Web 行为 -Name[zh_TW]=網頁行為 -Comment=Configure the browser behavior -Comment[af]=Konfigureer die blaaier gedrag -Comment[ar]=إعداد سلوك المتصفح -Comment[be]=Настаўленні паводзінаў вандроўніка -Comment[bg]=Настройване на уеб браузъра -Comment[bn]=ব্রাউজারের আচরণ কনফিগার করুন -Comment[br]=Kefluniañ emzalc'h ar furcher -Comment[bs]=Podesite ponašanje web preglednika -Comment[ca]=Configura el comportament del navegador -Comment[cs]=Nastavení chování prohlížeče -Comment[csb]=Kònfigùracëjô zachòwaniô przezérnika -Comment[cy]=Ffurfweddu ymddygiad y porydd -Comment[da]=Indstil browserens opførsel -Comment[de]=Verhalten des Webbrowsers festlegen -Comment[el]=Ρυθμίστε τη συμπεριφορά του περιηγητή -Comment[en_GB]=Configure the browser behaviour -Comment[eo]=Agordas la konduton de la TTT-legilo -Comment[es]=Configuración del comportamiento del navegador -Comment[et]=Konquerori veebilehitseja käitumine -Comment[eu]=Konfiguratu arakatzailearen portaera -Comment[fa]=پیکربندی رفتار مرورگر -Comment[fi]=Selaimen asetukset -Comment[fr]=Configuration du comportement du navigateur -Comment[fy]=Hjir kinne jo it gedrach fan de webblêder ynstelle -Comment[ga]=Cumraigh oibriú an bhrabhsálaí -Comment[gl]=Configurar o comportamento do navegador -Comment[he]=שינוי הגדרות פעולת הדפדפן -Comment[hi]=वेब बर्ताव कॉन्फ़िगर करें -Comment[hr]=Konfiguriranje ponašanja preglednika -Comment[hu]=A Konqueror webböngésző részének működési jellemzői -Comment[is]=Stilla hegðan vafrara -Comment[it]=Configura il comportamento del browser -Comment[ja]=ウェブブラウザの挙動を設定 -Comment[ka]=ბრაუზერის ქცევის კონფიგურაცია -Comment[kk]=Браузер қасиеттерін баптау -Comment[km]=កំណត់​រចនាសម្ព័ន្ធ​ឥរិយាបថ​កម្មវិធី​រុករក​បណ្ដាញ -Comment[ko]=브라우저 행동 설정 -Comment[lo]=ປັບແຕ່ງເຊີເວີພຣັອກຊີ -Comment[lt]=Konfigūruoti naršyklės elgesį -Comment[lv]=Konfigurēt pārlūka izturešanos -Comment[mk]=Конфигурирајте го однесувањето на прелистувачот -Comment[mn]=Вэб-Хөтөчийн байдлыг тогтоох -Comment[ms]=Konfigur kalakuan pelayar -Comment[mt]=Ikkonfigura l-imġieba tal-browser -Comment[nb]=Tilpass nettleserens oppførsel -Comment[nds]=Dat Bedregen vun den Nettkieker instellen -Comment[ne]=ब्राउजरको व्यवहार कन्फिगर गर्नुहोस् -Comment[nl]=Hier kunt u het gedrag van de webbrowser instellen -Comment[nn]=Oppsett av nettlesaråtferda -Comment[nso]=Beakanya maitshwaro a seinyakisi -Comment[pa]=ਝਲਕਾਰਾ ਵਿਹਾਰ ਸੰਰਚਨਾ -Comment[pl]=Konfiguracja zachowania przeglądarki -Comment[pt]=Configurar o comportamento do navegador -Comment[pt_BR]=Configura o comportamento do navegador -Comment[ro]=Configurează comportamentul de navigator de web -Comment[ru]=Настройка поведения браузера -Comment[rw]=Kuboneza imyitwarire ya mucukumbuzi -Comment[se]=Heivet mo fierpmádatlogan láhtte -Comment[sk]=Nastavenie správania prehliadača -Comment[sl]=Nastavitve obnašanja brskalnika -Comment[sr]=Подешавање понашања прегледача -Comment[sr@Latn]=Podešavanje ponašanja pregledača -Comment[sv]=Anpassa webbläsarens beteende -Comment[ta]=உலாவியின் இயக்கத்தை வடிவமை -Comment[tg]=Танзими рафтори тафсир -Comment[th]=ปรับแต่งพฤติกรมของบราวเซอร์ -Comment[tr]=Web tarayıcı davranışlarını yapılandır -Comment[tt]=Girgeç çağılışın caylaw -Comment[uk]=Налаштування поведінки навігатора -Comment[uz]=Brauzerning xususiyatlarini moslash -Comment[uz@cyrillic]=Браузернинг хусусиятларини мослаш -Comment[ven]=Dzudzanyani maitele a burausa -Comment[vi]=Cấu hình cách hoạt động của trình duyệt -Comment[wa]=Apontyî l' dujhance do betchteu waibe -Comment[xh]=Qwalasela indlela umkhangeli zincwadi aziphatha ngayo -Comment[zh_CN]=配置浏览器行为 -Comment[zh_TW]=設定瀏覽器行為 -Comment[zu]=Hlanaganisela ukuziphatha komcingi -Keywords=konqueror,kfm,browser,html,web,www,fonts,colours,colors,java,javascript,cursor,links,images,charsets,character sets,encoding -Keywords[az]=konqueror,kfm,səyyah,html,şəbəkə,www,yazı növləri,rənglər,java,javascript,hərf,hərf dəstəsi,kodlama,bağlantılar,rəsmlər,ox -Keywords[be]=Вандроўнік,Сеціва,Шрыфты,Колеры,Сцэнар,Курсор,Спасылкі,Відарысы,Малюнкі,Знаказбор,Знаказборы,konqueror,kfm,browser,html,web,www,fonts,colours,colors,java,javascript,cursor,links,images,charsets,character sets,encoding -Keywords[bg]=браузър, страници, Интернет, уеб, konqueror,kfm, browser, html, web, www, fonts, colours, colors, java, javascript, cursor, links, images, charsets, character sets, encoding -Keywords[bs]=konqueror,kfm,browser,html,web,www,fonts,colours,colors,java,javascript,cursor,links,images,charsets,character sets,encoding,kodni raspored,preglednik,fontovi,boje,font,boja,kursor,link,linkovi,slike,slika,skup znakova -Keywords[ca]=konqueror,kfm,navegador,html,web,www,lletres,colorits,colors,java,javascript,cursor,enllaços,imatges,caràcters,joc de caràcters,codificació -Keywords[cs]=Konqueror,Kfm,Prohlížeč,HTML,Web,WWW,Písma,Barvy,Java,JavaScript, Kurzor,Odkazy,Obrázky,Znakové sady,Kódování -Keywords[csb]=konqueror,kfm,przezérnik,html,séc www,fòntë,farwë,java,javascript,kùrsor,lënczi,òbrôzczi,zestôw merków,kòdowanié -Keywords[cy]=konqueror,kfm,porydd,html,gw?,www,ffontiau,lliwiau,java,javascript,cyrchydd,cysylltiadau,delweddau,setiau nodau,nod,amgodiad -Keywords[da]=konqueror,kfm,browser,HTML,net,skrifttyper,farver,java,javascript,markør,henvisninger,billeder,tegnsæt,indkodning -Keywords[de]=Konqueror,Kfm,Browser,HTML,Web,WWW,Schriften,Farben,Java,JavaScript,Cursor,Links,Verknüpfungen,Bilder,Zeichensätze,Encoding -Keywords[el]=konqueror,kfm,περιηγητής,html,ιστός,www,γραμματοσειρές,χρώματα,χρώματα,java,javascript,δρομέας,δεσμοί,εικόνες,σύνολα χαρακτήρων,σύνολα χαρακτήρων,κωδικοποίηση -Keywords[en_GB]=konqueror,kfm,browser,html,web,www,fonts,colours,java,javascript,cursor,links,images,charsets,character sets,encoding -Keywords[eo]=Konkeranto,Kfm,TTT,HTML,WWW,tiparo,koloro,Javo,Javoskripto,kursoro,kursilo,ligo,referenco,bildo,signaro,kodo -Keywords[es]=konqueror,kfm,navegador,html,web,www,tipo de letra,colores,java,javascript,cursor,enlaces,imágenes,mapas de caracteres,codificación -Keywords[et]=konqueror,kfm,veebilehitseja,html,veeb,www,fondid,värvid,java,javascript,kursor,viidad,lingid,pildid,kooditabel,kodeering -Keywords[eu]=konqueror,kfm,arakatzailea,html,web,www,letra-tipoak,koloreak,java,javascript,kurtsorea,linkak,irudiak,karaktere-multzoak,karaktereen hobespenak,kodeketa -Keywords[fa]=konqueror، kfm، مرورگر، زنگام، وب، www، قلمها، رنگها، رنگها، جاوا، جاوااسکریپت، مکان‌نما، پیوندها، تصاویر، نوسه‌گان، نویسه‌گان، کدبندی -Keywords[fi]=konqueror,kfm,selain,html,web,www,kirjasimet,värit,java,javascript,osoitin,linkit,kuvat,merkistöt,koodaus -Keywords[fr]=konqueror,kfm,navigateur,html,web,www,polices,couleurs,java,javascript,curseur,liens,images,jeu de caractères,caractères,codage,encodage -Keywords[fy]=konqueror,kfm,browser,blêder,html,web,www,fonts,lettertypen,kleuren,java,javascript,javaskript,cursor,links,rinnerke,skeakels,ôfbyldingen,charsets,tekensets,karaktersamling,kodearring,ynternet -Keywords[ga]=konqueror,kfm,brabhsálaí,html,gréasán,www,clófhoirne,clónna,dathanna,java,javascript,cúrsóir,naisc,nascanna,íomhánna,tacair charachtair,ionchódú -Keywords[gl]=konqueror,kfm,navegador,html,web,www,fontes,cores,java,javascript,ponteiro,ligazóns,imaxes,carácteres,conxunto de carácteres,codificación -Keywords[he]=גופנים,צבעים,Java,ג'אווה,מצביע,קישורים,תמונות,מערכי תווים,קידוד,WWW,רשת, HTML,דפדפן,KFM,Konqueror, kfm,browser,html,web,www,fonts,colours,colors,java,javascript,cursor,links, images,charsets,character sets,encoding -Keywords[hi]=कॉन्करर,केएफएम,ब्राउज़र,एचटीएमएल,वेब,डब्ल्यूडब्ल्यूडब्ल्यू,फ़ॉन्ट्स,रंग,जावा,जावास्क्रिप्ट,संकेतक,लिंक्स,छवि,अक्षर माला,अक्षरमाला,एनकोडिंग -Keywords[hr]=konqueror,kfm,browser,html,web,www,fonts,colours,colors,java,javascript,cursor,links,images,charsets,character sets,encoding,preglednik,fontovi,boja,boje,pokazivač,veze,slike,znakovi,kodiranje,kodiranje zakova -Keywords[hu]=Konqueror,KFM,böngésző,HTML,web,WWW,betűtípusok,színek,Java,JavaScript,egérmutató,linkek,képek,karakterkészletek,kódolás -Keywords[is]=vafri,vefur,vefurinn,vefsíður,letur,litir,kóðun,stafatafla,bendill,myndir,www,html,stafir -Keywords[it]=konqueror,kfm,browser,html,web,www,caratteri,colori,java,javascript,cursore,collegamenti,link,immagini,set di caratteri,charset,codifica -Keywords[ja]=konqueror,kfm,ブラウザ,html,web,ウェブ,www,フォント,色,色,java,javascript,カーソル,リンク,画像,文字セット,文字セット,エンコーディング -Keywords[km]=konqueror,kfm,កម្មវិធី​រុករក,html,បណ្ដាញ,វើលវ៉ាយវិប,ពុម្ពអក្សរ,ពណ៌,java,javascript,ទស្សន៍ទ្រនិច,តំណ,រូបភាព,សំណុំ​តួអក្សរ, -Keywords[lt]=konqueror,kfm,browser,html,web,www,fonts,colours,colors,java,javascript,cursor,links,images,charsets,character sets,encoding,narašymas,html,tinklalapis,tinklapis,www,šriftai,koloritai,spalvos,,java,java scebarijus,žymeklis,nuorodos,paveikslai,simboliai,koduotė,simbolių rinkinys -Keywords[lv]=iekarotājs,kfm,pārlūks,html,web,www,fonti,krāsojums,krāsas,java,javaskripts,kursors,saites,attēli,simbolukomplekti,simbolu komplekti,kodējums -Keywords[mk]=konqueror,kfm,browser,html,web,www,fonts,colours,colors,java,javascript,cursor,links,images,charsets,character sets,encoding,прелистувач,веб,фонтови,бои,курсор,врски,слики,знаковни множества,кодирање -Keywords[mn]=Конкюрор,Kfm,Хөтөч,HTML,Вэб,WWW,Бичиг,Өнгө,Java,JavaScript,Түүчээ,Холбоосууд,Links,Зураг,Тэмдэгт олонлог,Кодчилол -Keywords[nb]=konqueror,kfm,nettleser,html,nettet,www,veven,verdensveven,skriftyper,farger,java,javaskript,markør,tegnsett,koding,bilde,skriptspråk,Internett -Keywords[nds]=Konqueror,kfm,Browser,Nettkieker,HTML,web,www,Schriftoorden,Klören,Klöör,Java,JavaScript,Cursor,Links,Biller,Tekensett,Tekensetten,Koderen -Keywords[ne]=कन्क्वेरर, kfm, ब्राउजर,html, वेब,www, फन्ट, रङ, रङहरू, जाभा, जाभास्क्रिप्ट, कर्सर, लिङ्क, छवि, चारसेट, क्यारेक्टर सेट, सङ्केतन -Keywords[nl]=konqueror,kfm,browser,html,web,www,fonts,lettertypen,kleuren,,java,,javascript,cursor,links,koppelingen,afbeeldingen,charsets,tekensets,tekenverzamelingen,codering,internet -Keywords[nn]=Konqueror,KFM,nettlesar,HTML,verdsveven,WWW,skrifter,fargar,Java,JavaScript,skriptspråk,Internett,peikar,lenkjer,bilete,teiknsett,koding,teiknkoding -Keywords[nso]=konqueror,kfm,seinyakisi,html,web,www,difonto,mebala,mebala,java,setlankana sa java,cursor,dikgokaganyi,diponagalo,charsets,dipeakanyo tsa dihlaka,go khouta -Keywords[pa]=ਕੋਨਕਿਉਰਰ,kfm,ਝਲਕਾਰਾ,html,web,www,ਫੋਂਟ, ਰੰਗ, ਜਾਵਾ, ਜਾਵਾ ਸਕ੍ਰਿਪਟ, ਕਰਸਰ, ਸਬੰਧ, ਚਿੱਤਰ, ਅੱਖਰ-ਸੈਟ, ਇੰਕੋਡਿੰਗ -Keywords[pl]=konqueror,kfm,przeglądarka,html,sieć www,czcionki,kolory,java,javascript,kursor,linki,odnośniki,obrazki,zestawy znaków,kodowanie -Keywords[pt]=konqueror,kfm,navegador,html,web,www,tipos de letra,fontes,cores,java,javascript,cursor,ligações,imagens,charsets,mapas de caracteres,codificação -Keywords[pt_BR]=Konqueror,kfm,navegador,html,web,WWW,fontes,cores,java,javascript, cursor,ligações,imagens,conjuntos de caracteres,codificação -Keywords[ro]=konqueror,kfm,navigator,browser,html,web,www,font,culori,java,javascript,cursor,legături,imagini,set de caractere,codare -Keywords[rw]=Konqueror,kfm,mucukumbuzi,html,urubuga,www,imyandikire, amabara,amabara,java,javascript,inyoborayandika,amahuza,itsinda-nyuguti,amatsinda y'inyuguti,gusobeka -Keywords[se]=konqueror,kfm,fierpmádatlogan,html,web,WWW,fonttat,ivnnit,java,javascript,seaván,liŋkkat,govat,mearkarájut,koden -Keywords[sk]=konqueror,kfm,prehliadač,html,web,www,písma,farby,java,javascript,kurzor,odkazy,obrázky,znakové sady,kódovanie -Keywords[sl]=konqueror,kfm,brskalnik,html,splet,www,pisave,barve,java,javascript,kurzor,povezave,slike,nabori znakov,znakovni nabori,kodiranje -Keywords[sr]=konqueror,kfm,browser,html,web,www,fonts,colours,colors,java,javascript,cursor,links,images,charsets,character sets,encoding,прегледач,веб,фонтови,боје,показивач,везе,слике,скупови знакова,кодирање -Keywords[sr@Latn]=konqueror,kfm,browser,html,web,www,fonts,colours,colors,java,javascript,cursor,links,images,charsets,character sets,encoding,pregledač,veb,fontovi,boje,pokazivač,veze,slike,skupovi znakova,kodiranje -Keywords[sv]=konqueror,kfm,webbläsare,html,webb,www,teckensnitt,färger,java,javaskript,länkar,bilder,kodning,teckenuppsättningar -Keywords[ta]=கான்கொரர்,kfm,உலாவி,html,வலை,www,எழுத்துருக்கள்,வண்ணங்கள்,வண்ணங்கள்,ஜாவா,ஜாவா எழுத்துரு,நிலைக்காட்டி,இணைப்புகள்,பிம்பங்கள்,charsets,சொல் அமைப்புகள்,குறியீடு -Keywords[th]=คอนเควอร์เรอร์,kfm,บราวเซอร์,html,เว็บ,www,แบบอักษร,สี,จาวา,จาวาสคริปต์,เคอร์เซอร์,ลิงค์,ภาพ,ชุดรหัสอักขระ,ชุดรหัสอักขระ,การเข้ารหัส -Keywords[tr]=konqueror,kfm,tarayıcı,html,web,www,yazı tipleri,renkler,java,javascript,karakter,karakter seti,kodlama,bağlantılar,resimler,imleç -Keywords[uk]=konqueror,kfm,навігатор,html,шрифти,web,Тенета,кольори,java,javascript,курсор,www,посилання,зображення,набори символів,кодування -Keywords[uz]=konqueror,kfm,html,www,brauzer,veb,shriftlar,belgilar toʻplami,kodlash usuli,java,javascript,bogʻlar,kursor,ranglar -Keywords[uz@cyrillic]=konqueror,kfm,html,www,браузер,веб,шрифтлар,белгилар тўплами,кодлаш усули,java,javascript,боғлар,курсор,ранглар -Keywords[ven]=konqueror,kfm,buronza,html,webu,www,dzifontu,mivhala,mivhala,java,manwalwa a java,cursor,vhukwamani,zwifanyiso,tshasete,mavhekanyele a muanewa,uinikhouda -Keywords[vi]=konqueror,kfm,trình duyệt,html,web,www,phông chữ,màu sắc,màu,java,javascript,con trỏ,liên kết,hình ảnh,ký tự,tập ký tự,mã ký tự -Keywords[wa]=konqueror,kfm,betchteu,html,waibe,www,fontes,coleurs,java,javascript,cursoe,loyéns,imådjes,ecôdaedjes -Keywords[xh]=konqueror,kfm,umkhangeli zincwadi,html,web,www,imigca,imibala,imibala,java,okushicilelwe phantsi kwe java,isalatisi,amakhonkco,imifanekiso,icharsets,amaqela abasebenzi, encoding -Keywords[zh_CN]=konqueror,kfm,browser,html,web,www,fonts,colours,colors,java,javascript,cursor,links,images,charsets,character sets,encoding,浏览,字体,颜色,光标,链接,图像,字符集,编码 -Keywords[zh_TW]=konqueror,kfm,browser,html,web,www,fonts,colours,colors,java,javascript,cursor,links,images,charsets,character sets,encoding,瀏覽,字型,色彩,顏色,游標,連結,影像,字元,字集,編碼 -Keywords[zu]=konqueror,kfm,umcingi,html,web,www,izinhlobo zamagama, imibala,imibala,java,javascripy,inkomba,izixhumanisi,izithombe,charsets, amaqoqo ezimpawu,ukubhala ngekhodi - -Categories=Qt;TDE;X-TDE-settings-webbrowsing; diff --git a/kcontrol/konqhtml/khtml_filter.desktop b/kcontrol/konqhtml/khtml_filter.desktop deleted file mode 100644 index ac56dcc15..000000000 --- a/kcontrol/konqhtml/khtml_filter.desktop +++ /dev/null @@ -1,145 +0,0 @@ -[Desktop Entry] -Type=Application -DocPath=kcontrol/khtml/index.html#khtml-adblock -Icon=filter -Exec=kcmshell khtml_filter - -X-TDE-Library=konqhtml -X-TDE-FactoryName=khtml_filter - -Name=AdBlocK Filters -Name[af]=Advertensie blok filters -Name[ar]=مرشحات مكافحة الدعايات -Name[be]=Фільтры AdBlocK -Name[bg]=Блокиране на реклами -Name[bn]=অ্যাড্-ব্লক ফিল্টার -Name[br]=Siloù AdBlocK -Name[bs]=AdBlocK filteri -Name[ca]=Filtres de bloqueig publicitari -Name[cs]=AdBlocK filtry -Name[csb]=Flitrë AdBlocK -Name[da]=AdBlocK filtre -Name[de]=Werbefilter -Name[el]=Φίλτρα AdBlocK -Name[eo]=ReklamBloK Filtroj -Name[es]=Filtros de anuncios (AdBlock) -Name[et]=AdBlocK filtrid -Name[eu]=AdBlocK iragazkiak -Name[fa]=پالایه‌های AdBlocK -Name[fi]=AdBlocK-suotimet -Name[fr]=Filtres AdBlocK -Name[fy]=AdBlock-filters -Name[ga]=Scagairí AdBlockK -Name[gl]=Filtros AdBlocK -Name[he]=מסנני חלונות מקופצים (AdBlock) -Name[hr]=AdBlocK filtri -Name[hu]=AdBlocK szűrők -Name[is]=AdBlocK síur -Name[it]=Filtri AdBlocK -Name[ja]=AdBlocK フィルタ -Name[ka]=AdBlocK ფილტრები -Name[kk]=AdBlocK сүзгілері -Name[km]=តម្រង AdBlocK -Name[ko]=AdBlocK 필터 -Name[lt]=AdBlocK filtrai -Name[mk]=AdBlocK-филтри -Name[ms]=Penapis AdBlocK -Name[nb]=Reklamefiltere -Name[nds]=Warvenfilter -Name[ne]=AdBlocK फिल्टर -Name[nl]=AdBlock-filters -Name[nn]=Reklamefilter -Name[pa]=AdBlocK ਫਿਲਟਰ -Name[pl]=Flitry AdBlocK -Name[pt]=Filtros do AdBlock -Name[pt_BR]=Filtros AdBlocK -Name[ro]=Filtre AdBlocK -Name[ru]=Фильтры AdBlocK -Name[rw]=Muyunguruzi AdBlocK -Name[se]=AdBlocK-sillit -Name[sk]=AdBlock filtre -Name[sl]=Filtri AdBlocK -Name[sr]=AdBlocK-ови филтери -Name[sr@Latn]=AdBlocK-ovi filteri -Name[sv]=Reklamblockeringsfilter -Name[te]=ఏడ్ బ్లాక్ గలనులు -Name[tg]=Филтрҳои AdBlocK -Name[th]=ตัวกรองของ AdBlocK -Name[tr]=AdBlocK Filtreleri -Name[tt]=Reklam Sözgeçläre -Name[uk]=Фільтри AdBlocK -Name[uz]=AdBlocK filterlari -Name[uz@cyrillic]=AdBlocK филтерлари -Name[vi]=Lọc Quảng cáo -Name[wa]=Passetes AdBlocK -Name[zh_CN]=广告拦截过滤器 -Name[zh_TW]=AdBlocK 過濾器 - -Comment=Configure Konqueror AdBlocK filters -Comment[af]=Konfigureer die weg Konqueror raporte self -Comment[ar]=إعداد مرشحات Konqueror لمكافحة الدعايات -Comment[be]=Настаўленні фільтраў AdBlocK для Konqueror -Comment[bg]=Настройване на филтрите за блокиране на реклами -Comment[bn]=কনকরার-এ বিজ্ঞাপন আটকাতে ব্যবহৃত ফিল্টার কনফিগার করুন -Comment[br]=Kefluniañ siloù AdBlocK Konqueror -Comment[bs]=Podesite Konqueror AdBlocK filtere -Comment[ca]=Configura els filtres de bloqueig publicitari de Konqueror -Comment[cs]=Zde můžete nastavit blokování reklam -Comment[csb]=Kònfigùracëjô filtrów AdBlocK Konquerora -Comment[da]=Indstil Konquerors adblock filtre -Comment[de]=Hier können Sie Einstellungen zum Werbefilter vornehmen -Comment[el]=Ρυθμίστε τα φίλτρα AdBlocK του Konqueror -Comment[eo]=Agordo de Konkeranto-ReklamBloK filtroj -Comment[es]=Configuración de los filtros de anuncios de Konqueror -Comment[et]=Konqueror AdBlocK filtrite seadistamine -Comment[eu]=Konfiguratu Konqueror AdBlock iragazkiak -Comment[fa]=پیکربندی پالایه‌های AdBlocK Konqueror -Comment[fi]=Aseta Konquerorin AdBlocK-suotimia -Comment[fr]=Configurer les filtres AdBlocK de Konqueror -Comment[fy]=Konfigurearje de filters om reklame te warjen -Comment[ga]=Cumraigh na Scagairí AdBlocK Konqueror -Comment[gl]=Configurar os filtros AdBlocK en Konqueror -Comment[he]=הגדרת מסנני חלונות מקופצים (AdBlock) -Comment[hr]=Konfiguriranje Konqueror AdBlocK filtara -Comment[hu]=A Konqueror AdBlocK szűrőinek beállítása -Comment[is]=Stilla Konqueror AdBlocK síur -Comment[it]=Configura i filtri AdBlock per Konqueror -Comment[ja]=Konqueror AdBlocK フィルタの設定 -Comment[ka]=Configure Konqueror AdBlocK ფილტრები -Comment[kk]=Konqueror AdBlocK сүзгілерді баптау -Comment[km]=កំណត់​រចនាសម្ព័ន្ធតម្រង​របស់ Konqueror AdBlocK -Comment[ko]=Konqueror AdBlocK 필터 설정 -Comment[lt]=Konfigūruoti Konqueror AdBlocK filtrus -Comment[mk]=Конфигурирајте ги AdBlocK-филтрите на Konqueror -Comment[ms]=Konfigur penapis AdBlocK Konqueror -Comment[nb]=Tilpass Konquerors reklamefiltere -Comment[nds]=Hier kannst Du Konquerors Warvenfilter instellen -Comment[ne]=कन्क्वेरर AdBlocK फिल्टर कन्फिगर गर्नुहोस् -Comment[nl]=Filters voor blokkeren van advertenties in Konqueror instellen -Comment[nn]=Tilpass reklamefiltera til Konqueror -Comment[pa]=ਕੋਨਕਿਉਰਰ ਐਡਬਲਾਕ ਫਿਲਟਰ ਸੰਰਚਨਾ -Comment[pl]=Konfiguracja filtrów AdBlocK Konquerora -Comment[pt]=Configurar os filtros AdBlock do Konqueror -Comment[pt_BR]=Configura os filtros AdBlocK no Konqueror -Comment[ro]=Configurează filtrele AdBlocK pentru Konqueror -Comment[ru]=Настройка блокирования рекламы для Konqueror -Comment[rw]=Kuboneza muyunguruzi AdBlocK Konqueror -Comment[se]=Heivet Konqueror:a AdBlocK-silliid -Comment[sk]=Nastavenie AdBlock filtrov pre Konqueror -Comment[sl]=Nastavitev filtrov AdBlocK za Konqueror -Comment[sr]=Подешавање AdBlock-ових филтера за Konqueror -Comment[sr@Latn]=Podešavanje AdBlock-ovih filtera za Konqueror -Comment[sv]=Anpassa Konquerors reklamblockeringsfilter -Comment[tg]=Танзимоти қулфи рекламаи Ad барои Konqueror -Comment[th]=ปรับแต่งตัวกรอง AdBlocK ของคอนเควอร์เรอร์ -Comment[tr]=Konqueror'ın AdBlocK Filtrelerini yapılandır -Comment[tt]=Konqueror'dağı reklam kistergeçneñ caylaw -Comment[uk]=Налаштувати фільтри блокування реклами для Konqueror -Comment[uz]=Konqueror uchun AdBlocK filterlarini moslash -Comment[uz@cyrillic]=Konqueror учун AdBlocK филтерларини мослаш -Comment[vi]=Cấu hình cách Konqueror lọc bỏ các quảng cáo khó chịu -Comment[wa]=Apontyî es passetes AdBlocK di Konqueror -Comment[zh_CN]=配置 Konqueror 的广告拦截过滤器 -Comment[zh_TW]=設定 Konqueror AdBlocK 過濾器 - -Categories=Qt;TDE;X-TDE-settings-webbrowsing; diff --git a/kcontrol/konqhtml/khtml_fonts.desktop b/kcontrol/konqhtml/khtml_fonts.desktop deleted file mode 100644 index 468899be9..000000000 --- a/kcontrol/konqhtml/khtml_fonts.desktop +++ /dev/null @@ -1,230 +0,0 @@ -[Desktop Entry] -Type=Application -DocPath=kcontrol/khtml/index.html#kbrowse-appearance -Icon=fonts -Exec=kcmshell khtml_fonts - - -X-TDE-Library=konqhtml -X-TDE-FactoryName=khtml_fonts - -Name=Fonts -Name[af]=Skriftipes -Name[ar]=المحارف -Name[az]=Yazı növləri -Name[be]=Шрыфты -Name[bg]=Шрифтове -Name[bn]=ফন্ট -Name[br]=Fontoù -Name[bs]=Fontovi -Name[ca]=Lletres -Name[cs]=Písma -Name[csb]=Fòntë -Name[cy]=Ffontiau -Name[da]=Skrifttyper -Name[de]=Schriftarten -Name[el]=Γραμματοσειρές -Name[eo]=Tiparoj -Name[es]=Tipos de letra -Name[et]=Fondid -Name[eu]=Letra-tipoak -Name[fa]=قلمها -Name[fi]=Kirjasimet -Name[fr]=Polices -Name[fy]=Lettertypen -Name[ga]=Clónna -Name[gl]=Fontes -Name[he]=גופנים -Name[hi]=फ़ॉन्ट्स -Name[hr]=Fontovi -Name[hu]=Betűtípusok -Name[is]=Letur -Name[it]=Tipi di carattere -Name[ja]=フォント -Name[ka]=ფონტები -Name[kk]=Қаріптер -Name[km]=ពុម្ពអក្សរ -Name[ko]=글꼴 -Name[lo]=ຮູບແບບຕົວອັກສອນ -Name[lt]=Šriftai -Name[lv]=Fonti -Name[mk]=Фонтови -Name[mn]=Бичгүүд -Name[ms]=Fon -Name[nb]=Skrifttype -Name[nds]=Schriftoorden -Name[ne]=फन्ट -Name[nl]=Lettertypen -Name[nn]=Skrifttypar -Name[nso]=Difonto -Name[pa]=ਫੋਂਟ -Name[pl]=Czcionki -Name[pt]=Tipos de Letra -Name[pt_BR]=Fontes -Name[ro]=Fonturi -Name[ru]=Шрифты -Name[rw]=Imyandikire -Name[se]=Fonttat -Name[sk]=Písma -Name[sl]=Pisave -Name[sr]=Фонтови -Name[sr@Latn]=Fontovi -Name[ss]=Timo tetinhlamvu temagama -Name[sv]=Teckensnitt -Name[ta]=எழுத்துருக்கள் -Name[tg]=Ҳарфҳо -Name[th]=แบบอักษร -Name[tr]=Yazıtipleri -Name[tt]=Yazu -Name[uk]=Шрифти -Name[uz]=Shriftlar -Name[uz@cyrillic]=Шрифтлар -Name[ven]=Fontu -Name[vi]=Phông chữ -Name[wa]=Fontes -Name[xh]=Uhlobo lwamagama -Name[zh_CN]=字体 -Name[zh_TW]=字型 -Name[zu]=Izinhlobo zamagama -Comment=Configure the fonts used on web pages -Comment[af]=Konfigureer die skriftipes gebruik word op web bladsye -Comment[ar]=إعداد المحارف المستعملة على صفحات الشبكة -Comment[be]=Настаўленні шрыфтоў для выкарыстання на старонках Сеціва -Comment[bg]=Настройване на шрифтовете за уеб страниците -Comment[bn]=ওয়েব পেজ-এ ব্যবহৃত ফন্ট কনফিগার করুন -Comment[br]=Kefluniañ an nodrezhoù evit ar pajennoù gwiad -Comment[bs]=Podesite fontove korištene na web stranicama -Comment[ca]=Configura els tipus de lletres emprades a les pàgines web -Comment[cs]=Nastavení písem pro webové stránky -Comment[csb]=Kònfigùracëjô fòntów na internetowëch starnach -Comment[cy]=Ffurfweddu'r ffontiau sy'n cael eu defnyddio ar dudalennau gwe -Comment[da]=Indstil de skrifttyper der bruges på netsider -Comment[de]=Schriften für die Darstellung von Webseiten festlegen -Comment[el]=Ρυθμίστε τις γραμματοσειρές που χρησιμοποιούνται στις ιστοσελίδες -Comment[eo]=Agordas la tiparojn kiuj estas uzataj sur TTT-paĝoj -Comment[es]=Configuración de los tipos de letra usados en las páginas web -Comment[et]=Veebilehtedel kasutatavate fontide seadistamine -Comment[eu]=Konfiguratu web orrietan erabiliko diren letra-tipoak -Comment[fa]=پیکربندی قلمهای استفاده‌شده در صفحات وب -Comment[fi]=WWW-sivujen kirjasimet -Comment[fr]=Configuration des polices utilisées sur les pages web -Comment[fy]=Hjir kinne jo de lettertypen die brûkt wurde op de websiden ynstelle -Comment[gl]=Configurar as fontes empregadas nas páxinas web -Comment[he]=שינוי הגדרות הגופנים שנעשה בהם שימוש בדפי אינטרנט -Comment[hi]=वेब पृष्ठ पर उपयोग में आने वाले फ़ॉन्ट्स कॉन्फ़िगर करें -Comment[hr]=Konfiguriranje fontova upotrijebljenih na web-stranicama -Comment[hu]=A Konqueror webböngésző betűtípusainak beállítása -Comment[is]=Stillta letur sem notað er á vefsíðum -Comment[it]=Configura i caratteri da usare nelle pagine web -Comment[ja]=ウェブページで使用するフォントを設定 -Comment[ka]=ვებ გვერდების შრიფტების კონფიგურაცია -Comment[kk]=Веб парақтарда қолданатын қаріптер -Comment[km]=កំណត់​រចនាសម្ព័ន្ធ​ពុម្ពអក្សរ ដែល​ប្រើ​លើ​ទំព័រ​បណ្ដាញ -Comment[ko]=웹 페이지의 글꼴 설정 -Comment[lo]=ທ່ານສາມາດປັບແຕ່ງລັກສະນະແລະຄວາມຮູ້ສຶກໃນການໃຊ້ງານ Konqueror ໄດ້ທີ່ນີ້ -Comment[lt]=Čia galite konfigūruoti šriftus, naudojamus tinklalapiuose -Comment[lv]=Šeit Jūs varat konfigurēt tīmekļa lapās lietotos fontus -Comment[mk]=Конфигурирајте ги фонтовите што се користат за веб-страници -Comment[mn]=Вэб хуудас харагдалтын бичиг тогтоох -Comment[ms]=Konfigur fon yang digunakan dalam halaman web -Comment[mt]=Agħżel il-fonts li jintużaw fuq paġni web -Comment[nb]=Tilpass hvilke skrifttyper som brukes på nettsider -Comment[nds]=De Schriftoorden för Nettsieden instellen -Comment[ne]=वेब पृष्ठहरूमा प्रयोग गरिने फन्ट कन्फिगर गर्नुहोस् -Comment[nl]=Hier kunt u de lettertypen die op webpagina's gebruikt worden instellen -Comment[nn]=Oppsett av skrifter for nettsider -Comment[nso]=Beakanya difonto tseo di somiswago go matlakala a web -Comment[pa]=ਵੈੱਬ ਸਫੇ 'ਤੇ ਫੋਂਟ ਸੰਰਚਨਾ -Comment[pl]=Konfiguracja czcionek na stronach internetowych -Comment[pt]=Configurar os tipos de letra usados nas páginas Web -Comment[pt_BR]=Configura as fontes usadas em páginas da web -Comment[ro]=Configurează fonturile utilizate în paginile web -Comment[ru]=Настройка шрифтов веб-страниц -Comment[rw]=Kuboneza imyandikire ikoreshwa ku mapaji rubuga -Comment[se]=Heivet makkár fonttat geavahuvvojit fierpmádatsiidduin -Comment[sk]=Nastavenie písiem pre webové stránky -Comment[sl]=Nastavitve pisav, prikazanih na spletnih straneh -Comment[sr]=Подешавање фонтова који се користе на веб страницама -Comment[sr@Latn]=Podešavanje fontova koji se koriste na veb stranicama -Comment[sv]=Anpassa teckensnitt som används på webbsidor -Comment[ta]=வலைபக்கங்களில் பயன்படுத்தப்படும் எழுத்துருக்களை வடிவமை -Comment[tg]=Танзими ҳарфҳои лозимӣ барои намоиши сафҳоти Вэб -Comment[th]=ปรับแต่งแบบอักษรที่จะใช้กับหน้าเว็บ -Comment[tr]=Web sayfalarında kullanılan yazıtipini buradan yapılandırın -Comment[tt]=Säxifä bitlärendä qullanası yazu törlären caylaw -Comment[uk]=Налаштування шрифтів для сторінок Тенет -Comment[uz]=Veb-sahifalarida ishlatiladigan shriftlarni moslash -Comment[uz@cyrillic]=Веб-саҳифаларида ишлатиладиган шрифтларни мослаш -Comment[ven]=Dzudzanyani dzifontu dzo shumiswa kha masiatari a webu -Comment[vi]=Cấu hình phông chữ sử dụng trên các trang mạng -Comment[wa]=Apontyî les fontes eployeyes ezès pådjes waibe -Comment[xh]=Qwlasela uhlobo lwamagama asebenziswe kumaphepha e web -Comment[zh_CN]=配置网页所使用的字体 -Comment[zh_TW]=設定使用於網頁的字型 -Comment[zu]=Hlanganisela uhlobo lwamagama olusetshenziswa emakhasini e-web -Keywords=konqueror,kfm,browser,html,web,www,fonts,charsets,character sets,encoding -Keywords[be]=Вандроўнік,Сеціва,Шрыфт,Знаказборы,Знаказбор,konqueror,kfm,browser,html,web,www,fonts,charsets,character sets,encoding -Keywords[bg]=уеб, шрифтове, страници, браузър, Интернет, konqueror, kfm, browser, html, web, www, fonts, charsets, character sets, encoding -Keywords[bs]=konqueror,kfm,browser,html,web,www,fonts,charsets,character sets,encoding,preglednik,font,fontovi,skup znakova,kodni raspored -Keywords[ca]=konqueror,kfm,navegador,html,web,www,lletres,caràcters.jocs de caràcters,codificació -Keywords[cs]=Konqueror,Kfm,Prohlížeč,HTML,Web,WWW,Písma,Znakové sady,Kódování -Keywords[csb]=konqueror,kfm,przezérnik,html,séc www,zestôw merków,kòdowanié -Keywords[cy]=konqueror,kfm,porydd,html,gwe,www,ffontiau,setiau nodau,amgodiad -Keywords[da]=konqueror,kfm,browser,HTML,net,www,skrifttyper,tegnsæt,indkodning -Keywords[de]=Konqueror,kfm,Browser,HTML,Web,WWW,Schriften,Zeichensätze,Kodierung -Keywords[el]=konqueror,kfm,περιηγητής,html,ιστός,www,γραμματοσειρές,σύνολα χαρακτήρων,σύνολα χαρακτήρων,κωδικοποίηση -Keywords[eo]=Konkeranto,Kfm,TTT,HTML,WWW,tiparo,koloro,Javo,Javoskripto,kursoro,kursilo,ligo,referenco,bildo,signaro,kodo -Keywords[es]=konqueror,kfm,navegador,html,web,www,tipos de letra,mapas de caracteres,codificación -Keywords[et]=konqueror,kfm,veebilehitseja,html,veeb,www,fondid,kooditabel,kodeering -Keywords[eu]=konqueror,kfm,arakatzailea,html,web,www,letra-tipoak,karaktere-multzoak, karaktere hobespenak,kodeketa -Keywords[fa]=konqueror،kfm، مرورگر، زنگام، وب، www،قلمها، نویسه‌گان، نویسه‌گان،کدبندی -Keywords[fi]=konqueror,kfm,selain,html,web,www,kirjasimet,merkistöt,koodaus -Keywords[fr]=konqueror,kfm,navigateur,html,web,www,polices,couleurs,java,javascript,curseur,liens,images,jeu de caractères,caractères,codage,encodage -Keywords[fy]=konqueror,kfm,browser,blêder,html,web,www,fonts,lettertypen,tekensets,karaktersamling,kodearring,ynternet -Keywords[ga]=konqueror,kfm,brabhsálaí,html,gréasán,www,clónna,clófhoirne,tacair charachtair,ionchódú -Keywords[gl]=konqueror,kfm,navegador,html,web,www,fontes,carácteres,conxunto de carácteres,codificación -Keywords[he]=konqueror,kfm,דפדפן,html,web,www,אינטרנט,browser,web,fonts,charsets,character sets,encoding, גופנים,מערכי תווים,קידוד -Keywords[hi]=कॉन्करर,केएफएम,ब्राउजर,एचटीएमएल,वेब,डब्ल्यूडब्ल्यूडब्ल्यू,फ़ॉन्ट्स,अक्षरमाला,अक्षर माला,एनकोडिंग -Keywords[hr]=konqueror,kfm,browser,html,web,www,fonts,charsets,character sets,encoding,preglednik,fontovi,kodiranje,kodiranje zakova -Keywords[hu]=Konqueror,kfm,böngésző,HTML,web,WWW,betűtípusok,karakterkészletek,betűkészletek,kódolás -Keywords[is]=vafri,vefur,vefurinn,vefsíður,letur,litir,kóðun,stafatafla, bendill,myndir,www,html,stafir -Keywords[it]=konqueror,kfm,browser,html,web,www,caratteri,colori,set di caratteri,charset,codifica -Keywords[ja]=konqueror,kfm,ブラウザ,html,web,ウェブ,www,フォント,文字,文字セット,色,カラー,エンコーディング -Keywords[km]=konqueror,kfm,កម្មវិធី​រុករក,html,បណ្ដាញ,វើលវ៉ាយវិប,ពុម្ពអក្សរ,ការ​អ៊ិនកូដ -Keywords[lt]=konqueror,kfm,browser,html,web,www,fonts,colours,colors,charsets,character sets,encodingsets,encoding,narašymas,html,tinklalapis,tinklapis,www,šriftai,spalvos,simbolių rinkiniai,koduotė -Keywords[lv]=iekarotājs,kfm,pārlūks,html,web,www,fonti,krāsojums,krāsas,java,javaskripts,kursors,saites,attēli,simbolukomplekti,simbolu komplekti,kodējums -Keywords[mk]=konqueror,kfm,browser,html,web,www,fonts,charsets,character sets,encoding,прелистувач,веб,фонтови,знаковни множества,кодирање -Keywords[mn]=Конкюрор,kfm,Хөтөч,HTML,Вэб,WWW,Бичиг,Тэмдэгт олонлог,Кодчилол -Keywords[nb]=konqueror,kfm,nettleser,html,nettet,www,veven,verdensveven,Internett,skriftyper,skrifter,koding,tegnsett,tegnkoding -Keywords[nds]=Konqueror,kfm,Nettkieker,browser,HTML,web,www,Schriftoorden,Tekensetten,Koderen -Keywords[ne]=कन्क्वेरर,kfm, ब्राउजर,html, वेब,www, फन्टहरू, चारसेटहरू, क्यारेक्टर सेट, सङ्केतन -Keywords[nl]=konqueror,kfm,browser,html,web,www,fonts,lettertypen,tekensets,karakterverzamelingen,codering,encoding,internet -Keywords[nn]=Konqueror,KFM,nettlesar,HTML,verdsveven,WWW,skrifter,teiknsett,koding,teiknkoding -Keywords[nso]=konqueror,kfm,seinyakisi,html,web,www,difonto,charsets,dipeakanyo tsa dihlaka,go khouta -Keywords[pa]=ਕੋਨਕਿਉਰਰ,kfm,ਝਲਕਾਰਾ,html,web,www,ਫੋਂਟ, ਅੱਖਰ-ਸੈਟ, ਅੱਖਰ ਸੈਟ, ਇੰਕੋਡਿੰਗ -Keywords[pl]=konqueror,kfm,przeglądarka,html,sieć www,zestawy znaków,kodowanie -Keywords[pt]=konqueror,kfm,navegador,html,web,www,tipos de letra,fontes,cores,java,javascript,cursor,ligações,imagens,charsets,mapas de caracteres,codificação -Keywords[pt_BR]=konqueror,kfm,navegador,html,web,WWW,fontes,conjuntos de caracteres,codificação -Keywords[ro]=konqueror,kfm,navigator,browser,html,web,www,fonturi,culori,java,javascript,cursor,legături,imagini,set de caractere,codare -Keywords[rw]= Konqueror,kfm,mucukumbuzi,html,urubuga,www,imyandikire, itsinda-nyuguti, amatsinda y'inyuguti,gusobeka -Keywords[se]=Konqueror,kfm,fierpmádatlogan,html,web,www,fonttat,mearkarájut,koden -Keywords[sk]=konqueror,kfm,prehliadač,html,web,www,písma,farby,znakové sady,kódovanie -Keywords[sl]=konqueror,kfm,brskalnik,html,splet,www,pisave,nabori znakov,znakovni nabori,kodiranje -Keywords[sr]=konqueror,kfm,прегледач,html,web,www,фонтови,боје,java,јавасцрипт,показивач,везе,слике,кодни распоред,скуп знакова,кодирање -Keywords[sr@Latn]=konqueror,kfm,pregledač,html,web,www,fontovi,boje,java,javascript,pokazivač,veze,slike,kodni raspored,skup znakova,kodiranje -Keywords[sv]=konqueror,kfm,webbläsare,html,webb,www,teckensnitt,färger,java,javaskript,länkar,bilder,kodning,teckenuppsättningar -Keywords[ta]=கான்கொரர், கோப்பு மேலாளர், html,வலை, www,எழுத்துரு, எழுத்தமைப்பு முறை,எழுத்தமைப்பு முறை, குறியீடு முறை -Keywords[th]=คอนเควอร์เรอร์,kfm,บราวเซอร์,html,เว็บ,www,แบบอักษร,อักขระ,ชุดอักขระ,การเข้ารหัส -Keywords[tr]=konqueror,kfm,tarayıcı,html,web,www,yazı tipleri,kodlama -Keywords[uk]=konqueror,kfm,навігатор,html,шрифти,Тенета,www,набори символів,кодування -Keywords[uz]=konqueror,kfm,html,www,brauzer,veb,shriftlar,belgilar toʻplami,kodlash usuli -Keywords[uz@cyrillic]=konqueror,kfm,html,www,браузер,веб,шрифтлар,белгилар тўплами,кодлаш усули -Keywords[ven]=konqueror,kfm,buronza,html,webu,www,dzifontu,mivhala,mivhala,java,manwalwa a java,cursor,vhukwamani,zwifanyiso,tshasete,mavhekanyele a muanewa,uinikhouda -Keywords[vi]=konqueror,kfm,trình duyệt,html,web,www,phông chữ,ký tự,bảng ký tự,mã ký tự -Keywords[wa]=konqueror,kfm,betchteu,html,waibe,www,fontes,ecôdaedjes,ecôdaedje -Keywords[xh]=konqueror,kfm,umkhangeli zincwadi,html,web,www,imigca, amaqela abasebenzisi,encoding -Keywords[zh_CN]=konqueror,kfm,browser,html,web,www,fonts,charsets,character sets,encoding,浏览器,网页,字体,字符集,编码 -Keywords[zh_TW]=konqueror,kfm,browser,html,web,www,fonts,charsets,character sets,征服家,字元,字元集,編碼,瀏覽器,字型,網頁 -Keywords[zu]=konqueror,kfm,umcingi,html,web,www,izinhlobo zamagama,charsets,amaqoqo ezimpawu,ukubhala ngekhodi - -Categories=Qt;TDE;X-TDE-settings-webbrowsing; diff --git a/kcontrol/konqhtml/khtml_java_js.desktop b/kcontrol/konqhtml/khtml_java_js.desktop deleted file mode 100644 index 3a29299d6..000000000 --- a/kcontrol/konqhtml/khtml_java_js.desktop +++ /dev/null @@ -1,211 +0,0 @@ -[Desktop Entry] -Type=Application -DocPath=kcontrol/khtml/index.html#kbrowse-java -Icon=konqueror -Exec=kcmshell khtml_java_js - - -X-TDE-Library=konqhtml -X-TDE-FactoryName=khtml_java_js - -Name=Java & JavaScript -Name[af]=Java & Javaskrip -Name[ar]=Java و JavaScript -Name[az]=Java və JavaScript -Name[be]=Java і JavaScript -Name[bg]=Java и JavaScript -Name[bn]=জাভা এবং জাভাস্ক্রিপ্ট -Name[bs]=JavaScript i Java -Name[ca]=Java i JavaScript -Name[cs]=Java a JavaScript -Name[csb]=Java ë JavaScript -Name[cy]=Java a JavaScript -Name[eo]=Ĝavo kaj Ĝavoskripto -Name[es]=Java y JavaScript -Name[et]=Java ja JavaScript -Name[eu]=Java eta JavaScript -Name[fa]=جاوا و جاوااسکریپت -Name[fi]=Java ja JavaScript -Name[fy]=Java en JavaSkript -Name[gl]=Java e JavaScript -Name[he]=JavaScript-ו Java -Name[hi]=जावा एवं जावा-स्क्रिप्ट -Name[hr]=Java i JavaScript -Name[hu]=Java/Javascript -Name[is]=Java og JavaScript -Name[it]=Java e JavaScript -Name[ka]=Java და JavaScript -Name[kk]=Java және JavaScript -Name[ko]=자바와 자바스크립트 -Name[lo]=ແຟ້່ມໂພສ໌ສຄລິບແລະ PDF -Name[lt]=Java ir JavaScript -Name[mk]=Java и JavaScript -Name[mt]=Java u JavaScript -Name[nb]=Java og JavaScript -Name[ne]=जाभा र जाभा स्क्रिप्ट -Name[nl]=Java en JavaScript -Name[nn]=Java og JavaScript -Name[nso]=Java & Setlankana sa Java -Name[pa]=Java ਅਤੇ ਜਾਵਾ ਸਕਰਿਪਟ -Name[pl]=Java i JavaScript -Name[pt]=Java e JavaScript -Name[ro]=Java și JavaScript -Name[ru]=Java и JavaScript -Name[se]=Java ja Javascript -Name[sl]=Java in javascript -Name[ss]=I-Java & JavaScript -Name[sv]=Java och Javaskript -Name[ta]=ஜாவா & ஜாவா எழுத்தாக்கம் -Name[te]=జావా & జావాస్క్రిప్ట్ -Name[tg]=Java ва JavaScript -Name[th]=จาวาและจาวาสคริปต์ -Name[tr]=Java ve JavaScript -Name[tt]=Java belän JavaScript -Name[uz]=Java va JavaScript -Name[uz@cyrillic]=Java ва JavaScript -Name[wa]=Java eyet JavaScript -Name[zh_CN]=Java 和 JavaScript -Name[zh_TW]=Java 與 JavaScript -Comment=Configure the behavior of Java and JavaScript -Comment[af]=Konfigureer die gedrag van Java en Javaskrip -Comment[ar]=إعداد سلوك Java و JavaScript -Comment[be]=Настаўленні Java і JavaScript -Comment[bg]=Настройване на Java и JavaScript -Comment[bn]=জাভা এবং জাভাস্ক্রিপ্ট-এর আচরণ কনফিগার করুন -Comment[br]=Kefluniañ emzalc'h Java ha JavaScript -Comment[bs]=Podesite ponašanje JavaScript i Java-e -Comment[ca]=Configura el comportament de Java i JavaScript -Comment[cs]=Nastavení chování Javy a Javascriptu -Comment[csb]=Kònfigùracëjô dzejaniô Javë ë JavaScriptu -Comment[cy]=Ffurfweddu ymddygiad Java a JavaScript -Comment[da]=Indstil hvordan JavaScript og Java opfører sig -Comment[de]=Verhalten von Java und JavaScript festlegen -Comment[el]=Ρυθμίστε τη συμπεριφορά της Java και της JavaScript -Comment[en_GB]=Configure the behaviour of Java and JavaScript -Comment[eo]=Agordo la konduton de Ĝavo kaj Ĝavoskripto -Comment[es]=Configuración del comportamiento de Java y JavaScript -Comment[et]=Java ja JavaScripti käitumise seadistamine -Comment[eu]=Konfiguratu Java eta JavaScripten portaera -Comment[fa]=پیکربندی رفتار جاوا و جاوااسکریپت -Comment[fi]=Javan ja JavaScriptin asetukset -Comment[fr]=Configuration du comportement de Java et JavaScript -Comment[fy]=Hjir kinne jo it gedrach fan Java en JavaSkript ynstelle -Comment[ga]=Cumraigh oibriú Java agus JavaScript -Comment[gl]=Configurar o comportamento de Java e JavaScript -Comment[he]=שינוי הגדרות Java ו־JavaScript -Comment[hi]=जावा एवं जावा-स्क्रिप्ट कॉन्फ़िगर करें -Comment[hr]=Konfiguriranje ponašanja Jave i JavaScripta -Comment[hu]=A Java és a Javascript beállításai -Comment[is]=Stilla hegðun Java og JavaScript -Comment[it]=Configura il comportamento di Java e JavaScript -Comment[ja]=Java と JavaScript の挙動を設定 -Comment[ka]=Java და JavaScript -ის ქცევის კონფიგურაცია -Comment[kk]=Java және JavaScript қасиеттерін баптау -Comment[km]=កំណត់​រចនាសម្ព័ន្ធ​ឥរិយាបថ​របស់ Java និង JavaScript -Comment[ko]=자바와 자바스크립트 행동 설정 -Comment[lo]=ທ່ານສາມາດປັບແຕ່ງການທຳງານ ຂອງເຄື່ອງມືການຈັດເຊສຊັນໄດ້ທີ່ນີ້ -Comment[lt]=Čia galite konfigūruoti Java bei JavaScript elgseną -Comment[lv]=Šeit Jūs varat konfigurēt Java un JavaScript izturēšanos -Comment[mk]=Конфигурирајте го однесувањето на Java и JavaScript -Comment[mn]=Java ба JavaScript-н байдлыг тогтоох -Comment[ms]=Konfigur kelakuan Java dan JavaScript -Comment[mt]=Ikkonfigura l-imġieba ta' Java u JavaScript -Comment[nb]=Innstillinger for Java og JavaScript -Comment[nds]=Dat Bedregen vun Java un JavaSkript hier instellen -Comment[ne]=जाभा र जाभा स्क्रिप्टकको व्यवहार कन्फिगर गर्नुहोस् -Comment[nl]=Hier kunt u het gedrag van Java en JavaScript instellen -Comment[nn]=Innstillingar for Java og JavaScript -Comment[nso]=Beakanya maitshwaro a Java le setlankana sa Java -Comment[pa]=Java ਅਤੇ ਜਾਵਾ-ਸਕਰਿਪਟ ਦੇ ਵਿਹਾਰ ਦੀ ਸੰਰਚਨਾ -Comment[pl]=Konfiguracja działania Javy i JavaScriptu -Comment[pt]=Configurar o comportamento do Java e do JavaScript -Comment[pt_BR]=Configura o comportamento do Java e JavaScript -Comment[ro]=Configurează comportamentul Java și JavaScript -Comment[ru]=Настройка поведения Java и JavaScript -Comment[rw]=Kuboneza imyitwarire ya Java na JavaScript -Comment[se]=Java ja Javascript-heivehusat -Comment[sk]=Nastavenie správania jazykov JavaScript a Java -Comment[sl]=Nastavitve obnašanja jave in javascripta -Comment[sr]=Подешавање понашања Java-е и JavaScript-а -Comment[sr@Latn]=Podešavanje ponašanja Java-e i JavaScript-a -Comment[sv]=Anpassa beteendet hos Java och Javaskript -Comment[ta]=ஜாவா மற்றும் ஜாவா எழுத்தாக்கத்தின் இயக்கத்தை வடிவமைக்க முடியும். -Comment[tg]=Танзими нафъи рафтори Java ва JavaScript -Comment[th]=ปรับแต่งพฤติกรรมของจาวาและจาวาสคริปต์ -Comment[tr]=Java ve JavaScript ayarlarını buradan hazırlayın -Comment[tt]=Java belän JavaScript caylaw -Comment[uk]=Налаштування поведінки Java та JavaScript -Comment[uz]=Java va JavaScript xususiyatlarini moslash -Comment[uz@cyrillic]=Java ва JavaScript хусусиятларини мослаш -Comment[ven]=Dzudzanyani maitele a Java na Javascript -Comment[vi]=Cấu hình cách hoạt động của Java và JavaScript -Comment[wa]=Apontyî li dujhance pol Java eyet l' JavaScript -Comment[xh]=Qwalasela ukuziphatha kwe Java ne JavaScript -Comment[zh_CN]=配置 Java 和 JavaScript 的行为 -Comment[zh_TW]=設定 Java 與 JavaScript 的行為 -Comment[zu]=Hlanganisela ukuthi i-Java kanye ne-JavaScript iziphathe kanjani -Keywords=konqueror,kfm,browser,html,web,www,java,javascript -Keywords[be]=Вандроўнік,Сеціва,Сцэнар,konqueror,kfm,browser,html,web,www,java,javascript -Keywords[bg]=Джава, Джава скрипт, скрипт, konqueror, kfm, browser, html, web, www, java, javascript -Keywords[br]=konqueror,kfm,furcher,html,web,gwiad,java,javascript -Keywords[ca]=konqueror,kfm,navegador,html,web,www,java,javascript -Keywords[cs]=Konqueror,Kfm,Prohlížeč,HTML,Web,WWW,Java,JavaScript -Keywords[csb]=konqueror,kfm,przezérnik,html,séc www,www,java,javascript -Keywords[cy]=konqueror,kfm,porydd,html,gwe,www,java,javascript -Keywords[da]=konqueror,kfm,browser,HTML,net,www,java,javascript -Keywords[de]=Konqueror,kfm,Browser,HTML,Web,WWW,Java,JavaScript -Keywords[el]=konqueror,kfm,περιηγητής,html,ιστός,www,java,javascript -Keywords[eo]=Konkeranto,Kfm,TTT,HTML,WWW,tiparo,koloro,Javo,Javoskripto,kursoro,kursilo,ligo,referenco,bildo,signaro,kodo -Keywords[es]=konqueror,kfm,navegador,html,web,wwwjava,javascript -Keywords[et]=konqueror,kfm,veebilehitseja,html,veeb,www,java,javascript -Keywords[eu]=konqueror,kfm,arakatzailea,html,web,www,java,javascript -Keywords[fa]=konqueror، kfm، مرورگر، زنگام، وب، www، جاوا، جاوااسکریپت -Keywords[fi]=konqueror,kfm,selain,html,web,www,java,javascript -Keywords[fr]=konqueror,kfm,navigateur,html,web,www,polices,couleurs,java,javascript,curseur,liens,images,jeu de caractères,caractères,codage,encodage -Keywords[fy]=konqueror,kfm,browser,blêder,html,web,www,java,javaskript,ynternet -Keywords[ga]=konqueror,kfm,brabhsálaí,html,gréasán,www,java,javascript -Keywords[gl]=konqueror,kfm,navegador,html,web,www,java,javascript -Keywords[he]=konqueror,kfm,דפדפן,html,אינטרנט,www,java,javascript,ג'אווה, browser,web,www,java,javascript -Keywords[hi]=कॉन्करर,केएफएम,ब्राउज़र,एचटीएमएल,वेब,डब्ल्यूडब्ल्यूडब्ल्यू.जावा,जावा-स्क्रिप्ट -Keywords[hr]=konqueror,kfm,browser,html,web,www,java,javascript,preglednik -Keywords[hu]=Konqueror,kfm,böngésző,HTML,web,WWW,Java,Javascript -Keywords[is]=konqueror,kfm,browser,html,web,www,java,javascript,vafri -Keywords[ja]=konqueror,kfm,ブラウザ,html,web,ウェブ,www,java,javascript -Keywords[km]=konqueror,kfm,កម្មវិធី​រុករក,html,វិប,វើលវ៉ាយវិប,java,javascript -Keywords[lt]=konqueror,kfm,browser,html,web,www,java,javascript, naršyklė,tinklalapiai, žiniatinklis -Keywords[lv]=iekarotājs,kfm,pārlūks,html,web,www,java,javaskripts -Keywords[mk]=konqueror,kfm,browser,html,web,www,java,javascript,прелистувач,веб -Keywords[mn]=Конкюрор,kfm,Хөтөч,HTML,Веб,WWW,Java,JavaScript -Keywords[nb]=konqueror,kfm,html,nettet,www,java,javascript,nettleser,Internett -Keywords[nds]=Konqueror,kfm,browser,Nettkieker,HTML,web,www,Java,JavaScript -Keywords[ne]=कन्क्वेरर, kfm, ब्राउजर, html, वेब, www, जाभा, जाभास्क्रिप्ट -Keywords[nl]=konqueror,kfm,browser,html,web,www,java,javascript,internet -Keywords[nn]=Konqueror,KFM,nettlesar,HTML,verdsveven,WWW,Java,JavaScript -Keywords[nso]=konqueror,kfm,seinyakisi,html,web,www,java,setlankana sa java -Keywords[pa]=ਕੋਨਕਿਉਰਰ,kfm,ਝਲਕਾਰਾ,html,web,www,java,javascript,ਜਾਵਾ -Keywords[pl]=konqueror,kfm,przeglądarka,html,sieć www,www,java,javascript -Keywords[pt]=konqueror,kfm,navegador,html,web,www,java,javascript -Keywords[pt_BR]=konqueror,kfm,navegador,html,web,WWW,java,javascript -Keywords[ro]=konqueror,kfm,navigator,browser,html,web,www,java,javascript -Keywords[rw]= Konqueror,kfm,mucukumbuzi,html,urubuga,www,java,javascript -Keywords[se]=konqueror,kfm,fierpmádatlogan,html,web,www,java,javascript -Keywords[sk]=konqueror,kfm,prehliadač,html,web,www,java,javascript -Keywords[sl]=konqueror,kfm,brskalnik,html,splet,www,java,javascript -Keywords[sr]=konqueror,kfm,прегледач,html,web,www,java,javascript -Keywords[sr@Latn]=konqueror,kfm,pregledač,html,web,www,java,javascript -Keywords[sv]=konqueror,kfm,webbläsare,html,webb,www,teckensnitt,färger,java,javaskript,länkar,bilder,kodning,teckenuppsättningar -Keywords[ta]=கான்கொரர்,kfm,உலாவி,html,வலை,www,ஜாவா,ஜாவா எழுத்தாக்கம் -Keywords[th]=คอนเควอร์เรอร์,kfm,บราวเซอร์,html,เว็บ,www,จาวา,จาวาสคริปต์ -Keywords[tr]=konqueror,kfm,tarayıcı,html,web,www,java,javascript -Keywords[uk]=konqueror,kfm,навігатор,html,web,Тенета,java,javascript,www -Keywords[uz]=konqueror,kfm,brauzer,html,veb,www,java,javascript -Keywords[uz@cyrillic]=konqueror,kfm,браузер,html,веб,www,java,javascript -Keywords[ven]=konqueror,kfm,buronza,html,webu,www,dzifontu,mivhala,mivhala,java,manwalwa a java,cursor,vhukwamani,zwifanyiso,tshasete,mavhekanyele a muanewa,uinikhouda -Keywords[vi]=konqueror,kfm,trình duyệt,html,web,www,java,javascript -Keywords[wa]=konqueror,kfm,betchteu,html,waibe,waibes,www,java,javascript -Keywords[xh]=konqueror,kfm,umkhangeli zincwadi,html,web, www,java,okushicilelwe phantsi kwe java -Keywords[zh_CN]=konqueror,kfm,browser,html,web,www,java,javascript,浏览器 -Keywords[zh_TW]=konqueror,kfm,browser,html,web,www,java,javascript,征服家,瀏覽器,網頁 -Keywords[zu]=konqueror,kfm,umcingi,html,web,www,java,javascript - -Categories=Qt;TDE;X-TDE-settings-webbrowsing; diff --git a/kcontrol/konqhtml/main.cpp b/kcontrol/konqhtml/main.cpp index 35a958b46..45559809b 100644 --- a/kcontrol/konqhtml/main.cpp +++ b/kcontrol/konqhtml/main.cpp @@ -43,33 +43,33 @@ extern "C" { - KDE_EXPORT TDECModule *create_khtml_behavior(TQWidget *parent, const char *name) + KDE_EXPORT TDECModule *create_tdehtml_behavior(TQWidget *parent, const char *name) { TDEConfig *c = new TDEConfig( "konquerorrc", false, false ); return new KMiscHTMLOptions(c, "HTML Settings", parent, name); } - KDE_EXPORT TDECModule *create_khtml_fonts(TQWidget *parent, const char *name) + KDE_EXPORT TDECModule *create_tdehtml_fonts(TQWidget *parent, const char *name) { TDEConfig *c = new TDEConfig( "konquerorrc", false, false ); return new KAppearanceOptions(c, "HTML Settings", parent, name); } - KDE_EXPORT TDECModule *create_khtml_java_js(TQWidget *parent, const char* /*name*/) + KDE_EXPORT TDECModule *create_tdehtml_java_js(TQWidget *parent, const char* /*name*/) { TDEConfig *c = new TDEConfig( "konquerorrc", false, false ); return new KJSParts(c, parent, "kcmkonqhtml"); } - KDE_EXPORT TDECModule *create_khtml_plugins(TQWidget *parent, const char *name) + KDE_EXPORT TDECModule *create_tdehtml_plugins(TQWidget *parent, const char *name) { TDEConfig *c = new TDEConfig( "konquerorrc", false, false ); return new KPluginOptions(c, "Java/JavaScript Settings", parent, name); } - KDE_EXPORT TDECModule *create_khtml_filter(TQWidget *parent, const char *name ) + KDE_EXPORT TDECModule *create_tdehtml_filter(TQWidget *parent, const char *name ) { - TDEConfig *c = new TDEConfig( "khtmlrc", false, false ); + TDEConfig *c = new TDEConfig( "tdehtmlrc", false, false ); return new KCMFilter(c, "Filter Settings", parent, name); } } diff --git a/kcontrol/konqhtml/tdehtml_behavior.desktop b/kcontrol/konqhtml/tdehtml_behavior.desktop new file mode 100644 index 000000000..01488fad4 --- /dev/null +++ b/kcontrol/konqhtml/tdehtml_behavior.desktop @@ -0,0 +1,231 @@ +[Desktop Entry] +Type=Application +DocPath=kcontrol/tdehtml/index.html#kbrowse-html +Icon=konqueror +Exec=kcmshell tdehtml_behavior + + +X-TDE-Library=konqhtml +X-TDE-FactoryName=tdehtml_behavior + +Name=Web Behavior +Name[af]=Web Gedrag +Name[ar]=سلوك الشبكة +Name[az]=Veb Davranışı +Name[be]=Паводзіны ў Сеціве +Name[bg]=Уеб браузър +Name[bn]=ওয়েব আচরণ +Name[br]=Emzalc'h ar gwiad +Name[bs]=Ponašanje web preglednika +Name[ca]=Comportament web +Name[cs]=Chování na webu +Name[csb]=Przezéranié WWW +Name[cy]=Ymddygiad Gwê +Name[da]=WWW-Opførsel +Name[de]=Webverhalten +Name[el]=Συμπεριφορά ιστού +Name[en_GB]=Web Behaviour +Name[eo]=TTT-Konduto +Name[es]=Comportamiento +Name[et]=Veebilehitseja käitumine +Name[eu]=Web portaera +Name[fa]=رفتار وب +Name[fi]=Verkkokäyttäytyminen +Name[fr]=Comportement web +Name[fy]=Webgedrach +Name[ga]=Oibriú Lín +Name[gl]=Comportamento Web +Name[he]=התנהגות רשת +Name[hi]=वेब बर्ताव +Name[hr]=Web ponašanje +Name[hu]=Webes működés +Name[is]=Vefhegðun +Name[it]=Comportamento Web +Name[ja]=ウェブでの挙動 +Name[ka]=წევ ქცევა +Name[kk]=Веб қасиеттері +Name[km]=ឥរិយាបថ​បណ្ដាញ +Name[ko]=웹 행동 +Name[lt]=Žiniatinklio elgsena +Name[lv]=Tīmekļa izturēšanās +Name[mk]=Веб-однесување +Name[mn]=Вэб байдал +Name[ms]=Kelakuan Web +Name[mt]=Imġieba web +Name[nb]=Nettoppførsel +Name[nds]=Bedregen in't Nett +Name[ne]=वेभ व्यवहार +Name[nl]=Webgedrag +Name[nn]=Vevåtferd +Name[pa]=ਵੈਬ ਵਿਹਾਰ +Name[pl]=Przeglądanie WWW +Name[pt]=Comportamento na Web +Name[pt_BR]=Comportamento Web +Name[ro]=Comportament web +Name[ru]=Поведение Веб +Name[rw]=Imyitwarire Urubugamakuru +Name[se]=Webláhtten +Name[sk]=Správanie WWW +Name[sl]=Spletno obnašanje +Name[sr]=Веб понашање +Name[sr@Latn]=Veb ponašanje +Name[sv]=Nätbeteende +Name[ta]=வலைப் பண்புகள் +Name[te]=వెబ్ ప్రవర్తన +Name[tg]=Рафтори Вэб +Name[th]=พฤติกรรมของเว็บ +Name[tr]=Web Davranışı +Name[tt]=Web Çağılışı +Name[uk]=Поведінка Навігатора +Name[uz]=Veb xususiyatlari +Name[uz@cyrillic]=Веб хусусиятлари +Name[vi]=Cách hoạt động của duyệt mạng +Name[wa]=Dujhance waibe +Name[zh_CN]=Web 行为 +Name[zh_TW]=網頁行為 +Comment=Configure the browser behavior +Comment[af]=Konfigureer die blaaier gedrag +Comment[ar]=إعداد سلوك المتصفح +Comment[be]=Настаўленні паводзінаў вандроўніка +Comment[bg]=Настройване на уеб браузъра +Comment[bn]=ব্রাউজারের আচরণ কনফিগার করুন +Comment[br]=Kefluniañ emzalc'h ar furcher +Comment[bs]=Podesite ponašanje web preglednika +Comment[ca]=Configura el comportament del navegador +Comment[cs]=Nastavení chování prohlížeče +Comment[csb]=Kònfigùracëjô zachòwaniô przezérnika +Comment[cy]=Ffurfweddu ymddygiad y porydd +Comment[da]=Indstil browserens opførsel +Comment[de]=Verhalten des Webbrowsers festlegen +Comment[el]=Ρυθμίστε τη συμπεριφορά του περιηγητή +Comment[en_GB]=Configure the browser behaviour +Comment[eo]=Agordas la konduton de la TTT-legilo +Comment[es]=Configuración del comportamiento del navegador +Comment[et]=Konquerori veebilehitseja käitumine +Comment[eu]=Konfiguratu arakatzailearen portaera +Comment[fa]=پیکربندی رفتار مرورگر +Comment[fi]=Selaimen asetukset +Comment[fr]=Configuration du comportement du navigateur +Comment[fy]=Hjir kinne jo it gedrach fan de webblêder ynstelle +Comment[ga]=Cumraigh oibriú an bhrabhsálaí +Comment[gl]=Configurar o comportamento do navegador +Comment[he]=שינוי הגדרות פעולת הדפדפן +Comment[hi]=वेब बर्ताव कॉन्फ़िगर करें +Comment[hr]=Konfiguriranje ponašanja preglednika +Comment[hu]=A Konqueror webböngésző részének működési jellemzői +Comment[is]=Stilla hegðan vafrara +Comment[it]=Configura il comportamento del browser +Comment[ja]=ウェブブラウザの挙動を設定 +Comment[ka]=ბრაუზერის ქცევის კონფიგურაცია +Comment[kk]=Браузер қасиеттерін баптау +Comment[km]=កំណត់​រចនាសម្ព័ន្ធ​ឥរិយាបថ​កម្មវិធី​រុករក​បណ្ដាញ +Comment[ko]=브라우저 행동 설정 +Comment[lo]=ປັບແຕ່ງເຊີເວີພຣັອກຊີ +Comment[lt]=Konfigūruoti naršyklės elgesį +Comment[lv]=Konfigurēt pārlūka izturešanos +Comment[mk]=Конфигурирајте го однесувањето на прелистувачот +Comment[mn]=Вэб-Хөтөчийн байдлыг тогтоох +Comment[ms]=Konfigur kalakuan pelayar +Comment[mt]=Ikkonfigura l-imġieba tal-browser +Comment[nb]=Tilpass nettleserens oppførsel +Comment[nds]=Dat Bedregen vun den Nettkieker instellen +Comment[ne]=ब्राउजरको व्यवहार कन्फिगर गर्नुहोस् +Comment[nl]=Hier kunt u het gedrag van de webbrowser instellen +Comment[nn]=Oppsett av nettlesaråtferda +Comment[nso]=Beakanya maitshwaro a seinyakisi +Comment[pa]=ਝਲਕਾਰਾ ਵਿਹਾਰ ਸੰਰਚਨਾ +Comment[pl]=Konfiguracja zachowania przeglądarki +Comment[pt]=Configurar o comportamento do navegador +Comment[pt_BR]=Configura o comportamento do navegador +Comment[ro]=Configurează comportamentul de navigator de web +Comment[ru]=Настройка поведения браузера +Comment[rw]=Kuboneza imyitwarire ya mucukumbuzi +Comment[se]=Heivet mo fierpmádatlogan láhtte +Comment[sk]=Nastavenie správania prehliadača +Comment[sl]=Nastavitve obnašanja brskalnika +Comment[sr]=Подешавање понашања прегледача +Comment[sr@Latn]=Podešavanje ponašanja pregledača +Comment[sv]=Anpassa webbläsarens beteende +Comment[ta]=உலாவியின் இயக்கத்தை வடிவமை +Comment[tg]=Танзими рафтори тафсир +Comment[th]=ปรับแต่งพฤติกรมของบราวเซอร์ +Comment[tr]=Web tarayıcı davranışlarını yapılandır +Comment[tt]=Girgeç çağılışın caylaw +Comment[uk]=Налаштування поведінки навігатора +Comment[uz]=Brauzerning xususiyatlarini moslash +Comment[uz@cyrillic]=Браузернинг хусусиятларини мослаш +Comment[ven]=Dzudzanyani maitele a burausa +Comment[vi]=Cấu hình cách hoạt động của trình duyệt +Comment[wa]=Apontyî l' dujhance do betchteu waibe +Comment[xh]=Qwalasela indlela umkhangeli zincwadi aziphatha ngayo +Comment[zh_CN]=配置浏览器行为 +Comment[zh_TW]=設定瀏覽器行為 +Comment[zu]=Hlanaganisela ukuziphatha komcingi +Keywords=konqueror,kfm,browser,html,web,www,fonts,colours,colors,java,javascript,cursor,links,images,charsets,character sets,encoding +Keywords[az]=konqueror,kfm,səyyah,html,şəbəkə,www,yazı növləri,rənglər,java,javascript,hərf,hərf dəstəsi,kodlama,bağlantılar,rəsmlər,ox +Keywords[be]=Вандроўнік,Сеціва,Шрыфты,Колеры,Сцэнар,Курсор,Спасылкі,Відарысы,Малюнкі,Знаказбор,Знаказборы,konqueror,kfm,browser,html,web,www,fonts,colours,colors,java,javascript,cursor,links,images,charsets,character sets,encoding +Keywords[bg]=браузър, страници, Интернет, уеб, konqueror,kfm, browser, html, web, www, fonts, colours, colors, java, javascript, cursor, links, images, charsets, character sets, encoding +Keywords[bs]=konqueror,kfm,browser,html,web,www,fonts,colours,colors,java,javascript,cursor,links,images,charsets,character sets,encoding,kodni raspored,preglednik,fontovi,boje,font,boja,kursor,link,linkovi,slike,slika,skup znakova +Keywords[ca]=konqueror,kfm,navegador,html,web,www,lletres,colorits,colors,java,javascript,cursor,enllaços,imatges,caràcters,joc de caràcters,codificació +Keywords[cs]=Konqueror,Kfm,Prohlížeč,HTML,Web,WWW,Písma,Barvy,Java,JavaScript, Kurzor,Odkazy,Obrázky,Znakové sady,Kódování +Keywords[csb]=konqueror,kfm,przezérnik,html,séc www,fòntë,farwë,java,javascript,kùrsor,lënczi,òbrôzczi,zestôw merków,kòdowanié +Keywords[cy]=konqueror,kfm,porydd,html,gw?,www,ffontiau,lliwiau,java,javascript,cyrchydd,cysylltiadau,delweddau,setiau nodau,nod,amgodiad +Keywords[da]=konqueror,kfm,browser,HTML,net,skrifttyper,farver,java,javascript,markør,henvisninger,billeder,tegnsæt,indkodning +Keywords[de]=Konqueror,Kfm,Browser,HTML,Web,WWW,Schriften,Farben,Java,JavaScript,Cursor,Links,Verknüpfungen,Bilder,Zeichensätze,Encoding +Keywords[el]=konqueror,kfm,περιηγητής,html,ιστός,www,γραμματοσειρές,χρώματα,χρώματα,java,javascript,δρομέας,δεσμοί,εικόνες,σύνολα χαρακτήρων,σύνολα χαρακτήρων,κωδικοποίηση +Keywords[en_GB]=konqueror,kfm,browser,html,web,www,fonts,colours,java,javascript,cursor,links,images,charsets,character sets,encoding +Keywords[eo]=Konkeranto,Kfm,TTT,HTML,WWW,tiparo,koloro,Javo,Javoskripto,kursoro,kursilo,ligo,referenco,bildo,signaro,kodo +Keywords[es]=konqueror,kfm,navegador,html,web,www,tipo de letra,colores,java,javascript,cursor,enlaces,imágenes,mapas de caracteres,codificación +Keywords[et]=konqueror,kfm,veebilehitseja,html,veeb,www,fondid,värvid,java,javascript,kursor,viidad,lingid,pildid,kooditabel,kodeering +Keywords[eu]=konqueror,kfm,arakatzailea,html,web,www,letra-tipoak,koloreak,java,javascript,kurtsorea,linkak,irudiak,karaktere-multzoak,karaktereen hobespenak,kodeketa +Keywords[fa]=konqueror، kfm، مرورگر، زنگام، وب، www، قلمها، رنگها، رنگها، جاوا، جاوااسکریپت، مکان‌نما، پیوندها، تصاویر، نوسه‌گان، نویسه‌گان، کدبندی +Keywords[fi]=konqueror,kfm,selain,html,web,www,kirjasimet,värit,java,javascript,osoitin,linkit,kuvat,merkistöt,koodaus +Keywords[fr]=konqueror,kfm,navigateur,html,web,www,polices,couleurs,java,javascript,curseur,liens,images,jeu de caractères,caractères,codage,encodage +Keywords[fy]=konqueror,kfm,browser,blêder,html,web,www,fonts,lettertypen,kleuren,java,javascript,javaskript,cursor,links,rinnerke,skeakels,ôfbyldingen,charsets,tekensets,karaktersamling,kodearring,ynternet +Keywords[ga]=konqueror,kfm,brabhsálaí,html,gréasán,www,clófhoirne,clónna,dathanna,java,javascript,cúrsóir,naisc,nascanna,íomhánna,tacair charachtair,ionchódú +Keywords[gl]=konqueror,kfm,navegador,html,web,www,fontes,cores,java,javascript,ponteiro,ligazóns,imaxes,carácteres,conxunto de carácteres,codificación +Keywords[he]=גופנים,צבעים,Java,ג'אווה,מצביע,קישורים,תמונות,מערכי תווים,קידוד,WWW,רשת, HTML,דפדפן,KFM,Konqueror, kfm,browser,html,web,www,fonts,colours,colors,java,javascript,cursor,links, images,charsets,character sets,encoding +Keywords[hi]=कॉन्करर,केएफएम,ब्राउज़र,एचटीएमएल,वेब,डब्ल्यूडब्ल्यूडब्ल्यू,फ़ॉन्ट्स,रंग,जावा,जावास्क्रिप्ट,संकेतक,लिंक्स,छवि,अक्षर माला,अक्षरमाला,एनकोडिंग +Keywords[hr]=konqueror,kfm,browser,html,web,www,fonts,colours,colors,java,javascript,cursor,links,images,charsets,character sets,encoding,preglednik,fontovi,boja,boje,pokazivač,veze,slike,znakovi,kodiranje,kodiranje zakova +Keywords[hu]=Konqueror,KFM,böngésző,HTML,web,WWW,betűtípusok,színek,Java,JavaScript,egérmutató,linkek,képek,karakterkészletek,kódolás +Keywords[is]=vafri,vefur,vefurinn,vefsíður,letur,litir,kóðun,stafatafla,bendill,myndir,www,html,stafir +Keywords[it]=konqueror,kfm,browser,html,web,www,caratteri,colori,java,javascript,cursore,collegamenti,link,immagini,set di caratteri,charset,codifica +Keywords[ja]=konqueror,kfm,ブラウザ,html,web,ウェブ,www,フォント,色,色,java,javascript,カーソル,リンク,画像,文字セット,文字セット,エンコーディング +Keywords[km]=konqueror,kfm,កម្មវិធី​រុករក,html,បណ្ដាញ,វើលវ៉ាយវិប,ពុម្ពអក្សរ,ពណ៌,java,javascript,ទស្សន៍ទ្រនិច,តំណ,រូបភាព,សំណុំ​តួអក្សរ, +Keywords[lt]=konqueror,kfm,browser,html,web,www,fonts,colours,colors,java,javascript,cursor,links,images,charsets,character sets,encoding,narašymas,html,tinklalapis,tinklapis,www,šriftai,koloritai,spalvos,,java,java scebarijus,žymeklis,nuorodos,paveikslai,simboliai,koduotė,simbolių rinkinys +Keywords[lv]=iekarotājs,kfm,pārlūks,html,web,www,fonti,krāsojums,krāsas,java,javaskripts,kursors,saites,attēli,simbolukomplekti,simbolu komplekti,kodējums +Keywords[mk]=konqueror,kfm,browser,html,web,www,fonts,colours,colors,java,javascript,cursor,links,images,charsets,character sets,encoding,прелистувач,веб,фонтови,бои,курсор,врски,слики,знаковни множества,кодирање +Keywords[mn]=Конкюрор,Kfm,Хөтөч,HTML,Вэб,WWW,Бичиг,Өнгө,Java,JavaScript,Түүчээ,Холбоосууд,Links,Зураг,Тэмдэгт олонлог,Кодчилол +Keywords[nb]=konqueror,kfm,nettleser,html,nettet,www,veven,verdensveven,skriftyper,farger,java,javaskript,markør,tegnsett,koding,bilde,skriptspråk,Internett +Keywords[nds]=Konqueror,kfm,Browser,Nettkieker,HTML,web,www,Schriftoorden,Klören,Klöör,Java,JavaScript,Cursor,Links,Biller,Tekensett,Tekensetten,Koderen +Keywords[ne]=कन्क्वेरर, kfm, ब्राउजर,html, वेब,www, फन्ट, रङ, रङहरू, जाभा, जाभास्क्रिप्ट, कर्सर, लिङ्क, छवि, चारसेट, क्यारेक्टर सेट, सङ्केतन +Keywords[nl]=konqueror,kfm,browser,html,web,www,fonts,lettertypen,kleuren,,java,,javascript,cursor,links,koppelingen,afbeeldingen,charsets,tekensets,tekenverzamelingen,codering,internet +Keywords[nn]=Konqueror,KFM,nettlesar,HTML,verdsveven,WWW,skrifter,fargar,Java,JavaScript,skriptspråk,Internett,peikar,lenkjer,bilete,teiknsett,koding,teiknkoding +Keywords[nso]=konqueror,kfm,seinyakisi,html,web,www,difonto,mebala,mebala,java,setlankana sa java,cursor,dikgokaganyi,diponagalo,charsets,dipeakanyo tsa dihlaka,go khouta +Keywords[pa]=ਕੋਨਕਿਉਰਰ,kfm,ਝਲਕਾਰਾ,html,web,www,ਫੋਂਟ, ਰੰਗ, ਜਾਵਾ, ਜਾਵਾ ਸਕ੍ਰਿਪਟ, ਕਰਸਰ, ਸਬੰਧ, ਚਿੱਤਰ, ਅੱਖਰ-ਸੈਟ, ਇੰਕੋਡਿੰਗ +Keywords[pl]=konqueror,kfm,przeglądarka,html,sieć www,czcionki,kolory,java,javascript,kursor,linki,odnośniki,obrazki,zestawy znaków,kodowanie +Keywords[pt]=konqueror,kfm,navegador,html,web,www,tipos de letra,fontes,cores,java,javascript,cursor,ligações,imagens,charsets,mapas de caracteres,codificação +Keywords[pt_BR]=Konqueror,kfm,navegador,html,web,WWW,fontes,cores,java,javascript, cursor,ligações,imagens,conjuntos de caracteres,codificação +Keywords[ro]=konqueror,kfm,navigator,browser,html,web,www,font,culori,java,javascript,cursor,legături,imagini,set de caractere,codare +Keywords[rw]=Konqueror,kfm,mucukumbuzi,html,urubuga,www,imyandikire, amabara,amabara,java,javascript,inyoborayandika,amahuza,itsinda-nyuguti,amatsinda y'inyuguti,gusobeka +Keywords[se]=konqueror,kfm,fierpmádatlogan,html,web,WWW,fonttat,ivnnit,java,javascript,seaván,liŋkkat,govat,mearkarájut,koden +Keywords[sk]=konqueror,kfm,prehliadač,html,web,www,písma,farby,java,javascript,kurzor,odkazy,obrázky,znakové sady,kódovanie +Keywords[sl]=konqueror,kfm,brskalnik,html,splet,www,pisave,barve,java,javascript,kurzor,povezave,slike,nabori znakov,znakovni nabori,kodiranje +Keywords[sr]=konqueror,kfm,browser,html,web,www,fonts,colours,colors,java,javascript,cursor,links,images,charsets,character sets,encoding,прегледач,веб,фонтови,боје,показивач,везе,слике,скупови знакова,кодирање +Keywords[sr@Latn]=konqueror,kfm,browser,html,web,www,fonts,colours,colors,java,javascript,cursor,links,images,charsets,character sets,encoding,pregledač,veb,fontovi,boje,pokazivač,veze,slike,skupovi znakova,kodiranje +Keywords[sv]=konqueror,kfm,webbläsare,html,webb,www,teckensnitt,färger,java,javaskript,länkar,bilder,kodning,teckenuppsättningar +Keywords[ta]=கான்கொரர்,kfm,உலாவி,html,வலை,www,எழுத்துருக்கள்,வண்ணங்கள்,வண்ணங்கள்,ஜாவா,ஜாவா எழுத்துரு,நிலைக்காட்டி,இணைப்புகள்,பிம்பங்கள்,charsets,சொல் அமைப்புகள்,குறியீடு +Keywords[th]=คอนเควอร์เรอร์,kfm,บราวเซอร์,html,เว็บ,www,แบบอักษร,สี,จาวา,จาวาสคริปต์,เคอร์เซอร์,ลิงค์,ภาพ,ชุดรหัสอักขระ,ชุดรหัสอักขระ,การเข้ารหัส +Keywords[tr]=konqueror,kfm,tarayıcı,html,web,www,yazı tipleri,renkler,java,javascript,karakter,karakter seti,kodlama,bağlantılar,resimler,imleç +Keywords[uk]=konqueror,kfm,навігатор,html,шрифти,web,Тенета,кольори,java,javascript,курсор,www,посилання,зображення,набори символів,кодування +Keywords[uz]=konqueror,kfm,html,www,brauzer,veb,shriftlar,belgilar toʻplami,kodlash usuli,java,javascript,bogʻlar,kursor,ranglar +Keywords[uz@cyrillic]=konqueror,kfm,html,www,браузер,веб,шрифтлар,белгилар тўплами,кодлаш усули,java,javascript,боғлар,курсор,ранглар +Keywords[ven]=konqueror,kfm,buronza,html,webu,www,dzifontu,mivhala,mivhala,java,manwalwa a java,cursor,vhukwamani,zwifanyiso,tshasete,mavhekanyele a muanewa,uinikhouda +Keywords[vi]=konqueror,kfm,trình duyệt,html,web,www,phông chữ,màu sắc,màu,java,javascript,con trỏ,liên kết,hình ảnh,ký tự,tập ký tự,mã ký tự +Keywords[wa]=konqueror,kfm,betchteu,html,waibe,www,fontes,coleurs,java,javascript,cursoe,loyéns,imådjes,ecôdaedjes +Keywords[xh]=konqueror,kfm,umkhangeli zincwadi,html,web,www,imigca,imibala,imibala,java,okushicilelwe phantsi kwe java,isalatisi,amakhonkco,imifanekiso,icharsets,amaqela abasebenzi, encoding +Keywords[zh_CN]=konqueror,kfm,browser,html,web,www,fonts,colours,colors,java,javascript,cursor,links,images,charsets,character sets,encoding,浏览,字体,颜色,光标,链接,图像,字符集,编码 +Keywords[zh_TW]=konqueror,kfm,browser,html,web,www,fonts,colours,colors,java,javascript,cursor,links,images,charsets,character sets,encoding,瀏覽,字型,色彩,顏色,游標,連結,影像,字元,字集,編碼 +Keywords[zu]=konqueror,kfm,umcingi,html,web,www,izinhlobo zamagama, imibala,imibala,java,javascripy,inkomba,izixhumanisi,izithombe,charsets, amaqoqo ezimpawu,ukubhala ngekhodi + +Categories=Qt;TDE;X-TDE-settings-webbrowsing; diff --git a/kcontrol/konqhtml/tdehtml_filter.desktop b/kcontrol/konqhtml/tdehtml_filter.desktop new file mode 100644 index 000000000..e23404714 --- /dev/null +++ b/kcontrol/konqhtml/tdehtml_filter.desktop @@ -0,0 +1,145 @@ +[Desktop Entry] +Type=Application +DocPath=kcontrol/tdehtml/index.html#tdehtml-adblock +Icon=filter +Exec=kcmshell tdehtml_filter + +X-TDE-Library=konqhtml +X-TDE-FactoryName=tdehtml_filter + +Name=AdBlocK Filters +Name[af]=Advertensie blok filters +Name[ar]=مرشحات مكافحة الدعايات +Name[be]=Фільтры AdBlocK +Name[bg]=Блокиране на реклами +Name[bn]=অ্যাড্-ব্লক ফিল্টার +Name[br]=Siloù AdBlocK +Name[bs]=AdBlocK filteri +Name[ca]=Filtres de bloqueig publicitari +Name[cs]=AdBlocK filtry +Name[csb]=Flitrë AdBlocK +Name[da]=AdBlocK filtre +Name[de]=Werbefilter +Name[el]=Φίλτρα AdBlocK +Name[eo]=ReklamBloK Filtroj +Name[es]=Filtros de anuncios (AdBlock) +Name[et]=AdBlocK filtrid +Name[eu]=AdBlocK iragazkiak +Name[fa]=پالایه‌های AdBlocK +Name[fi]=AdBlocK-suotimet +Name[fr]=Filtres AdBlocK +Name[fy]=AdBlock-filters +Name[ga]=Scagairí AdBlockK +Name[gl]=Filtros AdBlocK +Name[he]=מסנני חלונות מקופצים (AdBlock) +Name[hr]=AdBlocK filtri +Name[hu]=AdBlocK szűrők +Name[is]=AdBlocK síur +Name[it]=Filtri AdBlocK +Name[ja]=AdBlocK フィルタ +Name[ka]=AdBlocK ფილტრები +Name[kk]=AdBlocK сүзгілері +Name[km]=តម្រង AdBlocK +Name[ko]=AdBlocK 필터 +Name[lt]=AdBlocK filtrai +Name[mk]=AdBlocK-филтри +Name[ms]=Penapis AdBlocK +Name[nb]=Reklamefiltere +Name[nds]=Warvenfilter +Name[ne]=AdBlocK फिल्टर +Name[nl]=AdBlock-filters +Name[nn]=Reklamefilter +Name[pa]=AdBlocK ਫਿਲਟਰ +Name[pl]=Flitry AdBlocK +Name[pt]=Filtros do AdBlock +Name[pt_BR]=Filtros AdBlocK +Name[ro]=Filtre AdBlocK +Name[ru]=Фильтры AdBlocK +Name[rw]=Muyunguruzi AdBlocK +Name[se]=AdBlocK-sillit +Name[sk]=AdBlock filtre +Name[sl]=Filtri AdBlocK +Name[sr]=AdBlocK-ови филтери +Name[sr@Latn]=AdBlocK-ovi filteri +Name[sv]=Reklamblockeringsfilter +Name[te]=ఏడ్ బ్లాక్ గలనులు +Name[tg]=Филтрҳои AdBlocK +Name[th]=ตัวกรองของ AdBlocK +Name[tr]=AdBlocK Filtreleri +Name[tt]=Reklam Sözgeçläre +Name[uk]=Фільтри AdBlocK +Name[uz]=AdBlocK filterlari +Name[uz@cyrillic]=AdBlocK филтерлари +Name[vi]=Lọc Quảng cáo +Name[wa]=Passetes AdBlocK +Name[zh_CN]=广告拦截过滤器 +Name[zh_TW]=AdBlocK 過濾器 + +Comment=Configure Konqueror AdBlocK filters +Comment[af]=Konfigureer die weg Konqueror raporte self +Comment[ar]=إعداد مرشحات Konqueror لمكافحة الدعايات +Comment[be]=Настаўленні фільтраў AdBlocK для Konqueror +Comment[bg]=Настройване на филтрите за блокиране на реклами +Comment[bn]=কনকরার-এ বিজ্ঞাপন আটকাতে ব্যবহৃত ফিল্টার কনফিগার করুন +Comment[br]=Kefluniañ siloù AdBlocK Konqueror +Comment[bs]=Podesite Konqueror AdBlocK filtere +Comment[ca]=Configura els filtres de bloqueig publicitari de Konqueror +Comment[cs]=Zde můžete nastavit blokování reklam +Comment[csb]=Kònfigùracëjô filtrów AdBlocK Konquerora +Comment[da]=Indstil Konquerors adblock filtre +Comment[de]=Hier können Sie Einstellungen zum Werbefilter vornehmen +Comment[el]=Ρυθμίστε τα φίλτρα AdBlocK του Konqueror +Comment[eo]=Agordo de Konkeranto-ReklamBloK filtroj +Comment[es]=Configuración de los filtros de anuncios de Konqueror +Comment[et]=Konqueror AdBlocK filtrite seadistamine +Comment[eu]=Konfiguratu Konqueror AdBlock iragazkiak +Comment[fa]=پیکربندی پالایه‌های AdBlocK Konqueror +Comment[fi]=Aseta Konquerorin AdBlocK-suotimia +Comment[fr]=Configurer les filtres AdBlocK de Konqueror +Comment[fy]=Konfigurearje de filters om reklame te warjen +Comment[ga]=Cumraigh na Scagairí AdBlocK Konqueror +Comment[gl]=Configurar os filtros AdBlocK en Konqueror +Comment[he]=הגדרת מסנני חלונות מקופצים (AdBlock) +Comment[hr]=Konfiguriranje Konqueror AdBlocK filtara +Comment[hu]=A Konqueror AdBlocK szűrőinek beállítása +Comment[is]=Stilla Konqueror AdBlocK síur +Comment[it]=Configura i filtri AdBlock per Konqueror +Comment[ja]=Konqueror AdBlocK フィルタの設定 +Comment[ka]=Configure Konqueror AdBlocK ფილტრები +Comment[kk]=Konqueror AdBlocK сүзгілерді баптау +Comment[km]=កំណត់​រចនាសម្ព័ន្ធតម្រង​របស់ Konqueror AdBlocK +Comment[ko]=Konqueror AdBlocK 필터 설정 +Comment[lt]=Konfigūruoti Konqueror AdBlocK filtrus +Comment[mk]=Конфигурирајте ги AdBlocK-филтрите на Konqueror +Comment[ms]=Konfigur penapis AdBlocK Konqueror +Comment[nb]=Tilpass Konquerors reklamefiltere +Comment[nds]=Hier kannst Du Konquerors Warvenfilter instellen +Comment[ne]=कन्क्वेरर AdBlocK फिल्टर कन्फिगर गर्नुहोस् +Comment[nl]=Filters voor blokkeren van advertenties in Konqueror instellen +Comment[nn]=Tilpass reklamefiltera til Konqueror +Comment[pa]=ਕੋਨਕਿਉਰਰ ਐਡਬਲਾਕ ਫਿਲਟਰ ਸੰਰਚਨਾ +Comment[pl]=Konfiguracja filtrów AdBlocK Konquerora +Comment[pt]=Configurar os filtros AdBlock do Konqueror +Comment[pt_BR]=Configura os filtros AdBlocK no Konqueror +Comment[ro]=Configurează filtrele AdBlocK pentru Konqueror +Comment[ru]=Настройка блокирования рекламы для Konqueror +Comment[rw]=Kuboneza muyunguruzi AdBlocK Konqueror +Comment[se]=Heivet Konqueror:a AdBlocK-silliid +Comment[sk]=Nastavenie AdBlock filtrov pre Konqueror +Comment[sl]=Nastavitev filtrov AdBlocK za Konqueror +Comment[sr]=Подешавање AdBlock-ових филтера за Konqueror +Comment[sr@Latn]=Podešavanje AdBlock-ovih filtera za Konqueror +Comment[sv]=Anpassa Konquerors reklamblockeringsfilter +Comment[tg]=Танзимоти қулфи рекламаи Ad барои Konqueror +Comment[th]=ปรับแต่งตัวกรอง AdBlocK ของคอนเควอร์เรอร์ +Comment[tr]=Konqueror'ın AdBlocK Filtrelerini yapılandır +Comment[tt]=Konqueror'dağı reklam kistergeçneñ caylaw +Comment[uk]=Налаштувати фільтри блокування реклами для Konqueror +Comment[uz]=Konqueror uchun AdBlocK filterlarini moslash +Comment[uz@cyrillic]=Konqueror учун AdBlocK филтерларини мослаш +Comment[vi]=Cấu hình cách Konqueror lọc bỏ các quảng cáo khó chịu +Comment[wa]=Apontyî es passetes AdBlocK di Konqueror +Comment[zh_CN]=配置 Konqueror 的广告拦截过滤器 +Comment[zh_TW]=設定 Konqueror AdBlocK 過濾器 + +Categories=Qt;TDE;X-TDE-settings-webbrowsing; diff --git a/kcontrol/konqhtml/tdehtml_fonts.desktop b/kcontrol/konqhtml/tdehtml_fonts.desktop new file mode 100644 index 000000000..341508848 --- /dev/null +++ b/kcontrol/konqhtml/tdehtml_fonts.desktop @@ -0,0 +1,230 @@ +[Desktop Entry] +Type=Application +DocPath=kcontrol/tdehtml/index.html#kbrowse-appearance +Icon=fonts +Exec=kcmshell tdehtml_fonts + + +X-TDE-Library=konqhtml +X-TDE-FactoryName=tdehtml_fonts + +Name=Fonts +Name[af]=Skriftipes +Name[ar]=المحارف +Name[az]=Yazı növləri +Name[be]=Шрыфты +Name[bg]=Шрифтове +Name[bn]=ফন্ট +Name[br]=Fontoù +Name[bs]=Fontovi +Name[ca]=Lletres +Name[cs]=Písma +Name[csb]=Fòntë +Name[cy]=Ffontiau +Name[da]=Skrifttyper +Name[de]=Schriftarten +Name[el]=Γραμματοσειρές +Name[eo]=Tiparoj +Name[es]=Tipos de letra +Name[et]=Fondid +Name[eu]=Letra-tipoak +Name[fa]=قلمها +Name[fi]=Kirjasimet +Name[fr]=Polices +Name[fy]=Lettertypen +Name[ga]=Clónna +Name[gl]=Fontes +Name[he]=גופנים +Name[hi]=फ़ॉन्ट्स +Name[hr]=Fontovi +Name[hu]=Betűtípusok +Name[is]=Letur +Name[it]=Tipi di carattere +Name[ja]=フォント +Name[ka]=ფონტები +Name[kk]=Қаріптер +Name[km]=ពុម្ពអក្សរ +Name[ko]=글꼴 +Name[lo]=ຮູບແບບຕົວອັກສອນ +Name[lt]=Šriftai +Name[lv]=Fonti +Name[mk]=Фонтови +Name[mn]=Бичгүүд +Name[ms]=Fon +Name[nb]=Skrifttype +Name[nds]=Schriftoorden +Name[ne]=फन्ट +Name[nl]=Lettertypen +Name[nn]=Skrifttypar +Name[nso]=Difonto +Name[pa]=ਫੋਂਟ +Name[pl]=Czcionki +Name[pt]=Tipos de Letra +Name[pt_BR]=Fontes +Name[ro]=Fonturi +Name[ru]=Шрифты +Name[rw]=Imyandikire +Name[se]=Fonttat +Name[sk]=Písma +Name[sl]=Pisave +Name[sr]=Фонтови +Name[sr@Latn]=Fontovi +Name[ss]=Timo tetinhlamvu temagama +Name[sv]=Teckensnitt +Name[ta]=எழுத்துருக்கள் +Name[tg]=Ҳарфҳо +Name[th]=แบบอักษร +Name[tr]=Yazıtipleri +Name[tt]=Yazu +Name[uk]=Шрифти +Name[uz]=Shriftlar +Name[uz@cyrillic]=Шрифтлар +Name[ven]=Fontu +Name[vi]=Phông chữ +Name[wa]=Fontes +Name[xh]=Uhlobo lwamagama +Name[zh_CN]=字体 +Name[zh_TW]=字型 +Name[zu]=Izinhlobo zamagama +Comment=Configure the fonts used on web pages +Comment[af]=Konfigureer die skriftipes gebruik word op web bladsye +Comment[ar]=إعداد المحارف المستعملة على صفحات الشبكة +Comment[be]=Настаўленні шрыфтоў для выкарыстання на старонках Сеціва +Comment[bg]=Настройване на шрифтовете за уеб страниците +Comment[bn]=ওয়েব পেজ-এ ব্যবহৃত ফন্ট কনফিগার করুন +Comment[br]=Kefluniañ an nodrezhoù evit ar pajennoù gwiad +Comment[bs]=Podesite fontove korištene na web stranicama +Comment[ca]=Configura els tipus de lletres emprades a les pàgines web +Comment[cs]=Nastavení písem pro webové stránky +Comment[csb]=Kònfigùracëjô fòntów na internetowëch starnach +Comment[cy]=Ffurfweddu'r ffontiau sy'n cael eu defnyddio ar dudalennau gwe +Comment[da]=Indstil de skrifttyper der bruges på netsider +Comment[de]=Schriften für die Darstellung von Webseiten festlegen +Comment[el]=Ρυθμίστε τις γραμματοσειρές που χρησιμοποιούνται στις ιστοσελίδες +Comment[eo]=Agordas la tiparojn kiuj estas uzataj sur TTT-paĝoj +Comment[es]=Configuración de los tipos de letra usados en las páginas web +Comment[et]=Veebilehtedel kasutatavate fontide seadistamine +Comment[eu]=Konfiguratu web orrietan erabiliko diren letra-tipoak +Comment[fa]=پیکربندی قلمهای استفاده‌شده در صفحات وب +Comment[fi]=WWW-sivujen kirjasimet +Comment[fr]=Configuration des polices utilisées sur les pages web +Comment[fy]=Hjir kinne jo de lettertypen die brûkt wurde op de websiden ynstelle +Comment[gl]=Configurar as fontes empregadas nas páxinas web +Comment[he]=שינוי הגדרות הגופנים שנעשה בהם שימוש בדפי אינטרנט +Comment[hi]=वेब पृष्ठ पर उपयोग में आने वाले फ़ॉन्ट्स कॉन्फ़िगर करें +Comment[hr]=Konfiguriranje fontova upotrijebljenih na web-stranicama +Comment[hu]=A Konqueror webböngésző betűtípusainak beállítása +Comment[is]=Stillta letur sem notað er á vefsíðum +Comment[it]=Configura i caratteri da usare nelle pagine web +Comment[ja]=ウェブページで使用するフォントを設定 +Comment[ka]=ვებ გვერდების შრიფტების კონფიგურაცია +Comment[kk]=Веб парақтарда қолданатын қаріптер +Comment[km]=កំណត់​រចនាសម្ព័ន្ធ​ពុម្ពអក្សរ ដែល​ប្រើ​លើ​ទំព័រ​បណ្ដាញ +Comment[ko]=웹 페이지의 글꼴 설정 +Comment[lo]=ທ່ານສາມາດປັບແຕ່ງລັກສະນະແລະຄວາມຮູ້ສຶກໃນການໃຊ້ງານ Konqueror ໄດ້ທີ່ນີ້ +Comment[lt]=Čia galite konfigūruoti šriftus, naudojamus tinklalapiuose +Comment[lv]=Šeit Jūs varat konfigurēt tīmekļa lapās lietotos fontus +Comment[mk]=Конфигурирајте ги фонтовите што се користат за веб-страници +Comment[mn]=Вэб хуудас харагдалтын бичиг тогтоох +Comment[ms]=Konfigur fon yang digunakan dalam halaman web +Comment[mt]=Agħżel il-fonts li jintużaw fuq paġni web +Comment[nb]=Tilpass hvilke skrifttyper som brukes på nettsider +Comment[nds]=De Schriftoorden för Nettsieden instellen +Comment[ne]=वेब पृष्ठहरूमा प्रयोग गरिने फन्ट कन्फिगर गर्नुहोस् +Comment[nl]=Hier kunt u de lettertypen die op webpagina's gebruikt worden instellen +Comment[nn]=Oppsett av skrifter for nettsider +Comment[nso]=Beakanya difonto tseo di somiswago go matlakala a web +Comment[pa]=ਵੈੱਬ ਸਫੇ 'ਤੇ ਫੋਂਟ ਸੰਰਚਨਾ +Comment[pl]=Konfiguracja czcionek na stronach internetowych +Comment[pt]=Configurar os tipos de letra usados nas páginas Web +Comment[pt_BR]=Configura as fontes usadas em páginas da web +Comment[ro]=Configurează fonturile utilizate în paginile web +Comment[ru]=Настройка шрифтов веб-страниц +Comment[rw]=Kuboneza imyandikire ikoreshwa ku mapaji rubuga +Comment[se]=Heivet makkár fonttat geavahuvvojit fierpmádatsiidduin +Comment[sk]=Nastavenie písiem pre webové stránky +Comment[sl]=Nastavitve pisav, prikazanih na spletnih straneh +Comment[sr]=Подешавање фонтова који се користе на веб страницама +Comment[sr@Latn]=Podešavanje fontova koji se koriste na veb stranicama +Comment[sv]=Anpassa teckensnitt som används på webbsidor +Comment[ta]=வலைபக்கங்களில் பயன்படுத்தப்படும் எழுத்துருக்களை வடிவமை +Comment[tg]=Танзими ҳарфҳои лозимӣ барои намоиши сафҳоти Вэб +Comment[th]=ปรับแต่งแบบอักษรที่จะใช้กับหน้าเว็บ +Comment[tr]=Web sayfalarında kullanılan yazıtipini buradan yapılandırın +Comment[tt]=Säxifä bitlärendä qullanası yazu törlären caylaw +Comment[uk]=Налаштування шрифтів для сторінок Тенет +Comment[uz]=Veb-sahifalarida ishlatiladigan shriftlarni moslash +Comment[uz@cyrillic]=Веб-саҳифаларида ишлатиладиган шрифтларни мослаш +Comment[ven]=Dzudzanyani dzifontu dzo shumiswa kha masiatari a webu +Comment[vi]=Cấu hình phông chữ sử dụng trên các trang mạng +Comment[wa]=Apontyî les fontes eployeyes ezès pådjes waibe +Comment[xh]=Qwlasela uhlobo lwamagama asebenziswe kumaphepha e web +Comment[zh_CN]=配置网页所使用的字体 +Comment[zh_TW]=設定使用於網頁的字型 +Comment[zu]=Hlanganisela uhlobo lwamagama olusetshenziswa emakhasini e-web +Keywords=konqueror,kfm,browser,html,web,www,fonts,charsets,character sets,encoding +Keywords[be]=Вандроўнік,Сеціва,Шрыфт,Знаказборы,Знаказбор,konqueror,kfm,browser,html,web,www,fonts,charsets,character sets,encoding +Keywords[bg]=уеб, шрифтове, страници, браузър, Интернет, konqueror, kfm, browser, html, web, www, fonts, charsets, character sets, encoding +Keywords[bs]=konqueror,kfm,browser,html,web,www,fonts,charsets,character sets,encoding,preglednik,font,fontovi,skup znakova,kodni raspored +Keywords[ca]=konqueror,kfm,navegador,html,web,www,lletres,caràcters.jocs de caràcters,codificació +Keywords[cs]=Konqueror,Kfm,Prohlížeč,HTML,Web,WWW,Písma,Znakové sady,Kódování +Keywords[csb]=konqueror,kfm,przezérnik,html,séc www,zestôw merków,kòdowanié +Keywords[cy]=konqueror,kfm,porydd,html,gwe,www,ffontiau,setiau nodau,amgodiad +Keywords[da]=konqueror,kfm,browser,HTML,net,www,skrifttyper,tegnsæt,indkodning +Keywords[de]=Konqueror,kfm,Browser,HTML,Web,WWW,Schriften,Zeichensätze,Kodierung +Keywords[el]=konqueror,kfm,περιηγητής,html,ιστός,www,γραμματοσειρές,σύνολα χαρακτήρων,σύνολα χαρακτήρων,κωδικοποίηση +Keywords[eo]=Konkeranto,Kfm,TTT,HTML,WWW,tiparo,koloro,Javo,Javoskripto,kursoro,kursilo,ligo,referenco,bildo,signaro,kodo +Keywords[es]=konqueror,kfm,navegador,html,web,www,tipos de letra,mapas de caracteres,codificación +Keywords[et]=konqueror,kfm,veebilehitseja,html,veeb,www,fondid,kooditabel,kodeering +Keywords[eu]=konqueror,kfm,arakatzailea,html,web,www,letra-tipoak,karaktere-multzoak, karaktere hobespenak,kodeketa +Keywords[fa]=konqueror،kfm، مرورگر، زنگام، وب، www،قلمها، نویسه‌گان، نویسه‌گان،کدبندی +Keywords[fi]=konqueror,kfm,selain,html,web,www,kirjasimet,merkistöt,koodaus +Keywords[fr]=konqueror,kfm,navigateur,html,web,www,polices,couleurs,java,javascript,curseur,liens,images,jeu de caractères,caractères,codage,encodage +Keywords[fy]=konqueror,kfm,browser,blêder,html,web,www,fonts,lettertypen,tekensets,karaktersamling,kodearring,ynternet +Keywords[ga]=konqueror,kfm,brabhsálaí,html,gréasán,www,clónna,clófhoirne,tacair charachtair,ionchódú +Keywords[gl]=konqueror,kfm,navegador,html,web,www,fontes,carácteres,conxunto de carácteres,codificación +Keywords[he]=konqueror,kfm,דפדפן,html,web,www,אינטרנט,browser,web,fonts,charsets,character sets,encoding, גופנים,מערכי תווים,קידוד +Keywords[hi]=कॉन्करर,केएफएम,ब्राउजर,एचटीएमएल,वेब,डब्ल्यूडब्ल्यूडब्ल्यू,फ़ॉन्ट्स,अक्षरमाला,अक्षर माला,एनकोडिंग +Keywords[hr]=konqueror,kfm,browser,html,web,www,fonts,charsets,character sets,encoding,preglednik,fontovi,kodiranje,kodiranje zakova +Keywords[hu]=Konqueror,kfm,böngésző,HTML,web,WWW,betűtípusok,karakterkészletek,betűkészletek,kódolás +Keywords[is]=vafri,vefur,vefurinn,vefsíður,letur,litir,kóðun,stafatafla, bendill,myndir,www,html,stafir +Keywords[it]=konqueror,kfm,browser,html,web,www,caratteri,colori,set di caratteri,charset,codifica +Keywords[ja]=konqueror,kfm,ブラウザ,html,web,ウェブ,www,フォント,文字,文字セット,色,カラー,エンコーディング +Keywords[km]=konqueror,kfm,កម្មវិធី​រុករក,html,បណ្ដាញ,វើលវ៉ាយវិប,ពុម្ពអក្សរ,ការ​អ៊ិនកូដ +Keywords[lt]=konqueror,kfm,browser,html,web,www,fonts,colours,colors,charsets,character sets,encodingsets,encoding,narašymas,html,tinklalapis,tinklapis,www,šriftai,spalvos,simbolių rinkiniai,koduotė +Keywords[lv]=iekarotājs,kfm,pārlūks,html,web,www,fonti,krāsojums,krāsas,java,javaskripts,kursors,saites,attēli,simbolukomplekti,simbolu komplekti,kodējums +Keywords[mk]=konqueror,kfm,browser,html,web,www,fonts,charsets,character sets,encoding,прелистувач,веб,фонтови,знаковни множества,кодирање +Keywords[mn]=Конкюрор,kfm,Хөтөч,HTML,Вэб,WWW,Бичиг,Тэмдэгт олонлог,Кодчилол +Keywords[nb]=konqueror,kfm,nettleser,html,nettet,www,veven,verdensveven,Internett,skriftyper,skrifter,koding,tegnsett,tegnkoding +Keywords[nds]=Konqueror,kfm,Nettkieker,browser,HTML,web,www,Schriftoorden,Tekensetten,Koderen +Keywords[ne]=कन्क्वेरर,kfm, ब्राउजर,html, वेब,www, फन्टहरू, चारसेटहरू, क्यारेक्टर सेट, सङ्केतन +Keywords[nl]=konqueror,kfm,browser,html,web,www,fonts,lettertypen,tekensets,karakterverzamelingen,codering,encoding,internet +Keywords[nn]=Konqueror,KFM,nettlesar,HTML,verdsveven,WWW,skrifter,teiknsett,koding,teiknkoding +Keywords[nso]=konqueror,kfm,seinyakisi,html,web,www,difonto,charsets,dipeakanyo tsa dihlaka,go khouta +Keywords[pa]=ਕੋਨਕਿਉਰਰ,kfm,ਝਲਕਾਰਾ,html,web,www,ਫੋਂਟ, ਅੱਖਰ-ਸੈਟ, ਅੱਖਰ ਸੈਟ, ਇੰਕੋਡਿੰਗ +Keywords[pl]=konqueror,kfm,przeglądarka,html,sieć www,zestawy znaków,kodowanie +Keywords[pt]=konqueror,kfm,navegador,html,web,www,tipos de letra,fontes,cores,java,javascript,cursor,ligações,imagens,charsets,mapas de caracteres,codificação +Keywords[pt_BR]=konqueror,kfm,navegador,html,web,WWW,fontes,conjuntos de caracteres,codificação +Keywords[ro]=konqueror,kfm,navigator,browser,html,web,www,fonturi,culori,java,javascript,cursor,legături,imagini,set de caractere,codare +Keywords[rw]= Konqueror,kfm,mucukumbuzi,html,urubuga,www,imyandikire, itsinda-nyuguti, amatsinda y'inyuguti,gusobeka +Keywords[se]=Konqueror,kfm,fierpmádatlogan,html,web,www,fonttat,mearkarájut,koden +Keywords[sk]=konqueror,kfm,prehliadač,html,web,www,písma,farby,znakové sady,kódovanie +Keywords[sl]=konqueror,kfm,brskalnik,html,splet,www,pisave,nabori znakov,znakovni nabori,kodiranje +Keywords[sr]=konqueror,kfm,прегледач,html,web,www,фонтови,боје,java,јавасцрипт,показивач,везе,слике,кодни распоред,скуп знакова,кодирање +Keywords[sr@Latn]=konqueror,kfm,pregledač,html,web,www,fontovi,boje,java,javascript,pokazivač,veze,slike,kodni raspored,skup znakova,kodiranje +Keywords[sv]=konqueror,kfm,webbläsare,html,webb,www,teckensnitt,färger,java,javaskript,länkar,bilder,kodning,teckenuppsättningar +Keywords[ta]=கான்கொரர், கோப்பு மேலாளர், html,வலை, www,எழுத்துரு, எழுத்தமைப்பு முறை,எழுத்தமைப்பு முறை, குறியீடு முறை +Keywords[th]=คอนเควอร์เรอร์,kfm,บราวเซอร์,html,เว็บ,www,แบบอักษร,อักขระ,ชุดอักขระ,การเข้ารหัส +Keywords[tr]=konqueror,kfm,tarayıcı,html,web,www,yazı tipleri,kodlama +Keywords[uk]=konqueror,kfm,навігатор,html,шрифти,Тенета,www,набори символів,кодування +Keywords[uz]=konqueror,kfm,html,www,brauzer,veb,shriftlar,belgilar toʻplami,kodlash usuli +Keywords[uz@cyrillic]=konqueror,kfm,html,www,браузер,веб,шрифтлар,белгилар тўплами,кодлаш усули +Keywords[ven]=konqueror,kfm,buronza,html,webu,www,dzifontu,mivhala,mivhala,java,manwalwa a java,cursor,vhukwamani,zwifanyiso,tshasete,mavhekanyele a muanewa,uinikhouda +Keywords[vi]=konqueror,kfm,trình duyệt,html,web,www,phông chữ,ký tự,bảng ký tự,mã ký tự +Keywords[wa]=konqueror,kfm,betchteu,html,waibe,www,fontes,ecôdaedjes,ecôdaedje +Keywords[xh]=konqueror,kfm,umkhangeli zincwadi,html,web,www,imigca, amaqela abasebenzisi,encoding +Keywords[zh_CN]=konqueror,kfm,browser,html,web,www,fonts,charsets,character sets,encoding,浏览器,网页,字体,字符集,编码 +Keywords[zh_TW]=konqueror,kfm,browser,html,web,www,fonts,charsets,character sets,征服家,字元,字元集,編碼,瀏覽器,字型,網頁 +Keywords[zu]=konqueror,kfm,umcingi,html,web,www,izinhlobo zamagama,charsets,amaqoqo ezimpawu,ukubhala ngekhodi + +Categories=Qt;TDE;X-TDE-settings-webbrowsing; diff --git a/kcontrol/konqhtml/tdehtml_java_js.desktop b/kcontrol/konqhtml/tdehtml_java_js.desktop new file mode 100644 index 000000000..e0477c0e6 --- /dev/null +++ b/kcontrol/konqhtml/tdehtml_java_js.desktop @@ -0,0 +1,211 @@ +[Desktop Entry] +Type=Application +DocPath=kcontrol/tdehtml/index.html#kbrowse-java +Icon=konqueror +Exec=kcmshell tdehtml_java_js + + +X-TDE-Library=konqhtml +X-TDE-FactoryName=tdehtml_java_js + +Name=Java & JavaScript +Name[af]=Java & Javaskrip +Name[ar]=Java و JavaScript +Name[az]=Java və JavaScript +Name[be]=Java і JavaScript +Name[bg]=Java и JavaScript +Name[bn]=জাভা এবং জাভাস্ক্রিপ্ট +Name[bs]=JavaScript i Java +Name[ca]=Java i JavaScript +Name[cs]=Java a JavaScript +Name[csb]=Java ë JavaScript +Name[cy]=Java a JavaScript +Name[eo]=Ĝavo kaj Ĝavoskripto +Name[es]=Java y JavaScript +Name[et]=Java ja JavaScript +Name[eu]=Java eta JavaScript +Name[fa]=جاوا و جاوااسکریپت +Name[fi]=Java ja JavaScript +Name[fy]=Java en JavaSkript +Name[gl]=Java e JavaScript +Name[he]=JavaScript-ו Java +Name[hi]=जावा एवं जावा-स्क्रिप्ट +Name[hr]=Java i JavaScript +Name[hu]=Java/Javascript +Name[is]=Java og JavaScript +Name[it]=Java e JavaScript +Name[ka]=Java და JavaScript +Name[kk]=Java және JavaScript +Name[ko]=자바와 자바스크립트 +Name[lo]=ແຟ້່ມໂພສ໌ສຄລິບແລະ PDF +Name[lt]=Java ir JavaScript +Name[mk]=Java и JavaScript +Name[mt]=Java u JavaScript +Name[nb]=Java og JavaScript +Name[ne]=जाभा र जाभा स्क्रिप्ट +Name[nl]=Java en JavaScript +Name[nn]=Java og JavaScript +Name[nso]=Java & Setlankana sa Java +Name[pa]=Java ਅਤੇ ਜਾਵਾ ਸਕਰਿਪਟ +Name[pl]=Java i JavaScript +Name[pt]=Java e JavaScript +Name[ro]=Java și JavaScript +Name[ru]=Java и JavaScript +Name[se]=Java ja Javascript +Name[sl]=Java in javascript +Name[ss]=I-Java & JavaScript +Name[sv]=Java och Javaskript +Name[ta]=ஜாவா & ஜாவா எழுத்தாக்கம் +Name[te]=జావా & జావాస్క్రిప్ట్ +Name[tg]=Java ва JavaScript +Name[th]=จาวาและจาวาสคริปต์ +Name[tr]=Java ve JavaScript +Name[tt]=Java belän JavaScript +Name[uz]=Java va JavaScript +Name[uz@cyrillic]=Java ва JavaScript +Name[wa]=Java eyet JavaScript +Name[zh_CN]=Java 和 JavaScript +Name[zh_TW]=Java 與 JavaScript +Comment=Configure the behavior of Java and JavaScript +Comment[af]=Konfigureer die gedrag van Java en Javaskrip +Comment[ar]=إعداد سلوك Java و JavaScript +Comment[be]=Настаўленні Java і JavaScript +Comment[bg]=Настройване на Java и JavaScript +Comment[bn]=জাভা এবং জাভাস্ক্রিপ্ট-এর আচরণ কনফিগার করুন +Comment[br]=Kefluniañ emzalc'h Java ha JavaScript +Comment[bs]=Podesite ponašanje JavaScript i Java-e +Comment[ca]=Configura el comportament de Java i JavaScript +Comment[cs]=Nastavení chování Javy a Javascriptu +Comment[csb]=Kònfigùracëjô dzejaniô Javë ë JavaScriptu +Comment[cy]=Ffurfweddu ymddygiad Java a JavaScript +Comment[da]=Indstil hvordan JavaScript og Java opfører sig +Comment[de]=Verhalten von Java und JavaScript festlegen +Comment[el]=Ρυθμίστε τη συμπεριφορά της Java και της JavaScript +Comment[en_GB]=Configure the behaviour of Java and JavaScript +Comment[eo]=Agordo la konduton de Ĝavo kaj Ĝavoskripto +Comment[es]=Configuración del comportamiento de Java y JavaScript +Comment[et]=Java ja JavaScripti käitumise seadistamine +Comment[eu]=Konfiguratu Java eta JavaScripten portaera +Comment[fa]=پیکربندی رفتار جاوا و جاوااسکریپت +Comment[fi]=Javan ja JavaScriptin asetukset +Comment[fr]=Configuration du comportement de Java et JavaScript +Comment[fy]=Hjir kinne jo it gedrach fan Java en JavaSkript ynstelle +Comment[ga]=Cumraigh oibriú Java agus JavaScript +Comment[gl]=Configurar o comportamento de Java e JavaScript +Comment[he]=שינוי הגדרות Java ו־JavaScript +Comment[hi]=जावा एवं जावा-स्क्रिप्ट कॉन्फ़िगर करें +Comment[hr]=Konfiguriranje ponašanja Jave i JavaScripta +Comment[hu]=A Java és a Javascript beállításai +Comment[is]=Stilla hegðun Java og JavaScript +Comment[it]=Configura il comportamento di Java e JavaScript +Comment[ja]=Java と JavaScript の挙動を設定 +Comment[ka]=Java და JavaScript -ის ქცევის კონფიგურაცია +Comment[kk]=Java және JavaScript қасиеттерін баптау +Comment[km]=កំណត់​រចនាសម្ព័ន្ធ​ឥរិយាបថ​របស់ Java និង JavaScript +Comment[ko]=자바와 자바스크립트 행동 설정 +Comment[lo]=ທ່ານສາມາດປັບແຕ່ງການທຳງານ ຂອງເຄື່ອງມືການຈັດເຊສຊັນໄດ້ທີ່ນີ້ +Comment[lt]=Čia galite konfigūruoti Java bei JavaScript elgseną +Comment[lv]=Šeit Jūs varat konfigurēt Java un JavaScript izturēšanos +Comment[mk]=Конфигурирајте го однесувањето на Java и JavaScript +Comment[mn]=Java ба JavaScript-н байдлыг тогтоох +Comment[ms]=Konfigur kelakuan Java dan JavaScript +Comment[mt]=Ikkonfigura l-imġieba ta' Java u JavaScript +Comment[nb]=Innstillinger for Java og JavaScript +Comment[nds]=Dat Bedregen vun Java un JavaSkript hier instellen +Comment[ne]=जाभा र जाभा स्क्रिप्टकको व्यवहार कन्फिगर गर्नुहोस् +Comment[nl]=Hier kunt u het gedrag van Java en JavaScript instellen +Comment[nn]=Innstillingar for Java og JavaScript +Comment[nso]=Beakanya maitshwaro a Java le setlankana sa Java +Comment[pa]=Java ਅਤੇ ਜਾਵਾ-ਸਕਰਿਪਟ ਦੇ ਵਿਹਾਰ ਦੀ ਸੰਰਚਨਾ +Comment[pl]=Konfiguracja działania Javy i JavaScriptu +Comment[pt]=Configurar o comportamento do Java e do JavaScript +Comment[pt_BR]=Configura o comportamento do Java e JavaScript +Comment[ro]=Configurează comportamentul Java și JavaScript +Comment[ru]=Настройка поведения Java и JavaScript +Comment[rw]=Kuboneza imyitwarire ya Java na JavaScript +Comment[se]=Java ja Javascript-heivehusat +Comment[sk]=Nastavenie správania jazykov JavaScript a Java +Comment[sl]=Nastavitve obnašanja jave in javascripta +Comment[sr]=Подешавање понашања Java-е и JavaScript-а +Comment[sr@Latn]=Podešavanje ponašanja Java-e i JavaScript-a +Comment[sv]=Anpassa beteendet hos Java och Javaskript +Comment[ta]=ஜாவா மற்றும் ஜாவா எழுத்தாக்கத்தின் இயக்கத்தை வடிவமைக்க முடியும். +Comment[tg]=Танзими нафъи рафтори Java ва JavaScript +Comment[th]=ปรับแต่งพฤติกรรมของจาวาและจาวาสคริปต์ +Comment[tr]=Java ve JavaScript ayarlarını buradan hazırlayın +Comment[tt]=Java belän JavaScript caylaw +Comment[uk]=Налаштування поведінки Java та JavaScript +Comment[uz]=Java va JavaScript xususiyatlarini moslash +Comment[uz@cyrillic]=Java ва JavaScript хусусиятларини мослаш +Comment[ven]=Dzudzanyani maitele a Java na Javascript +Comment[vi]=Cấu hình cách hoạt động của Java và JavaScript +Comment[wa]=Apontyî li dujhance pol Java eyet l' JavaScript +Comment[xh]=Qwalasela ukuziphatha kwe Java ne JavaScript +Comment[zh_CN]=配置 Java 和 JavaScript 的行为 +Comment[zh_TW]=設定 Java 與 JavaScript 的行為 +Comment[zu]=Hlanganisela ukuthi i-Java kanye ne-JavaScript iziphathe kanjani +Keywords=konqueror,kfm,browser,html,web,www,java,javascript +Keywords[be]=Вандроўнік,Сеціва,Сцэнар,konqueror,kfm,browser,html,web,www,java,javascript +Keywords[bg]=Джава, Джава скрипт, скрипт, konqueror, kfm, browser, html, web, www, java, javascript +Keywords[br]=konqueror,kfm,furcher,html,web,gwiad,java,javascript +Keywords[ca]=konqueror,kfm,navegador,html,web,www,java,javascript +Keywords[cs]=Konqueror,Kfm,Prohlížeč,HTML,Web,WWW,Java,JavaScript +Keywords[csb]=konqueror,kfm,przezérnik,html,séc www,www,java,javascript +Keywords[cy]=konqueror,kfm,porydd,html,gwe,www,java,javascript +Keywords[da]=konqueror,kfm,browser,HTML,net,www,java,javascript +Keywords[de]=Konqueror,kfm,Browser,HTML,Web,WWW,Java,JavaScript +Keywords[el]=konqueror,kfm,περιηγητής,html,ιστός,www,java,javascript +Keywords[eo]=Konkeranto,Kfm,TTT,HTML,WWW,tiparo,koloro,Javo,Javoskripto,kursoro,kursilo,ligo,referenco,bildo,signaro,kodo +Keywords[es]=konqueror,kfm,navegador,html,web,wwwjava,javascript +Keywords[et]=konqueror,kfm,veebilehitseja,html,veeb,www,java,javascript +Keywords[eu]=konqueror,kfm,arakatzailea,html,web,www,java,javascript +Keywords[fa]=konqueror، kfm، مرورگر، زنگام، وب، www، جاوا، جاوااسکریپت +Keywords[fi]=konqueror,kfm,selain,html,web,www,java,javascript +Keywords[fr]=konqueror,kfm,navigateur,html,web,www,polices,couleurs,java,javascript,curseur,liens,images,jeu de caractères,caractères,codage,encodage +Keywords[fy]=konqueror,kfm,browser,blêder,html,web,www,java,javaskript,ynternet +Keywords[ga]=konqueror,kfm,brabhsálaí,html,gréasán,www,java,javascript +Keywords[gl]=konqueror,kfm,navegador,html,web,www,java,javascript +Keywords[he]=konqueror,kfm,דפדפן,html,אינטרנט,www,java,javascript,ג'אווה, browser,web,www,java,javascript +Keywords[hi]=कॉन्करर,केएफएम,ब्राउज़र,एचटीएमएल,वेब,डब्ल्यूडब्ल्यूडब्ल्यू.जावा,जावा-स्क्रिप्ट +Keywords[hr]=konqueror,kfm,browser,html,web,www,java,javascript,preglednik +Keywords[hu]=Konqueror,kfm,böngésző,HTML,web,WWW,Java,Javascript +Keywords[is]=konqueror,kfm,browser,html,web,www,java,javascript,vafri +Keywords[ja]=konqueror,kfm,ブラウザ,html,web,ウェブ,www,java,javascript +Keywords[km]=konqueror,kfm,កម្មវិធី​រុករក,html,វិប,វើលវ៉ាយវិប,java,javascript +Keywords[lt]=konqueror,kfm,browser,html,web,www,java,javascript, naršyklė,tinklalapiai, žiniatinklis +Keywords[lv]=iekarotājs,kfm,pārlūks,html,web,www,java,javaskripts +Keywords[mk]=konqueror,kfm,browser,html,web,www,java,javascript,прелистувач,веб +Keywords[mn]=Конкюрор,kfm,Хөтөч,HTML,Веб,WWW,Java,JavaScript +Keywords[nb]=konqueror,kfm,html,nettet,www,java,javascript,nettleser,Internett +Keywords[nds]=Konqueror,kfm,browser,Nettkieker,HTML,web,www,Java,JavaScript +Keywords[ne]=कन्क्वेरर, kfm, ब्राउजर, html, वेब, www, जाभा, जाभास्क्रिप्ट +Keywords[nl]=konqueror,kfm,browser,html,web,www,java,javascript,internet +Keywords[nn]=Konqueror,KFM,nettlesar,HTML,verdsveven,WWW,Java,JavaScript +Keywords[nso]=konqueror,kfm,seinyakisi,html,web,www,java,setlankana sa java +Keywords[pa]=ਕੋਨਕਿਉਰਰ,kfm,ਝਲਕਾਰਾ,html,web,www,java,javascript,ਜਾਵਾ +Keywords[pl]=konqueror,kfm,przeglądarka,html,sieć www,www,java,javascript +Keywords[pt]=konqueror,kfm,navegador,html,web,www,java,javascript +Keywords[pt_BR]=konqueror,kfm,navegador,html,web,WWW,java,javascript +Keywords[ro]=konqueror,kfm,navigator,browser,html,web,www,java,javascript +Keywords[rw]= Konqueror,kfm,mucukumbuzi,html,urubuga,www,java,javascript +Keywords[se]=konqueror,kfm,fierpmádatlogan,html,web,www,java,javascript +Keywords[sk]=konqueror,kfm,prehliadač,html,web,www,java,javascript +Keywords[sl]=konqueror,kfm,brskalnik,html,splet,www,java,javascript +Keywords[sr]=konqueror,kfm,прегледач,html,web,www,java,javascript +Keywords[sr@Latn]=konqueror,kfm,pregledač,html,web,www,java,javascript +Keywords[sv]=konqueror,kfm,webbläsare,html,webb,www,teckensnitt,färger,java,javaskript,länkar,bilder,kodning,teckenuppsättningar +Keywords[ta]=கான்கொரர்,kfm,உலாவி,html,வலை,www,ஜாவா,ஜாவா எழுத்தாக்கம் +Keywords[th]=คอนเควอร์เรอร์,kfm,บราวเซอร์,html,เว็บ,www,จาวา,จาวาสคริปต์ +Keywords[tr]=konqueror,kfm,tarayıcı,html,web,www,java,javascript +Keywords[uk]=konqueror,kfm,навігатор,html,web,Тенета,java,javascript,www +Keywords[uz]=konqueror,kfm,brauzer,html,veb,www,java,javascript +Keywords[uz@cyrillic]=konqueror,kfm,браузер,html,веб,www,java,javascript +Keywords[ven]=konqueror,kfm,buronza,html,webu,www,dzifontu,mivhala,mivhala,java,manwalwa a java,cursor,vhukwamani,zwifanyiso,tshasete,mavhekanyele a muanewa,uinikhouda +Keywords[vi]=konqueror,kfm,trình duyệt,html,web,www,java,javascript +Keywords[wa]=konqueror,kfm,betchteu,html,waibe,waibes,www,java,javascript +Keywords[xh]=konqueror,kfm,umkhangeli zincwadi,html,web, www,java,okushicilelwe phantsi kwe java +Keywords[zh_CN]=konqueror,kfm,browser,html,web,www,java,javascript,浏览器 +Keywords[zh_TW]=konqueror,kfm,browser,html,web,www,java,javascript,征服家,瀏覽器,網頁 +Keywords[zu]=konqueror,kfm,umcingi,html,web,www,java,javascript + +Categories=Qt;TDE;X-TDE-settings-webbrowsing; diff --git a/kcontrol/kthememanager/kthememanager.cpp b/kcontrol/kthememanager/kthememanager.cpp index f4b7835bb..4a4817041 100644 --- a/kcontrol/kthememanager/kthememanager.cpp +++ b/kcontrol/kthememanager/kthememanager.cpp @@ -398,7 +398,7 @@ void kthememanager::queryLNFModules() dlg->btnStyle->setIconSet( il->loadIconSet( "style", KIcon::Desktop, 32 ) ); dlg->btnIcons->setIconSet( il->loadIconSet( "icons", KIcon::Desktop, 32 ) ); dlg->btnFonts->setIconSet( il->loadIconSet( "fonts", KIcon::Desktop, 32 ) ); - dlg->btnSaver->setIconSet( il->loadIconSet( "kscreensaver", KIcon::Desktop, 32 ) ); + dlg->btnSaver->setIconSet( il->loadIconSet( "tdescreensaver", KIcon::Desktop, 32 ) ); } void kthememanager::updatePreview( const TQString & pixFile ) diff --git a/kcontrol/pics/cr128-app-kscreensaver.png b/kcontrol/pics/cr128-app-kscreensaver.png deleted file mode 100644 index e8f036fe3..000000000 Binary files a/kcontrol/pics/cr128-app-kscreensaver.png and /dev/null differ diff --git a/kcontrol/pics/cr128-app-tdescreensaver.png b/kcontrol/pics/cr128-app-tdescreensaver.png new file mode 100644 index 000000000..e8f036fe3 Binary files /dev/null and b/kcontrol/pics/cr128-app-tdescreensaver.png differ diff --git a/kcontrol/pics/cr16-app-kscreensaver.png b/kcontrol/pics/cr16-app-kscreensaver.png deleted file mode 100644 index 200fe3dcc..000000000 Binary files a/kcontrol/pics/cr16-app-kscreensaver.png and /dev/null differ diff --git a/kcontrol/pics/cr16-app-tdescreensaver.png b/kcontrol/pics/cr16-app-tdescreensaver.png new file mode 100644 index 000000000..200fe3dcc Binary files /dev/null and b/kcontrol/pics/cr16-app-tdescreensaver.png differ diff --git a/kcontrol/pics/cr22-app-kscreensaver.png b/kcontrol/pics/cr22-app-kscreensaver.png deleted file mode 100644 index 7448fe237..000000000 Binary files a/kcontrol/pics/cr22-app-kscreensaver.png and /dev/null differ diff --git a/kcontrol/pics/cr22-app-tdescreensaver.png b/kcontrol/pics/cr22-app-tdescreensaver.png new file mode 100644 index 000000000..7448fe237 Binary files /dev/null and b/kcontrol/pics/cr22-app-tdescreensaver.png differ diff --git a/kcontrol/pics/cr32-app-kscreensaver.png b/kcontrol/pics/cr32-app-kscreensaver.png deleted file mode 100644 index f527126bc..000000000 Binary files a/kcontrol/pics/cr32-app-kscreensaver.png and /dev/null differ diff --git a/kcontrol/pics/cr32-app-tdescreensaver.png b/kcontrol/pics/cr32-app-tdescreensaver.png new file mode 100644 index 000000000..f527126bc Binary files /dev/null and b/kcontrol/pics/cr32-app-tdescreensaver.png differ diff --git a/kcontrol/pics/cr48-app-kscreensaver.png b/kcontrol/pics/cr48-app-kscreensaver.png deleted file mode 100644 index 749f42253..000000000 Binary files a/kcontrol/pics/cr48-app-kscreensaver.png and /dev/null differ diff --git a/kcontrol/pics/cr48-app-tdescreensaver.png b/kcontrol/pics/cr48-app-tdescreensaver.png new file mode 100644 index 000000000..749f42253 Binary files /dev/null and b/kcontrol/pics/cr48-app-tdescreensaver.png differ diff --git a/kcontrol/pics/cr64-app-kscreensaver.png b/kcontrol/pics/cr64-app-kscreensaver.png deleted file mode 100644 index 69c8214fb..000000000 Binary files a/kcontrol/pics/cr64-app-kscreensaver.png and /dev/null differ diff --git a/kcontrol/pics/cr64-app-tdescreensaver.png b/kcontrol/pics/cr64-app-tdescreensaver.png new file mode 100644 index 000000000..69c8214fb Binary files /dev/null and b/kcontrol/pics/cr64-app-tdescreensaver.png differ diff --git a/kcontrol/privacy/kprivacymanager.cpp b/kcontrol/privacy/kprivacymanager.cpp index 3367bbaa1..e4433ff8f 100644 --- a/kcontrol/privacy/kprivacymanager.cpp +++ b/kcontrol/privacy/kprivacymanager.cpp @@ -103,7 +103,7 @@ bool KPrivacyManager::clearSavedClipboardContents() bool KPrivacyManager::clearFormCompletion() const { - TQFile completionFile(locateLocal("data", "khtml/formcompletions")); + TQFile completionFile(locateLocal("data", "tdehtml/formcompletions")); return completionFile.remove(); } diff --git a/kcontrol/randr/CMakeLists.txt b/kcontrol/randr/CMakeLists.txt index 3e816f2fb..d1f31af8c 100644 --- a/kcontrol/randr/CMakeLists.txt +++ b/kcontrol/randr/CMakeLists.txt @@ -22,26 +22,26 @@ link_directories( ##### other data ################################ -install( FILES krandrtray.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) +install( FILES tderandrtray.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} ) install( FILES randr.desktop DESTINATION ${APPS_INSTALL_DIR}/.hidden ) -install( FILES krandrtray-autostart.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} ) +install( FILES tderandrtray-autostart.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} ) ##### kcm_randr (module) ######################## tde_add_kpart( kcm_randr AUTOMOC - SOURCES krandrmodule.cpp - LINK tdeui-shared krandr-shared + SOURCES tderandrmodule.cpp + LINK tdeui-shared tderandr-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) -##### krandrtray (executable) ################### +##### tderandrtray (executable) ################### -tde_add_executable( krandrtray AUTOMOC +tde_add_executable( tderandrtray AUTOMOC SOURCES - main.cpp krandrtray.cpp krandrapp.cpp - krandrpassivepopup.cpp configdialog.cpp - LINK kutils-shared krandr-shared + main.cpp tderandrtray.cpp tderandrapp.cpp + tderandrpassivepopup.cpp configdialog.cpp + LINK tdeutils-shared tderandr-shared DESTINATION ${BIN_INSTALL_DIR} ) diff --git a/kcontrol/randr/Makefile.am b/kcontrol/randr/Makefile.am index fb55f8da7..d1f137140 100644 --- a/kcontrol/randr/Makefile.am +++ b/kcontrol/randr/Makefile.am @@ -5,32 +5,32 @@ kde_module_LTLIBRARIES = kcm_randr.la METASOURCES = AUTO -kcm_randr_la_SOURCES = krandrmodule.cpp +kcm_randr_la_SOURCES = tderandrmodule.cpp kcm_randr_la_LDFLAGS = -module -avoid-version $(all_libraries) -no-undefined kcm_randr_la_LIBADD = $(LIB_TDEUI) $(LIB_XRANDR) -noinst_HEADERS = krandrmodule.h krandrtray.h krandrapp.h \ - krandrpassivepopup.h configdialog.h +noinst_HEADERS = tderandrmodule.h tderandrtray.h tderandrapp.h \ + tderandrpassivepopup.h configdialog.h -xdg_apps_DATA = krandrtray.desktop +xdg_apps_DATA = tderandrtray.desktop -krandr_data_DATA = randr.desktop -krandr_datadir = $(kde_appsdir)/.hidden +tderandr_data_DATA = randr.desktop +tderandr_datadir = $(kde_appsdir)/.hidden # Autostart autostartdir = $(prefix)/share/autostart -autostart_DATA = krandrtray-autostart.desktop +autostart_DATA = tderandrtray-autostart.desktop #install-data-local: uninstall.desktop # $(mkinstalldirs) $(DESTDIR)$(kde_appsdir)/Settings/Desktop # $(INSTALL_DATA) $(srcdir)/uninstall.desktop -# $(DESTDIR)$(kde_appsdir)/Settings/Desktop/krandrmodule.desktop +# $(DESTDIR)$(kde_appsdir)/Settings/Desktop/tderandrmodule.desktop -bin_PROGRAMS = krandrtray +bin_PROGRAMS = tderandrtray -krandrtray_SOURCES = main.cpp krandrtray.cpp krandrapp.cpp krandrpassivepopup.cpp configdialog.cpp -krandrtray_LDFLAGS = $(all_libraries) $(KDE_RPATH) -lkrandr -krandrtray_LDADD = $(LIB_KFILE) $(LIB_KUTILS) $(LIB_XRANDR) +tderandrtray_SOURCES = main.cpp tderandrtray.cpp tderandrapp.cpp tderandrpassivepopup.cpp configdialog.cpp +tderandrtray_LDFLAGS = $(all_libraries) $(KDE_RPATH) -ltderandr +tderandrtray_LDADD = $(LIB_KFILE) $(LIB_KUTILS) $(LIB_XRANDR) messages: rc.cpp - $(XGETTEXT) *.cpp -o $(podir)/krandr.pot + $(XGETTEXT) *.cpp -o $(podir)/tderandr.pot diff --git a/kcontrol/randr/configdialog.cpp b/kcontrol/randr/configdialog.cpp index 708587527..f2344f1c0 100644 --- a/kcontrol/randr/configdialog.cpp +++ b/kcontrol/randr/configdialog.cpp @@ -31,7 +31,7 @@ #include #include #include -#include +#include #include "configdialog.h" @@ -42,7 +42,7 @@ ConfigDialog::ConfigDialog(TDEGlobalAccel *accel, Ok, 0L, "config dialog" ) { if ( isApplet ) - setHelp( TQString::null, "krandrtray" ); + setHelp( TQString::null, "tderandrtray" ); TQFrame *w = 0L; // the parent for the widgets diff --git a/kcontrol/randr/krandrapp.cpp b/kcontrol/randr/krandrapp.cpp deleted file mode 100644 index f5cfbbde1..000000000 --- a/kcontrol/randr/krandrapp.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (c) 2002,2003 Hamish Rodda - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ - -#include - -#include "krandrapp.h" -#include "krandrapp.moc" - -#include "krandrtray.h" - -#include - -KRandRApp::KRandRApp() - : m_tray(new KRandRSystemTray(0L, "RANDRTray")) -{ - connect(&m_eventMergingTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(handleX11ConfigChangeEvent())); - m_tray->show(); -} - -void KRandRApp::handleX11ConfigChangeEvent() -{ - m_eventMergingTimer.stop(); - m_tray->configChanged(); -} - -bool KRandRApp::x11EventFilter(XEvent* e) -{ - if (e->type == m_tray->screenChangeNotifyEvent()) { - m_eventMergingTimer.start(1000, TRUE); - } - return TDEApplication::x11EventFilter( e ); -} diff --git a/kcontrol/randr/krandrapp.h b/kcontrol/randr/krandrapp.h deleted file mode 100644 index 766b0056c..000000000 --- a/kcontrol/randr/krandrapp.h +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (c) 2002 Hamish Rodda - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ - -#ifndef KRANDRAPP_H -#define KRANDRAPP_H - -#include -#include - -class KRandRSystemTray; - -class KRandRApp : public KUniqueApplication -{ - Q_OBJECT - -public: - KRandRApp(); - - virtual bool x11EventFilter(XEvent * e); - -private slots: - void handleX11ConfigChangeEvent(); - -private: - KRandRSystemTray* m_tray; - TQTimer m_eventMergingTimer; -}; - -#endif diff --git a/kcontrol/randr/krandrbindings.cpp b/kcontrol/randr/krandrbindings.cpp deleted file mode 100644 index d71057748..000000000 --- a/kcontrol/randr/krandrbindings.cpp +++ /dev/null @@ -1,34 +0,0 @@ -// -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 8; -*- -/* This file is part of the KDE project - Copyright (C) by Andrew Stanley-Jones - - 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. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; see the file COPYING. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ -#ifndef NOSLOTS -# define DEF( name, key3, key4, fnSlot ) \ - keys->insert( name, i18n(name), TQString(), key3, key4, TQT_TQOBJECT(this), TQT_SLOT(fnSlot) ) -#else -# define DEF( name, key3, key4, fnSlot ) \ - keys->insert( name, i18n(name), TQString(), key3, key4 ) -#endif -#define WIN KKey::QtWIN - - keys->insert( "Program:krandrtray", i18n("Display Control") ); - - DEF( I18N_NOOP("Switch Displays"), KShortcut(TQString("XF86Display")), KShortcut(TQString("XF86Display")), slotCycleDisplays() ); - -#undef DEF -#undef WIN diff --git a/kcontrol/randr/krandrinithack.cpp b/kcontrol/randr/krandrinithack.cpp deleted file mode 100644 index e69de29bb..000000000 diff --git a/kcontrol/randr/krandrmodule.cpp b/kcontrol/randr/krandrmodule.cpp deleted file mode 100644 index 3eaf46f8b..000000000 --- a/kcontrol/randr/krandrmodule.cpp +++ /dev/null @@ -1,365 +0,0 @@ -/* - * Copyright (c) 2002,2003 Hamish Rodda - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include - -#include "krandrmodule.h" -#include "krandrmodule.moc" - -#include -#include - -// DLL Interface for kcontrol -typedef KGenericFactory KSSFactory; -K_EXPORT_COMPONENT_FACTORY (kcm_randr, KSSFactory("krandr") ) -extern "C" - -{ - KDE_EXPORT void init_randr() - { - KRandRModule::performApplyOnStartup(); - } - - KDE_EXPORT bool test_randr() - { - int eventBase, errorBase; - if( XRRQueryExtension(tqt_xdisplay(), &eventBase, &errorBase ) ) - return true; - return false; - } -} - -void KRandRModule::performApplyOnStartup() -{ - TDEConfig config("kcmrandrrc", true); - if (RandRDisplay::applyOnStartup(config)) - { - // Load settings and apply appropriate config - RandRDisplay display; - if (display.isValid() && display.loadDisplay(config)) - display.applyProposed(false); - } -} - -KRandRModule::KRandRModule(TQWidget *parent, const char *name, const TQStringList&) - : TDECModule(parent, name) - , m_changed(false) -{ - if (!isValid()) { - TQVBoxLayout *topLayout = new TQVBoxLayout(this); - topLayout->addWidget(new TQLabel(i18n("Your X server does not support resizing and rotating the display. Please update to version 4.3 or greater. You need the X Resize And Rotate extension (RANDR) version 1.1 or greater to use this feature."), this)); - kdWarning() << "Error: " << errorCode() << endl; - return; - } - - TQVBoxLayout* topLayout = new TQVBoxLayout(this, 0, KDialog::spacingHint()); - - TQHBox* screenBox = new TQHBox(this); - topLayout->addWidget(screenBox); - TQLabel *screenLabel = new TQLabel(i18n("Settings for screen:"), screenBox); - m_screenSelector = new KComboBox(screenBox); - - for (int s = 0; s < numScreens(); s++) { - m_screenSelector->insertItem(i18n("Screen %1").arg(s+1)); - } - - m_screenSelector->setCurrentItem(currentScreenIndex()); - screenLabel->setBuddy( m_screenSelector ); - TQWhatsThis::add(m_screenSelector, i18n("The screen whose settings you would like to change can be selected using this drop-down list.")); - - connect(m_screenSelector, TQT_SIGNAL(activated(int)), TQT_SLOT(slotScreenChanged(int))); - - if (numScreens() <= 1) - m_screenSelector->setEnabled(false); - - TQHBox* sizeBox = new TQHBox(this); - topLayout->addWidget(sizeBox); - TQLabel *sizeLabel = new TQLabel(i18n("Screen size:"), sizeBox); - m_sizeCombo = new KComboBox(sizeBox); - TQWhatsThis::add(m_sizeCombo, i18n("The size, otherwise known as the resolution, of your screen can be selected from this drop-down list.")); - connect(m_sizeCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSizeChanged(int))); - sizeLabel->setBuddy( m_sizeCombo ); - - TQHBox* refreshBox = new TQHBox(this); - topLayout->addWidget(refreshBox); - TQLabel *rateLabel = new TQLabel(i18n("Refresh rate:"), refreshBox); - m_refreshRates = new KComboBox(refreshBox); - TQWhatsThis::add(m_refreshRates, i18n("The refresh rate of your screen can be selected from this drop-down list.")); - connect(m_refreshRates, TQT_SIGNAL(activated(int)), TQT_SLOT(slotRefreshChanged(int))); - rateLabel->setBuddy( m_refreshRates ); - - m_rotationGroup = new TQButtonGroup(2, Qt::Horizontal, i18n("Orientation (degrees counterclockwise)"), this); - topLayout->addWidget(m_rotationGroup); - m_rotationGroup->setRadioButtonExclusive(true); - TQWhatsThis::add(m_rotationGroup, i18n("The options in this section allow you to change the rotation of your screen.")); - - m_applyOnStartup = new TQCheckBox(i18n("Apply settings on TDE startup"), this); - topLayout->addWidget(m_applyOnStartup); - TQWhatsThis::add(m_applyOnStartup, i18n("If this option is enabled the size and orientation settings will be used when TDE starts.")); - connect(m_applyOnStartup, TQT_SIGNAL(clicked()), TQT_SLOT(setChanged())); - - TQHBox* syncBox = new TQHBox(this); - syncBox->layout()->addItem(new TQSpacerItem(20, 1, TQSizePolicy::Maximum)); - m_syncTrayApp = new TQCheckBox(i18n("Allow tray application to change startup settings"), syncBox); - topLayout->addWidget(syncBox); - TQWhatsThis::add(m_syncTrayApp, i18n("If this option is enabled, options set by the system tray applet will be saved and loaded when TDE starts instead of being temporary.")); - connect(m_syncTrayApp, TQT_SIGNAL(clicked()), TQT_SLOT(setChanged())); - - topLayout->addStretch(1); - - // just set the "apply settings on startup" box - load(); - m_syncTrayApp->setEnabled(m_applyOnStartup->isChecked()); - - slotScreenChanged(TQApplication::desktop()->primaryScreen()); - - setButtons(TDECModule::Apply); -} - -void KRandRModule::addRotationButton(int thisRotation, bool checkbox) -{ - Q_ASSERT(m_rotationGroup); - if (!checkbox) { - TQRadioButton* thisButton = new TQRadioButton(RandRScreen::rotationName(thisRotation), m_rotationGroup); - thisButton->setEnabled(thisRotation & currentScreen()->rotations()); - connect(thisButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotRotationChanged())); - } else { - TQCheckBox* thisButton = new TQCheckBox(RandRScreen::rotationName(thisRotation), m_rotationGroup); - thisButton->setEnabled(thisRotation & currentScreen()->rotations()); - connect(thisButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotRotationChanged())); - } -} - -void KRandRModule::slotScreenChanged(int screen) -{ - setCurrentScreen(screen); - - // Clear resolutions - m_sizeCombo->clear(); - - // Add new resolutions - for (int i = 0; i < currentScreen()->numSizes(); i++) { - m_sizeCombo->insertItem(i18n("%1 x %2").arg(currentScreen()->pixelSize(i).width()).arg(currentScreen()->pixelSize(i).height())); - - // Aspect ratio - /* , aspect ratio %5)*/ - /*.arg((double)currentScreen()->size(i).mwidth / (double)currentScreen()->size(i).mheight))*/ - } - - // Clear rotations - for (int i = m_rotationGroup->count() - 1; i >= 0; i--) - m_rotationGroup->remove(m_rotationGroup->find(i)); - - // Create rotations - for (int i = 0; i < RandRScreen::OrientationCount; i++) - addRotationButton(1 << i, i > RandRScreen::RotationCount - 1); - - populateRefreshRates(); - - update(); - - setChanged(); -} - -void KRandRModule::slotRotationChanged() -{ - if (m_rotationGroup->find(0)->isOn()) - currentScreen()->proposeRotation(RandRScreen::Rotate0); - else if (m_rotationGroup->find(1)->isOn()) - currentScreen()->proposeRotation(RandRScreen::Rotate90); - else if (m_rotationGroup->find(2)->isOn()) - currentScreen()->proposeRotation(RandRScreen::Rotate180); - else { - Q_ASSERT(m_rotationGroup->find(3)->isOn()); - currentScreen()->proposeRotation(RandRScreen::Rotate270); - } - - if (m_rotationGroup->find(4)->isOn()) - currentScreen()->proposeRotation(currentScreen()->proposedRotation() ^ RandRScreen::ReflectX); - - if (m_rotationGroup->find(5)->isOn()) - currentScreen()->proposeRotation(currentScreen()->proposedRotation() ^ RandRScreen::ReflectY); - - setChanged(); -} - -void KRandRModule::slotSizeChanged(int index) -{ - int oldProposed = currentScreen()->proposedSize(); - - currentScreen()->proposeSize(index); - - if (currentScreen()->proposedSize() != oldProposed) { - currentScreen()->proposeRefreshRate(0); - - populateRefreshRates(); - - // Item with index zero is already selected - } - - setChanged(); -} - -void KRandRModule::slotRefreshChanged(int index) -{ - currentScreen()->proposeRefreshRate(index); - - setChanged(); -} - -void KRandRModule::populateRefreshRates() -{ - m_refreshRates->clear(); - - TQStringList rr = currentScreen()->refreshRates(currentScreen()->proposedSize()); - - m_refreshRates->setEnabled(rr.count()); - - for (TQStringList::Iterator it = rr.begin(); it != rr.end(); ++it) - m_refreshRates->insertItem(*it); -} - - -void KRandRModule::defaults() -{ - load( true ); -} - -void KRandRModule::load() -{ - load( false ); -} - -void KRandRModule::load( bool useDefaults ) -{ - if (!isValid()) - return; - - // Don't load screen configurations: - // It will be correct already if they wanted to retain their settings over TDE restarts, - // and if it isn't correct they have changed a) their X configuration, b) the screen - // with another program, or c) their hardware. - TDEConfig config("kcmrandrrc", true); - - config.setReadDefaults( useDefaults ); - - m_oldApply = loadDisplay(config, false); - m_oldSyncTrayApp = syncTrayApp(config); - - m_applyOnStartup->setChecked(m_oldApply); - m_syncTrayApp->setChecked(m_oldSyncTrayApp); - - emit changed( useDefaults ); -} - -void KRandRModule::save() -{ - if (!isValid()) - return; - - apply(); - - m_oldApply = m_applyOnStartup->isChecked(); - m_oldSyncTrayApp = m_syncTrayApp->isChecked(); - TDEConfig config("kcmrandrrc"); - saveDisplay(config, m_oldApply, m_oldSyncTrayApp); - - setChanged(); -} - -void KRandRModule::setChanged() -{ - bool isChanged = (m_oldApply != m_applyOnStartup->isChecked()) || (m_oldSyncTrayApp != m_syncTrayApp->isChecked()); - m_syncTrayApp->setEnabled(m_applyOnStartup->isChecked()); - - if (!isChanged) - for (int screenIndex = 0; screenIndex < numScreens(); screenIndex++) { - if (screen(screenIndex)->proposedChanged()) { - isChanged = true; - break; - } - } - - if (isChanged != m_changed) { - m_changed = isChanged; - emit changed(m_changed); - } -} - -void KRandRModule::apply() -{ - if (m_changed) { - applyProposed(); - - update(); - } -} - - -void KRandRModule::update() -{ - m_sizeCombo->blockSignals(true); - m_sizeCombo->setCurrentItem(currentScreen()->proposedSize()); - m_sizeCombo->blockSignals(false); - - m_rotationGroup->blockSignals(true); - switch (currentScreen()->proposedRotation() & RandRScreen::RotateMask) { - case RandRScreen::Rotate0: - m_rotationGroup->setButton(0); - break; - case RandRScreen::Rotate90: - m_rotationGroup->setButton(1); - break; - case RandRScreen::Rotate180: - m_rotationGroup->setButton(2); - break; - case RandRScreen::Rotate270: - m_rotationGroup->setButton(3); - break; - default: - // Shouldn't hit this one - Q_ASSERT(currentScreen()->proposedRotation() & RandRScreen::RotateMask); - break; - } - m_rotationGroup->find(4)->setDown(currentScreen()->proposedRotation() & RandRScreen::ReflectX); - m_rotationGroup->find(5)->setDown(currentScreen()->proposedRotation() & RandRScreen::ReflectY); - m_rotationGroup->blockSignals(false); - - m_refreshRates->blockSignals(true); - m_refreshRates->setCurrentItem(currentScreen()->proposedRefreshRate()); - m_refreshRates->blockSignals(false); -} - diff --git a/kcontrol/randr/krandrmodule.h b/kcontrol/randr/krandrmodule.h deleted file mode 100644 index 53d428fe1..000000000 --- a/kcontrol/randr/krandrmodule.h +++ /dev/null @@ -1,68 +0,0 @@ -/* - * Copyright (c) 2002 Hamish Rodda - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ - -#ifndef KRANDRMODULE_H -#define KRANDRMODULE_H - -#include - -class TQButtonGroup; -class KComboBox; -class TQCheckBox; - -class KRandRModule : public TDECModule, public KRandrSimpleAPI -{ - Q_OBJECT - -public: - KRandRModule(TQWidget *parent, const char *name, const TQStringList& _args); - - virtual void load(); - virtual void load(bool useDefaults); - virtual void save(); - virtual void defaults(); - - static void performApplyOnStartup(); - -protected slots: - void slotScreenChanged(int screen); - void slotRotationChanged(); - void slotSizeChanged(int index); - void slotRefreshChanged(int index); - void setChanged(); - -protected: - void apply(); - void update(); - - void addRotationButton(int thisRotation, bool checkbox); - void populateRefreshRates(); - - KComboBox* m_screenSelector; - KComboBox* m_sizeCombo; - TQButtonGroup* m_rotationGroup; - KComboBox* m_refreshRates; - TQCheckBox* m_applyOnStartup; - TQCheckBox* m_syncTrayApp; - bool m_oldApply; - bool m_oldSyncTrayApp; - - bool m_changed; -}; - -#endif diff --git a/kcontrol/randr/krandrpassivepopup.cpp b/kcontrol/randr/krandrpassivepopup.cpp deleted file mode 100644 index 12d9f8a3f..000000000 --- a/kcontrol/randr/krandrpassivepopup.cpp +++ /dev/null @@ -1,118 +0,0 @@ -/* - * Copyright (c) 2003 Lubos Lunak - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ - -#include "krandrpassivepopup.h" - -#include - -// this class is just like KPassivePopup, but it keeps track of the widget -// it's supposed to be positioned next to, and adjust its position if that -// widgets moves (needed because after a resolution switch Kicker will -// reposition itself, causing normal KPassivePopup to stay at weird places) - -KRandrPassivePopup::KRandrPassivePopup( TQWidget *parent, const char *name, WFlags f ) - : KPassivePopup( parent, name, f ) - { - connect( &update_timer, TQT_SIGNAL( timeout()), TQT_SLOT( slotPositionSelf())); - } - -KRandrPassivePopup* KRandrPassivePopup::message( const TQString &caption, const TQString &text, - const TQPixmap &icon, TQWidget *parent, const char *name, int timeout ) - { - KRandrPassivePopup *pop = new KRandrPassivePopup( parent, name ); - pop->setAutoDelete( true ); - pop->setView( caption, text, icon ); - pop->setTimeout( timeout ); - pop->show(); - pop->startWatchingWidget( parent ); - return pop; - } - -void KRandrPassivePopup::startWatchingWidget( TQWidget* widget_P ) - { - static Atom wm_state = XInternAtom( tqt_xdisplay() , "WM_STATE", False ); - Window win = widget_P->winId(); - bool x11_events = false; - for(;;) - { - Window root, parent; - Window* children; - unsigned int nchildren; - XQueryTree( tqt_xdisplay(), win, &root, &parent, &children, &nchildren ); - if( children != NULL ) - XFree( children ); - if( win == root ) // huh? - break; - win = parent; - - TQWidget* widget = TQWidget::find( win ); - if( widget != NULL ) - { - widget->installEventFilter( this ); - watched_widgets.append( widget ); - } - else - { - XWindowAttributes attrs; - XGetWindowAttributes( tqt_xdisplay(), win, &attrs ); - XSelectInput( tqt_xdisplay(), win, attrs.your_event_mask | StructureNotifyMask ); - watched_windows.append( win ); - x11_events = true; - } - Atom type; - int format; - unsigned long nitems, after; - unsigned char* data; - if( XGetWindowProperty( tqt_xdisplay(), win, wm_state, 0, 0, False, AnyPropertyType, - &type, &format, &nitems, &after, &data ) == Success ) - { - if( data != NULL ) - XFree( data ); - if( type != None ) // toplevel window - break; - } - } - if( x11_events ) - kapp->installX11EventFilter( this ); - } - -bool KRandrPassivePopup::eventFilter( TQObject* o, TQEvent* e ) - { - if( e->type() == TQEvent::Move && o->isWidgetType() - && watched_widgets.contains( TQT_TQWIDGET( o ))) - TQTimer::singleShot( 0, this, TQT_SLOT( slotPositionSelf())); - return false; - } - -bool KRandrPassivePopup::x11Event( XEvent* e ) - { - if( e->type == ConfigureNotify && watched_windows.contains( e->xconfigure.window )) - { - if( !update_timer.isActive()) - update_timer.start( 10, true ); - return false; - } - return KPassivePopup::x11Event( e ); - } - -void KRandrPassivePopup::slotPositionSelf() - { - positionSelf(); - } - -#include "krandrpassivepopup.moc" diff --git a/kcontrol/randr/krandrpassivepopup.h b/kcontrol/randr/krandrpassivepopup.h deleted file mode 100644 index 3b1d4b4f6..000000000 --- a/kcontrol/randr/krandrpassivepopup.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright (c) 2003 Lubos Lunak - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ - -#ifndef __RANDRPASSIVEPOPUP_H__ -#define __RANDRPASSIVEPOPUP_H__ - -#include -#include -#include -#include - -class KRandrPassivePopup - : public KPassivePopup - { - Q_OBJECT - public: - static KRandrPassivePopup *message( const TQString &caption, const TQString &text, - const TQPixmap &icon, TQWidget *parent, const char *name=0, int timeout = -1 ); - protected: - virtual bool eventFilter( TQObject* o, TQEvent* e ); - virtual bool x11Event( XEvent* e ); - private slots: - void slotPositionSelf(); - private: - KRandrPassivePopup( TQWidget *parent=0, const char *name=0, WFlags f=0 ); - void startWatchingWidget( TQWidget* w ); - TQValueList< TQWidget* > watched_widgets; - TQValueList< Window > watched_windows; - TQTimer update_timer; - }; - -#endif diff --git a/kcontrol/randr/krandrtray-autostart.desktop b/kcontrol/randr/krandrtray-autostart.desktop deleted file mode 100644 index 0273a80cc..000000000 --- a/kcontrol/randr/krandrtray-autostart.desktop +++ /dev/null @@ -1,144 +0,0 @@ -[Desktop Entry] -Name=KRandRTray -Name[be]=Змена параметраў манітора -Name[hu]=Képernyőfelbontás -Name[ne]=KRandR ट्रे -Name[pt_BR]=Ícone do KRandR -Name[sv]=Krandrtray -Name[vi]=Khay KRandR -GenericName=Screen Resize & Rotate -GenericName[af]=Skerm Hervergroot & Roteer -GenericName[be]=Змена памераў экрана і перагортванне -GenericName[bg]=Размер и ротация на екрана -GenericName[bn]=পর্দা মাপবদল ও আবর্তন -GenericName[br]=Adventañ ha treiñ ar skramm -GenericName[bs]=Veličina i rotacija ekrana -GenericName[ca]=Amida i gira la pantalla -GenericName[cs]=Změna velikosti a rotace obrazovky -GenericName[csb]=Òbrócenié ë zjinaka miarë ekranu -GenericName[cy]=Newid Maint a Cylchdroi'r Sgrîn -GenericName[da]=Ændr størrelse på skærm & Rotér -GenericName[de]=Bildschirmgröße & -ausrichtung ändern -GenericName[el]=Αλλαγή μεγέθους & Περιστροφή οθόνης -GenericName[eo]=Regrandigi kaj Turni Ekranon -GenericName[es]=Redimensionar y rotar pantalla -GenericName[et]=Ekraani suuruse muutmine ja pööramine -GenericName[eu]=Pantailaren tamaina aldaketa eta biraketa -GenericName[fa]=تغییر اندازه و چرخش پرده -GenericName[fi]=Näytön kuvan koon muuttaminen ja kuvan kääntäminen -GenericName[fr]=Redimensionnement et rotation de l'écran -GenericName[fy]=Skerm rotearje en grutte wizigje -GenericName[gl]=Rotación e Redimensionamento da Pantallla -GenericName[he]=שינוי גודל המסך וסיבובו -GenericName[hr]=Veličine i orijentacija zaslona -GenericName[hu]=Képernyőbeállító -GenericName[is]=Stærð og snúningur skjáa -GenericName[it]=Ruota e ridimensiona lo schermo -GenericName[ja]=スクリーンのリサイズと回転 -GenericName[ka]=ეკრანის ზომა და ორიენტაცია -GenericName[kk]=Экранды өзгерту және бұрау -GenericName[km]=ប្ដូរ​ទំហំ & បង្វិល​អេក្រង់ -GenericName[ko]=화면 크기 조정 및 회전 -GenericName[lt]=Ekrano dydžio keitimas ir pasukimas -GenericName[mk]=Големина и ротација на екранот -GenericName[ms]=Saiz Semula Skrin & Putar -GenericName[nb]=Endre størrelsen på og rotere skjermbildet -GenericName[nds]=Schirmgrött un -utrichten ännern -GenericName[ne]=पर्दा रिसाइज र परिक्रमण -GenericName[nl]=Scherm roteren en grootte wijzigen -GenericName[nn]=Endra storleiken på og roter skjermbiletet -GenericName[pa]=ਪਰਦਾ ਮੁੜ ਆਕਾਰ ਤੇ ਘੁੰਮਾਓ -GenericName[pl]=Obrót i zmiana rozmiaru ekranu -GenericName[pt]=Mudar o Tamanho e Rodar o Ecrã -GenericName[pt_BR]=Redimensionar Tela & Rotacionar -GenericName[ro]=Redimensionare și rotire ecran -GenericName[ru]=Изменение размера и ориентации экрана -GenericName[rw]=Kuhindura ingano & Kuzengurutsa Mugaragaza -GenericName[se]=Rievdat šearbmagova sturrodaga ja jorat dan -GenericName[sk]=Zmena veľkosti a otočenia obrazovky -GenericName[sl]=Spreminjanje velikosti in obračanje zaslona -GenericName[sr]=Промена величине и ротација екрана -GenericName[sr@Latn]=Promena veličine i rotacija ekrana -GenericName[sv]=Ändra skärmstorlek och rotera -GenericName[ta]=திரை அளவு மாற்று & சுழற்று -GenericName[tg]=Ивази андоза ва мавқеи экран -GenericName[th]=ปรับขนาดและหมุนหน้าจอ -GenericName[tr]=Ekran Boyutlandır ve Döndür -GenericName[tt]=Küräk Ülçäme & Borılışı -GenericName[uk]=Зміна розміру та обертання екрана -GenericName[uz]=Ekraning oʻlchamini oʻzgartirish va burish -GenericName[uz@cyrillic]=Экранинг ўлчамини ўзгартириш ва буриш -GenericName[vi]=Thay đổi cỡ màn hình & Quay -GenericName[wa]=Candjî l' grandeu del waitroûle eyet l' tourner -GenericName[zh_CN]=屏幕大小和旋转 -GenericName[zh_TW]=螢幕調整大小及旋轉 -Comment=Resize and rotate X screens. -Comment[af]=Hervergroot en roteer X skerms. -Comment[ar]=غيير القياس و الدوران للشاشات X. -Comment[be]=Змена памераў і перагортванне экранаў X. -Comment[bg]=Размер и ротация на екрана. -Comment[bn]=আপনার এক্স-স্ক্রীণ-এর আকৃতি এবং দিশা পরিবর্তন করুন -Comment[br]=Adventañ ha treiñ ho diskweloù X. -Comment[bs]=Podesite veličinu i rotirajte vaš ekran. -Comment[ca]=Gira i amida les pantalles X. -Comment[cs]=Změna velikosti a rotace obrazovky. -Comment[csb]=Zjinaka miarë ë pòłożenia ekranów. -Comment[da]=Ændrer størrelse og roterer X-skærme -Comment[de]=Die Größe und Ausrichtung der Anzeige ändern -Comment[el]=Αλλαγή μεγέθους και περιστροφή της οθόνης. -Comment[eo]=Regrandigi kaj turni X ekranojn. -Comment[es]=Ajustar el tamaño y rotar las pantallas X. -Comment[et]=X'i ekraani muutmine ja pööramine -Comment[eu]=Aldatu tamaina eta biratu zure X pantailak. -Comment[fa]=تغییر‌ اندازه و چرخش پرده‌های X. -Comment[fi]=Näytön kuvan koon muuttaminen ja kuvan kääntäminen -Comment[fr]=Redimensionner et retourner votre affichage. -Comment[fy]=Skermgrutte wizigje en rotearje X skermen -Comment[ga]=Athraigh an méid agus rothlaigh scáileáin X. -Comment[gl]=Redimensionar e rotar pantallas -Comment[he]=שנה את גודלה של התצוגה שלך וסובב אותה. -Comment[hr]=Promjena veličine i orijentacije X zaslona -Comment[hu]=A képernyő átméretezése, elforgatása -Comment[is]=Breyta stærð skjásins og snúa honum. -Comment[it]=Ridimensiona e ruota gli schermi di X. -Comment[ja]=X スクリーンのリサイズと回転。 -Comment[ka]=ეკრანის ზომის და ორიენტაციის შეცვლა -Comment[kk]=Экранның өлшемін және бағытын өзгерту -Comment[km]=ប្ដូរ​ទំហំ និង​បង្វិល​អេក្រង់ X ។ -Comment[lt]=Keisti X ekrano dydį ir orientaciją. -Comment[mk]=Сменете ја големината и ротацијата на вашиот екран -Comment[nb]=Endrer størrelsen på og roterer X-skjermbildet -Comment[nds]=Grött un Utrichten vun den X-Schirm ännern -Comment[ne]=X पर्दा रिसाइज गर्नुहोस् र घुमाउनुहोस् -Comment[nl]=Scherm roteren en van grootte veranderen -Comment[nn]=Endra storleiken på og roter X-skjermbiletet. -Comment[pa]=X ਸਕਰੀਨ ਨੂੰ ਮੁੜ-ਅਕਾਰ ਅਤੇ ਘੁੰਮਾਓ। -Comment[pl]=Zmiana rozmiaru i orientacji ekranów. -Comment[pt]=Mudar o tamanho e rodar os ecrãs do X. -Comment[pt_BR]=Redimensiona e rotaciona as tela do X. -Comment[ro]=Redimensionează și rotește ecranele X. -Comment[ru]=Изменение размера и ориентации экранов X. -Comment[se]=Rievdat X-šearpmaid sturrodaga ja joraheami. -Comment[sk]=Zmení veľkosť a otočí obrazovky -Comment[sl]=Spremenite velikost in obrnite zaslon. -Comment[sr]=Промените величину и оријентацију екрана -Comment[sr@Latn]=Promenite veličinu i orijentaciju ekrana -Comment[sv]=Storleksändring och rotation av X-skärmar. -Comment[tg]=Ивази андоза ва мавқеи экранҳои Х. -Comment[th]=ปรับแต่งการแสดงผลของ X -Comment[tr]=Ekranı boyutlandır ve çevir. -Comment[uk]=Зміна розміру та обертання екранів X. -Comment[uz]=Ekraning oʻlchamini oʻzgartirish va burish -Comment[uz@cyrillic]=Экранинг ўлчамини ўзгартириш ва буриш -Comment[vi]=Đổi cỡ và quay màn hình X. -Comment[wa]=Candjî l' grandeu eyet tourner les waitroûles X. -Comment[zh_CN]=更改 X 屏幕的大小和旋转。 -Comment[zh_TW]=調整大小及旋轉 X 螢幕。 -Exec=krandrtray -Icon=randr -X-TDE-autostart-after=panel -X-TDE-StartupNotify=false -X-TDE-UniqueApplet=true -X-TDE-autostart-condition=krandrtrayrc:General:Autostart:true -Categories=System;Applet; - diff --git a/kcontrol/randr/krandrtray.cpp b/kcontrol/randr/krandrtray.cpp deleted file mode 100644 index f30e3102a..000000000 --- a/kcontrol/randr/krandrtray.cpp +++ /dev/null @@ -1,884 +0,0 @@ -/* - * Copyright (c) 2002,2003 Hamish Rodda - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ - -#include -#include -#include - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include - -#include "configdialog.h" - -#include "krandrtray.h" -#include "krandrpassivepopup.h" -#include "krandrtray.moc" - -#define OUTPUT_CONNECTED (1 << 0) -#define OUTPUT_UNKNOWN (1 << 1) -#define OUTPUT_DISCONNECTED (1 << 2) -#define OUTPUT_ON (1 << 3) -#define OUTPUT_ALL (0xf) - -KRandRSystemTray::KRandRSystemTray(TQWidget* parent, const char *name) - : KSystemTray(parent, name) - , m_popupUp(false) - , m_help(new KHelpMenu(this, TDEGlobal::instance()->aboutData(), false, actionCollection())) -{ - setPixmap(KSystemTray::loadSizedIcon("randr", width())); - setAlignment(Qt::AlignHCenter | Qt::AlignVCenter); - connect(this, TQT_SIGNAL(quitSelected()), this, TQT_SLOT(_quit())); - TQToolTip::add(this, i18n("Screen resize & rotate")); - my_parent = parent; - - //printf("Reading configuration...\n\r"); - globalKeys = new TDEGlobalAccel(TQT_TQOBJECT(this)); - TDEGlobalAccel* keys = globalKeys; -#include "krandrbindings.cpp" - // the keys need to be read from kdeglobals, not kickerrc - globalKeys->readSettings(); - globalKeys->setEnabled(true); - globalKeys->updateConnections(); - - connect(kapp, TQT_SIGNAL(settingsChanged(int)), TQT_SLOT(slotSettingsChanged(int))); - -#if (TQT_VERSION-0 >= 0x030200) // XRANDR support -// connect(this, TQT_SIGNAL(screenSizeChanged(int, int)), kapp->desktop(), TQT_SLOT( desktopResized())); -#endif - - randr_display = XOpenDisplay(NULL); - - if (isValid() == true) { - last_known_x = currentScreen()->currentPixelWidth(); - last_known_y = currentScreen()->currentPixelHeight(); - } - - t_config = new KSimpleConfig("kiccconfigrc"); - - TQString cur_profile; - cur_profile = getCurrentProfile(); - if (cur_profile != "") { - applyIccConfiguration(cur_profile, NULL); - } - - TDEHardwareDevices *hwdevices = TDEGlobal::hardwareDevices(); - connect(hwdevices, TQT_SIGNAL(hardwareUpdated(TDEGenericDevice*)), this, TQT_SLOT(deviceChanged(TDEGenericDevice*))); -} - -/*! - * \b TQT_SLOT which called if krandrtray is exited by the user. In this case the user - * is asked through a yes/no box if "KRandRTray should start automatically on log in" and the - * result is written to the KDE configfile. - */ -void KRandRSystemTray::_quit (){ - r_config = new KSimpleConfig("krandrtrayrc"); - - TQString tmp1 = i18n ("Start KRandRTray automatically when you log in?"); - int tmp2 = KMessageBox::questionYesNo ( 0, tmp1, i18n("Question"), i18n("Start Automatically"), i18n("Do Not Start")); - r_config->setGroup("General"); - r_config->writeEntry ("Autostart", tmp2 == KMessageBox::Yes); - r_config->sync (); - - exit(0); -} - -void KRandRSystemTray::resizeEvent ( TQResizeEvent * ) -{ - // Honor Free Desktop specifications that allow for arbitrary system tray icon sizes - TQPixmap origpixmap; - TQPixmap scaledpixmap; - TQImage newIcon; - origpixmap = KSystemTray::loadSizedIcon( "randr", width() ); - newIcon = origpixmap; - newIcon = newIcon.smoothScale(width(), height()); - scaledpixmap = newIcon; - setPixmap(scaledpixmap); -} - -void KRandRSystemTray::mousePressEvent(TQMouseEvent* e) -{ - // Popup the context menu with left-click - if (e->button() == Qt::LeftButton) { - contextMenuAboutToShow(contextMenu()); - contextMenu()->popup(e->globalPos()); - e->accept(); - return; - } - - KSystemTray::mousePressEvent(e); -} - -void KRandRSystemTray::reloadDisplayConfiguration() -{ - // Reload the randr configuration... - int i; - int activeOutputs = 0; - int screenDeactivated = 0; - - if (isValid() == true) { - randr_screen_info = read_screen_info(randr_display); - - // Count outputs in the active state - activeOutputs = 0; - for (i = 0; i < randr_screen_info->n_output; i++) { - // Look for ON outputs - if (!randr_screen_info->outputs[i]->cur_crtc) { - continue; - } - // Look for CONNECTED outputs - if (RR_Disconnected == randr_screen_info->outputs[i]->info->connection) { - continue; - } - - activeOutputs++; - } - - if (activeOutputs < 1) { - // Houston, we have a problem! - // There are no active displays! - // Activate the first connected display we come across... - for (i = 0; i < randr_screen_info->n_output; i++) { - // Look for OFF outputs - if (randr_screen_info->outputs[i]->cur_crtc) { - continue; - } - // Look for CONNECTED outputs - if (RR_Disconnected == randr_screen_info->outputs[i]->info->connection) { - continue; - } - - // Activate this output - randr_screen_info->cur_crtc = randr_screen_info->outputs[i]->cur_crtc; - randr_screen_info->cur_output = randr_screen_info->outputs[i]; - randr_screen_info->cur_output->auto_set = 1; - randr_screen_info->cur_output->off_set = 0; - output_auto (randr_screen_info, randr_screen_info->cur_output); - i=main_low_apply(randr_screen_info); - - if (randr_screen_info->outputs[i]->cur_crtc) { - // Output successfully activated! - set_primary_output(randr_screen_info, randr_screen_info->cur_output->id); - break; - } - } - } - - for (i = 0; i < randr_screen_info->n_output; i++) { - // Look for ON outputs - if (!randr_screen_info->outputs[i]->cur_crtc) { - continue; - } - // Look for DISCONNECTED outputs - if (RR_Disconnected != randr_screen_info->outputs[i]->info->connection) { - continue; - } - - // Deactivate this display to avoid a crash! - randr_screen_info->cur_crtc = randr_screen_info->outputs[i]->cur_crtc; - randr_screen_info->cur_output = randr_screen_info->outputs[i]; - randr_screen_info->cur_output->auto_set = 0; - randr_screen_info->cur_output->off_set = 1; - output_off(randr_screen_info, randr_screen_info->cur_output); - main_low_apply(randr_screen_info); - - screenDeactivated = 1; - } - - if (screenDeactivated == 1) { - findPrimaryDisplay(); - refresh(); - - currentScreen()->proposeSize(GetDefaultResolutionParameter()); - currentScreen()->applyProposed(); - } - } -} - -void KRandRSystemTray::contextMenuAboutToShow(KPopupMenu* menu) -{ - int lastIndex = 0; - - reloadDisplayConfiguration(); - - menu->clear(); - menu->setCheckable(true); - - bool valid = isValid(); - - if (!valid) { - lastIndex = menu->insertItem(i18n("Required X Extension Not Available")); - menu->setItemEnabled(lastIndex, false); - - } - else { - m_screenPopups.clear(); - for (int s = 0; s < numScreens() /*&& numScreens() > 1 */; s++) { - setCurrentScreen(s); - if (s == screenIndexOfWidget(this)) { - /*lastIndex = menu->insertItem(i18n("Screen %1").arg(s+1)); - menu->setItemEnabled(lastIndex, false);*/ - } else { - KPopupMenu* subMenu = new KPopupMenu(menu, TQString("screen%1").arg(s+1).latin1()); - m_screenPopups.append(subMenu); - populateMenu(subMenu); - lastIndex = menu->insertItem(i18n("Screen %1").arg(s+1), subMenu); - connect(subMenu, TQT_SIGNAL(activated(int)), TQT_SLOT(slotScreenActivated())); - } - } - - setCurrentScreen(screenIndexOfWidget(this)); - populateMenu(menu); - } - - addOutputMenu(menu); - - // Find any user ICC profiles - TQStringList cfgProfiles; - cfgProfiles = t_config->groupList(); - if (cfgProfiles.isEmpty() == false) { - menu->insertTitle(SmallIcon("kcoloredit"), i18n("Color Profile")); - } - for (TQStringList::Iterator t(cfgProfiles.begin()); t != cfgProfiles.end(); ++t) { - lastIndex = menu->insertItem(*t); - if (t_config->readEntry("CurrentProfile") == (*t)) { - menu->setItemChecked(lastIndex, true); - } - menu->setItemEnabled(lastIndex, t_config->readBoolEntry("EnableICC", false)); - menu->connectItem(lastIndex, this, TQT_SLOT(slotColorProfileChanged(int))); - } - - if (valid) { - // Find any display profiles - TQStringList displayProfiles; - displayProfiles = getDisplayConfigurationProfiles(locateLocal("config", "/", true)); - if (displayProfiles.isEmpty() == false) { - menu->insertTitle(SmallIcon("background"), i18n("Display Profiles")); - } - lastIndex = menu->insertItem(SmallIcon("bookmark"), ""); - menu->connectItem(lastIndex, this, TQT_SLOT(slotDisplayProfileChanged(int))); - for (TQStringList::Iterator t(displayProfiles.begin()); t != displayProfiles.end(); ++t) { - lastIndex = menu->insertItem(SmallIcon("bookmark"), *t); - menu->connectItem(lastIndex, this, TQT_SLOT(slotDisplayProfileChanged(int))); - } - } - - menu->insertTitle(SmallIcon("randr"), i18n("Global Configuation")); - - KAction *actColors = new KAction( i18n( "Configure Displays..." ), - SmallIconSet( "configure" ), KShortcut(), TQT_TQOBJECT(this), TQT_SLOT( slotDisplayConfig() ), - actionCollection() ); - actColors->plug( menu ); - -// KAction *actPrefs = new KAction( i18n( "Configure Display..." ), -// SmallIconSet( "configure" ), KShortcut(), this, TQT_SLOT( slotPrefs() ), -// actionCollection() ); -// actPrefs->plug( menu ); - - KAction *actSKeys = new KAction( i18n( "Configure Shortcut Keys..." ), - SmallIconSet( "configure" ), KShortcut(), TQT_TQOBJECT(this), TQT_SLOT( slotSKeys() ), - actionCollection() ); - actSKeys->plug( menu ); - - menu->insertItem(SmallIcon("help"),KStdGuiItem::help().text(), m_help->menu()); - KAction *quitAction = actionCollection()->action(KStdAction::name(KStdAction::Quit)); - quitAction->plug(menu); - - m_menu = menu; -} - -void KRandRSystemTray::slotScreenActivated() -{ - setCurrentScreen(m_screenPopups.find(static_cast(sender()))); -} - -void KRandRSystemTray::configChanged() -{ - refresh(); - - static bool first = true; - - if ((last_known_x == currentScreen()->currentPixelWidth()) && \ - (last_known_y == currentScreen()->currentPixelHeight())) { - first = true; - } - - last_known_x = currentScreen()->currentPixelWidth(); - last_known_y = currentScreen()->currentPixelHeight(); - - if (!first) { - emit (screenSizeChanged(currentScreen()->currentPixelWidth(), currentScreen()->currentPixelHeight())); - - KRandrPassivePopup::message( - i18n("Screen configuration has changed"), - currentScreen()->changedMessage(), SmallIcon("window_fullscreen"), - this, "ScreenChangeNotification"); - } - - first = false; - - TQString cur_profile; - cur_profile = getCurrentProfile(); - if (cur_profile != "") { - applyIccConfiguration(cur_profile, NULL); - } -} - -int KRandRSystemTray::GetDefaultResolutionParameter() -{ - int returnIndex = 0; - - int numSizes = currentScreen()->numSizes(); - int* sizeSort = new int[numSizes]; - - for (int i = 0; i < numSizes; i++) { - sizeSort[i] = currentScreen()->pixelCount(i); - } - - int highest = -1, highestIndex = -1; - - for (int i = 0; i < numSizes; i++) { - if (sizeSort[i] && sizeSort[i] > highest) { - highest = sizeSort[i]; - highestIndex = i; - } - } - sizeSort[highestIndex] = -1; - Q_ASSERT(highestIndex != -1); - - returnIndex = highestIndex; - - delete [] sizeSort; - sizeSort = 0L; - - return returnIndex; -} - -int KRandRSystemTray::GetHackResolutionParameter() { - int resparm; - - resparm = GetDefaultResolutionParameter(); - resparm++; - - return resparm; -} - -void KRandRSystemTray::populateMenu(KPopupMenu* menu) -{ - int lastIndex = 0; - - menu->insertTitle(SmallIcon("window_fullscreen"), i18n("Screen Size")); - - int numSizes = currentScreen()->numSizes(); - int* sizeSort = new int[numSizes]; - - for (int i = 0; i < numSizes; i++) { - sizeSort[i] = currentScreen()->pixelCount(i); - } - - for (int j = 0; j < numSizes; j++) { - int highest = -1, highestIndex = -1; - - for (int i = 0; i < numSizes; i++) { - if (sizeSort[i] && sizeSort[i] > highest) { - highest = sizeSort[i]; - highestIndex = i; - } - } - sizeSort[highestIndex] = -1; - Q_ASSERT(highestIndex != -1); - - lastIndex = menu->insertItem(i18n("%1 x %2").arg(currentScreen()->pixelSize(highestIndex).width()).arg(currentScreen()->pixelSize(highestIndex).height())); - - if (currentScreen()->proposedSize() == highestIndex) - menu->setItemChecked(lastIndex, true); - - menu->setItemParameter(lastIndex, highestIndex); - menu->connectItem(lastIndex, this, TQT_SLOT(slotResolutionChanged(int))); - } - delete [] sizeSort; - sizeSort = 0L; - - // Don't display the rotation options if there is no point (ie. none are supported) - // XFree86 4.3 does not include rotation support. - if (currentScreen()->rotations() != RandRScreen::Rotate0) { - menu->insertTitle(SmallIcon("reload"), i18n("Orientation")); - - for (int i = 0; i < 6; i++) { - if ((1 << i) & currentScreen()->rotations()) { - lastIndex = menu->insertItem(currentScreen()->rotationIcon(1 << i), RandRScreen::rotationName(1 << i)); - - if (currentScreen()->proposedRotation() & (1 << i)) - menu->setItemChecked(lastIndex, true); - - menu->setItemParameter(lastIndex, 1 << i); - menu->connectItem(lastIndex, this, TQT_SLOT(slotOrientationChanged(int))); - } - } - } - - TQStringList rr = currentScreen()->refreshRates(currentScreen()->proposedSize()); - - if (rr.count()) - menu->insertTitle(SmallIcon("clock"), i18n("Refresh Rate")); - - int i = 0; - for (TQStringList::Iterator it = rr.begin(); it != rr.end(); ++it, i++) { - lastIndex = menu->insertItem(*it); - - if (currentScreen()->proposedRefreshRate() == i) - menu->setItemChecked(lastIndex, true); - - menu->setItemParameter(lastIndex, i); - menu->connectItem(lastIndex, this, TQT_SLOT(slotRefreshRateChanged(int))); - } -} - -void KRandRSystemTray::slotResolutionChanged(int parameter) -{ - if (currentScreen()->currentSize() == parameter) { - //printf("This resolution is already in use; applying again...\n\r"); - currentScreen()->proposeSize(parameter); - currentScreen()->applyProposed(); - return; - } - - currentScreen()->proposeSize(parameter); - - currentScreen()->proposeRefreshRate(-1); - - if (currentScreen()->applyProposedAndConfirm()) { - TDEConfig config("kcmrandrrc"); - if (syncTrayApp(config)) - currentScreen()->save(config); - } -} - -void KRandRSystemTray::slotOrientationChanged(int parameter) -{ - int propose = currentScreen()->currentRotation(); - - if (parameter & RandRScreen::RotateMask) - propose &= RandRScreen::ReflectMask; - - propose ^= parameter; - - if (currentScreen()->currentRotation() == propose) - return; - - currentScreen()->proposeRotation(propose); - - if (currentScreen()->applyProposedAndConfirm()) { - TDEConfig config("kcmrandrrc"); - if (syncTrayApp(config)) - currentScreen()->save(config); - } -} - -void KRandRSystemTray::slotRefreshRateChanged(int parameter) -{ - if (currentScreen()->currentRefreshRate() == parameter) - return; - - currentScreen()->proposeRefreshRate(parameter); - - if (currentScreen()->applyProposedAndConfirm()) { - TDEConfig config("kcmrandrrc"); - if (syncTrayApp(config)) - currentScreen()->save(config); - } -} - -void KRandRSystemTray::slotPrefs() -{ - KCMultiDialog *kcm = new KCMultiDialog( KDialogBase::Plain, i18n( "Configure" ), this ); - - kcm->addModule( "displayconfig" ); - kcm->setPlainCaption( i18n( "Configure Display" ) ); - kcm->exec(); -} - -void KRandRSystemTray::slotDisplayConfig() -{ - KCMultiDialog *kcm = new KCMultiDialog( KDialogBase::Plain, i18n( "Configure" ), this ); - - kcm->addModule( "displayconfig" ); - kcm->setPlainCaption( i18n( "Configure Displays" ) ); - kcm->exec(); -} - -void KRandRSystemTray::slotSettingsChanged(int category) -{ - if ( category == (int) TDEApplication::SETTINGS_SHORTCUTS ) { - globalKeys->readSettings(); - globalKeys->updateConnections(); - } -} - -void KRandRSystemTray::slotSKeys() -{ - ConfigDialog *dlg = new ConfigDialog(globalKeys, true); - - if ( dlg->exec() == TQDialog::Accepted ) { - dlg->commitShortcuts(); - globalKeys->writeSettings(0, true); - globalKeys->updateConnections(); - } - - delete dlg; -} - -void KRandRSystemTray::slotCycleDisplays() -{ - XRROutputInfo *output_info; - char *output_name; - int i; - int current_on_index = -1; - int max_index = -1; - int prev_on_index; - - randr_screen_info = read_screen_info(randr_display); - - for (i = 0; i < randr_screen_info->n_output; i++) { - output_info = randr_screen_info->outputs[i]->info; - // Look for ON outputs... - if (!randr_screen_info->outputs[i]->cur_crtc) { - continue; - } - // ...that are connected - if (RR_Disconnected == randr_screen_info->outputs[i]->info->connection) { - continue; - } - - output_name = output_info->name; - current_on_index = i; - if (i > max_index) { - max_index = i; - } - } - - for (i = 0; i < randr_screen_info->n_output; i++) { - output_info = randr_screen_info->outputs[i]->info; - // Look for CONNECTED outputs.... - if (RR_Disconnected == randr_screen_info->outputs[i]->info->connection) { - continue; - } - // ...that are not ON - if (randr_screen_info->outputs[i]->cur_crtc) { - continue; - } - - output_name = output_info->name; - if (i > max_index) { - max_index = i; - } - } - - for (i = 0; i < randr_screen_info->n_output; i++) { - output_info = randr_screen_info->outputs[i]->info; - // Look for ALL outputs that are not connected.... - if (RR_Disconnected != randr_screen_info->outputs[i]->info->connection) { - continue; - } - // ...or ON - if (randr_screen_info->outputs[i]->cur_crtc) { - continue; - } - - output_name = output_info->name; - if (i > max_index) { - max_index = i; - } - } - - //printf("Active: %d\n\r", current_on_index); - //printf("Max: %d\n\r", max_index); - - if ((current_on_index == -1) && (max_index == -1)) { - // There is no connected display available! ABORT - return; - } - - prev_on_index = current_on_index; - current_on_index = current_on_index + 1; - if (current_on_index > max_index) { - current_on_index = 0; - } - while (RR_Disconnected == randr_screen_info->outputs[current_on_index]->info->connection) { - current_on_index = current_on_index + 1; - if (current_on_index > max_index) { - current_on_index = 0; - } - } - if (prev_on_index != current_on_index) { - randr_screen_info->cur_crtc = randr_screen_info->outputs[current_on_index]->cur_crtc; - randr_screen_info->cur_output = randr_screen_info->outputs[current_on_index]; - randr_screen_info->cur_output->auto_set = 1; - randr_screen_info->cur_output->off_set = 0; - output_auto (randr_screen_info, randr_screen_info->cur_output); - i=main_low_apply(randr_screen_info); - - if (randr_screen_info->outputs[current_on_index]->cur_crtc) { - // Output successfully activated! - set_primary_output(randr_screen_info, randr_screen_info->cur_output->id); - - if (prev_on_index != -1) { - if (randr_screen_info->outputs[prev_on_index]->cur_crtc != NULL) { - if (RR_Disconnected != randr_screen_info->outputs[prev_on_index]->info->connection) { - randr_screen_info->cur_crtc = randr_screen_info->outputs[prev_on_index]->cur_crtc; - randr_screen_info->cur_output = randr_screen_info->outputs[prev_on_index]; - randr_screen_info->cur_output->auto_set = 0; - randr_screen_info->cur_output->off_set = 1; - output_off(randr_screen_info, randr_screen_info->cur_output); - i=main_low_apply(randr_screen_info); - } - } - } - - // Do something about the disconnected outputs - for (i = 0; i < randr_screen_info->n_output; i++) { - output_info = randr_screen_info->outputs[i]->info; - // Look for ON outputs - if (!randr_screen_info->outputs[i]->cur_crtc) { - continue; - } - if (RR_Disconnected != randr_screen_info->outputs[i]->info->connection) { - continue; - } - - output_name = output_info->name; - - // Deactivate this display to avoid a crash! - randr_screen_info->cur_crtc = randr_screen_info->outputs[i]->cur_crtc; - randr_screen_info->cur_output = randr_screen_info->outputs[i]; - randr_screen_info->cur_output->auto_set = 0; - randr_screen_info->cur_output->off_set = 1; - output_off(randr_screen_info, randr_screen_info->cur_output); - main_low_apply(randr_screen_info); - } - - findPrimaryDisplay(); - refresh(); - - currentScreen()->proposeSize(GetDefaultResolutionParameter()); - currentScreen()->applyProposed(); - } - else { - output_name = randr_screen_info->outputs[current_on_index]->info->name; - KMessageBox::sorry(my_parent, i18n("Unable to activate output %1

Either the output is not connected to a display,
or the display configuration is not detectable").arg(output_name), i18n("Output Unavailable")); - } - } -} - -void KRandRSystemTray::findPrimaryDisplay() -{ - int i; - - for (i = 0; i < randr_screen_info->n_output; i++) { - // Look for ON outputs... - if (!randr_screen_info->outputs[i]->cur_crtc) { - continue; - } - - // ...that are connected - if (RR_Disconnected == randr_screen_info->outputs[i]->info->connection) { - continue; - } - - randr_screen_info->cur_crtc = randr_screen_info->outputs[i]->cur_crtc; - randr_screen_info->cur_output = randr_screen_info->outputs[i]; - } -} - -void KRandRSystemTray::addOutputMenu(KPopupMenu* menu) -{ - XRROutputInfo *output_info; - char *output_name; - int i; - int lastIndex = 0; - int connected_displays = 0; - - if (isValid() == true) { - menu->insertTitle(SmallIcon("kcmkwm"), i18n("Output Port")); - - for (i = 0; i < randr_screen_info->n_output; i++) { - output_info = randr_screen_info->outputs[i]->info; - // Look for ON outputs - if (!randr_screen_info->outputs[i]->cur_crtc) { - continue; - } - if (RR_Disconnected == randr_screen_info->outputs[i]->info->connection) { - continue; - } - - output_name = output_info->name; - //printf("ON: Found output %s\n\r", output_name); - - lastIndex = menu->insertItem(i18n("%1 (Active)").arg(output_name)); - menu->setItemChecked(lastIndex, true); - menu->connectItem(lastIndex, this, TQT_SLOT(slotOutputChanged(int))); - menu->setItemParameter(lastIndex, i); - - connected_displays++; - } - - for (i = 0; i < randr_screen_info->n_output; i++) { - output_info = randr_screen_info->outputs[i]->info; - // Look for CONNECTED outputs.... - if (RR_Disconnected == randr_screen_info->outputs[i]->info->connection) { - continue; - } - // ...that are not ON - if (randr_screen_info->outputs[i]->cur_crtc) { - continue; - } - - output_name = output_info->name; - //printf("CONNECTED, NOT ON: Found output %s\n\r", output_name); - - lastIndex = menu->insertItem(i18n("%1 (Connected, Inactive)").arg(output_name)); - menu->setItemChecked(lastIndex, false); - menu->connectItem(lastIndex, this, TQT_SLOT(slotOutputChanged(int))); - menu->setItemParameter(lastIndex, i); - - connected_displays++; - } - - for (i = 0; i < randr_screen_info->n_output; i++) { - output_info = randr_screen_info->outputs[i]->info; - // Look for ALL outputs that are not connected.... - if (RR_Disconnected != randr_screen_info->outputs[i]->info->connection) { - continue; - } - // ...or ON - if (randr_screen_info->outputs[i]->cur_crtc) { - continue; - } - - output_name = output_info->name; - //printf("DISCONNECTED, NOT ON: Found output %s\n\r", output_name); - - lastIndex = menu->insertItem(i18n("%1 (Disconnected, Inactive)").arg(output_name)); - menu->setItemChecked(lastIndex, false); - menu->setItemEnabled(lastIndex, false); - menu->connectItem(lastIndex, this, TQT_SLOT(slotOutputChanged(int))); - menu->setItemParameter(lastIndex, i); - } - - lastIndex = menu->insertItem(SmallIcon("forward"), i18n("Next available output")); - if (connected_displays < 2) { - menu->setItemEnabled(lastIndex, false); - } - menu->connectItem(lastIndex, this, TQT_SLOT(slotCycleDisplays())); - } -} - -void KRandRSystemTray::slotColorProfileChanged(int parameter) -{ - t_config->writeEntry("CurrentProfile", m_menu->text(parameter)); - applyIccConfiguration(m_menu->text(parameter), NULL); -} - -void KRandRSystemTray::slotDisplayProfileChanged(int parameter) -{ - TQString profileName = m_menu->text(parameter); - if (profileName == "") { - profileName = ""; - } - TQPtrList profileData = loadDisplayConfiguration(profileName, locateLocal("config", "/", true)); - applyDisplayConfiguration(profileData, TRUE, locateLocal("config", "/", true)); - destroyScreenInformationObject(profileData); -} - -void KRandRSystemTray::slotOutputChanged(int parameter) -{ - char *output_name; - int i; - int num_outputs_on; - - num_outputs_on = 0; - for (i = 0; i < randr_screen_info->n_output; i++) { - // Look for ON outputs - if (!randr_screen_info->outputs[i]->cur_crtc) { - continue; - } - - num_outputs_on++; - } - - if (!randr_screen_info->outputs[parameter]->cur_crtc) { - //printf("Screen was off, turning it on...\n\r"); - - randr_screen_info->cur_crtc = randr_screen_info->outputs[parameter]->cur_crtc; - randr_screen_info->cur_output = randr_screen_info->outputs[parameter]; - randr_screen_info->cur_output->auto_set = 1; - randr_screen_info->cur_output->off_set = 0; - output_auto (randr_screen_info, randr_screen_info->cur_output); - i=main_low_apply(randr_screen_info); - - if (!randr_screen_info->outputs[parameter]->cur_crtc) { - output_name = randr_screen_info->outputs[parameter]->info->name; - KMessageBox::sorry(my_parent, i18n("Unable to activate output %1

Either the output is not connected to a display,
or the display configuration is not detectable").arg(output_name), i18n("Output Unavailable")); - } - } - else { - if (num_outputs_on > 1) { - //printf("Screen was on, turning it off...\n\r"); - randr_screen_info->cur_crtc = randr_screen_info->outputs[parameter]->cur_crtc; - randr_screen_info->cur_output = randr_screen_info->outputs[parameter]; - randr_screen_info->cur_output->auto_set = 0; - randr_screen_info->cur_output->off_set = 1; - output_off(randr_screen_info, randr_screen_info->cur_output); - i=main_low_apply(randr_screen_info); - - findPrimaryDisplay(); - refresh(); - - currentScreen()->proposeSize(GetDefaultResolutionParameter()); - currentScreen()->applyProposed(); - } - else { - KMessageBox::sorry(my_parent, i18n("You are attempting to deactivate the only active output

You must keep at least one display output active at all times!"), i18n("Invalid Operation Requested")); - } - } -} - -void KRandRSystemTray::deviceChanged (TDEGenericDevice* device) { - if (device->type() == TDEGenericDeviceType::Monitor) { - KRandrPassivePopup::message( - i18n("New display output options are available!"), - i18n("A screen has been added, removed, or changed"), SmallIcon("window_fullscreen"), - this, "ScreenChangeNotification"); - - reloadDisplayConfiguration(); - applyHotplugRules(locateLocal("config", "/", true)); - } -} \ No newline at end of file diff --git a/kcontrol/randr/krandrtray.desktop b/kcontrol/randr/krandrtray.desktop deleted file mode 100644 index a61f8c28c..000000000 --- a/kcontrol/randr/krandrtray.desktop +++ /dev/null @@ -1,141 +0,0 @@ -[Desktop Entry] -Name=KRandRTray -Name[be]=Змена параметраў манітора -Name[hu]=Képernyőfelbontás -Name[ne]=KRandR ट्रे -Name[pt_BR]=Ícone do KRandR -Name[sv]=Krandrtray -Name[vi]=Khay KRandR -GenericName=Screen Resize & Rotate -GenericName[af]=Skerm Hervergroot & Roteer -GenericName[be]=Змена памераў экрана і перагортванне -GenericName[bg]=Размер и ротация на екрана -GenericName[bn]=পর্দা মাপবদল ও আবর্তন -GenericName[br]=Adventañ ha treiñ ar skramm -GenericName[bs]=Veličina i rotacija ekrana -GenericName[ca]=Amida i gira la pantalla -GenericName[cs]=Změna velikosti a rotace obrazovky -GenericName[csb]=Òbrócenié ë zjinaka miarë ekranu -GenericName[cy]=Newid Maint a Cylchdroi'r Sgrîn -GenericName[da]=Ændr størrelse på skærm & Rotér -GenericName[de]=Bildschirmgröße & -ausrichtung ändern -GenericName[el]=Αλλαγή μεγέθους & Περιστροφή οθόνης -GenericName[eo]=Regrandigi kaj Turni Ekranon -GenericName[es]=Redimensionar y rotar pantalla -GenericName[et]=Ekraani suuruse muutmine ja pööramine -GenericName[eu]=Pantailaren tamaina aldaketa eta biraketa -GenericName[fa]=تغییر اندازه و چرخش پرده -GenericName[fi]=Näytön kuvan koon muuttaminen ja kuvan kääntäminen -GenericName[fr]=Redimensionnement et rotation de l'écran -GenericName[fy]=Skerm rotearje en grutte wizigje -GenericName[gl]=Rotación e Redimensionamento da Pantallla -GenericName[he]=שינוי גודל המסך וסיבובו -GenericName[hr]=Veličine i orijentacija zaslona -GenericName[hu]=Képernyőbeállító -GenericName[is]=Stærð og snúningur skjáa -GenericName[it]=Ruota e ridimensiona lo schermo -GenericName[ja]=スクリーンのリサイズと回転 -GenericName[ka]=ეკრანის ზომა და ორიენტაცია -GenericName[kk]=Экранды өзгерту және бұрау -GenericName[km]=ប្ដូរ​ទំហំ & បង្វិល​អេក្រង់ -GenericName[ko]=화면 크기 조정 및 회전 -GenericName[lt]=Ekrano dydžio keitimas ir pasukimas -GenericName[mk]=Големина и ротација на екранот -GenericName[ms]=Saiz Semula Skrin & Putar -GenericName[nb]=Endre størrelsen på og rotere skjermbildet -GenericName[nds]=Schirmgrött un -utrichten ännern -GenericName[ne]=पर्दा रिसाइज र परिक्रमण -GenericName[nl]=Scherm roteren en grootte wijzigen -GenericName[nn]=Endra storleiken på og roter skjermbiletet -GenericName[pa]=ਪਰਦਾ ਮੁੜ ਆਕਾਰ ਤੇ ਘੁੰਮਾਓ -GenericName[pl]=Obrót i zmiana rozmiaru ekranu -GenericName[pt]=Mudar o Tamanho e Rodar o Ecrã -GenericName[pt_BR]=Redimensionar Tela & Rotacionar -GenericName[ro]=Redimensionare și rotire ecran -GenericName[ru]=Изменение размера и ориентации экрана -GenericName[rw]=Kuhindura ingano & Kuzengurutsa Mugaragaza -GenericName[se]=Rievdat šearbmagova sturrodaga ja jorat dan -GenericName[sk]=Zmena veľkosti a otočenia obrazovky -GenericName[sl]=Spreminjanje velikosti in obračanje zaslona -GenericName[sr]=Промена величине и ротација екрана -GenericName[sr@Latn]=Promena veličine i rotacija ekrana -GenericName[sv]=Ändra skärmstorlek och rotera -GenericName[ta]=திரை அளவு மாற்று & சுழற்று -GenericName[tg]=Ивази андоза ва мавқеи экран -GenericName[th]=ปรับขนาดและหมุนหน้าจอ -GenericName[tr]=Ekran Boyutlandır ve Döndür -GenericName[tt]=Küräk Ülçäme & Borılışı -GenericName[uk]=Зміна розміру та обертання екрана -GenericName[uz]=Ekraning oʻlchamini oʻzgartirish va burish -GenericName[uz@cyrillic]=Экранинг ўлчамини ўзгартириш ва буриш -GenericName[vi]=Thay đổi cỡ màn hình & Quay -GenericName[wa]=Candjî l' grandeu del waitroûle eyet l' tourner -GenericName[zh_CN]=屏幕大小和旋转 -GenericName[zh_TW]=螢幕調整大小及旋轉 -Comment=Resize and rotate X screens. -Comment[af]=Hervergroot en roteer X skerms. -Comment[ar]=غيير القياس و الدوران للشاشات X. -Comment[be]=Змена памераў і перагортванне экранаў X. -Comment[bg]=Размер и ротация на екрана. -Comment[bn]=আপনার এক্স-স্ক্রীণ-এর আকৃতি এবং দিশা পরিবর্তন করুন -Comment[br]=Adventañ ha treiñ ho diskweloù X. -Comment[bs]=Podesite veličinu i rotirajte vaš ekran. -Comment[ca]=Gira i amida les pantalles X. -Comment[cs]=Změna velikosti a rotace obrazovky. -Comment[csb]=Zjinaka miarë ë pòłożenia ekranów. -Comment[da]=Ændrer størrelse og roterer X-skærme -Comment[de]=Die Größe und Ausrichtung der Anzeige ändern -Comment[el]=Αλλαγή μεγέθους και περιστροφή της οθόνης. -Comment[eo]=Regrandigi kaj turni X ekranojn. -Comment[es]=Ajustar el tamaño y rotar las pantallas X. -Comment[et]=X'i ekraani muutmine ja pööramine -Comment[eu]=Aldatu tamaina eta biratu zure X pantailak. -Comment[fa]=تغییر‌ اندازه و چرخش پرده‌های X. -Comment[fi]=Näytön kuvan koon muuttaminen ja kuvan kääntäminen -Comment[fr]=Redimensionner et retourner votre affichage. -Comment[fy]=Skermgrutte wizigje en rotearje X skermen -Comment[ga]=Athraigh an méid agus rothlaigh scáileáin X. -Comment[gl]=Redimensionar e rotar pantallas -Comment[he]=שנה את גודלה של התצוגה שלך וסובב אותה. -Comment[hr]=Promjena veličine i orijentacije X zaslona -Comment[hu]=A képernyő átméretezése, elforgatása -Comment[is]=Breyta stærð skjásins og snúa honum. -Comment[it]=Ridimensiona e ruota gli schermi di X. -Comment[ja]=X スクリーンのリサイズと回転。 -Comment[ka]=ეკრანის ზომის და ორიენტაციის შეცვლა -Comment[kk]=Экранның өлшемін және бағытын өзгерту -Comment[km]=ប្ដូរ​ទំហំ និង​បង្វិល​អេក្រង់ X ។ -Comment[lt]=Keisti X ekrano dydį ir orientaciją. -Comment[mk]=Сменете ја големината и ротацијата на вашиот екран -Comment[nb]=Endrer størrelsen på og roterer X-skjermbildet -Comment[nds]=Grött un Utrichten vun den X-Schirm ännern -Comment[ne]=X पर्दा रिसाइज गर्नुहोस् र घुमाउनुहोस् -Comment[nl]=Scherm roteren en van grootte veranderen -Comment[nn]=Endra storleiken på og roter X-skjermbiletet. -Comment[pa]=X ਸਕਰੀਨ ਨੂੰ ਮੁੜ-ਅਕਾਰ ਅਤੇ ਘੁੰਮਾਓ। -Comment[pl]=Zmiana rozmiaru i orientacji ekranów. -Comment[pt]=Mudar o tamanho e rodar os ecrãs do X. -Comment[pt_BR]=Redimensiona e rotaciona as tela do X. -Comment[ro]=Redimensionează și rotește ecranele X. -Comment[ru]=Изменение размера и ориентации экранов X. -Comment[se]=Rievdat X-šearpmaid sturrodaga ja joraheami. -Comment[sk]=Zmení veľkosť a otočí obrazovky -Comment[sl]=Spremenite velikost in obrnite zaslon. -Comment[sr]=Промените величину и оријентацију екрана -Comment[sr@Latn]=Promenite veličinu i orijentaciju ekrana -Comment[sv]=Storleksändring och rotation av X-skärmar. -Comment[tg]=Ивази андоза ва мавқеи экранҳои Х. -Comment[th]=ปรับแต่งการแสดงผลของ X -Comment[tr]=Ekranı boyutlandır ve çevir. -Comment[uk]=Зміна розміру та обертання екранів X. -Comment[uz]=Ekraning oʻlchamini oʻzgartirish va burish -Comment[uz@cyrillic]=Экранинг ўлчамини ўзгартириш ва буриш -Comment[vi]=Đổi cỡ và quay màn hình X. -Comment[wa]=Candjî l' grandeu eyet tourner les waitroûles X. -Comment[zh_CN]=更改 X 屏幕的大小和旋转。 -Comment[zh_TW]=調整大小及旋轉 X 螢幕。 -Exec=krandrtray -Icon=randr -Type=Application -OnlyShowIn=TDE; -Categories=Qt;TDE;System; diff --git a/kcontrol/randr/krandrtray.h b/kcontrol/randr/krandrtray.h deleted file mode 100644 index 8a910f373..000000000 --- a/kcontrol/randr/krandrtray.h +++ /dev/null @@ -1,94 +0,0 @@ -/* - * Copyright (c) 2002 Hamish Rodda - * - * 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. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ - -#ifndef KRANDRTRAY_H -#define KRANDRTRAY_H - -#include - -#include -#include - -#include -#include - -class KHelpMenu; -class KPopupMenu; - -class KRandRSystemTray : public KSystemTray, public KRandrSimpleAPI -{ - Q_OBJECT - -public: - KRandRSystemTray(TQWidget* parent = 0, const char *name = 0); - TDEGlobalAccel *globalKeys; - - virtual void contextMenuAboutToShow(KPopupMenu* menu); - - void configChanged(); - -signals: - void screenSizeChanged(int x, int y); - -protected slots: - void slotScreenActivated(); - void slotResolutionChanged(int parameter); - void slotOrientationChanged(int parameter); - void slotRefreshRateChanged(int parameter); - void slotPrefs(); - void slotDisplayConfig(); - void slotSKeys(); - void slotSettingsChanged(int category); - void slotCycleDisplays(); - void slotOutputChanged(int parameter); - void slotColorProfileChanged(int parameter); - void slotDisplayProfileChanged(int parameter); - -protected: - void mousePressEvent( TQMouseEvent *e ); - void resizeEvent ( TQResizeEvent * ); - -private: - void populateMenu(KPopupMenu* menu); - void addOutputMenu(KPopupMenu* menu); - int GetDefaultResolutionParameter(); - int GetHackResolutionParameter(); - void findPrimaryDisplay(); - void reloadDisplayConfiguration(); - - bool m_popupUp; - KHelpMenu* m_help; - TQPtrList m_screenPopups; - - Display *randr_display; - ScreenInfo *randr_screen_info; - TQWidget* my_parent; - - int last_known_x; - int last_known_y; - - KPopupMenu* m_menu; - KSimpleConfig *r_config; - KSimpleConfig *t_config; - -private slots: - void _quit(); - void deviceChanged (TDEGenericDevice*); -}; - -#endif diff --git a/kcontrol/randr/main.cpp b/kcontrol/randr/main.cpp index 1e8edc83e..d606940fc 100644 --- a/kcontrol/randr/main.cpp +++ b/kcontrol/randr/main.cpp @@ -24,9 +24,9 @@ #include #include -#include "krandrapp.h" +#include "tderandrapp.h" -static const char krandrtrayVersion[] = "0.5"; +static const char tderandrtrayVersion[] = "0.5"; static const KCmdLineOptions options[] = { { "login", I18N_NOOP("Application is being auto-started at TDE session start"), 0L }, @@ -35,12 +35,12 @@ static const KCmdLineOptions options[] = int main(int argc, char **argv) { - TDEAboutData aboutData("randr", I18N_NOOP("Resize and Rotate"), krandrtrayVersion, I18N_NOOP("Resize and Rotate System Tray App"), TDEAboutData::License_GPL, "(c) 2009,2010 Timothy Pearson", 0L, ""); + TDEAboutData aboutData("randr", I18N_NOOP("Resize and Rotate"), tderandrtrayVersion, I18N_NOOP("Resize and Rotate System Tray App"), TDEAboutData::License_GPL, "(c) 2009,2010 Timothy Pearson", 0L, ""); aboutData.addAuthor("Timothy Pearson",I18N_NOOP("Developer and maintainer"), "kb9vqf@pearsoncomputing.net"); aboutData.addAuthor("Hamish Rodda",I18N_NOOP("Original developer and maintainer"), "rodda@kde.org"); aboutData.addCredit("Lubos Lunak",I18N_NOOP("Many fixes"), "l.lunak@suse.cz"); - aboutData.setProductName("krandr/krandrtray"); - TDEGlobal::locale()->setMainCatalogue("krandr"); + aboutData.setProductName("tderandr/tderandrtray"); + TDEGlobal::locale()->setMainCatalogue("tderandr"); TDECmdLineArgs::init(argc,argv,&aboutData); TDECmdLineArgs::addCmdLineOptions(options); diff --git a/kcontrol/randr/tderandrapp.cpp b/kcontrol/randr/tderandrapp.cpp new file mode 100644 index 000000000..e2a4b46f2 --- /dev/null +++ b/kcontrol/randr/tderandrapp.cpp @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2002,2003 Hamish Rodda + * + * 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +#include + +#include "tderandrapp.h" +#include "tderandrapp.moc" + +#include "tderandrtray.h" + +#include + +KRandRApp::KRandRApp() + : m_tray(new KRandRSystemTray(0L, "RANDRTray")) +{ + connect(&m_eventMergingTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(handleX11ConfigChangeEvent())); + m_tray->show(); +} + +void KRandRApp::handleX11ConfigChangeEvent() +{ + m_eventMergingTimer.stop(); + m_tray->configChanged(); +} + +bool KRandRApp::x11EventFilter(XEvent* e) +{ + if (e->type == m_tray->screenChangeNotifyEvent()) { + m_eventMergingTimer.start(1000, TRUE); + } + return TDEApplication::x11EventFilter( e ); +} diff --git a/kcontrol/randr/tderandrapp.h b/kcontrol/randr/tderandrapp.h new file mode 100644 index 000000000..766b0056c --- /dev/null +++ b/kcontrol/randr/tderandrapp.h @@ -0,0 +1,44 @@ +/* + * Copyright (c) 2002 Hamish Rodda + * + * 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +#ifndef KRANDRAPP_H +#define KRANDRAPP_H + +#include +#include + +class KRandRSystemTray; + +class KRandRApp : public KUniqueApplication +{ + Q_OBJECT + +public: + KRandRApp(); + + virtual bool x11EventFilter(XEvent * e); + +private slots: + void handleX11ConfigChangeEvent(); + +private: + KRandRSystemTray* m_tray; + TQTimer m_eventMergingTimer; +}; + +#endif diff --git a/kcontrol/randr/tderandrbindings.cpp b/kcontrol/randr/tderandrbindings.cpp new file mode 100644 index 000000000..b7df41602 --- /dev/null +++ b/kcontrol/randr/tderandrbindings.cpp @@ -0,0 +1,34 @@ +// -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 8; -*- +/* This file is part of the KDE project + Copyright (C) by Andrew Stanley-Jones + + 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. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; see the file COPYING. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. +*/ +#ifndef NOSLOTS +# define DEF( name, key3, key4, fnSlot ) \ + keys->insert( name, i18n(name), TQString(), key3, key4, TQT_TQOBJECT(this), TQT_SLOT(fnSlot) ) +#else +# define DEF( name, key3, key4, fnSlot ) \ + keys->insert( name, i18n(name), TQString(), key3, key4 ) +#endif +#define WIN KKey::QtWIN + + keys->insert( "Program:tderandrtray", i18n("Display Control") ); + + DEF( I18N_NOOP("Switch Displays"), KShortcut(TQString("XF86Display")), KShortcut(TQString("XF86Display")), slotCycleDisplays() ); + +#undef DEF +#undef WIN diff --git a/kcontrol/randr/tderandrinithack.cpp b/kcontrol/randr/tderandrinithack.cpp new file mode 100644 index 000000000..e69de29bb diff --git a/kcontrol/randr/tderandrmodule.cpp b/kcontrol/randr/tderandrmodule.cpp new file mode 100644 index 000000000..9da8a569b --- /dev/null +++ b/kcontrol/randr/tderandrmodule.cpp @@ -0,0 +1,365 @@ +/* + * Copyright (c) 2002,2003 Hamish Rodda + * + * 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include + +#include "tderandrmodule.h" +#include "tderandrmodule.moc" + +#include +#include + +// DLL Interface for kcontrol +typedef KGenericFactory KSSFactory; +K_EXPORT_COMPONENT_FACTORY (kcm_randr, KSSFactory("tderandr") ) +extern "C" + +{ + KDE_EXPORT void init_randr() + { + KRandRModule::performApplyOnStartup(); + } + + KDE_EXPORT bool test_randr() + { + int eventBase, errorBase; + if( XRRQueryExtension(tqt_xdisplay(), &eventBase, &errorBase ) ) + return true; + return false; + } +} + +void KRandRModule::performApplyOnStartup() +{ + TDEConfig config("kcmrandrrc", true); + if (RandRDisplay::applyOnStartup(config)) + { + // Load settings and apply appropriate config + RandRDisplay display; + if (display.isValid() && display.loadDisplay(config)) + display.applyProposed(false); + } +} + +KRandRModule::KRandRModule(TQWidget *parent, const char *name, const TQStringList&) + : TDECModule(parent, name) + , m_changed(false) +{ + if (!isValid()) { + TQVBoxLayout *topLayout = new TQVBoxLayout(this); + topLayout->addWidget(new TQLabel(i18n("Your X server does not support resizing and rotating the display. Please update to version 4.3 or greater. You need the X Resize And Rotate extension (RANDR) version 1.1 or greater to use this feature."), this)); + kdWarning() << "Error: " << errorCode() << endl; + return; + } + + TQVBoxLayout* topLayout = new TQVBoxLayout(this, 0, KDialog::spacingHint()); + + TQHBox* screenBox = new TQHBox(this); + topLayout->addWidget(screenBox); + TQLabel *screenLabel = new TQLabel(i18n("Settings for screen:"), screenBox); + m_screenSelector = new KComboBox(screenBox); + + for (int s = 0; s < numScreens(); s++) { + m_screenSelector->insertItem(i18n("Screen %1").arg(s+1)); + } + + m_screenSelector->setCurrentItem(currentScreenIndex()); + screenLabel->setBuddy( m_screenSelector ); + TQWhatsThis::add(m_screenSelector, i18n("The screen whose settings you would like to change can be selected using this drop-down list.")); + + connect(m_screenSelector, TQT_SIGNAL(activated(int)), TQT_SLOT(slotScreenChanged(int))); + + if (numScreens() <= 1) + m_screenSelector->setEnabled(false); + + TQHBox* sizeBox = new TQHBox(this); + topLayout->addWidget(sizeBox); + TQLabel *sizeLabel = new TQLabel(i18n("Screen size:"), sizeBox); + m_sizeCombo = new KComboBox(sizeBox); + TQWhatsThis::add(m_sizeCombo, i18n("The size, otherwise known as the resolution, of your screen can be selected from this drop-down list.")); + connect(m_sizeCombo, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSizeChanged(int))); + sizeLabel->setBuddy( m_sizeCombo ); + + TQHBox* refreshBox = new TQHBox(this); + topLayout->addWidget(refreshBox); + TQLabel *rateLabel = new TQLabel(i18n("Refresh rate:"), refreshBox); + m_refreshRates = new KComboBox(refreshBox); + TQWhatsThis::add(m_refreshRates, i18n("The refresh rate of your screen can be selected from this drop-down list.")); + connect(m_refreshRates, TQT_SIGNAL(activated(int)), TQT_SLOT(slotRefreshChanged(int))); + rateLabel->setBuddy( m_refreshRates ); + + m_rotationGroup = new TQButtonGroup(2, Qt::Horizontal, i18n("Orientation (degrees counterclockwise)"), this); + topLayout->addWidget(m_rotationGroup); + m_rotationGroup->setRadioButtonExclusive(true); + TQWhatsThis::add(m_rotationGroup, i18n("The options in this section allow you to change the rotation of your screen.")); + + m_applyOnStartup = new TQCheckBox(i18n("Apply settings on TDE startup"), this); + topLayout->addWidget(m_applyOnStartup); + TQWhatsThis::add(m_applyOnStartup, i18n("If this option is enabled the size and orientation settings will be used when TDE starts.")); + connect(m_applyOnStartup, TQT_SIGNAL(clicked()), TQT_SLOT(setChanged())); + + TQHBox* syncBox = new TQHBox(this); + syncBox->layout()->addItem(new TQSpacerItem(20, 1, TQSizePolicy::Maximum)); + m_syncTrayApp = new TQCheckBox(i18n("Allow tray application to change startup settings"), syncBox); + topLayout->addWidget(syncBox); + TQWhatsThis::add(m_syncTrayApp, i18n("If this option is enabled, options set by the system tray applet will be saved and loaded when TDE starts instead of being temporary.")); + connect(m_syncTrayApp, TQT_SIGNAL(clicked()), TQT_SLOT(setChanged())); + + topLayout->addStretch(1); + + // just set the "apply settings on startup" box + load(); + m_syncTrayApp->setEnabled(m_applyOnStartup->isChecked()); + + slotScreenChanged(TQApplication::desktop()->primaryScreen()); + + setButtons(TDECModule::Apply); +} + +void KRandRModule::addRotationButton(int thisRotation, bool checkbox) +{ + Q_ASSERT(m_rotationGroup); + if (!checkbox) { + TQRadioButton* thisButton = new TQRadioButton(RandRScreen::rotationName(thisRotation), m_rotationGroup); + thisButton->setEnabled(thisRotation & currentScreen()->rotations()); + connect(thisButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotRotationChanged())); + } else { + TQCheckBox* thisButton = new TQCheckBox(RandRScreen::rotationName(thisRotation), m_rotationGroup); + thisButton->setEnabled(thisRotation & currentScreen()->rotations()); + connect(thisButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotRotationChanged())); + } +} + +void KRandRModule::slotScreenChanged(int screen) +{ + setCurrentScreen(screen); + + // Clear resolutions + m_sizeCombo->clear(); + + // Add new resolutions + for (int i = 0; i < currentScreen()->numSizes(); i++) { + m_sizeCombo->insertItem(i18n("%1 x %2").arg(currentScreen()->pixelSize(i).width()).arg(currentScreen()->pixelSize(i).height())); + + // Aspect ratio + /* , aspect ratio %5)*/ + /*.arg((double)currentScreen()->size(i).mwidth / (double)currentScreen()->size(i).mheight))*/ + } + + // Clear rotations + for (int i = m_rotationGroup->count() - 1; i >= 0; i--) + m_rotationGroup->remove(m_rotationGroup->find(i)); + + // Create rotations + for (int i = 0; i < RandRScreen::OrientationCount; i++) + addRotationButton(1 << i, i > RandRScreen::RotationCount - 1); + + populateRefreshRates(); + + update(); + + setChanged(); +} + +void KRandRModule::slotRotationChanged() +{ + if (m_rotationGroup->find(0)->isOn()) + currentScreen()->proposeRotation(RandRScreen::Rotate0); + else if (m_rotationGroup->find(1)->isOn()) + currentScreen()->proposeRotation(RandRScreen::Rotate90); + else if (m_rotationGroup->find(2)->isOn()) + currentScreen()->proposeRotation(RandRScreen::Rotate180); + else { + Q_ASSERT(m_rotationGroup->find(3)->isOn()); + currentScreen()->proposeRotation(RandRScreen::Rotate270); + } + + if (m_rotationGroup->find(4)->isOn()) + currentScreen()->proposeRotation(currentScreen()->proposedRotation() ^ RandRScreen::ReflectX); + + if (m_rotationGroup->find(5)->isOn()) + currentScreen()->proposeRotation(currentScreen()->proposedRotation() ^ RandRScreen::ReflectY); + + setChanged(); +} + +void KRandRModule::slotSizeChanged(int index) +{ + int oldProposed = currentScreen()->proposedSize(); + + currentScreen()->proposeSize(index); + + if (currentScreen()->proposedSize() != oldProposed) { + currentScreen()->proposeRefreshRate(0); + + populateRefreshRates(); + + // Item with index zero is already selected + } + + setChanged(); +} + +void KRandRModule::slotRefreshChanged(int index) +{ + currentScreen()->proposeRefreshRate(index); + + setChanged(); +} + +void KRandRModule::populateRefreshRates() +{ + m_refreshRates->clear(); + + TQStringList rr = currentScreen()->refreshRates(currentScreen()->proposedSize()); + + m_refreshRates->setEnabled(rr.count()); + + for (TQStringList::Iterator it = rr.begin(); it != rr.end(); ++it) + m_refreshRates->insertItem(*it); +} + + +void KRandRModule::defaults() +{ + load( true ); +} + +void KRandRModule::load() +{ + load( false ); +} + +void KRandRModule::load( bool useDefaults ) +{ + if (!isValid()) + return; + + // Don't load screen configurations: + // It will be correct already if they wanted to retain their settings over TDE restarts, + // and if it isn't correct they have changed a) their X configuration, b) the screen + // with another program, or c) their hardware. + TDEConfig config("kcmrandrrc", true); + + config.setReadDefaults( useDefaults ); + + m_oldApply = loadDisplay(config, false); + m_oldSyncTrayApp = syncTrayApp(config); + + m_applyOnStartup->setChecked(m_oldApply); + m_syncTrayApp->setChecked(m_oldSyncTrayApp); + + emit changed( useDefaults ); +} + +void KRandRModule::save() +{ + if (!isValid()) + return; + + apply(); + + m_oldApply = m_applyOnStartup->isChecked(); + m_oldSyncTrayApp = m_syncTrayApp->isChecked(); + TDEConfig config("kcmrandrrc"); + saveDisplay(config, m_oldApply, m_oldSyncTrayApp); + + setChanged(); +} + +void KRandRModule::setChanged() +{ + bool isChanged = (m_oldApply != m_applyOnStartup->isChecked()) || (m_oldSyncTrayApp != m_syncTrayApp->isChecked()); + m_syncTrayApp->setEnabled(m_applyOnStartup->isChecked()); + + if (!isChanged) + for (int screenIndex = 0; screenIndex < numScreens(); screenIndex++) { + if (screen(screenIndex)->proposedChanged()) { + isChanged = true; + break; + } + } + + if (isChanged != m_changed) { + m_changed = isChanged; + emit changed(m_changed); + } +} + +void KRandRModule::apply() +{ + if (m_changed) { + applyProposed(); + + update(); + } +} + + +void KRandRModule::update() +{ + m_sizeCombo->blockSignals(true); + m_sizeCombo->setCurrentItem(currentScreen()->proposedSize()); + m_sizeCombo->blockSignals(false); + + m_rotationGroup->blockSignals(true); + switch (currentScreen()->proposedRotation() & RandRScreen::RotateMask) { + case RandRScreen::Rotate0: + m_rotationGroup->setButton(0); + break; + case RandRScreen::Rotate90: + m_rotationGroup->setButton(1); + break; + case RandRScreen::Rotate180: + m_rotationGroup->setButton(2); + break; + case RandRScreen::Rotate270: + m_rotationGroup->setButton(3); + break; + default: + // Shouldn't hit this one + Q_ASSERT(currentScreen()->proposedRotation() & RandRScreen::RotateMask); + break; + } + m_rotationGroup->find(4)->setDown(currentScreen()->proposedRotation() & RandRScreen::ReflectX); + m_rotationGroup->find(5)->setDown(currentScreen()->proposedRotation() & RandRScreen::ReflectY); + m_rotationGroup->blockSignals(false); + + m_refreshRates->blockSignals(true); + m_refreshRates->setCurrentItem(currentScreen()->proposedRefreshRate()); + m_refreshRates->blockSignals(false); +} + diff --git a/kcontrol/randr/tderandrmodule.h b/kcontrol/randr/tderandrmodule.h new file mode 100644 index 000000000..188b4ea1d --- /dev/null +++ b/kcontrol/randr/tderandrmodule.h @@ -0,0 +1,68 @@ +/* + * Copyright (c) 2002 Hamish Rodda + * + * 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +#ifndef KRANDRMODULE_H +#define KRANDRMODULE_H + +#include + +class TQButtonGroup; +class KComboBox; +class TQCheckBox; + +class KRandRModule : public TDECModule, public KRandrSimpleAPI +{ + Q_OBJECT + +public: + KRandRModule(TQWidget *parent, const char *name, const TQStringList& _args); + + virtual void load(); + virtual void load(bool useDefaults); + virtual void save(); + virtual void defaults(); + + static void performApplyOnStartup(); + +protected slots: + void slotScreenChanged(int screen); + void slotRotationChanged(); + void slotSizeChanged(int index); + void slotRefreshChanged(int index); + void setChanged(); + +protected: + void apply(); + void update(); + + void addRotationButton(int thisRotation, bool checkbox); + void populateRefreshRates(); + + KComboBox* m_screenSelector; + KComboBox* m_sizeCombo; + TQButtonGroup* m_rotationGroup; + KComboBox* m_refreshRates; + TQCheckBox* m_applyOnStartup; + TQCheckBox* m_syncTrayApp; + bool m_oldApply; + bool m_oldSyncTrayApp; + + bool m_changed; +}; + +#endif diff --git a/kcontrol/randr/tderandrpassivepopup.cpp b/kcontrol/randr/tderandrpassivepopup.cpp new file mode 100644 index 000000000..16e3d75ba --- /dev/null +++ b/kcontrol/randr/tderandrpassivepopup.cpp @@ -0,0 +1,118 @@ +/* + * Copyright (c) 2003 Lubos Lunak + * + * 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +#include "tderandrpassivepopup.h" + +#include + +// this class is just like KPassivePopup, but it keeps track of the widget +// it's supposed to be positioned next to, and adjust its position if that +// widgets moves (needed because after a resolution switch Kicker will +// reposition itself, causing normal KPassivePopup to stay at weird places) + +KRandrPassivePopup::KRandrPassivePopup( TQWidget *parent, const char *name, WFlags f ) + : KPassivePopup( parent, name, f ) + { + connect( &update_timer, TQT_SIGNAL( timeout()), TQT_SLOT( slotPositionSelf())); + } + +KRandrPassivePopup* KRandrPassivePopup::message( const TQString &caption, const TQString &text, + const TQPixmap &icon, TQWidget *parent, const char *name, int timeout ) + { + KRandrPassivePopup *pop = new KRandrPassivePopup( parent, name ); + pop->setAutoDelete( true ); + pop->setView( caption, text, icon ); + pop->setTimeout( timeout ); + pop->show(); + pop->startWatchingWidget( parent ); + return pop; + } + +void KRandrPassivePopup::startWatchingWidget( TQWidget* widget_P ) + { + static Atom wm_state = XInternAtom( tqt_xdisplay() , "WM_STATE", False ); + Window win = widget_P->winId(); + bool x11_events = false; + for(;;) + { + Window root, parent; + Window* children; + unsigned int nchildren; + XQueryTree( tqt_xdisplay(), win, &root, &parent, &children, &nchildren ); + if( children != NULL ) + XFree( children ); + if( win == root ) // huh? + break; + win = parent; + + TQWidget* widget = TQWidget::find( win ); + if( widget != NULL ) + { + widget->installEventFilter( this ); + watched_widgets.append( widget ); + } + else + { + XWindowAttributes attrs; + XGetWindowAttributes( tqt_xdisplay(), win, &attrs ); + XSelectInput( tqt_xdisplay(), win, attrs.your_event_mask | StructureNotifyMask ); + watched_windows.append( win ); + x11_events = true; + } + Atom type; + int format; + unsigned long nitems, after; + unsigned char* data; + if( XGetWindowProperty( tqt_xdisplay(), win, wm_state, 0, 0, False, AnyPropertyType, + &type, &format, &nitems, &after, &data ) == Success ) + { + if( data != NULL ) + XFree( data ); + if( type != None ) // toplevel window + break; + } + } + if( x11_events ) + kapp->installX11EventFilter( this ); + } + +bool KRandrPassivePopup::eventFilter( TQObject* o, TQEvent* e ) + { + if( e->type() == TQEvent::Move && o->isWidgetType() + && watched_widgets.contains( TQT_TQWIDGET( o ))) + TQTimer::singleShot( 0, this, TQT_SLOT( slotPositionSelf())); + return false; + } + +bool KRandrPassivePopup::x11Event( XEvent* e ) + { + if( e->type == ConfigureNotify && watched_windows.contains( e->xconfigure.window )) + { + if( !update_timer.isActive()) + update_timer.start( 10, true ); + return false; + } + return KPassivePopup::x11Event( e ); + } + +void KRandrPassivePopup::slotPositionSelf() + { + positionSelf(); + } + +#include "tderandrpassivepopup.moc" diff --git a/kcontrol/randr/tderandrpassivepopup.h b/kcontrol/randr/tderandrpassivepopup.h new file mode 100644 index 000000000..3b1d4b4f6 --- /dev/null +++ b/kcontrol/randr/tderandrpassivepopup.h @@ -0,0 +1,47 @@ +/* + * Copyright (c) 2003 Lubos Lunak + * + * 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +#ifndef __RANDRPASSIVEPOPUP_H__ +#define __RANDRPASSIVEPOPUP_H__ + +#include +#include +#include +#include + +class KRandrPassivePopup + : public KPassivePopup + { + Q_OBJECT + public: + static KRandrPassivePopup *message( const TQString &caption, const TQString &text, + const TQPixmap &icon, TQWidget *parent, const char *name=0, int timeout = -1 ); + protected: + virtual bool eventFilter( TQObject* o, TQEvent* e ); + virtual bool x11Event( XEvent* e ); + private slots: + void slotPositionSelf(); + private: + KRandrPassivePopup( TQWidget *parent=0, const char *name=0, WFlags f=0 ); + void startWatchingWidget( TQWidget* w ); + TQValueList< TQWidget* > watched_widgets; + TQValueList< Window > watched_windows; + TQTimer update_timer; + }; + +#endif diff --git a/kcontrol/randr/tderandrtray-autostart.desktop b/kcontrol/randr/tderandrtray-autostart.desktop new file mode 100644 index 000000000..1c3f20403 --- /dev/null +++ b/kcontrol/randr/tderandrtray-autostart.desktop @@ -0,0 +1,144 @@ +[Desktop Entry] +Name=KRandRTray +Name[be]=Змена параметраў манітора +Name[hu]=Képernyőfelbontás +Name[ne]=KRandR ट्रे +Name[pt_BR]=Ícone do KRandR +Name[sv]=Krandrtray +Name[vi]=Khay KRandR +GenericName=Screen Resize & Rotate +GenericName[af]=Skerm Hervergroot & Roteer +GenericName[be]=Змена памераў экрана і перагортванне +GenericName[bg]=Размер и ротация на екрана +GenericName[bn]=পর্দা মাপবদল ও আবর্তন +GenericName[br]=Adventañ ha treiñ ar skramm +GenericName[bs]=Veličina i rotacija ekrana +GenericName[ca]=Amida i gira la pantalla +GenericName[cs]=Změna velikosti a rotace obrazovky +GenericName[csb]=Òbrócenié ë zjinaka miarë ekranu +GenericName[cy]=Newid Maint a Cylchdroi'r Sgrîn +GenericName[da]=Ændr størrelse på skærm & Rotér +GenericName[de]=Bildschirmgröße & -ausrichtung ändern +GenericName[el]=Αλλαγή μεγέθους & Περιστροφή οθόνης +GenericName[eo]=Regrandigi kaj Turni Ekranon +GenericName[es]=Redimensionar y rotar pantalla +GenericName[et]=Ekraani suuruse muutmine ja pööramine +GenericName[eu]=Pantailaren tamaina aldaketa eta biraketa +GenericName[fa]=تغییر اندازه و چرخش پرده +GenericName[fi]=Näytön kuvan koon muuttaminen ja kuvan kääntäminen +GenericName[fr]=Redimensionnement et rotation de l'écran +GenericName[fy]=Skerm rotearje en grutte wizigje +GenericName[gl]=Rotación e Redimensionamento da Pantallla +GenericName[he]=שינוי גודל המסך וסיבובו +GenericName[hr]=Veličine i orijentacija zaslona +GenericName[hu]=Képernyőbeállító +GenericName[is]=Stærð og snúningur skjáa +GenericName[it]=Ruota e ridimensiona lo schermo +GenericName[ja]=スクリーンのリサイズと回転 +GenericName[ka]=ეკრანის ზომა და ორიენტაცია +GenericName[kk]=Экранды өзгерту және бұрау +GenericName[km]=ប្ដូរ​ទំហំ & បង្វិល​អេក្រង់ +GenericName[ko]=화면 크기 조정 및 회전 +GenericName[lt]=Ekrano dydžio keitimas ir pasukimas +GenericName[mk]=Големина и ротација на екранот +GenericName[ms]=Saiz Semula Skrin & Putar +GenericName[nb]=Endre størrelsen på og rotere skjermbildet +GenericName[nds]=Schirmgrött un -utrichten ännern +GenericName[ne]=पर्दा रिसाइज र परिक्रमण +GenericName[nl]=Scherm roteren en grootte wijzigen +GenericName[nn]=Endra storleiken på og roter skjermbiletet +GenericName[pa]=ਪਰਦਾ ਮੁੜ ਆਕਾਰ ਤੇ ਘੁੰਮਾਓ +GenericName[pl]=Obrót i zmiana rozmiaru ekranu +GenericName[pt]=Mudar o Tamanho e Rodar o Ecrã +GenericName[pt_BR]=Redimensionar Tela & Rotacionar +GenericName[ro]=Redimensionare și rotire ecran +GenericName[ru]=Изменение размера и ориентации экрана +GenericName[rw]=Kuhindura ingano & Kuzengurutsa Mugaragaza +GenericName[se]=Rievdat šearbmagova sturrodaga ja jorat dan +GenericName[sk]=Zmena veľkosti a otočenia obrazovky +GenericName[sl]=Spreminjanje velikosti in obračanje zaslona +GenericName[sr]=Промена величине и ротација екрана +GenericName[sr@Latn]=Promena veličine i rotacija ekrana +GenericName[sv]=Ändra skärmstorlek och rotera +GenericName[ta]=திரை அளவு மாற்று & சுழற்று +GenericName[tg]=Ивази андоза ва мавқеи экран +GenericName[th]=ปรับขนาดและหมุนหน้าจอ +GenericName[tr]=Ekran Boyutlandır ve Döndür +GenericName[tt]=Küräk Ülçäme & Borılışı +GenericName[uk]=Зміна розміру та обертання екрана +GenericName[uz]=Ekraning oʻlchamini oʻzgartirish va burish +GenericName[uz@cyrillic]=Экранинг ўлчамини ўзгартириш ва буриш +GenericName[vi]=Thay đổi cỡ màn hình & Quay +GenericName[wa]=Candjî l' grandeu del waitroûle eyet l' tourner +GenericName[zh_CN]=屏幕大小和旋转 +GenericName[zh_TW]=螢幕調整大小及旋轉 +Comment=Resize and rotate X screens. +Comment[af]=Hervergroot en roteer X skerms. +Comment[ar]=غيير القياس و الدوران للشاشات X. +Comment[be]=Змена памераў і перагортванне экранаў X. +Comment[bg]=Размер и ротация на екрана. +Comment[bn]=আপনার এক্স-স্ক্রীণ-এর আকৃতি এবং দিশা পরিবর্তন করুন +Comment[br]=Adventañ ha treiñ ho diskweloù X. +Comment[bs]=Podesite veličinu i rotirajte vaš ekran. +Comment[ca]=Gira i amida les pantalles X. +Comment[cs]=Změna velikosti a rotace obrazovky. +Comment[csb]=Zjinaka miarë ë pòłożenia ekranów. +Comment[da]=Ændrer størrelse og roterer X-skærme +Comment[de]=Die Größe und Ausrichtung der Anzeige ändern +Comment[el]=Αλλαγή μεγέθους και περιστροφή της οθόνης. +Comment[eo]=Regrandigi kaj turni X ekranojn. +Comment[es]=Ajustar el tamaño y rotar las pantallas X. +Comment[et]=X'i ekraani muutmine ja pööramine +Comment[eu]=Aldatu tamaina eta biratu zure X pantailak. +Comment[fa]=تغییر‌ اندازه و چرخش پرده‌های X. +Comment[fi]=Näytön kuvan koon muuttaminen ja kuvan kääntäminen +Comment[fr]=Redimensionner et retourner votre affichage. +Comment[fy]=Skermgrutte wizigje en rotearje X skermen +Comment[ga]=Athraigh an méid agus rothlaigh scáileáin X. +Comment[gl]=Redimensionar e rotar pantallas +Comment[he]=שנה את גודלה של התצוגה שלך וסובב אותה. +Comment[hr]=Promjena veličine i orijentacije X zaslona +Comment[hu]=A képernyő átméretezése, elforgatása +Comment[is]=Breyta stærð skjásins og snúa honum. +Comment[it]=Ridimensiona e ruota gli schermi di X. +Comment[ja]=X スクリーンのリサイズと回転。 +Comment[ka]=ეკრანის ზომის და ორიენტაციის შეცვლა +Comment[kk]=Экранның өлшемін және бағытын өзгерту +Comment[km]=ប្ដូរ​ទំហំ និង​បង្វិល​អេក្រង់ X ។ +Comment[lt]=Keisti X ekrano dydį ir orientaciją. +Comment[mk]=Сменете ја големината и ротацијата на вашиот екран +Comment[nb]=Endrer størrelsen på og roterer X-skjermbildet +Comment[nds]=Grött un Utrichten vun den X-Schirm ännern +Comment[ne]=X पर्दा रिसाइज गर्नुहोस् र घुमाउनुहोस् +Comment[nl]=Scherm roteren en van grootte veranderen +Comment[nn]=Endra storleiken på og roter X-skjermbiletet. +Comment[pa]=X ਸਕਰੀਨ ਨੂੰ ਮੁੜ-ਅਕਾਰ ਅਤੇ ਘੁੰਮਾਓ। +Comment[pl]=Zmiana rozmiaru i orientacji ekranów. +Comment[pt]=Mudar o tamanho e rodar os ecrãs do X. +Comment[pt_BR]=Redimensiona e rotaciona as tela do X. +Comment[ro]=Redimensionează și rotește ecranele X. +Comment[ru]=Изменение размера и ориентации экранов X. +Comment[se]=Rievdat X-šearpmaid sturrodaga ja joraheami. +Comment[sk]=Zmení veľkosť a otočí obrazovky +Comment[sl]=Spremenite velikost in obrnite zaslon. +Comment[sr]=Промените величину и оријентацију екрана +Comment[sr@Latn]=Promenite veličinu i orijentaciju ekrana +Comment[sv]=Storleksändring och rotation av X-skärmar. +Comment[tg]=Ивази андоза ва мавқеи экранҳои Х. +Comment[th]=ปรับแต่งการแสดงผลของ X +Comment[tr]=Ekranı boyutlandır ve çevir. +Comment[uk]=Зміна розміру та обертання екранів X. +Comment[uz]=Ekraning oʻlchamini oʻzgartirish va burish +Comment[uz@cyrillic]=Экранинг ўлчамини ўзгартириш ва буриш +Comment[vi]=Đổi cỡ và quay màn hình X. +Comment[wa]=Candjî l' grandeu eyet tourner les waitroûles X. +Comment[zh_CN]=更改 X 屏幕的大小和旋转。 +Comment[zh_TW]=調整大小及旋轉 X 螢幕。 +Exec=tderandrtray +Icon=randr +X-TDE-autostart-after=panel +X-TDE-StartupNotify=false +X-TDE-UniqueApplet=true +X-TDE-autostart-condition=tderandrtrayrc:General:Autostart:true +Categories=System;Applet; + diff --git a/kcontrol/randr/tderandrtray.cpp b/kcontrol/randr/tderandrtray.cpp new file mode 100644 index 000000000..42151d87e --- /dev/null +++ b/kcontrol/randr/tderandrtray.cpp @@ -0,0 +1,884 @@ +/* + * Copyright (c) 2002,2003 Hamish Rodda + * + * 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include + +#include "configdialog.h" + +#include "tderandrtray.h" +#include "tderandrpassivepopup.h" +#include "tderandrtray.moc" + +#define OUTPUT_CONNECTED (1 << 0) +#define OUTPUT_UNKNOWN (1 << 1) +#define OUTPUT_DISCONNECTED (1 << 2) +#define OUTPUT_ON (1 << 3) +#define OUTPUT_ALL (0xf) + +KRandRSystemTray::KRandRSystemTray(TQWidget* parent, const char *name) + : KSystemTray(parent, name) + , m_popupUp(false) + , m_help(new KHelpMenu(this, TDEGlobal::instance()->aboutData(), false, actionCollection())) +{ + setPixmap(KSystemTray::loadSizedIcon("randr", width())); + setAlignment(Qt::AlignHCenter | Qt::AlignVCenter); + connect(this, TQT_SIGNAL(quitSelected()), this, TQT_SLOT(_quit())); + TQToolTip::add(this, i18n("Screen resize & rotate")); + my_parent = parent; + + //printf("Reading configuration...\n\r"); + globalKeys = new TDEGlobalAccel(TQT_TQOBJECT(this)); + TDEGlobalAccel* keys = globalKeys; +#include "tderandrbindings.cpp" + // the keys need to be read from kdeglobals, not kickerrc + globalKeys->readSettings(); + globalKeys->setEnabled(true); + globalKeys->updateConnections(); + + connect(kapp, TQT_SIGNAL(settingsChanged(int)), TQT_SLOT(slotSettingsChanged(int))); + +#if (TQT_VERSION-0 >= 0x030200) // XRANDR support +// connect(this, TQT_SIGNAL(screenSizeChanged(int, int)), kapp->desktop(), TQT_SLOT( desktopResized())); +#endif + + randr_display = XOpenDisplay(NULL); + + if (isValid() == true) { + last_known_x = currentScreen()->currentPixelWidth(); + last_known_y = currentScreen()->currentPixelHeight(); + } + + t_config = new KSimpleConfig("kiccconfigrc"); + + TQString cur_profile; + cur_profile = getCurrentProfile(); + if (cur_profile != "") { + applyIccConfiguration(cur_profile, NULL); + } + + TDEHardwareDevices *hwdevices = TDEGlobal::hardwareDevices(); + connect(hwdevices, TQT_SIGNAL(hardwareUpdated(TDEGenericDevice*)), this, TQT_SLOT(deviceChanged(TDEGenericDevice*))); +} + +/*! + * \b TQT_SLOT which called if tderandrtray is exited by the user. In this case the user + * is asked through a yes/no box if "KRandRTray should start automatically on log in" and the + * result is written to the KDE configfile. + */ +void KRandRSystemTray::_quit (){ + r_config = new KSimpleConfig("tderandrtrayrc"); + + TQString tmp1 = i18n ("Start KRandRTray automatically when you log in?"); + int tmp2 = KMessageBox::questionYesNo ( 0, tmp1, i18n("Question"), i18n("Start Automatically"), i18n("Do Not Start")); + r_config->setGroup("General"); + r_config->writeEntry ("Autostart", tmp2 == KMessageBox::Yes); + r_config->sync (); + + exit(0); +} + +void KRandRSystemTray::resizeEvent ( TQResizeEvent * ) +{ + // Honor Free Desktop specifications that allow for arbitrary system tray icon sizes + TQPixmap origpixmap; + TQPixmap scaledpixmap; + TQImage newIcon; + origpixmap = KSystemTray::loadSizedIcon( "randr", width() ); + newIcon = origpixmap; + newIcon = newIcon.smoothScale(width(), height()); + scaledpixmap = newIcon; + setPixmap(scaledpixmap); +} + +void KRandRSystemTray::mousePressEvent(TQMouseEvent* e) +{ + // Popup the context menu with left-click + if (e->button() == Qt::LeftButton) { + contextMenuAboutToShow(contextMenu()); + contextMenu()->popup(e->globalPos()); + e->accept(); + return; + } + + KSystemTray::mousePressEvent(e); +} + +void KRandRSystemTray::reloadDisplayConfiguration() +{ + // Reload the randr configuration... + int i; + int activeOutputs = 0; + int screenDeactivated = 0; + + if (isValid() == true) { + randr_screen_info = read_screen_info(randr_display); + + // Count outputs in the active state + activeOutputs = 0; + for (i = 0; i < randr_screen_info->n_output; i++) { + // Look for ON outputs + if (!randr_screen_info->outputs[i]->cur_crtc) { + continue; + } + // Look for CONNECTED outputs + if (RR_Disconnected == randr_screen_info->outputs[i]->info->connection) { + continue; + } + + activeOutputs++; + } + + if (activeOutputs < 1) { + // Houston, we have a problem! + // There are no active displays! + // Activate the first connected display we come across... + for (i = 0; i < randr_screen_info->n_output; i++) { + // Look for OFF outputs + if (randr_screen_info->outputs[i]->cur_crtc) { + continue; + } + // Look for CONNECTED outputs + if (RR_Disconnected == randr_screen_info->outputs[i]->info->connection) { + continue; + } + + // Activate this output + randr_screen_info->cur_crtc = randr_screen_info->outputs[i]->cur_crtc; + randr_screen_info->cur_output = randr_screen_info->outputs[i]; + randr_screen_info->cur_output->auto_set = 1; + randr_screen_info->cur_output->off_set = 0; + output_auto (randr_screen_info, randr_screen_info->cur_output); + i=main_low_apply(randr_screen_info); + + if (randr_screen_info->outputs[i]->cur_crtc) { + // Output successfully activated! + set_primary_output(randr_screen_info, randr_screen_info->cur_output->id); + break; + } + } + } + + for (i = 0; i < randr_screen_info->n_output; i++) { + // Look for ON outputs + if (!randr_screen_info->outputs[i]->cur_crtc) { + continue; + } + // Look for DISCONNECTED outputs + if (RR_Disconnected != randr_screen_info->outputs[i]->info->connection) { + continue; + } + + // Deactivate this display to avoid a crash! + randr_screen_info->cur_crtc = randr_screen_info->outputs[i]->cur_crtc; + randr_screen_info->cur_output = randr_screen_info->outputs[i]; + randr_screen_info->cur_output->auto_set = 0; + randr_screen_info->cur_output->off_set = 1; + output_off(randr_screen_info, randr_screen_info->cur_output); + main_low_apply(randr_screen_info); + + screenDeactivated = 1; + } + + if (screenDeactivated == 1) { + findPrimaryDisplay(); + refresh(); + + currentScreen()->proposeSize(GetDefaultResolutionParameter()); + currentScreen()->applyProposed(); + } + } +} + +void KRandRSystemTray::contextMenuAboutToShow(KPopupMenu* menu) +{ + int lastIndex = 0; + + reloadDisplayConfiguration(); + + menu->clear(); + menu->setCheckable(true); + + bool valid = isValid(); + + if (!valid) { + lastIndex = menu->insertItem(i18n("Required X Extension Not Available")); + menu->setItemEnabled(lastIndex, false); + + } + else { + m_screenPopups.clear(); + for (int s = 0; s < numScreens() /*&& numScreens() > 1 */; s++) { + setCurrentScreen(s); + if (s == screenIndexOfWidget(this)) { + /*lastIndex = menu->insertItem(i18n("Screen %1").arg(s+1)); + menu->setItemEnabled(lastIndex, false);*/ + } else { + KPopupMenu* subMenu = new KPopupMenu(menu, TQString("screen%1").arg(s+1).latin1()); + m_screenPopups.append(subMenu); + populateMenu(subMenu); + lastIndex = menu->insertItem(i18n("Screen %1").arg(s+1), subMenu); + connect(subMenu, TQT_SIGNAL(activated(int)), TQT_SLOT(slotScreenActivated())); + } + } + + setCurrentScreen(screenIndexOfWidget(this)); + populateMenu(menu); + } + + addOutputMenu(menu); + + // Find any user ICC profiles + TQStringList cfgProfiles; + cfgProfiles = t_config->groupList(); + if (cfgProfiles.isEmpty() == false) { + menu->insertTitle(SmallIcon("kcoloredit"), i18n("Color Profile")); + } + for (TQStringList::Iterator t(cfgProfiles.begin()); t != cfgProfiles.end(); ++t) { + lastIndex = menu->insertItem(*t); + if (t_config->readEntry("CurrentProfile") == (*t)) { + menu->setItemChecked(lastIndex, true); + } + menu->setItemEnabled(lastIndex, t_config->readBoolEntry("EnableICC", false)); + menu->connectItem(lastIndex, this, TQT_SLOT(slotColorProfileChanged(int))); + } + + if (valid) { + // Find any display profiles + TQStringList displayProfiles; + displayProfiles = getDisplayConfigurationProfiles(locateLocal("config", "/", true)); + if (displayProfiles.isEmpty() == false) { + menu->insertTitle(SmallIcon("background"), i18n("Display Profiles")); + } + lastIndex = menu->insertItem(SmallIcon("bookmark"), ""); + menu->connectItem(lastIndex, this, TQT_SLOT(slotDisplayProfileChanged(int))); + for (TQStringList::Iterator t(displayProfiles.begin()); t != displayProfiles.end(); ++t) { + lastIndex = menu->insertItem(SmallIcon("bookmark"), *t); + menu->connectItem(lastIndex, this, TQT_SLOT(slotDisplayProfileChanged(int))); + } + } + + menu->insertTitle(SmallIcon("randr"), i18n("Global Configuation")); + + KAction *actColors = new KAction( i18n( "Configure Displays..." ), + SmallIconSet( "configure" ), KShortcut(), TQT_TQOBJECT(this), TQT_SLOT( slotDisplayConfig() ), + actionCollection() ); + actColors->plug( menu ); + +// KAction *actPrefs = new KAction( i18n( "Configure Display..." ), +// SmallIconSet( "configure" ), KShortcut(), this, TQT_SLOT( slotPrefs() ), +// actionCollection() ); +// actPrefs->plug( menu ); + + KAction *actSKeys = new KAction( i18n( "Configure Shortcut Keys..." ), + SmallIconSet( "configure" ), KShortcut(), TQT_TQOBJECT(this), TQT_SLOT( slotSKeys() ), + actionCollection() ); + actSKeys->plug( menu ); + + menu->insertItem(SmallIcon("help"),KStdGuiItem::help().text(), m_help->menu()); + KAction *quitAction = actionCollection()->action(KStdAction::name(KStdAction::Quit)); + quitAction->plug(menu); + + m_menu = menu; +} + +void KRandRSystemTray::slotScreenActivated() +{ + setCurrentScreen(m_screenPopups.find(static_cast(sender()))); +} + +void KRandRSystemTray::configChanged() +{ + refresh(); + + static bool first = true; + + if ((last_known_x == currentScreen()->currentPixelWidth()) && \ + (last_known_y == currentScreen()->currentPixelHeight())) { + first = true; + } + + last_known_x = currentScreen()->currentPixelWidth(); + last_known_y = currentScreen()->currentPixelHeight(); + + if (!first) { + emit (screenSizeChanged(currentScreen()->currentPixelWidth(), currentScreen()->currentPixelHeight())); + + KRandrPassivePopup::message( + i18n("Screen configuration has changed"), + currentScreen()->changedMessage(), SmallIcon("window_fullscreen"), + this, "ScreenChangeNotification"); + } + + first = false; + + TQString cur_profile; + cur_profile = getCurrentProfile(); + if (cur_profile != "") { + applyIccConfiguration(cur_profile, NULL); + } +} + +int KRandRSystemTray::GetDefaultResolutionParameter() +{ + int returnIndex = 0; + + int numSizes = currentScreen()->numSizes(); + int* sizeSort = new int[numSizes]; + + for (int i = 0; i < numSizes; i++) { + sizeSort[i] = currentScreen()->pixelCount(i); + } + + int highest = -1, highestIndex = -1; + + for (int i = 0; i < numSizes; i++) { + if (sizeSort[i] && sizeSort[i] > highest) { + highest = sizeSort[i]; + highestIndex = i; + } + } + sizeSort[highestIndex] = -1; + Q_ASSERT(highestIndex != -1); + + returnIndex = highestIndex; + + delete [] sizeSort; + sizeSort = 0L; + + return returnIndex; +} + +int KRandRSystemTray::GetHackResolutionParameter() { + int resparm; + + resparm = GetDefaultResolutionParameter(); + resparm++; + + return resparm; +} + +void KRandRSystemTray::populateMenu(KPopupMenu* menu) +{ + int lastIndex = 0; + + menu->insertTitle(SmallIcon("window_fullscreen"), i18n("Screen Size")); + + int numSizes = currentScreen()->numSizes(); + int* sizeSort = new int[numSizes]; + + for (int i = 0; i < numSizes; i++) { + sizeSort[i] = currentScreen()->pixelCount(i); + } + + for (int j = 0; j < numSizes; j++) { + int highest = -1, highestIndex = -1; + + for (int i = 0; i < numSizes; i++) { + if (sizeSort[i] && sizeSort[i] > highest) { + highest = sizeSort[i]; + highestIndex = i; + } + } + sizeSort[highestIndex] = -1; + Q_ASSERT(highestIndex != -1); + + lastIndex = menu->insertItem(i18n("%1 x %2").arg(currentScreen()->pixelSize(highestIndex).width()).arg(currentScreen()->pixelSize(highestIndex).height())); + + if (currentScreen()->proposedSize() == highestIndex) + menu->setItemChecked(lastIndex, true); + + menu->setItemParameter(lastIndex, highestIndex); + menu->connectItem(lastIndex, this, TQT_SLOT(slotResolutionChanged(int))); + } + delete [] sizeSort; + sizeSort = 0L; + + // Don't display the rotation options if there is no point (ie. none are supported) + // XFree86 4.3 does not include rotation support. + if (currentScreen()->rotations() != RandRScreen::Rotate0) { + menu->insertTitle(SmallIcon("reload"), i18n("Orientation")); + + for (int i = 0; i < 6; i++) { + if ((1 << i) & currentScreen()->rotations()) { + lastIndex = menu->insertItem(currentScreen()->rotationIcon(1 << i), RandRScreen::rotationName(1 << i)); + + if (currentScreen()->proposedRotation() & (1 << i)) + menu->setItemChecked(lastIndex, true); + + menu->setItemParameter(lastIndex, 1 << i); + menu->connectItem(lastIndex, this, TQT_SLOT(slotOrientationChanged(int))); + } + } + } + + TQStringList rr = currentScreen()->refreshRates(currentScreen()->proposedSize()); + + if (rr.count()) + menu->insertTitle(SmallIcon("clock"), i18n("Refresh Rate")); + + int i = 0; + for (TQStringList::Iterator it = rr.begin(); it != rr.end(); ++it, i++) { + lastIndex = menu->insertItem(*it); + + if (currentScreen()->proposedRefreshRate() == i) + menu->setItemChecked(lastIndex, true); + + menu->setItemParameter(lastIndex, i); + menu->connectItem(lastIndex, this, TQT_SLOT(slotRefreshRateChanged(int))); + } +} + +void KRandRSystemTray::slotResolutionChanged(int parameter) +{ + if (currentScreen()->currentSize() == parameter) { + //printf("This resolution is already in use; applying again...\n\r"); + currentScreen()->proposeSize(parameter); + currentScreen()->applyProposed(); + return; + } + + currentScreen()->proposeSize(parameter); + + currentScreen()->proposeRefreshRate(-1); + + if (currentScreen()->applyProposedAndConfirm()) { + TDEConfig config("kcmrandrrc"); + if (syncTrayApp(config)) + currentScreen()->save(config); + } +} + +void KRandRSystemTray::slotOrientationChanged(int parameter) +{ + int propose = currentScreen()->currentRotation(); + + if (parameter & RandRScreen::RotateMask) + propose &= RandRScreen::ReflectMask; + + propose ^= parameter; + + if (currentScreen()->currentRotation() == propose) + return; + + currentScreen()->proposeRotation(propose); + + if (currentScreen()->applyProposedAndConfirm()) { + TDEConfig config("kcmrandrrc"); + if (syncTrayApp(config)) + currentScreen()->save(config); + } +} + +void KRandRSystemTray::slotRefreshRateChanged(int parameter) +{ + if (currentScreen()->currentRefreshRate() == parameter) + return; + + currentScreen()->proposeRefreshRate(parameter); + + if (currentScreen()->applyProposedAndConfirm()) { + TDEConfig config("kcmrandrrc"); + if (syncTrayApp(config)) + currentScreen()->save(config); + } +} + +void KRandRSystemTray::slotPrefs() +{ + KCMultiDialog *kcm = new KCMultiDialog( KDialogBase::Plain, i18n( "Configure" ), this ); + + kcm->addModule( "displayconfig" ); + kcm->setPlainCaption( i18n( "Configure Display" ) ); + kcm->exec(); +} + +void KRandRSystemTray::slotDisplayConfig() +{ + KCMultiDialog *kcm = new KCMultiDialog( KDialogBase::Plain, i18n( "Configure" ), this ); + + kcm->addModule( "displayconfig" ); + kcm->setPlainCaption( i18n( "Configure Displays" ) ); + kcm->exec(); +} + +void KRandRSystemTray::slotSettingsChanged(int category) +{ + if ( category == (int) TDEApplication::SETTINGS_SHORTCUTS ) { + globalKeys->readSettings(); + globalKeys->updateConnections(); + } +} + +void KRandRSystemTray::slotSKeys() +{ + ConfigDialog *dlg = new ConfigDialog(globalKeys, true); + + if ( dlg->exec() == TQDialog::Accepted ) { + dlg->commitShortcuts(); + globalKeys->writeSettings(0, true); + globalKeys->updateConnections(); + } + + delete dlg; +} + +void KRandRSystemTray::slotCycleDisplays() +{ + XRROutputInfo *output_info; + char *output_name; + int i; + int current_on_index = -1; + int max_index = -1; + int prev_on_index; + + randr_screen_info = read_screen_info(randr_display); + + for (i = 0; i < randr_screen_info->n_output; i++) { + output_info = randr_screen_info->outputs[i]->info; + // Look for ON outputs... + if (!randr_screen_info->outputs[i]->cur_crtc) { + continue; + } + // ...that are connected + if (RR_Disconnected == randr_screen_info->outputs[i]->info->connection) { + continue; + } + + output_name = output_info->name; + current_on_index = i; + if (i > max_index) { + max_index = i; + } + } + + for (i = 0; i < randr_screen_info->n_output; i++) { + output_info = randr_screen_info->outputs[i]->info; + // Look for CONNECTED outputs.... + if (RR_Disconnected == randr_screen_info->outputs[i]->info->connection) { + continue; + } + // ...that are not ON + if (randr_screen_info->outputs[i]->cur_crtc) { + continue; + } + + output_name = output_info->name; + if (i > max_index) { + max_index = i; + } + } + + for (i = 0; i < randr_screen_info->n_output; i++) { + output_info = randr_screen_info->outputs[i]->info; + // Look for ALL outputs that are not connected.... + if (RR_Disconnected != randr_screen_info->outputs[i]->info->connection) { + continue; + } + // ...or ON + if (randr_screen_info->outputs[i]->cur_crtc) { + continue; + } + + output_name = output_info->name; + if (i > max_index) { + max_index = i; + } + } + + //printf("Active: %d\n\r", current_on_index); + //printf("Max: %d\n\r", max_index); + + if ((current_on_index == -1) && (max_index == -1)) { + // There is no connected display available! ABORT + return; + } + + prev_on_index = current_on_index; + current_on_index = current_on_index + 1; + if (current_on_index > max_index) { + current_on_index = 0; + } + while (RR_Disconnected == randr_screen_info->outputs[current_on_index]->info->connection) { + current_on_index = current_on_index + 1; + if (current_on_index > max_index) { + current_on_index = 0; + } + } + if (prev_on_index != current_on_index) { + randr_screen_info->cur_crtc = randr_screen_info->outputs[current_on_index]->cur_crtc; + randr_screen_info->cur_output = randr_screen_info->outputs[current_on_index]; + randr_screen_info->cur_output->auto_set = 1; + randr_screen_info->cur_output->off_set = 0; + output_auto (randr_screen_info, randr_screen_info->cur_output); + i=main_low_apply(randr_screen_info); + + if (randr_screen_info->outputs[current_on_index]->cur_crtc) { + // Output successfully activated! + set_primary_output(randr_screen_info, randr_screen_info->cur_output->id); + + if (prev_on_index != -1) { + if (randr_screen_info->outputs[prev_on_index]->cur_crtc != NULL) { + if (RR_Disconnected != randr_screen_info->outputs[prev_on_index]->info->connection) { + randr_screen_info->cur_crtc = randr_screen_info->outputs[prev_on_index]->cur_crtc; + randr_screen_info->cur_output = randr_screen_info->outputs[prev_on_index]; + randr_screen_info->cur_output->auto_set = 0; + randr_screen_info->cur_output->off_set = 1; + output_off(randr_screen_info, randr_screen_info->cur_output); + i=main_low_apply(randr_screen_info); + } + } + } + + // Do something about the disconnected outputs + for (i = 0; i < randr_screen_info->n_output; i++) { + output_info = randr_screen_info->outputs[i]->info; + // Look for ON outputs + if (!randr_screen_info->outputs[i]->cur_crtc) { + continue; + } + if (RR_Disconnected != randr_screen_info->outputs[i]->info->connection) { + continue; + } + + output_name = output_info->name; + + // Deactivate this display to avoid a crash! + randr_screen_info->cur_crtc = randr_screen_info->outputs[i]->cur_crtc; + randr_screen_info->cur_output = randr_screen_info->outputs[i]; + randr_screen_info->cur_output->auto_set = 0; + randr_screen_info->cur_output->off_set = 1; + output_off(randr_screen_info, randr_screen_info->cur_output); + main_low_apply(randr_screen_info); + } + + findPrimaryDisplay(); + refresh(); + + currentScreen()->proposeSize(GetDefaultResolutionParameter()); + currentScreen()->applyProposed(); + } + else { + output_name = randr_screen_info->outputs[current_on_index]->info->name; + KMessageBox::sorry(my_parent, i18n("Unable to activate output %1

Either the output is not connected to a display,
or the display configuration is not detectable").arg(output_name), i18n("Output Unavailable")); + } + } +} + +void KRandRSystemTray::findPrimaryDisplay() +{ + int i; + + for (i = 0; i < randr_screen_info->n_output; i++) { + // Look for ON outputs... + if (!randr_screen_info->outputs[i]->cur_crtc) { + continue; + } + + // ...that are connected + if (RR_Disconnected == randr_screen_info->outputs[i]->info->connection) { + continue; + } + + randr_screen_info->cur_crtc = randr_screen_info->outputs[i]->cur_crtc; + randr_screen_info->cur_output = randr_screen_info->outputs[i]; + } +} + +void KRandRSystemTray::addOutputMenu(KPopupMenu* menu) +{ + XRROutputInfo *output_info; + char *output_name; + int i; + int lastIndex = 0; + int connected_displays = 0; + + if (isValid() == true) { + menu->insertTitle(SmallIcon("kcmkwm"), i18n("Output Port")); + + for (i = 0; i < randr_screen_info->n_output; i++) { + output_info = randr_screen_info->outputs[i]->info; + // Look for ON outputs + if (!randr_screen_info->outputs[i]->cur_crtc) { + continue; + } + if (RR_Disconnected == randr_screen_info->outputs[i]->info->connection) { + continue; + } + + output_name = output_info->name; + //printf("ON: Found output %s\n\r", output_name); + + lastIndex = menu->insertItem(i18n("%1 (Active)").arg(output_name)); + menu->setItemChecked(lastIndex, true); + menu->connectItem(lastIndex, this, TQT_SLOT(slotOutputChanged(int))); + menu->setItemParameter(lastIndex, i); + + connected_displays++; + } + + for (i = 0; i < randr_screen_info->n_output; i++) { + output_info = randr_screen_info->outputs[i]->info; + // Look for CONNECTED outputs.... + if (RR_Disconnected == randr_screen_info->outputs[i]->info->connection) { + continue; + } + // ...that are not ON + if (randr_screen_info->outputs[i]->cur_crtc) { + continue; + } + + output_name = output_info->name; + //printf("CONNECTED, NOT ON: Found output %s\n\r", output_name); + + lastIndex = menu->insertItem(i18n("%1 (Connected, Inactive)").arg(output_name)); + menu->setItemChecked(lastIndex, false); + menu->connectItem(lastIndex, this, TQT_SLOT(slotOutputChanged(int))); + menu->setItemParameter(lastIndex, i); + + connected_displays++; + } + + for (i = 0; i < randr_screen_info->n_output; i++) { + output_info = randr_screen_info->outputs[i]->info; + // Look for ALL outputs that are not connected.... + if (RR_Disconnected != randr_screen_info->outputs[i]->info->connection) { + continue; + } + // ...or ON + if (randr_screen_info->outputs[i]->cur_crtc) { + continue; + } + + output_name = output_info->name; + //printf("DISCONNECTED, NOT ON: Found output %s\n\r", output_name); + + lastIndex = menu->insertItem(i18n("%1 (Disconnected, Inactive)").arg(output_name)); + menu->setItemChecked(lastIndex, false); + menu->setItemEnabled(lastIndex, false); + menu->connectItem(lastIndex, this, TQT_SLOT(slotOutputChanged(int))); + menu->setItemParameter(lastIndex, i); + } + + lastIndex = menu->insertItem(SmallIcon("forward"), i18n("Next available output")); + if (connected_displays < 2) { + menu->setItemEnabled(lastIndex, false); + } + menu->connectItem(lastIndex, this, TQT_SLOT(slotCycleDisplays())); + } +} + +void KRandRSystemTray::slotColorProfileChanged(int parameter) +{ + t_config->writeEntry("CurrentProfile", m_menu->text(parameter)); + applyIccConfiguration(m_menu->text(parameter), NULL); +} + +void KRandRSystemTray::slotDisplayProfileChanged(int parameter) +{ + TQString profileName = m_menu->text(parameter); + if (profileName == "") { + profileName = ""; + } + TQPtrList profileData = loadDisplayConfiguration(profileName, locateLocal("config", "/", true)); + applyDisplayConfiguration(profileData, TRUE, locateLocal("config", "/", true)); + destroyScreenInformationObject(profileData); +} + +void KRandRSystemTray::slotOutputChanged(int parameter) +{ + char *output_name; + int i; + int num_outputs_on; + + num_outputs_on = 0; + for (i = 0; i < randr_screen_info->n_output; i++) { + // Look for ON outputs + if (!randr_screen_info->outputs[i]->cur_crtc) { + continue; + } + + num_outputs_on++; + } + + if (!randr_screen_info->outputs[parameter]->cur_crtc) { + //printf("Screen was off, turning it on...\n\r"); + + randr_screen_info->cur_crtc = randr_screen_info->outputs[parameter]->cur_crtc; + randr_screen_info->cur_output = randr_screen_info->outputs[parameter]; + randr_screen_info->cur_output->auto_set = 1; + randr_screen_info->cur_output->off_set = 0; + output_auto (randr_screen_info, randr_screen_info->cur_output); + i=main_low_apply(randr_screen_info); + + if (!randr_screen_info->outputs[parameter]->cur_crtc) { + output_name = randr_screen_info->outputs[parameter]->info->name; + KMessageBox::sorry(my_parent, i18n("Unable to activate output %1

Either the output is not connected to a display,
or the display configuration is not detectable").arg(output_name), i18n("Output Unavailable")); + } + } + else { + if (num_outputs_on > 1) { + //printf("Screen was on, turning it off...\n\r"); + randr_screen_info->cur_crtc = randr_screen_info->outputs[parameter]->cur_crtc; + randr_screen_info->cur_output = randr_screen_info->outputs[parameter]; + randr_screen_info->cur_output->auto_set = 0; + randr_screen_info->cur_output->off_set = 1; + output_off(randr_screen_info, randr_screen_info->cur_output); + i=main_low_apply(randr_screen_info); + + findPrimaryDisplay(); + refresh(); + + currentScreen()->proposeSize(GetDefaultResolutionParameter()); + currentScreen()->applyProposed(); + } + else { + KMessageBox::sorry(my_parent, i18n("You are attempting to deactivate the only active output

You must keep at least one display output active at all times!"), i18n("Invalid Operation Requested")); + } + } +} + +void KRandRSystemTray::deviceChanged (TDEGenericDevice* device) { + if (device->type() == TDEGenericDeviceType::Monitor) { + KRandrPassivePopup::message( + i18n("New display output options are available!"), + i18n("A screen has been added, removed, or changed"), SmallIcon("window_fullscreen"), + this, "ScreenChangeNotification"); + + reloadDisplayConfiguration(); + applyHotplugRules(locateLocal("config", "/", true)); + } +} \ No newline at end of file diff --git a/kcontrol/randr/tderandrtray.desktop b/kcontrol/randr/tderandrtray.desktop new file mode 100644 index 000000000..5479287b4 --- /dev/null +++ b/kcontrol/randr/tderandrtray.desktop @@ -0,0 +1,141 @@ +[Desktop Entry] +Name=KRandRTray +Name[be]=Змена параметраў манітора +Name[hu]=Képernyőfelbontás +Name[ne]=KRandR ट्रे +Name[pt_BR]=Ícone do KRandR +Name[sv]=Krandrtray +Name[vi]=Khay KRandR +GenericName=Screen Resize & Rotate +GenericName[af]=Skerm Hervergroot & Roteer +GenericName[be]=Змена памераў экрана і перагортванне +GenericName[bg]=Размер и ротация на екрана +GenericName[bn]=পর্দা মাপবদল ও আবর্তন +GenericName[br]=Adventañ ha treiñ ar skramm +GenericName[bs]=Veličina i rotacija ekrana +GenericName[ca]=Amida i gira la pantalla +GenericName[cs]=Změna velikosti a rotace obrazovky +GenericName[csb]=Òbrócenié ë zjinaka miarë ekranu +GenericName[cy]=Newid Maint a Cylchdroi'r Sgrîn +GenericName[da]=Ændr størrelse på skærm & Rotér +GenericName[de]=Bildschirmgröße & -ausrichtung ändern +GenericName[el]=Αλλαγή μεγέθους & Περιστροφή οθόνης +GenericName[eo]=Regrandigi kaj Turni Ekranon +GenericName[es]=Redimensionar y rotar pantalla +GenericName[et]=Ekraani suuruse muutmine ja pööramine +GenericName[eu]=Pantailaren tamaina aldaketa eta biraketa +GenericName[fa]=تغییر اندازه و چرخش پرده +GenericName[fi]=Näytön kuvan koon muuttaminen ja kuvan kääntäminen +GenericName[fr]=Redimensionnement et rotation de l'écran +GenericName[fy]=Skerm rotearje en grutte wizigje +GenericName[gl]=Rotación e Redimensionamento da Pantallla +GenericName[he]=שינוי גודל המסך וסיבובו +GenericName[hr]=Veličine i orijentacija zaslona +GenericName[hu]=Képernyőbeállító +GenericName[is]=Stærð og snúningur skjáa +GenericName[it]=Ruota e ridimensiona lo schermo +GenericName[ja]=スクリーンのリサイズと回転 +GenericName[ka]=ეკრანის ზომა და ორიენტაცია +GenericName[kk]=Экранды өзгерту және бұрау +GenericName[km]=ប្ដូរ​ទំហំ & បង្វិល​អេក្រង់ +GenericName[ko]=화면 크기 조정 및 회전 +GenericName[lt]=Ekrano dydžio keitimas ir pasukimas +GenericName[mk]=Големина и ротација на екранот +GenericName[ms]=Saiz Semula Skrin & Putar +GenericName[nb]=Endre størrelsen på og rotere skjermbildet +GenericName[nds]=Schirmgrött un -utrichten ännern +GenericName[ne]=पर्दा रिसाइज र परिक्रमण +GenericName[nl]=Scherm roteren en grootte wijzigen +GenericName[nn]=Endra storleiken på og roter skjermbiletet +GenericName[pa]=ਪਰਦਾ ਮੁੜ ਆਕਾਰ ਤੇ ਘੁੰਮਾਓ +GenericName[pl]=Obrót i zmiana rozmiaru ekranu +GenericName[pt]=Mudar o Tamanho e Rodar o Ecrã +GenericName[pt_BR]=Redimensionar Tela & Rotacionar +GenericName[ro]=Redimensionare și rotire ecran +GenericName[ru]=Изменение размера и ориентации экрана +GenericName[rw]=Kuhindura ingano & Kuzengurutsa Mugaragaza +GenericName[se]=Rievdat šearbmagova sturrodaga ja jorat dan +GenericName[sk]=Zmena veľkosti a otočenia obrazovky +GenericName[sl]=Spreminjanje velikosti in obračanje zaslona +GenericName[sr]=Промена величине и ротација екрана +GenericName[sr@Latn]=Promena veličine i rotacija ekrana +GenericName[sv]=Ändra skärmstorlek och rotera +GenericName[ta]=திரை அளவு மாற்று & சுழற்று +GenericName[tg]=Ивази андоза ва мавқеи экран +GenericName[th]=ปรับขนาดและหมุนหน้าจอ +GenericName[tr]=Ekran Boyutlandır ve Döndür +GenericName[tt]=Küräk Ülçäme & Borılışı +GenericName[uk]=Зміна розміру та обертання екрана +GenericName[uz]=Ekraning oʻlchamini oʻzgartirish va burish +GenericName[uz@cyrillic]=Экранинг ўлчамини ўзгартириш ва буриш +GenericName[vi]=Thay đổi cỡ màn hình & Quay +GenericName[wa]=Candjî l' grandeu del waitroûle eyet l' tourner +GenericName[zh_CN]=屏幕大小和旋转 +GenericName[zh_TW]=螢幕調整大小及旋轉 +Comment=Resize and rotate X screens. +Comment[af]=Hervergroot en roteer X skerms. +Comment[ar]=غيير القياس و الدوران للشاشات X. +Comment[be]=Змена памераў і перагортванне экранаў X. +Comment[bg]=Размер и ротация на екрана. +Comment[bn]=আপনার এক্স-স্ক্রীণ-এর আকৃতি এবং দিশা পরিবর্তন করুন +Comment[br]=Adventañ ha treiñ ho diskweloù X. +Comment[bs]=Podesite veličinu i rotirajte vaš ekran. +Comment[ca]=Gira i amida les pantalles X. +Comment[cs]=Změna velikosti a rotace obrazovky. +Comment[csb]=Zjinaka miarë ë pòłożenia ekranów. +Comment[da]=Ændrer størrelse og roterer X-skærme +Comment[de]=Die Größe und Ausrichtung der Anzeige ändern +Comment[el]=Αλλαγή μεγέθους και περιστροφή της οθόνης. +Comment[eo]=Regrandigi kaj turni X ekranojn. +Comment[es]=Ajustar el tamaño y rotar las pantallas X. +Comment[et]=X'i ekraani muutmine ja pööramine +Comment[eu]=Aldatu tamaina eta biratu zure X pantailak. +Comment[fa]=تغییر‌ اندازه و چرخش پرده‌های X. +Comment[fi]=Näytön kuvan koon muuttaminen ja kuvan kääntäminen +Comment[fr]=Redimensionner et retourner votre affichage. +Comment[fy]=Skermgrutte wizigje en rotearje X skermen +Comment[ga]=Athraigh an méid agus rothlaigh scáileáin X. +Comment[gl]=Redimensionar e rotar pantallas +Comment[he]=שנה את גודלה של התצוגה שלך וסובב אותה. +Comment[hr]=Promjena veličine i orijentacije X zaslona +Comment[hu]=A képernyő átméretezése, elforgatása +Comment[is]=Breyta stærð skjásins og snúa honum. +Comment[it]=Ridimensiona e ruota gli schermi di X. +Comment[ja]=X スクリーンのリサイズと回転。 +Comment[ka]=ეკრანის ზომის და ორიენტაციის შეცვლა +Comment[kk]=Экранның өлшемін және бағытын өзгерту +Comment[km]=ប្ដូរ​ទំហំ និង​បង្វិល​អេក្រង់ X ។ +Comment[lt]=Keisti X ekrano dydį ir orientaciją. +Comment[mk]=Сменете ја големината и ротацијата на вашиот екран +Comment[nb]=Endrer størrelsen på og roterer X-skjermbildet +Comment[nds]=Grött un Utrichten vun den X-Schirm ännern +Comment[ne]=X पर्दा रिसाइज गर्नुहोस् र घुमाउनुहोस् +Comment[nl]=Scherm roteren en van grootte veranderen +Comment[nn]=Endra storleiken på og roter X-skjermbiletet. +Comment[pa]=X ਸਕਰੀਨ ਨੂੰ ਮੁੜ-ਅਕਾਰ ਅਤੇ ਘੁੰਮਾਓ। +Comment[pl]=Zmiana rozmiaru i orientacji ekranów. +Comment[pt]=Mudar o tamanho e rodar os ecrãs do X. +Comment[pt_BR]=Redimensiona e rotaciona as tela do X. +Comment[ro]=Redimensionează și rotește ecranele X. +Comment[ru]=Изменение размера и ориентации экранов X. +Comment[se]=Rievdat X-šearpmaid sturrodaga ja joraheami. +Comment[sk]=Zmení veľkosť a otočí obrazovky +Comment[sl]=Spremenite velikost in obrnite zaslon. +Comment[sr]=Промените величину и оријентацију екрана +Comment[sr@Latn]=Promenite veličinu i orijentaciju ekrana +Comment[sv]=Storleksändring och rotation av X-skärmar. +Comment[tg]=Ивази андоза ва мавқеи экранҳои Х. +Comment[th]=ปรับแต่งการแสดงผลของ X +Comment[tr]=Ekranı boyutlandır ve çevir. +Comment[uk]=Зміна розміру та обертання екранів X. +Comment[uz]=Ekraning oʻlchamini oʻzgartirish va burish +Comment[uz@cyrillic]=Экранинг ўлчамини ўзгартириш ва буриш +Comment[vi]=Đổi cỡ và quay màn hình X. +Comment[wa]=Candjî l' grandeu eyet tourner les waitroûles X. +Comment[zh_CN]=更改 X 屏幕的大小和旋转。 +Comment[zh_TW]=調整大小及旋轉 X 螢幕。 +Exec=tderandrtray +Icon=randr +Type=Application +OnlyShowIn=TDE; +Categories=Qt;TDE;System; diff --git a/kcontrol/randr/tderandrtray.h b/kcontrol/randr/tderandrtray.h new file mode 100644 index 000000000..320f0cb1c --- /dev/null +++ b/kcontrol/randr/tderandrtray.h @@ -0,0 +1,94 @@ +/* + * Copyright (c) 2002 Hamish Rodda + * + * 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +#ifndef KRANDRTRAY_H +#define KRANDRTRAY_H + +#include + +#include +#include + +#include +#include + +class KHelpMenu; +class KPopupMenu; + +class KRandRSystemTray : public KSystemTray, public KRandrSimpleAPI +{ + Q_OBJECT + +public: + KRandRSystemTray(TQWidget* parent = 0, const char *name = 0); + TDEGlobalAccel *globalKeys; + + virtual void contextMenuAboutToShow(KPopupMenu* menu); + + void configChanged(); + +signals: + void screenSizeChanged(int x, int y); + +protected slots: + void slotScreenActivated(); + void slotResolutionChanged(int parameter); + void slotOrientationChanged(int parameter); + void slotRefreshRateChanged(int parameter); + void slotPrefs(); + void slotDisplayConfig(); + void slotSKeys(); + void slotSettingsChanged(int category); + void slotCycleDisplays(); + void slotOutputChanged(int parameter); + void slotColorProfileChanged(int parameter); + void slotDisplayProfileChanged(int parameter); + +protected: + void mousePressEvent( TQMouseEvent *e ); + void resizeEvent ( TQResizeEvent * ); + +private: + void populateMenu(KPopupMenu* menu); + void addOutputMenu(KPopupMenu* menu); + int GetDefaultResolutionParameter(); + int GetHackResolutionParameter(); + void findPrimaryDisplay(); + void reloadDisplayConfiguration(); + + bool m_popupUp; + KHelpMenu* m_help; + TQPtrList m_screenPopups; + + Display *randr_display; + ScreenInfo *randr_screen_info; + TQWidget* my_parent; + + int last_known_x; + int last_known_y; + + KPopupMenu* m_menu; + KSimpleConfig *r_config; + KSimpleConfig *t_config; + +private slots: + void _quit(); + void deviceChanged (TDEGenericDevice*); +}; + +#endif diff --git a/kcontrol/screensaver/screensaver.desktop b/kcontrol/screensaver/screensaver.desktop index f111fb676..566a8c506 100644 --- a/kcontrol/screensaver/screensaver.desktop +++ b/kcontrol/screensaver/screensaver.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Exec=kcmshell screensaver -Icon=kscreensaver +Icon=tdescreensaver Type=Application DocPath=kcontrol/screensaver/index.html diff --git a/kcontrol/screensaver/scrnsave.cpp b/kcontrol/screensaver/scrnsave.cpp index 4efb38e90..ba3c0eb66 100644 --- a/kcontrol/screensaver/scrnsave.cpp +++ b/kcontrol/screensaver/scrnsave.cpp @@ -506,7 +506,7 @@ void KScreenSaver::findSavers() TQListViewItem *categoryItem = mSaverListView->findItem( s->category(), 0 ); if ( !categoryItem ) { categoryItem = new TQListViewItem ( mSaverListView, s->category(), "1" + s->category() ); - categoryItem->setPixmap ( 0, SmallIcon ( "kscreensaver" ) ); + categoryItem->setPixmap ( 0, SmallIcon ( "tdescreensaver" ) ); } item = new TQListViewItem ( categoryItem, s->name(), s->name() ); categoryCount++; @@ -712,7 +712,7 @@ void KScreenSaver::slotSetup() (*mSetupProc) << word; word = "-icon"; (*mSetupProc) << word; - word = "kscreensaver"; + word = "tdescreensaver"; (*mSetupProc) << word; } diff --git a/kcontrol/spellchecking/spellchecking.cpp b/kcontrol/spellchecking/spellchecking.cpp index 68aa0cac8..26a2d1535 100644 --- a/kcontrol/spellchecking/spellchecking.cpp +++ b/kcontrol/spellchecking/spellchecking.cpp @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include "spellchecking.h" -- cgit v1.2.1