From 4aed2c8219774f5d797760606b8489a92ddc5163 Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kcontrol/launch/Makefile.am | 13 ++ kcontrol/launch/kcmlaunch.cpp | 275 ++++++++++++++++++++++++++++++++++++++ kcontrol/launch/kcmlaunch.desktop | 225 +++++++++++++++++++++++++++++++ kcontrol/launch/kcmlaunch.h | 72 ++++++++++ 4 files changed, 585 insertions(+) create mode 100644 kcontrol/launch/Makefile.am create mode 100644 kcontrol/launch/kcmlaunch.cpp create mode 100644 kcontrol/launch/kcmlaunch.desktop create mode 100644 kcontrol/launch/kcmlaunch.h (limited to 'kcontrol/launch') diff --git a/kcontrol/launch/Makefile.am b/kcontrol/launch/Makefile.am new file mode 100644 index 000000000..ce246f3d2 --- /dev/null +++ b/kcontrol/launch/Makefile.am @@ -0,0 +1,13 @@ + +kde_module_LTLIBRARIES = kcm_launch.la +AM_CPPFLAGS = $(all_includes) +kcm_launch_la_SOURCES = kcmlaunch.cpp +kcm_launch_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module +kcm_launch_la_LIBADD = $(LIB_KDEUI) +METASOURCES = AUTO +noinst_HEADERS = kcmlaunch.h +xdg_apps_DATA = kcmlaunch.desktop + +messages: rc.cpp + $(XGETTEXT) *.cpp -o $(podir)/kcmlaunch.pot + diff --git a/kcontrol/launch/kcmlaunch.cpp b/kcontrol/launch/kcmlaunch.cpp new file mode 100644 index 000000000..24623a7ea --- /dev/null +++ b/kcontrol/launch/kcmlaunch.cpp @@ -0,0 +1,275 @@ +/* + * Copyright (C) 2001 Rik Hemsley (rikkus) + * + * 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 + */ + +#include +#include +#include +#include +#include +#include + +#include + +#include +#include +#include +#include +#include + +#include "kcmlaunch.h" + +typedef KGenericFactory LaunchFactory; +K_EXPORT_COMPONENT_FACTORY( kcm_launch, LaunchFactory("kcmlaunch") ) + + +LaunchConfig::LaunchConfig(QWidget * parent, const char * name, const QStringList &) + : KCModule(LaunchFactory::instance(), parent, name) +{ + QVBoxLayout* Form1Layout = new QVBoxLayout( this, 0, + KDialog::spacingHint() ); + + setQuickHelp( i18n ( "

Launch Feedback

" + " You can configure the application-launch feedback here.")); + + QGroupBox* GroupBox1 = new QGroupBox( this, "GroupBox1" ); + GroupBox1->setTitle( i18n( "Bus&y Cursor" ) ); + QWhatsThis::add(GroupBox1, i18n( + "

Busy Cursor

\n" + "KDE offers a busy cursor for application startup notification.\n" + "To enable the busy cursor, select one kind of visual feedback\n" + "from the combobox.\n" + "It may occur, that some applications are not aware of this startup\n" + "notification. In this case, the cursor stops blinking after the time\n" + "given in the section 'Startup indication timeout'")); + + GroupBox1->setColumnLayout(0, Qt::Vertical ); + GroupBox1->layout()->setSpacing( 0 ); + GroupBox1->layout()->setMargin( 0 ); + Form1Layout->addWidget( GroupBox1 ); + QGridLayout* GroupBox1Layout = new QGridLayout( GroupBox1->layout(), 3, 2 ); + GroupBox1Layout->setSpacing( 6 ); + GroupBox1Layout->setMargin( 11 ); + GroupBox1Layout->setColStretch( 1, 1 ); + + cb_busyCursor = new QComboBox( GroupBox1, "cb_busyCursor" ); + cb_busyCursor->insertItem( i18n( "No Busy Cursor" ), 0 ); + cb_busyCursor->insertItem( i18n( "Passive Busy Cursor" ), 1 ); + cb_busyCursor->insertItem( i18n( "Blinking Cursor" ), 2 ); + cb_busyCursor->insertItem( i18n( "Bouncing Cursor" ), 3 ); + GroupBox1Layout->addWidget( cb_busyCursor, 0, 0 ); + connect( cb_busyCursor, SIGNAL( activated(int) ), + SLOT ( slotBusyCursor(int))); + connect( cb_busyCursor, SIGNAL( activated(int) ), SLOT( checkChanged() ) ); + + lbl_cursorTimeout = new QLabel( GroupBox1, "TextLabel1" ); + lbl_cursorTimeout->setText( i18n( "&Startup indication timeout:" ) ); + GroupBox1Layout->addWidget( lbl_cursorTimeout, 2, 0 ); + sb_cursorTimeout = new KIntNumInput( GroupBox1, "sb_cursorTimeout" ); + sb_cursorTimeout->setRange( 0, 99, 1, true ); + sb_cursorTimeout->setSuffix( i18n(" sec") ); + GroupBox1Layout->addWidget( sb_cursorTimeout, 2, 1 ); + lbl_cursorTimeout->setBuddy( sb_cursorTimeout ); + connect( sb_cursorTimeout, SIGNAL( valueChanged(int) ), + SLOT( checkChanged() ) ); + + QGroupBox* GroupBox2 = new QGroupBox( this, "GroupBox2" ); + GroupBox2->setTitle( i18n( "Taskbar &Notification" ) ); + QWhatsThis::add(GroupBox2, i18n("

Taskbar Notification

\n" + "You can enable a second method of startup notification which is\n" + "used by the taskbar where a button with a rotating hourglass appears,\n" + "symbolizing that your started application is loading.\n" + "It may occur, that some applications are not aware of this startup\n" + "notification. In this case, the button disappears after the time\n" + "given in the section 'Startup indication timeout'")); + + GroupBox2->setColumnLayout( 0, Qt::Vertical ); + GroupBox2->layout()->setSpacing( 0 ); + GroupBox2->layout()->setMargin( 0 ); + Form1Layout->addWidget( GroupBox2 ); + QGridLayout* GroupBox2Layout = new QGridLayout( GroupBox2->layout(), 2, 2 ); + GroupBox2Layout->setSpacing( 6 ); + GroupBox2Layout->setMargin( 11 ); + GroupBox2Layout->setColStretch( 1, 1 ); + + cb_taskbarButton = new QCheckBox( GroupBox2, "cb_taskbarButton" ); + cb_taskbarButton->setText( i18n( "Enable &taskbar notification" ) ); + GroupBox2Layout->addMultiCellWidget( cb_taskbarButton, 0, 0, 0, 1 ); + connect( cb_taskbarButton, SIGNAL( toggled(bool) ), + SLOT( slotTaskbarButton(bool))); + connect( cb_taskbarButton, SIGNAL( toggled(bool) ), SLOT( checkChanged())); + + lbl_taskbarTimeout = new QLabel( GroupBox2, "TextLabel2" ); + lbl_taskbarTimeout->setText( i18n( "Start&up indication timeout:" ) ); + GroupBox2Layout->addWidget( lbl_taskbarTimeout, 1, 0 ); + sb_taskbarTimeout = new KIntNumInput( GroupBox2, "sb_taskbarTimeout" ); + sb_taskbarTimeout->setRange( 0, 99, 1, true ); + sb_taskbarTimeout->setSuffix( i18n(" sec") ); + GroupBox2Layout->addWidget( sb_taskbarTimeout, 1, 1 ); + lbl_taskbarTimeout->setBuddy( sb_taskbarTimeout ); + connect( sb_taskbarTimeout, SIGNAL( valueChanged(int) ), + SLOT( checkChanged() ) ); + + Form1Layout->addStretch(); + + load(); +} + +LaunchConfig::~LaunchConfig() +{ +} + + void +LaunchConfig::slotBusyCursor(int i) +{ + lbl_cursorTimeout->setEnabled( i != 0 ); + sb_cursorTimeout->setEnabled( i != 0 ); +} + + void +LaunchConfig::slotTaskbarButton(bool b) +{ + lbl_taskbarTimeout->setEnabled( b ); + sb_taskbarTimeout->setEnabled( b ); +} + +void +LaunchConfig::load() +{ + load( false ); +} + +void +LaunchConfig::load(bool useDefaults) +{ + KConfig c("klaunchrc", false, false); + + c.setReadDefaults( useDefaults ); + + c.setGroup("FeedbackStyle"); + + bool busyCursor = + c.readBoolEntry("BusyCursor", Default & BusyCursor); + + bool taskbarButton = + c.readBoolEntry("TaskbarButton", Default & TaskbarButton); + + cb_taskbarButton->setChecked(taskbarButton); + + c.setGroup( "BusyCursorSettings" ); + sb_cursorTimeout->setValue( c.readUnsignedNumEntry( "Timeout", 30 )); + bool busyBlinking =c.readBoolEntry("Blinking", false); + bool busyBouncing =c.readBoolEntry("Bouncing", true); + if ( !busyCursor ) + cb_busyCursor->setCurrentItem(0); + else if ( busyBlinking ) + cb_busyCursor->setCurrentItem(2); + else if ( busyBouncing ) + cb_busyCursor->setCurrentItem(3); + else + cb_busyCursor->setCurrentItem(1); + + c.setGroup( "TaskbarButtonSettings" ); + sb_taskbarTimeout->setValue( c.readUnsignedNumEntry( "Timeout", 30 )); + + slotBusyCursor( cb_busyCursor->currentItem() ); + slotTaskbarButton( taskbarButton ); + + emit changed( useDefaults ); +} + + void +LaunchConfig::save() +{ + KConfig c("klaunchrc", false, false); + + c.setGroup("FeedbackStyle"); + c.writeEntry("BusyCursor", cb_busyCursor->currentItem() != 0); + c.writeEntry("TaskbarButton", cb_taskbarButton->isChecked()); + + c.setGroup( "BusyCursorSettings" ); + c.writeEntry( "Timeout", sb_cursorTimeout->value()); + c.writeEntry("Blinking", cb_busyCursor->currentItem() == 2); + c.writeEntry("Bouncing", cb_busyCursor->currentItem() == 3); + + c.setGroup( "TaskbarButtonSettings" ); + c.writeEntry( "Timeout", sb_taskbarTimeout->value()); + + c.sync(); + + emit changed( false ); + + if (!kapp->dcopClient()->isAttached()) + kapp->dcopClient()->attach(); + QByteArray data; + kapp->dcopClient()->send( "kicker", "Panel", "restart()", data ); + kapp->dcopClient()->send( "kdesktop", "", "configure()", data ); +} + + void +LaunchConfig::defaults() +{ + load( true ); +} + + void +LaunchConfig::checkChanged() +{ + KConfig c("klaunchrc", false, false); + + c.setGroup("FeedbackStyle"); + + bool savedBusyCursor = + c.readBoolEntry("BusyCursor", Default & BusyCursor); + + bool savedTaskbarButton = + c.readBoolEntry("TaskbarButton", Default & TaskbarButton); + + c.setGroup( "BusyCursorSettings" ); + unsigned int savedCursorTimeout = c.readUnsignedNumEntry( "Timeout", 30 ); + bool savedBusyBlinking =c.readBoolEntry("Blinking", false); + bool savedBusyBouncing =c.readBoolEntry("Bouncing", true); + + c.setGroup( "TaskbarButtonSettings" ); + unsigned int savedTaskbarTimeout = c.readUnsignedNumEntry( "Timeout", 30 ); + + bool newBusyCursor =cb_busyCursor->currentItem()!=0; + + bool newTaskbarButton =cb_taskbarButton->isChecked(); + + bool newBusyBlinking= cb_busyCursor->currentItem()==2; + bool newBusyBouncing= cb_busyCursor->currentItem()==3; + + unsigned int newCursorTimeout = sb_cursorTimeout->value(); + + unsigned int newTaskbarTimeout = sb_taskbarTimeout->value(); + + emit changed( + savedBusyCursor != newBusyCursor + || + savedTaskbarButton != newTaskbarButton + || + savedCursorTimeout != newCursorTimeout + || + savedTaskbarTimeout != newTaskbarTimeout + || + savedBusyBlinking != newBusyBlinking + || + savedBusyBouncing != newBusyBouncing + ); +} + +#include "kcmlaunch.moc" diff --git a/kcontrol/launch/kcmlaunch.desktop b/kcontrol/launch/kcmlaunch.desktop new file mode 100644 index 000000000..0e96a2d25 --- /dev/null +++ b/kcontrol/launch/kcmlaunch.desktop @@ -0,0 +1,225 @@ +[Desktop Entry] +Icon=launch +Type=Application +DocPath=kcontrol/kcmlaunch/index.html +Exec=kcmshell kcmlaunch + + +X-KDE-Library=launch +X-KDE-FactoryName=launch +X-KDE-ParentApp=kcontrol + +Name=Launch Feedback +Name[af]=Lanseer Terugvoer +Name[az]=Bildirişi Başlat +Name[be]=Зваротнае ўздзеянне падчас запуску +Name[bg]=Обратна връзка +Name[bn]=লঞ্চ ফীডব্যাক +Name[bs]=Odziv pri pokretanju +Name[ca]=Engegador ràpid +Name[cs]=Odezva při spouštění aplikací +Name[csb]=Zrëszanié programów +Name[cy]=Adborth wrth Gychwyn +Name[da]=Starttilbagemelding +Name[de]=Programmstartanzeige +Name[el]=Ειδοποίηση εκκίνησης +Name[eo]=Lanĉosignilo +Name[es]=Notificación de lanzamiento +Name[et]=Käivitamise tagasiside +Name[eu]=Abiatze jakinarazpena +Name[fa]=راه‌اندازی بازخورد +Name[fi]=Käynnistyksen ilmaiseminen +Name[fr]=Témoin de démarrage +Name[fy]=Begjinmelding +Name[ga]=Tosaigh Aisfhotha +Name[gl]=Indicación de Lanzamento +Name[he]=משוב לגבי הפעלה +Name[hi]=फ़ीडबैक चलाएँ +Name[hr]=Potvrda pokretanja +Name[hu]=Alkalmazásindítási effektus +Name[is]=Upplýsingar um ræsingu +Name[it]=Segnalazione avvio applicazioni +Name[ja]=起動フィードバック +Name[ka]=პროგრამის გაშვება +Name[kk]=Жегу барысы +Name[km]=ប្រតិកម្ម​ពេល​ចាប់ផ្ដើម +Name[ko]=실행 피드백 +Name[lo]=ຕົວທຳອິດທຳງານຢ່າງວ່ອງໄວ +Name[lt]=Paleidimo atgalinis ryšys +Name[lv]=Atbildes palaidējs +Name[mk]=Повратна инфо. за старт +Name[mn]=Ажилуулах хүсэлт +Name[ms]=Lancar Maklum Balas +Name[mt]=Feedback tħaddim ta' programmi +Name[nb]=Oppstartsmelding +Name[nds]=Startanimatschoon +Name[ne]=पृष्ठपोषण सुरुआत गर्नुहोस् +Name[nl]=Opstartnotificatie +Name[nn]=Programstartmelding +Name[nso]=Ngwadisaleswa Phetolo +Name[pa]=ਫੀਡਬੈਕ ਜਾਰੀ ਕਰੋ +Name[pl]=Uruchamianie programów +Name[pt]=Comportamento da Execução +Name[pt_BR]=Lançador rápido - Histórico +Name[ro]=Indicator de execuție +Name[ru]=Запуск приложений +Name[rw]=Gutangiza Inkurikizi +Name[se]=Prográmmaálggahan ávaštus +Name[sk]=Štart programov +Name[sl]=Povratna informacija zagona +Name[sr]=Индикатор покретања +Name[sr@Latn]=Indikator pokretanja +Name[sv]=Gensvar vid programstart +Name[ta]=கருத்தை தொடங்கு +Name[tg]=Иҷрои баёния +Name[th]=การตอบสนองเวลาเรียกโปรแกรม +Name[tr]=Başlatma Simgesi +Name[tt]=Cibärü Tärtibe +Name[uk]=Відображення запуску +Name[uz]=Dastur ishga tushish xabarnomasi +Name[uz@cyrillic]=Дастур ишга тушиш хабарномаси +Name[ven]=U fara phindulo +Name[vi]=Phản hồi quá trình khởi động +Name[wa]=Lancî on rtour +Name[zh_CN]=启动反馈 +Name[zh_TW]=程式啟動回饋風格 +Name[zu]=Qalisa umphumela obuyayo + +Comment=Choose application-launch feedback style +Comment[af]=Kies application-launch terugvoer styl +Comment[az]=Proqramın əks tə'sir tərzini seçin. +Comment[be]=Выбар стылю зваротнага дзеяння падчас запуску +Comment[bg]=Настройване на известяването при стартиране +Comment[bn]=নতুন অ্যাপলিকেশন চালু করা হলে কিভাবে তা জানানো হবে নির্বাচন করুন +Comment[bs]=Odaberite stil odziva aplikacija prilikom pokretanja +Comment[ca]=Escull l'estil per a carregar ràpidament una aplicació +Comment[cs]=Vyberte styl odezvy při spouštění aplikací +Comment[csb]=Wëbierzë ôrt dôwaniô wiédzë ò zrëszaniô programë +Comment[cy]=Dewis arddull adborth wrth gychwyn rhaglen +Comment[da]=Vælg tilbagemeldingsstil for programopstart +Comment[de]=Wählen Sie die Rückmeldung aus, die ein Programm beim Starten gibt +Comment[el]=Επιλέξτε στυλ για την ειδοποίηση εκκίνησης των εφαρμογών +Comment[eo]=Signado de lanĉiĝantaj aplikaĵoj +Comment[es]=Elija el estilo de notificación de lanzamiento de las aplicaciones +Comment[et]=Rakenduste käivitamisel kasutajale antava tagasiside seadistamine +Comment[eu]=Aukeratu aplikazioen abiatze-jakinarazpenen estiloa +Comment[fa]=انتخاب سبک بازخورد راه‌اندازی کاربرد +Comment[fi]=Valitse ohjelmien käynnistymisestä kertovan tiedon tyyli +Comment[fr]=Définit le style du témoin de démarrage des applications +Comment[fy]=Hjir kinne jo bepale wat fisueel te sjen is by it begjinnen fan in applikaasje. +Comment[gl]=Escoller o estilo de indicación do lanzamento dunha aplicación +Comment[he]=שינוי הגדרות סגנון המשוב לגבי הפעלת יישומים +Comment[hi]=अनुप्रयोग-प्रारंभ फ़ीडबैक शैली चुनें +Comment[hr]=Odaberite stil potvrde pokretanja aplikacije +Comment[hu]=Az alkalmazásindítási effektust lehet itt kiválasztani +Comment[is]=Veldu hvernig upplýsingar þú færð um ræsingu forrits +Comment[it]=Scegli come KDE ti segnala l'avvio di un'applicazione +Comment[ja]=アプリケーション起動フィードバックのスタイルを選択 +Comment[ka]=აირჩიეთ პროგრამის შესრულების პასუხის სტილი +Comment[kk]=Қолданбаны жегу барысын баптау +Comment[km]=ជ្រើស​រចនាប័ទ្ម​ប្រតិកម្ម​ពេល​ចាប់ផ្ដើម​កម្មវិធី +Comment[ko]=프로그램 실행 피드백 형태 설정 +Comment[lt]=Pasirinkite programų paleidimo atgalinio ryšio stilių +Comment[lv]=Izvēlieties aplikācijas-palaišanas atbildes stilu +Comment[mk]=Изберете го стилот на повратна информација од стартот на апликациите +Comment[mn]=Та эхлэлдээ эгэх бүртгэл бүхий програм сонго +Comment[ms]=Pilih gaya maklum balas lancar aplikasi +Comment[mt]=Agħżel stil ta' feedback meta tħaddem programm +Comment[nb]=Velg stil på tilbakemelding ved programstart +Comment[nds]=Söök de Startanimatschoon för Programmen ut +Comment[ne]=अनुप्रयोग-सुरुआत पृष्ठपोषण शैली रोज्नुहोस् +Comment[nl]=Hier kunt u bepalen hoe u visueel wordt geattendeerd op het opstarten van een toepassing. +Comment[nn]=Vel meldingsstil ved programstart +Comment[nso]=Kgetha mokgwa wa phetolo ya ngwadisoleswa ya tshomiso +Comment[pa]=ਕਾਰਜ-ਸ਼ੁਰੂ ਫੀਡਬੈਕ ਸ਼ੈਲੀ ਚੁਣੋ +Comment[pl]=Wybierz sposób informowania o uruchamianiu programu +Comment[pt]=Escolher a reacção ao lançamento das aplicações +Comment[pt_BR]=Escolha o estilo do histórico de lançamento de aplicativos +Comment[ro]=Alegeți modul de notificare a pornirii aplicațiilor +Comment[ru]=Выбор типа отклика приложений при запуске +Comment[rw]=Guhitamo imisusire y'inkurikizi ugutangira-porogaramu +Comment[se]=Vállje makkár ávaštus galga leat prográmmaid álggahettiin +Comment[sk]=Vyberte štýl odozvy pri štarte aplikácií +Comment[sl]=Izberite program - stil pošiljanja povratne informacije +Comment[sr]=Изаберите стил индикатора покретања +Comment[sr@Latn]=Izaberite stil indikatora pokretanja +Comment[sv]=Välj typ av gensvar vid programstart +Comment[ta]=பயன்பாடு-தொடக்கத்துக்கான கருத்து பாணியை தேர்ந்தெடு +Comment[tg]= Навъи баёнияи иҷрои-барномаро интихоб кунед +Comment[th]=เลือกลักษณะการตอบสนองเวลาเรียกแอพพลิเคชั่น +Comment[tr]=Uygulama başlatıcı geri besleme biçimini seç +Comment[tt]=Yazılım cibärgändä endtäşü tärtiben caylaw +Comment[uk]=Вибір стилю відображення запуску програм +Comment[uz]=Dastur ishga tushish xabarnomasining turini tanlash +Comment[uz@cyrillic]=Дастур ишга тушиш хабарномасининг турини танлаш +Comment[ven]=Nangani tshitaela tsha phindulo tshau fara apulifikhesheni +Comment[vi]=Chọn kiểu mà chương trình sẽ gửi phản hồi về khi khởi động +Comment[wa]=Tchoezi li sôre di rtour di lançmint d' programes +Comment[xh]=Khetha isicelo-yenza uhlobo lwesiphumo seLaunch +Comment[zh_CN]=选择程序启动反馈风格 +Comment[zh_TW]=選擇程式啟動時的回饋風格 +Comment[zu]=Khetha isitayela somphumela obuyayo sokuqalisa-umyaleli +Keywords=application,start,launch,busy,cursor,feedback,mouse,pointer,rotating,spinning,disk,startup,program,report +Keywords[az]=proqramı tə'minatı,başla,başlat,məşğul,ox,kursor,əks tə'sir,siçan,nişanci,döndərmə,fırlatma,disk,başlanğıc,proqram,raport +Keywords[be]=Праграма,Запуск,Выкананне,Заняты,Курсор,Мыш,Указальнік,Перагортванне,Дыск,Запуск,Дастасаванне,Справаздача,application,start,launch,busy,cursor,feedback,mouse,pointer,rotating,spinning,disk,startup,program,report +Keywords[bg]=програма, приложение, стартиране, зает, показалец, курсор, мишка, показалеца, application, start, launch, busy, cursor, feedback, mouse, pointer, rotating, spinning, disk, startup, program, report +Keywords[ca]=aplicació,iniciar,carregar,ocupat,cursor,notificació,ratolí,punter,rotació,gir,disc,arrencar,programa,informe +Keywords[cs]=aplikace,spuštění,start,pracuje,kurzor,reakce,odezva,myš,otáčení,rotace,disk,startování,program,oznámení +Keywords[csb]=programa,sztart,zrëszanié,òbczas,kùrsor,pòkrok,mësz,kùrsor,rotujący,krãceniowi,disk,programa,rapòrt +Keywords[cy]=cymhwysiad,cychwyn,lawnsio,prysur,cyrchydd,adborth,llygoden,pwyntydd,cylchdroi,troelli,disc,dechrau,rhaglen,adroddiad +Keywords[da]=program,start,optaget,markør,tilbagemelding,mus,peger, roterende,spinnende,disk,opstart,rapport +Keywords[de]=Anwendungen,Start,Programmstart,Cursor,Aktivierung,Mauszeiger,Anzeige +Keywords[el]=εφαρμογή,έναρξη,εκκίνηση,απασχολημένο,δρομέας,ανάδραση,ποντίκι,δείκτης,περιστροφή,περιστρεφόμενος,δίσκος,έναρξη,πρόγραμμα,αναφορά +Keywords[eo]=aplikaĵo,lanĉo,komenco,okupita,kursilo,reago,muso,montrilo,rotacio,turniĝo,disketo,programo,raporto +Keywords[es]=aplicación,iniciar,lanzar,ocupado,cursor,notificación,ratón,puntero,rotación,giro,disco,arrancar,programa,informar +Keywords[et]=rakendus,käivitamine,hõivatud,kursor,tagasiside,hiir,hiirekursor +Keywords[eu]=aplikazioa,abiatu,lanpetuta,kurtsorea,jakinarazpena,sagua,gezia,errotazioa,itzulbira,diskoa,programa,jakinarazi +Keywords[fa]=کاربرد، آغاز، راه‌انداختن، مشغول، مکان‌نما، بازخورد، موشی، اشاره‌گر، چرخش، دوار، دیسک، راه‌اندازی، برنامه، گزارش +Keywords[fi]=sovellus,käynnistyminen,käynnistäminen,varattu,osoitin,palaute,hiiri, pyörivä,levy,ohjelma +Keywords[fr]=application,démarrage,occupé,curseur,souris,pointeur,rotation,disque,programme,rapport +Keywords[fy]=applikaasje,start,begjinne,dwaande,rinnerke,feedback,mûs,wizer,rotaasje,rûndraaie,skiif,begjinne,programma,rapport +Keywords[ga]=feidhmchlár,tosach,tosaigh,gafa,cúrsóir,aisfhotha,luch,luchóg,pointeoir,rothlú,casadh,diosca,tosú,clár,tuairisc +Keywords[gl]=aplicación,início,executar,ocupado,ponteiro,execución,rato,ponteiro,rotación,xiro,disco,início,programa,informe +Keywords[he]=עכבר,מצביע,מסתובב,דיסק,תוכנית,דיווח,יישום,הפעלה,אתחול,עסוק,סמן,משוב,application,start,launch,busy,cursor,feedback,mouse,pointer,rotating,spinning,disk,startup,program,report +Keywords[hi]=अनुप्रयोग,प्रारंभ,शुरू,व्यस्त,संकेतक,फ़ीडबैक,माउस,प्वाइंटर,घूमता,चक्कर लगाता,डिस्क,प्रारंभ में,प्रोग्राम,रिपोर्ट +Keywords[hr]=application,start,launch,busy,cursor,feedback,mouse,pointer,rotating,spinning,disk,startup,program,report,aplikacija,pokretanje,započinjanje,zauzet,pokazivač,povratni podaci,potvrda,miš,vrtnja,disk,izvještaj +Keywords[hu]=alkalmazás,start,indítás,elfoglalt,egérmutató,visszajelzés,egér,effektus,forgó,pörgő,lemez,indulás,program,jelzés +Keywords[is]=forrit,start,keyrsla,upptekin,bendill,upplýsingar,mús,pointer,rotating,spinning,disk,startup,program,report +Keywords[it]=applicazione,avvio,lancio,occupato,cursore,feedback,segnalazione,mouse,puntatore,rotazione,disco,programma,segnale +Keywords[ja]=アプリケーション,開始,起動,ビジー,カーソル,フィードバック,マウス,ポインタ,回転,スピン,開始,プログラム,レポート +Keywords[km]=កម្មវិធី,ចាប់ផ្ដើម,បើក​ដំណើរការ,រវល់,ទស្សន៍​ទ្រនិច,ប្រតិកម្ម,កណ្ដុរ,ទ្រនិច,ការ​បង្វិល,រិះគន់,ថាស,ចាប់ផ្ដើម​ឡើង,កម្មវិធី,របាយការណ៍ +Keywords[lt]=application,start,launch,busy,cursor,feedback,mouse,pointer,rotating,spinning,disk,startup,program,report, programa,startas,paleisti,užimtas,kursorius,atgalinis ryšys, pelė, sukimasis, diskas, paleidimas, raportas +Keywords[lv]=aplikācija,startēt,palaist,aizņemts,kursors,atbilde,pele,bultiņa,rotēšana,sagriešanās,disks,startēšana,programma,reports +Keywords[mk]=application,start,launch,busy,cursor,feedback,mouse,pointer,rotating,spinning,disk,startup,program,report,апликација,старт,зафатен,курсор,глушец,покажувач,ротирачки,вртечки,диск,програма,извештај +Keywords[mn]=application,Эхлэл,Програм эхлэл,Түүчээ,Идэвхижүүлэл, Хулгана заагч,тайлан +Keywords[nb]=program,start,åpne,opptatt,markør,mus,peker,rotere,spinne,disk,oppstart,rapport +Keywords[nds]=Programm,start,launch,busy,Blinker,feedback,Muus,Wieser,dreihen,spinning,Diskett,Hoochfohren,Programm,Bericht +Keywords[ne]=अनुप्रयोग, सुरु, सुरुआत, व्यस्त, कर्सर, पृष्ठपोषण, माउस, सूचक, घुमाउने, स्पाइनिङ, डिस्क, सुरु, कार्यक्रम, प्रतिवेदन +Keywords[nn]=program,start,oppstart,oppteken,peikar,mus,musepeikar,tilbakemelding,disk +Keywords[nso]=tshomiso,thoma,ngwadisoleswa,swaregile,cursor,phetolo,mouse,sesupi,rarela,dikologa,disk,thomiso,lenaneo,pego +Keywords[pa]=application,start,launch,busy,cursor,feedback,mouse,pointer,rotating,spinning,disk,startup,program,report,ਕਾਰਜ, ਸ਼ੁਰੂ,ਰੁਝਿਆ,ਫੀਡਬੈਕ,ਮਾਊਸ,ਬਿੰਦੂ,ਡਿਸਕ,ਕਾਰਜ,ਰਿਪੋਰਟ +Keywords[pl]=program,start,uruchomienie,w trakcie,kursor,postęp,mysz,wskażnik,obracający się,wirujący,dysk,program,raport +Keywords[pt]=aplicação,iniciar,lançar,ocupado,cursor,comportamento,feedback,rato,rodar,disco,início,programa,comunicar,reacção +Keywords[pt_BR]=aplicativo,iniciar,lançar,ocupado,cursor,mouse,ponteiro,rotacionar,rotação,disco,inicializar,programa,relatório +Keywords[ro]=aplicație,start,pornire,cursor,mouse,indicator,rotire,disc,program,raportare +Keywords[rw]=porogaramu,gutangira,gutangiza,gihuze,inyoboyandika,inkurikizi,imbeba,mweretsi,kuzenguruka,kuzengurutsa,itangira,porogaramu,raporo +Keywords[se]=prográmma,álggaheapmi,rahpat,geavahusas,sieván,sáhpán,jorahit,skearru,raporta +Keywords[sk]=aplikácia,spustenie,štart,pracuje,kurzor,reakcia,odozva,myš,otáčanie,rotácia,disk,pri štarte,program,oznámenie +Keywords[sl]=program,začetek,zagon,zaposlen,utripač,povratna informacija,miška,kazalec,vrteče,disk,aplikacija,poročilo +Keywords[sr]=application,старт,launch,busy,cursor,feedback,mouse,pointer,rotating,spinning,диск,startup,програм,report,показивач,disk,program,покретање +Keywords[sr@Latn]=application,start,launch,busy,cursor,feedback,mouse,pointer,rotating,spinning,disk,startup,program,report,pokazivač,disk,program,pokretanje +Keywords[sv]=program,start,upptagen,markör,gensvar,mus,pekare,roterande,snurrande,disk,uppstart,rapport +Keywords[ta]=பயன்பாடு, துவக்கம், தொடக்கம், நேரமின்மை,கருத்து,நிலைக்காட்டடி,சுட்டி,சுழற்று,சுழல்,வட்டு,துவக்கம்,நிரல்,அறிக்கை +Keywords[th]=แอพพลิเคชัน,เริ่ม,เรียกทำงาน,ไม่ว่าง,เคอร์เซอร์,ตอบสนอง,เม้าส์,ตัวชี้,การวน,การหมุน,ดิสก์,เริ่มทำงาน,โปรแกรม,รายงาน +Keywords[tr]=uygulama,başlat,hızlı başlat,meşgul,imleç,geri besleme,fare,gösterici,dönen,fırıl fırıl dönen,disk,Başlangıç,program,rapor +Keywords[uk]=програма,старт,пуск,працюю,курсор,відображення,мишка,вказівник,обертання,крутіння,диск,запуск,звіт +Keywords[uz]=dastur,ishga tushirish,band,kursor,sichqchoncha,disk,aylanuvchi,spinning,ishga tushish,hisobot +Keywords[uz@cyrillic]=дастур,ишга тушириш,банд,курсор,сичқчонча,диск,айланувчи,spinning,ишга тушиш,ҳисобот +Keywords[vi]=chương trình ứng dụng,bắt đầu,khởi đầu,bận,con trỏ,chuột,con trỏ,quay,quay tròn,đĩa,khởi động,chương trình,báo cáo +Keywords[wa]=programe,enonder,lancî,ocupé,fletche,ritour,sori,toune,plake,enonde tot seu,aplicåcion,rapoirt +Keywords[xh]=isicelo,qala,launch,xakekile,isalathisi,isiphumo,imouse,isalathisi,iyajikeleza,qulukubhede,idiski,qala,udweliso lwenkqubo,ingxelo +Keywords[zh_CN]=application,start,launch,busy,cursor,feedback,mouse,pointer,rotating,spinning,disk,startup,program,report,程序,启动,忙,光标,反馈,鼠标指针,旋转,磁盘,启动,报告 +Keywords[zh_TW]=application,start,launch,busy,cursor,feedback,mouse,pointer,rotating,spinning,disk,startup,program,report,應用程式,開始,啟動,忙碌,游標,回饋,滑鼠,指標,回轉,旋轉,磁碟,啟動,程式,報告 +Keywords[zu]=umyaleli,qala,qalisa,kumatasatasa,inkomba,umphumela obuyayo,i-mouse,inkomba yendawo yokubhala,iyajikeleza,iyajikeleza,i-disk qalisa,uhlelo lwemisebenzi,umbiko + +Categories=Qt;KDE;X-KDE-settings-looknfeel; diff --git a/kcontrol/launch/kcmlaunch.h b/kcontrol/launch/kcmlaunch.h new file mode 100644 index 000000000..c69bef943 --- /dev/null +++ b/kcontrol/launch/kcmlaunch.h @@ -0,0 +1,72 @@ +/* + * Copyright (C) 2001 Rik Hemsley (rikkus) + * + * 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 + */ + +#ifndef __kcmlaunch_h__ +#define __kcmlaunch_h__ + +#include + +class QCheckBox; +class QComboBox; +class QGroupBox; + +class KIntNumInput; + +class LaunchConfig : public KCModule +{ + Q_OBJECT + + public: + + LaunchConfig(QWidget * parent = 0, const char * name = 0, const QStringList &list = QStringList() ); + + virtual ~LaunchConfig(); + + void load(); + void load(bool useDefaults); + void save(); + void defaults(); + + protected slots: + + void checkChanged(); + void slotBusyCursor(int); + void slotTaskbarButton(bool); + + protected: + + enum FeedbackStyle + { + BusyCursor = 1 << 0, + TaskbarButton = 1 << 1, + + Default = BusyCursor | TaskbarButton + }; + + + private: + + QLabel * lbl_cursorTimeout; + QLabel * lbl_taskbarTimeout; + QComboBox * cb_busyCursor; + QCheckBox * cb_taskbarButton; + KIntNumInput * sb_cursorTimeout; + KIntNumInput * sb_taskbarTimeout; + +}; + +#endif -- cgit v1.2.1