git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/katapult@1084407 283d02a7-25f6-0310-bc7c-ecb5cbfe19dav3.5.13-sru
commit
4e1a5c3eeb
@ -0,0 +1,9 @@
|
||||
Martin Meredith <martin@sourceguru.net>
|
||||
Bastian Holst <bastianholst@gmx.de>
|
||||
Tobi Vollebregt <tobivollebregt@gmail.com>
|
||||
Jonathan Riddell <jr@jriddell.org>
|
||||
Lee Olson <clearbeast@gmail.com>
|
||||
Jean-Remy Falleri <jr.falleri@gmail.com>
|
||||
|
||||
Original Author:
|
||||
Joe Ferris <jferris@optimistictech.com>
|
@ -0,0 +1,856 @@
|
||||
------------------------------------------------------------
|
||||
revno: 66
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Sat 2006-11-04 18:26:20 +0000
|
||||
message:
|
||||
updated desktop files for translation stuff
|
||||
------------------------------------------------------------
|
||||
revno: 65
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Fri 2006-11-03 11:34:13 +0000
|
||||
message:
|
||||
Updated a couple of .desktop files for usage with new non-english stuff
|
||||
------------------------------------------------------------
|
||||
revno: 64
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Tue 2006-10-31 10:22:15 +0000
|
||||
message:
|
||||
darn typos
|
||||
------------------------------------------------------------
|
||||
revno: 63
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Tue 2006-10-31 09:08:56 +0000
|
||||
message:
|
||||
add the where outside the loop and we have a working amarokcatalog - hopefully
|
||||
------------------------------------------------------------
|
||||
revno: 62
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Fri 2006-10-27 23:44:05 -0400
|
||||
message:
|
||||
Somehow didn't merge in amarokcatalog.h - manual merge
|
||||
------------------------------------------------------------
|
||||
revno: 61
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Fri 2006-10-27 22:17:37 -0400
|
||||
message:
|
||||
Now to merge in amarokcatalog again....
|
||||
------------------------------------------------------------
|
||||
revno: 49.1.12
|
||||
merged: mez@ubuntu.com-20061027232507-7237a4de5dd10203
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: amarokfix
|
||||
timestamp: Fri 2006-10-27 19:25:07 -0400
|
||||
message:
|
||||
Fix the correct query this time
|
||||
------------------------------------------------------------
|
||||
revno: 49.1.11
|
||||
merged: mez@ubuntu.com-20061027231040-7500e667838d0ce3
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: amarokfix
|
||||
timestamp: Fri 2006-10-27 19:10:40 -0400
|
||||
message:
|
||||
AND/WHERE would you like to go today?
|
||||
------------------------------------------------------------
|
||||
revno: 49.1.10
|
||||
merged: mez@ubuntu.com-20061027225116-350671616ee88afa
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: amarokfix
|
||||
timestamp: Fri 2006-10-27 18:51:16 -0400
|
||||
message:
|
||||
Fix Compile errors
|
||||
------------------------------------------------------------
|
||||
revno: 49.1.9
|
||||
merged: mez@ubuntu.com-20061027170059-01bb357af8803b8f
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: amarokfix
|
||||
timestamp: Fri 2006-10-27 13:00:59 -0400
|
||||
message:
|
||||
Changes made to fix up amarokcatalog (Thanks to Maximilian Kossick <maximilian.kossick@googlemail.com>)
|
||||
------------------------------------------------------------
|
||||
revno: 49.1.8
|
||||
merged: mez@ubuntu.com-20061022001935-0fb3f39a454ef519
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: amarokfix
|
||||
timestamp: Sat 2006-10-21 20:19:35 -0400
|
||||
message:
|
||||
Debug output with Query
|
||||
------------------------------------------------------------
|
||||
revno: 49.1.7
|
||||
merged: mez@ubuntu.com-20061022001739-fbcbf4e4763d4ef5
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: amarokfix
|
||||
timestamp: Sat 2006-10-21 20:17:39 -0400
|
||||
message:
|
||||
debug stuff
|
||||
------------------------------------------------------------
|
||||
revno: 60
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Sat 2006-10-21 20:40:48 -0400
|
||||
message:
|
||||
Unmerge of amarokcatalog fix while debugging
|
||||
------------------------------------------------------------
|
||||
revno: 59
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Sat 2006-10-21 19:46:12 -0400
|
||||
message:
|
||||
Merge in amarok fix to mainline branch
|
||||
------------------------------------------------------------
|
||||
revno: 49.1.6
|
||||
merged: mez@ubuntu.com-20061021224234-ce1619d5dfc8d0df
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: amarokfix
|
||||
timestamp: Sat 2006-10-21 18:42:34 -0400
|
||||
message:
|
||||
Try again
|
||||
------------------------------------------------------------
|
||||
revno: 49.1.5
|
||||
merged: mez@ubuntu.com-20061021221729-82704f72c2cd697e
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: amarokfix
|
||||
timestamp: Sat 2006-10-21 18:17:29 -0400
|
||||
message:
|
||||
Fix buggy changing of code... I should review things in future
|
||||
------------------------------------------------------------
|
||||
revno: 49.1.4
|
||||
merged: mez@ubuntu.com-20061021215012-40f676bcc15f690c
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: amarokfix
|
||||
timestamp: Sat 2006-10-21 17:50:12 -0400
|
||||
message:
|
||||
Fix Part 2 - add in >=1.4.2 bits
|
||||
------------------------------------------------------------
|
||||
revno: 49.1.3
|
||||
merged: mez@ubuntu.com-20060922170943-877859b43f2487fe
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: amarokfix
|
||||
timestamp: Fri 2006-09-22 13:09:43 -0400
|
||||
message:
|
||||
re-run of Makefile.common dist
|
||||
------------------------------------------------------------
|
||||
revno: 49.1.2
|
||||
merged: mez@ubuntu.com-20060922162654-568b5b46ebeaeba8
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: amarokfix
|
||||
timestamp: Fri 2006-09-22 12:26:54 -0400
|
||||
message:
|
||||
Merge in admin stuff to check compile works
|
||||
------------------------------------------------------------
|
||||
revno: 49.1.1
|
||||
merged: mez@ubuntu.com-20060922162511-572161ddaef5f55d
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: amarokfix
|
||||
timestamp: Fri 2006-09-22 12:25:11 -0400
|
||||
message:
|
||||
Initial Stage 1
|
||||
------------------------------------------------------------
|
||||
revno: 58
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Sat 2006-10-21 16:34:00 -0400
|
||||
message:
|
||||
Since when did the amarok catalog index programs?
|
||||
------------------------------------------------------------
|
||||
revno: 57
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Sat 2006-10-21 16:18:34 -0400
|
||||
message:
|
||||
Imported patch from librarian to fix problems with localisation issues in .desktop files
|
||||
|
||||
Closes: Malone 48103
|
||||
KDE 132885
|
||||
KDE 132882
|
||||
------------------------------------------------------------
|
||||
revno: 56
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Fri 2006-10-13 13:21:25 -0400
|
||||
message:
|
||||
Bumped Version numbers for release
|
||||
------------------------------------------------------------
|
||||
revno: 55
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Sun 2006-10-01 16:53:03 -0400
|
||||
message:
|
||||
Merge of onelib to make katapult use one libkatapult
|
||||
------------------------------------------------------------
|
||||
revno: 54.1.2
|
||||
merged: mez@ubuntu.com-20060927204851-a78ed62a88802680
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: onelib
|
||||
timestamp: Wed 2006-09-27 16:48:51 -0400
|
||||
message:
|
||||
fixed typo
|
||||
------------------------------------------------------------
|
||||
revno: 54.1.1
|
||||
merged: mez@ubuntu.com-20060927202244-499d1801d4c86193
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: onelib
|
||||
timestamp: Wed 2006-09-27 16:22:44 -0400
|
||||
message:
|
||||
Changed to use one lib (libkatapult) - now to test a build
|
||||
------------------------------------------------------------
|
||||
revno: 54
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Wed 2006-09-27 15:57:22 -0400
|
||||
message:
|
||||
Fixed up libtool stuff
|
||||
------------------------------------------------------------
|
||||
revno: 53
|
||||
committer: Tobi Vollebregt <tobivollebregt@gmail.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Fri 2006-09-22 21:59:14 +0200
|
||||
message:
|
||||
Fix backspace removes two characters bug.
|
||||
Quite possibly this breaks some backward compatibility tho,
|
||||
maybe we should check for some version number somewhere?
|
||||
------------------------------------------------------------
|
||||
revno: 52
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Fri 2006-09-22 13:17:06 -0400
|
||||
message:
|
||||
Housekeeping
|
||||
------------------------------------------------------------
|
||||
revno: 51
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Fri 2006-09-22 13:12:35 -0400
|
||||
message:
|
||||
Rerun of admin/Makefile.common dist (lets the darn thing compile!)
|
||||
------------------------------------------------------------
|
||||
revno: 50
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Tue 2006-09-19 16:38:42 -0400
|
||||
message:
|
||||
Updated admin dir to coincide with KDE's SVN
|
||||
------------------------------------------------------------
|
||||
revno: 49
|
||||
committer: Tobi Vollebregt <tobivollebregt@gmail.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Tue 2006-08-29 22:05:14 +0200
|
||||
message:
|
||||
* Add missing katapult_spellcatalog.desktop
|
||||
* Fix all spellcatalog/* files having their content twice (ie. as if
|
||||
the file was copy pasted to the end of itself).
|
||||
I wonder how the heck that has happened :-D
|
||||
------------------------------------------------------------
|
||||
revno: 48
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Tue 2006-08-29 15:53:27 -0400
|
||||
message:
|
||||
Fix o2display
|
||||
------------------------------------------------------------
|
||||
revno: 47
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Mon 2006-08-28 16:03:17 -0400
|
||||
message:
|
||||
Reverting language stuff..
|
||||
No need for it.
|
||||
Grab from KDE SVN upon release in future
|
||||
------------------------------------------------------------
|
||||
revno: 46
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Mon 2006-08-28 15:54:20 -0400
|
||||
message:
|
||||
Merged in new display plugin (contributed by Kenneth Wimer, ken@oxygen-icons.org)
|
||||
------------------------------------------------------------
|
||||
revno: 45.1.1
|
||||
merged: mez@ubuntu.com-20060828195309-e07a4cf14146265c
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: newskin
|
||||
timestamp: Mon 2006-08-28 15:53:09 -0400
|
||||
message:
|
||||
Added o2 display Plugin (contributed by Kenneth Wimer, ken@oxygen-icons.org)
|
||||
------------------------------------------------------------
|
||||
revno: 45
|
||||
committer: Tobi Vollebregt <tobivollebregt@gmail.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Mon 2006-08-28 21:04:41 +0200
|
||||
message:
|
||||
* Use Qt hyperlink color for hilighted text instead of a hardcoded value.
|
||||
------------------------------------------------------------
|
||||
revno: 44
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Tue 2006-08-22 13:54:06 -0400
|
||||
message:
|
||||
Updating to Version in SVN
|
||||
------------------------------------------------------------
|
||||
revno: 43
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Thu 2006-03-23 10:38:08 +0000
|
||||
message:
|
||||
Bumped SOVER for libs
|
||||
Updated version for PR
|
||||
------------------------------------------------------------
|
||||
revno: 42
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Thu 2006-03-23 08:37:21 +0000
|
||||
message:
|
||||
Committing changes. forgot to revert
|
||||
------------------------------------------------------------
|
||||
revno: 41
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Thu 2006-03-23 08:33:52 +0000
|
||||
message:
|
||||
Merged in changes to make DC update for preview
|
||||
------------------------------------------------------------
|
||||
revno: 40.1.3
|
||||
merged: bastianholst@gmx.de-20060314175122-e24683efcd1dd9a7
|
||||
committer: Bastian Holst <bastianholst@gmx.de>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Tue 2006-03-14 18:51:22 +0100
|
||||
message:
|
||||
now hiding because of the auto-execution also uses the configurable delay
|
||||
------------------------------------------------------------
|
||||
revno: 40.1.2
|
||||
merged: bastianholst@gmx.de-20060314172912-fc39fc2275aed96d
|
||||
committer: Bastian Holst <bastianholst@gmx.de>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Tue 2006-03-14 18:29:12 +0100
|
||||
message:
|
||||
now Launcher hides at auto-execution
|
||||
------------------------------------------------------------
|
||||
revno: 40.1.1
|
||||
merged: bastianholst@gmx.de-20060313161314-7589fea3c4c1bf77
|
||||
committer: Bastian Holst <bastianholst@gmx.de>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Mon 2006-03-13 17:13:14 +0100
|
||||
message:
|
||||
made documentcatalog to update immediately
|
||||
------------------------------------------------------------
|
||||
revno: 40
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Mon 2006-03-13 14:35:02 +0000
|
||||
message:
|
||||
Included Changes to make Document Mime Icon/Preview Show
|
||||
------------------------------------------------------------
|
||||
revno: 39.1.10
|
||||
merged: mez@ubuntu.com-20060313143322-7618137cc7067cec
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: docpreview
|
||||
timestamp: Mon 2006-03-13 14:33:22 +0000
|
||||
message:
|
||||
Fixed settings
|
||||
------------------------------------------------------------
|
||||
revno: 39.1.9
|
||||
merged: mez@ubuntu.com-20060313141559-32f2e1bc5f0fb8db
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: docpreview
|
||||
timestamp: Mon 2006-03-13 14:15:59 +0000
|
||||
message:
|
||||
Modified to show icon all the time if no preview available
|
||||
------------------------------------------------------------
|
||||
revno: 39.1.8
|
||||
merged: mez@ubuntu.com-20060313140902-de9558150c9d7e70
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: docpreview
|
||||
timestamp: Mon 2006-03-13 14:09:02 +0000
|
||||
message:
|
||||
Missing semi-colon
|
||||
------------------------------------------------------------
|
||||
revno: 39.1.7
|
||||
merged: mez@ubuntu.com-20060313140818-d3d521f787237360
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: docpreview
|
||||
timestamp: Mon 2006-03-13 14:08:18 +0000
|
||||
message:
|
||||
Modify headers again....
|
||||
Trial and Error is fun...
|
||||
Why am I so... what's the word.... ah yes - forgetful... today
|
||||
------------------------------------------------------------
|
||||
revno: 39.1.6
|
||||
merged: mez@ubuntu.com-20060313140705-ef95c09f2948fe9f
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: docpreview
|
||||
timestamp: Mon 2006-03-13 14:07:05 +0000
|
||||
message:
|
||||
Now to add to directory...
|
||||
------------------------------------------------------------
|
||||
revno: 39.1.5
|
||||
merged: mez@ubuntu.com-20060313140337-fcb16186405bb946
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: docpreview
|
||||
timestamp: Mon 2006-03-13 14:03:37 +0000
|
||||
message:
|
||||
Forgot to add the changes to the header file
|
||||
------------------------------------------------------------
|
||||
revno: 39.1.4
|
||||
merged: mez@ubuntu.com-20060313135952-163cc05a12484850
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: docpreview
|
||||
timestamp: Mon 2006-03-13 13:59:52 +0000
|
||||
message:
|
||||
Fixing Typo
|
||||
------------------------------------------------------------
|
||||
revno: 39.1.3
|
||||
merged: mez@ubuntu.com-20060313135504-25a76a485c649375
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: docpreview
|
||||
timestamp: Mon 2006-03-13 13:55:04 +0000
|
||||
message:
|
||||
Added checking for Document preview in Document Class
|
||||
------------------------------------------------------------
|
||||
revno: 39.1.2
|
||||
merged: mez@ubuntu.com-20060313134411-3d46b6da61d84442
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: docpreview
|
||||
timestamp: Mon 2006-03-13 13:44:11 +0000
|
||||
message:
|
||||
Added Setting to Switch Preview on and off
|
||||
------------------------------------------------------------
|
||||
revno: 39.1.1
|
||||
merged: mez@ubuntu.com-20060313132445-abd97c5b164e5687
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: docpreview
|
||||
timestamp: Mon 2006-03-13 13:24:45 +0000
|
||||
message:
|
||||
Added changes to make Preview show...
|
||||
------------------------------------------------------------
|
||||
revno: 39
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Sun 2006-03-12 13:00:15 +0000
|
||||
message:
|
||||
Updated Makefiles to correctly extract i18n() strings
|
||||
------------------------------------------------------------
|
||||
revno: 38
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Fri 2006-03-10 16:30:31 +0000
|
||||
message:
|
||||
Fixed bug in amarokcatalog (Merge) (Closes: Malone #34029)
|
||||
------------------------------------------------------------
|
||||
revno: 35.1.1
|
||||
merged: bastianholst@gmx.de-20060309192100-f605cf4dd6feb744
|
||||
committer: Bastian Holst <bastianholst@gmx.de>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Thu 2006-03-09 20:21:00 +0100
|
||||
message:
|
||||
fixed bug #34029 (launchpad) in amarokcatalog
|
||||
------------------------------------------------------------
|
||||
revno: 37
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Fri 2006-03-10 02:24:33 +0000
|
||||
message:
|
||||
Removing Templates dir and adding to ignore list - not needed in bzr
|
||||
------------------------------------------------------------
|
||||
revno: 36
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Fri 2006-03-10 02:22:17 +0000
|
||||
message:
|
||||
Reverting 0.3.x-dev to 0.3.x-dev state - features from here should be in 0.4 not 0.3.x
|
||||
------------------------------------------------------------
|
||||
revno: 35
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Tue 2006-03-07 03:34:35 +0000
|
||||
message:
|
||||
- Added kimproxy stuff
|
||||
- Provided by John Tapsell tapsell@kde.org
|
||||
- Added ability to remove items from cache
|
||||
- Provided by John Tapsell tapsell@kde.org
|
||||
- Updated AUTHORS and About box
|
||||
------------------------------------------------------------
|
||||
revno: 34.1.2
|
||||
merged: mez@ubuntu.com-20060307023522-5f6d00974dee0118
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: kimproxy
|
||||
timestamp: Tue 2006-03-07 02:35:22 +0000
|
||||
message:
|
||||
Added kim_proxy stuff
|
||||
------------------------------------------------------------
|
||||
revno: 34.1.1
|
||||
merged: mez@ubuntu.com-20060307020131-26116a8963521658
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: fixcacheremoval
|
||||
timestamp: Tue 2006-03-07 02:01:31 +0000
|
||||
message:
|
||||
Added functions to allow for removal of items from catalog cache
|
||||
|
||||
- patch provided by John Tapsell tapsell@kde.org
|
||||
------------------------------------------------------------
|
||||
revno: 34
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Tue 2006-03-07 01:57:34 +0000
|
||||
message:
|
||||
Merged in multi-action stuff (reverting version number to 0.3.1.3-dev)
|
||||
------------------------------------------------------------
|
||||
revno: 28.1.2
|
||||
merged: mez@ubuntu.com-20060307014120-5c1bd9ddd2d9ae44
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: multi-act
|
||||
timestamp: Tue 2006-03-07 01:41:20 +0000
|
||||
message:
|
||||
Merged in multi-action stuff
|
||||
------------------------------------------------------------
|
||||
revno: 27.1.1.1.4
|
||||
merged: bastianholst@gmx.de-20060306191341-605d6bce094821c3
|
||||
committer: Bastian Holst <bastianholst@gmx.de>
|
||||
branch nick: multiple-actions
|
||||
timestamp: Mon 2006-03-06 20:13:41 +0100
|
||||
message:
|
||||
reverted configure.in
|
||||
------------------------------------------------------------
|
||||
revno: 27.1.1.1.3
|
||||
merged: bastianholst@gmx.de-20060306173943-b2a3fe166cdf70f1
|
||||
committer: Bastian Holst <bastianholst@gmx.de>
|
||||
branch nick: multiple-actions
|
||||
timestamp: Mon 2006-03-06 18:39:43 +0100
|
||||
message:
|
||||
now resetting ActionContainer at executing
|
||||
------------------------------------------------------------
|
||||
revno: 27.1.1.1.2
|
||||
merged: bastianholst@gmx.de-20060306173456-e44634db0fcf27fa
|
||||
committer: Bastian Holst <bastianholst@gmx.de>
|
||||
branch nick: multiple-actions
|
||||
timestamp: Mon 2006-03-06 18:34:56 +0100
|
||||
message:
|
||||
multiple actions now working
|
||||
------------------------------------------------------------
|
||||
revno: 27.1.1.1.1
|
||||
merged: bastianholst@gmx.de-20060305175857-0cbb117006164bbe
|
||||
committer: Bastian Holst <bastianholst@gmx.de>
|
||||
branch nick: multiple-actions
|
||||
timestamp: Sun 2006-03-05 18:58:57 +0100
|
||||
message:
|
||||
added beginnings of multiple actions functionality
|
||||
------------------------------------------------------------
|
||||
revno: 28.1.1
|
||||
merged: mez@ubuntu.com-20060306192255-c5ad99f89ab34388
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.4.x-dev
|
||||
timestamp: Mon 2006-03-06 19:22:55 +0000
|
||||
message:
|
||||
Merging in changes from 0.3.x-dev
|
||||
Updated version for 0.4 development
|
||||
Updated branch nick to reflect development of 0.4
|
||||
------------------------------------------------------------
|
||||
revno: 33
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Mon 2006-03-06 22:54:09 +0000
|
||||
message:
|
||||
Pretty'd up confgeneral.ui
|
||||
- patch provided by John Tapsell tapsell@kde.org
|
||||
------------------------------------------------------------
|
||||
revno: 32
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: 0.3.x-dev
|
||||
timestamp: Mon 2006-03-06 18:55:50 +0000
|
||||
message:
|
||||
- Updated version number for point release
|
||||
- Changed branch nickname and location for 0.4 development
|
||||
------------------------------------------------------------
|
||||
revno: 31
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: dev
|
||||
timestamp: Mon 2006-03-06 18:38:48 +0000
|
||||
message:
|
||||
Merged in Bastians changes (Fixes immodule KeyRelease problems)
|
||||
------------------------------------------------------------
|
||||
revno: 27.1.7
|
||||
merged: bastianholst@gmx.de-20060304142517-ba0517df3e229cb9
|
||||
committer: Bastian Holst <bastianholst@gmx.de>
|
||||
branch nick: umlauts
|
||||
timestamp: Sat 2006-03-04 15:25:17 +0100
|
||||
message:
|
||||
changed to keyPressEvent and made it possible to type umlauts
|
||||
------------------------------------------------------------
|
||||
revno: 30
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: dev
|
||||
timestamp: Mon 2006-03-06 18:12:53 +0000
|
||||
message:
|
||||
Reverted i18n for defCatalogs - breaks katapultrc
|
||||
------------------------------------------------------------
|
||||
revno: 29
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: dev
|
||||
timestamp: Mon 2006-03-06 17:55:09 +0000
|
||||
message:
|
||||
Merged in oculus's changes
|
||||
------------------------------------------------------------
|
||||
revno: 27.1.6
|
||||
merged: bastianholst@gmx.de-20060304090456-7d0e7979a35441cd
|
||||
committer: Bastian Holst <bastianholst@gmx.de>
|
||||
branch nick: imagedisplay
|
||||
timestamp: Sat 2006-03-04 10:04:56 +0100
|
||||
message:
|
||||
removed some automaticall generated files
|
||||
------------------------------------------------------------
|
||||
revno: 27.1.5
|
||||
merged: bastianholst@gmx.de-20060304081334-627674583831cf64
|
||||
committer: Bastian Holst <bastianholst@gmx.de>
|
||||
branch nick: imagedisplay
|
||||
timestamp: Sat 2006-03-04 09:13:34 +0100
|
||||
message:
|
||||
now really added the imagedisplay-class
|
||||
------------------------------------------------------------
|
||||
revno: 27.1.4
|
||||
merged: bastianholst@gmx.de-20060303195205-fbd05f97b5e3facc
|
||||
committer: Bastian Holst <bastianholst@gmx.de>
|
||||
branch nick: imagedisplay
|
||||
timestamp: Fri 2006-03-03 20:52:05 +0100
|
||||
message:
|
||||
implemented puredisplay as subclass of imagedisplay. Now the code-duplication is removed
|
||||
------------------------------------------------------------
|
||||
revno: 27.1.3
|
||||
merged: bastianholst@gmx.de-20060303193540-39a5be9d25871a34
|
||||
committer: Bastian Holst <bastianholst@gmx.de>
|
||||
branch nick: imagedisplay
|
||||
timestamp: Fri 2006-03-03 20:35:40 +0100
|
||||
message:
|
||||
implemented glassdisplay as subclass of imagedisplay
|
||||
------------------------------------------------------------
|
||||
revno: 27.1.2
|
||||
merged: bastianholst@gmx.de-20060303191644-08ea5c54177d08aa
|
||||
committer: Bastian Holst <bastianholst@gmx.de>
|
||||
branch nick: imagedisplay
|
||||
timestamp: Fri 2006-03-03 20:16:44 +0100
|
||||
message:
|
||||
added ImageDisplay-class based upon PureDisplay
|
||||
------------------------------------------------------------
|
||||
revno: 27.1.1
|
||||
merged: bastianholst@gmx.de-20060302165933-cf5e518880ce5458
|
||||
committer: Bastian Holst <bastianholst@gmx.de>
|
||||
branch nick: dev
|
||||
timestamp: Thu 2006-03-02 17:59:33 +0100
|
||||
message:
|
||||
removed three different ways of calculating fadeStep in puredisplay. Fixes fadeTime=0 bug
|
||||
------------------------------------------------------------
|
||||
revno: 28
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: dev
|
||||
timestamp: Thu 2006-03-02 12:13:07 +0000
|
||||
message:
|
||||
Added more i18n stuff
|
||||
Removed qdebug output from amarokcatalog
|
||||
------------------------------------------------------------
|
||||
revno: 27
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: dev
|
||||
timestamp: Wed 2006-03-01 08:11:39 +0000
|
||||
message:
|
||||
Removed Debian Dir - and added as ignore - so can create nice tarballs easier
|
||||
------------------------------------------------------------
|
||||
revno: 26
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: dev
|
||||
timestamp: Wed 2006-03-01 08:06:58 +0000
|
||||
message:
|
||||
- Relibtooled again
|
||||
- Added Debian directory to bzr
|
||||
------------------------------------------------------------
|
||||
revno: 25
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: dev
|
||||
timestamp: Tue 2006-02-28 07:40:23 +0000
|
||||
message:
|
||||
Changed Build system and directory structure to mimic KDE svn's copy (so as to be able to build in KDE)
|
||||
------------------------------------------------------------
|
||||
revno: 24
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: dev
|
||||
timestamp: Wed 2006-02-22 15:28:12 +0000
|
||||
message:
|
||||
Fixed Most Compile Warnings (Patch from Diego 'Flameeyes' Pettenò <flameeyes@gentoo.org>)
|
||||
------------------------------------------------------------
|
||||
revno: 23
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: dev
|
||||
timestamp: Tue 2006-02-14 19:17:03 +0000
|
||||
message:
|
||||
Added Xinerama support (patch from darkc (http://forums.thekatapult.org.uk/index.php?showuser=16))
|
||||
------------------------------------------------------------
|
||||
revno: 22
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: dev
|
||||
timestamp: Tue 2006-01-31 11:25:43 +0000
|
||||
message:
|
||||
Merge
|
||||
------------------------------------------------------------
|
||||
revno: 21.1.2
|
||||
merged: mez@ubuntu.com-20060131112420-a5519b1431f78994
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: dev-mez
|
||||
timestamp: Tue 2006-01-31 11:24:20 +0000
|
||||
message:
|
||||
Re-libtooled
|
||||
------------------------------------------------------------
|
||||
revno: 21.1.1
|
||||
merged: mez@ubuntu.com-20060131112133-4652642efb15ef76
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: dev-mez
|
||||
timestamp: Tue 2006-01-31 11:21:33 +0000
|
||||
message:
|
||||
Fixed Program catalog to not display hidden icons from menu
|
||||
------------------------------------------------------------
|
||||
revno: 21
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: dev
|
||||
timestamp: Tue 2006-01-31 11:09:53 +0000
|
||||
message:
|
||||
Updated Bug email address
|
||||
------------------------------------------------------------
|
||||
revno: 20
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: rd
|
||||
timestamp: Mon 2006-01-30 13:06:58 +0000
|
||||
message:
|
||||
2nd part of fixing
|
||||
------------------------------------------------------------
|
||||
revno: 19
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: rd
|
||||
timestamp: Mon 2006-01-30 13:06:29 +0000
|
||||
message:
|
||||
Ignore this - fixing archive
|
||||
------------------------------------------------------------
|
||||
revno: 18
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: rd
|
||||
timestamp: Wed 2006-01-25 19:10:34 +0000
|
||||
message:
|
||||
Updated Version Number
|
||||
------------------------------------------------------------
|
||||
revno: 17
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: rd
|
||||
timestamp: Thu 2006-01-19 16:12:02 +0000
|
||||
message:
|
||||
tag of mez@ubuntu.com--2006/katapult--stable--0.3.1--patch-2
|
||||
------------------------------------------------------------
|
||||
revno: 16
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: rd
|
||||
timestamp: Tue 2006-01-17 15:53:53 +0000
|
||||
message:
|
||||
make -f admin/Makefile.common dist
|
||||
------------------------------------------------------------
|
||||
revno: 15
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: rd
|
||||
timestamp: Tue 2006-01-17 15:13:35 +0000
|
||||
message:
|
||||
Updated version number
|
||||
------------------------------------------------------------
|
||||
revno: 14
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: rd
|
||||
timestamp: Tue 2006-01-17 13:22:50 +0000
|
||||
message:
|
||||
tag of mez@ubuntu.com--2006/katapult--dev--0.3--patch-4
|
||||
------------------------------------------------------------
|
||||
revno: 13
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: rd
|
||||
timestamp: Tue 2006-01-17 11:52:17 +0000
|
||||
message:
|
||||
Added album Image functionality to the amarok plugin.
|
||||
------------------------------------------------------------
|
||||
revno: 12
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: rd
|
||||
timestamp: Wed 2005-12-28 16:16:15 +0000
|
||||
message:
|
||||
Removing /doc Directory - just pure evilness we dont need and also means we can get it into debian :d no weird licences :D
|
||||
------------------------------------------------------------
|
||||
revno: 11
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: rd
|
||||
timestamp: Mon 2005-12-26 04:59:01 +0000
|
||||
message:
|
||||
(no message)
|
||||
------------------------------------------------------------
|
||||
revno: 10
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: rd
|
||||
timestamp: Tue 2005-12-20 18:56:29 +0000
|
||||
message:
|
||||
Merged in Secondary branch
|
||||
------------------------------------------------------------
|
||||
revno: 9
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: rd
|
||||
timestamp: Fri 2005-12-09 06:33:06 +0000
|
||||
message:
|
||||
tag of mez@ubuntu.com--2005/katapult--dev--0.3--patch-7
|
||||
------------------------------------------------------------
|
||||
revno: 8
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: rd
|
||||
timestamp: Thu 2005-12-08 17:43:48 +0000
|
||||
message:
|
||||
(no message)
|
||||
------------------------------------------------------------
|
||||
revno: 7
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: rd
|
||||
timestamp: Sat 2005-11-05 00:22:09 +0000
|
||||
message:
|
||||
Added dropshadow to puredisplay ... possibly make slightly neater in future
|
||||
------------------------------------------------------------
|
||||
revno: 6
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: rd
|
||||
timestamp: Wed 2005-11-02 22:57:11 +0000
|
||||
message:
|
||||
Quick and Dirty merge from tvo
|
||||
------------------------------------------------------------
|
||||
revno: 5
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: rd
|
||||
timestamp: Wed 2005-11-02 20:25:38 +0000
|
||||
message:
|
||||
Updating Changelog
|
||||
------------------------------------------------------------
|
||||
revno: 4
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: rd
|
||||
timestamp: Wed 2005-11-02 20:13:40 +0000
|
||||
message:
|
||||
merging in finished calc
|
||||
------------------------------------------------------------
|
||||
revno: 3
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: rd
|
||||
timestamp: Tue 2005-11-01 19:54:56 +0000
|
||||
message:
|
||||
merge in tvo's changes
|
||||
------------------------------------------------------------
|
||||
revno: 2
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: rd
|
||||
timestamp: Tue 2005-11-01 16:10:33 +0000
|
||||
message:
|
||||
Brought in small changes for author stuff
|
||||
------------------------------------------------------------
|
||||
revno: 1
|
||||
committer: Martin Meredith <mez@ubuntu.com>
|
||||
branch nick: rd
|
||||
timestamp: Tue 2005-11-01 13:12:59 +0000
|
||||
message:
|
||||
initial import
|
@ -0,0 +1,167 @@
|
||||
Basic Installation
|
||||
==================
|
||||
|
||||
These are generic installation instructions.
|
||||
|
||||
The `configure' shell script attempts to guess correct values for
|
||||
various system-dependent variables used during compilation. It uses
|
||||
those values to create a `Makefile' in each directory of the package.
|
||||
It may also create one or more `.h' files containing system-dependent
|
||||
definitions. Finally, it creates a shell script `config.status' that
|
||||
you can run in the future to recreate the current configuration, a file
|
||||
`config.cache' that saves the results of its tests to speed up
|
||||
reconfiguring, and a file `config.log' containing compiler output
|
||||
(useful mainly for debugging `configure').
|
||||
|
||||
If you need to do unusual things to compile the package, please try
|
||||
to figure out how `configure' could check whether to do them, and mail
|
||||
diffs or instructions to the address given in the `README' so they can
|
||||
be considered for the next release. If at some point `config.cache'
|
||||
contains results you don't want to keep, you may remove or edit it.
|
||||
|
||||
The file `configure.in' is used to create `configure' by a program
|
||||
called `autoconf'. You only need `configure.in' if you want to change
|
||||
it or regenerate `configure' using a newer version of `autoconf'.
|
||||
|
||||
The simplest way to compile this package is:
|
||||
|
||||
1. `cd' to the directory containing the package's source code and type
|
||||
`./configure' to configure the package for your system. If you're
|
||||
using `csh' on an old version of System V, you might need to type
|
||||
`sh ./configure' instead to prevent `csh' from trying to execute
|
||||
`configure' itself.
|
||||
|
||||
Running `configure' takes a while. While running, it prints some
|
||||
messages telling which features it is checking for.
|
||||
|
||||
2. Type `make' to compile the package.
|
||||
|
||||
3. Type `make install' to install the programs and any data files and
|
||||
documentation.
|
||||
|
||||
4. You can remove the program binaries and object files from the
|
||||
source code directory by typing `make clean'.
|
||||
|
||||
Compilers and Options
|
||||
=====================
|
||||
|
||||
Some systems require unusual options for compilation or linking that
|
||||
the `configure' script does not know about. You can give `configure'
|
||||
initial values for variables by setting them in the environment. Using
|
||||
a Bourne-compatible shell, you can do that on the command line like
|
||||
this:
|
||||
CC=c89 CFLAGS=-O2 LIBS=-lposix ./configure
|
||||
|
||||
Or on systems that have the `env' program, you can do it like this:
|
||||
env CPPFLAGS=-I/usr/local/include LDFLAGS=-s ./configure
|
||||
|
||||
Compiling For Multiple Architectures
|
||||
====================================
|
||||
|
||||
You can compile the package for more than one kind of computer at the
|
||||
same time, by placing the object files for each architecture in their
|
||||
own directory. To do this, you must use a version of `make' that
|
||||
supports the `VPATH' variable, such as GNU `make'. `cd' to the
|
||||
directory where you want the object files and executables to go and run
|
||||
the `configure' script. `configure' automatically checks for the
|
||||
source code in the directory that `configure' is in and in `..'.
|
||||
|
||||
If you have to use a `make' that does not supports the `VPATH'
|
||||
variable, you have to compile the package for one architecture at a time
|
||||
in the source code directory. After you have installed the package for
|
||||
one architecture, use `make distclean' before reconfiguring for another
|
||||
architecture.
|
||||
|
||||
Installation Names
|
||||
==================
|
||||
|
||||
By default, `make install' will install the package's files in
|
||||
`/usr/local/bin', `/usr/local/man', etc. You can specify an
|
||||
installation prefix other than `/usr/local' by giving `configure' the
|
||||
option `--prefix=PATH'.
|
||||
|
||||
You can specify separate installation prefixes for
|
||||
architecture-specific files and architecture-independent files. If you
|
||||
give `configure' the option `--exec-prefix=PATH', the package will use
|
||||
PATH as the prefix for installing programs and libraries.
|
||||
Documentation and other data files will still use the regular prefix.
|
||||
|
||||
If the package supports it, you can cause programs to be installed
|
||||
with an extra prefix or suffix on their names by giving `configure' the
|
||||
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
||||
|
||||
Optional Features
|
||||
=================
|
||||
|
||||
Some packages pay attention to `--enable-FEATURE' options to
|
||||
`configure', where FEATURE indicates an optional part of the package.
|
||||
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
|
||||
is something like `gnu-as' or `x' (for the X Window System). The
|
||||
`README' should mention any `--enable-' and `--with-' options that the
|
||||
package recognizes.
|
||||
|
||||
For packages that use the X Window System, `configure' can usually
|
||||
find the X include and library files automatically, but if it doesn't,
|
||||
you can use the `configure' options `--x-includes=DIR' and
|
||||
`--x-libraries=DIR' to specify their locations.
|
||||
|
||||
Specifying the System Type
|
||||
==========================
|
||||
|
||||
There may be some features `configure' can not figure out
|
||||
automatically, but needs to determine by the type of host the package
|
||||
will run on. Usually `configure' can figure that out, but if it prints
|
||||
a message saying it can not guess the host type, give it the
|
||||
`--host=TYPE' option. TYPE can either be a short name for the system
|
||||
type, such as `sun4', or a canonical name with three fields:
|
||||
CPU-COMPANY-SYSTEM
|
||||
|
||||
See the file `config.sub' for the possible values of each field. If
|
||||
`config.sub' isn't included in this package, then this package doesn't
|
||||
need to know the host type.
|
||||
|
||||
If you are building compiler tools for cross-compiling, you can also
|
||||
use the `--target=TYPE' option to select the type of system they will
|
||||
produce code for and the `--build=TYPE' option to select the type of
|
||||
system on which you are compiling the package.
|
||||
|
||||
Sharing Defaults
|
||||
================
|
||||
|
||||
If you want to set default values for `configure' scripts to share,
|
||||
you can create a site shell script called `config.site' that gives
|
||||
default values for variables like `CC', `cache_file', and `prefix'.
|
||||
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
||||
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
||||
`CONFIG_SITE' environment variable to the location of the site script.
|
||||
A warning: not all `configure' scripts look for a site script.
|
||||
|
||||
Operation Controls
|
||||
==================
|
||||
|
||||
`configure' recognizes the following options to control how it
|
||||
operates.
|
||||
|
||||
`--cache-file=FILE'
|
||||
Use and save the results of the tests in FILE instead of
|
||||
`./config.cache'. Set FILE to `/dev/null' to disable caching, for
|
||||
debugging `configure'.
|
||||
|
||||
`--help'
|
||||
Print a summary of the options to `configure', and exit.
|
||||
|
||||
`--quiet'
|
||||
`--silent'
|
||||
`-q'
|
||||
Do not print messages saying which checks are being made.
|
||||
|
||||
`--srcdir=DIR'
|
||||
Look for the package's source code in directory DIR. Usually
|
||||
`configure' can determine that directory automatically.
|
||||
|
||||
`--version'
|
||||
Print the version of Autoconf used to generate the `configure'
|
||||
script, and exit.
|
||||
|
||||
`configure' also accepts some other, not widely useful, options.
|
||||
|
@ -0,0 +1,5 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.6.1
|
||||
|
||||
include admin/deps.am
|
||||
include admin/Doxyfile.am
|
||||
SUBDIRS=$(TOPSUBDIRS)
|
@ -0,0 +1,4 @@
|
||||
AUTOMAKE_OPTIONS = foreign 1.6.1
|
||||
|
||||
include admin/deps.am
|
||||
include admin/Doxyfile.am
|
@ -0,0 +1,14 @@
|
||||
all:
|
||||
@echo "This Makefile is only for the CVS repository"
|
||||
@echo "This will be deleted before making the distribution"
|
||||
@echo ""
|
||||
@if test ! -d admin; then \
|
||||
echo "Please recheckout this module!" ;\
|
||||
echo "for cvs: use checkout once and after that update again" ;\
|
||||
echo "for cvsup: checkout kde-common from cvsup and" ;\
|
||||
echo " link kde-common/admin to ./admin" ;\
|
||||
exit 1 ;\
|
||||
fi
|
||||
$(MAKE) -f admin/Makefile.common cvs
|
||||
|
||||
.SILENT:
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,863 @@
|
||||
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
||||
# 2005 Free Software Foundation, Inc.
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
||||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# AM_AUTOMAKE_VERSION(VERSION)
|
||||
# ----------------------------
|
||||
# Automake X.Y traces this macro to ensure aclocal.m4 has been
|
||||
# generated from the m4 files accompanying Automake X.Y.
|
||||
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
|
||||
|
||||
# AM_SET_CURRENT_AUTOMAKE_VERSION
|
||||
# -------------------------------
|
||||
# Call AM_AUTOMAKE_VERSION so it can be traced.
|
||||
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
|
||||
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
||||
[AM_AUTOMAKE_VERSION([1.9.6])])
|
||||
|
||||
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
|
||||
# $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
|
||||
# `$srcdir', `$srcdir/..', or `$srcdir/../..'.
|
||||
#
|
||||
# Of course, Automake must honor this variable whenever it calls a
|
||||
# tool from the auxiliary directory. The problem is that $srcdir (and
|
||||
# therefore $ac_aux_dir as well) can be either absolute or relative,
|
||||
# depending on how configure is run. This is pretty annoying, since
|
||||
# it makes $ac_aux_dir quite unusable in subdirectories: in the top
|
||||
# source directory, any form will work fine, but in subdirectories a
|
||||
# relative path needs to be adjusted first.
|
||||
#
|
||||
# $ac_aux_dir/missing
|
||||
# fails when called from a subdirectory if $ac_aux_dir is relative
|
||||
# $top_srcdir/$ac_aux_dir/missing
|
||||
# fails if $ac_aux_dir is absolute,
|
||||
# fails when called from a subdirectory in a VPATH build with
|
||||
# a relative $ac_aux_dir
|
||||
#
|
||||
# The reason of the latter failure is that $top_srcdir and $ac_aux_dir
|
||||
# are both prefixed by $srcdir. In an in-source build this is usually
|
||||
# harmless because $srcdir is `.', but things will broke when you
|
||||
# start a VPATH build or use an absolute $srcdir.
|
||||
#
|
||||
# So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
|
||||
# iff we strip the leading $srcdir from $ac_aux_dir. That would be:
|
||||
# am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
|
||||
# and then we would define $MISSING as
|
||||
# MISSING="\${SHELL} $am_aux_dir/missing"
|
||||
# This will work as long as MISSING is not called from configure, because
|
||||
# unfortunately $(top_srcdir) has no meaning in configure.
|
||||
# However there are other variables, like CC, which are often used in
|
||||
# configure, and could therefore not use this "fixed" $ac_aux_dir.
|
||||
#
|
||||
# Another solution, used here, is to always expand $ac_aux_dir to an
|
||||
# absolute PATH. The drawback is that using absolute paths prevent a
|
||||
# configured tree to be moved without reconfiguration.
|
||||
|
||||
AC_DEFUN([AM_AUX_DIR_EXPAND],
|
||||
[dnl Rely on autoconf to set up CDPATH properly.
|
||||
AC_PREREQ([2.50])dnl
|
||||
# expand $ac_aux_dir to an absolute path
|
||||
am_aux_dir=`cd $ac_aux_dir && pwd`
|
||||
])
|
||||
|
||||
# AM_CONDITIONAL -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 7
|
||||
|
||||
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
|
||||
# -------------------------------------
|
||||
# Define a conditional.
|
||||
AC_DEFUN([AM_CONDITIONAL],
|
||||
[AC_PREREQ(2.52)dnl
|
||||
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
|
||||
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
|
||||
AC_SUBST([$1_TRUE])
|
||||
AC_SUBST([$1_FALSE])
|
||||
if $2; then
|
||||
$1_TRUE=
|
||||
$1_FALSE='#'
|
||||
else
|
||||
$1_TRUE='#'
|
||||
$1_FALSE=
|
||||
fi
|
||||
AC_CONFIG_COMMANDS_PRE(
|
||||
[if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
|
||||
AC_MSG_ERROR([[conditional "$1" was never defined.
|
||||
Usually this means the macro was only invoked conditionally.]])
|
||||
fi])])
|
||||
|
||||
|
||||
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 8
|
||||
|
||||
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
|
||||
# written in clear, in which case automake, when reading aclocal.m4,
|
||||
# will think it sees a *use*, and therefore will trigger all it's
|
||||
# C support machinery. Also note that it means that autoscan, seeing
|
||||
# CC etc. in the Makefile, will ask for an AC_PROG_CC use...
|
||||
|
||||
|
||||
# _AM_DEPENDENCIES(NAME)
|
||||
# ----------------------
|
||||
# See how the compiler implements dependency checking.
|
||||
# NAME is "CC", "CXX", "GCJ", or "OBJC".
|
||||
# We try a few techniques and use that to set a single cache variable.
|
||||
#
|
||||
# We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
|
||||
# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
|
||||
# dependency, and given that the user is not expected to run this macro,
|
||||
# just rely on AC_PROG_CC.
|
||||
AC_DEFUN([_AM_DEPENDENCIES],
|
||||
[AC_REQUIRE([AM_SET_DEPDIR])dnl
|
||||
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
|
||||
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
|
||||
AC_REQUIRE([AM_DEP_TRACK])dnl
|
||||
|
||||
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
|
||||
[$1], CXX, [depcc="$CXX" am_compiler_list=],
|
||||
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
|
||||
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
|
||||
[depcc="$$1" am_compiler_list=])
|
||||
|
||||
AC_CACHE_CHECK([dependency style of $depcc],
|
||||
[am_cv_$1_dependencies_compiler_type],
|
||||
[if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
||||
# We make a subdir and do the tests there. Otherwise we can end up
|
||||
# making bogus files that we don't know about and never remove. For
|
||||
# instance it was reported that on HP-UX the gcc test will end up
|
||||
# making a dummy file named `D' -- because `-MD' means `put the output
|
||||
# in D'.
|
||||
mkdir conftest.dir
|
||||
# Copy depcomp to subdir because otherwise we won't find it if we're
|
||||
# using a relative directory.
|
||||
cp "$am_depcomp" conftest.dir
|
||||
cd conftest.dir
|
||||
# We will build objects and dependencies in a subdirectory because
|
||||
# it helps to detect inapplicable dependency modes. For instance
|
||||
# both Tru64's cc and ICC support -MD to output dependencies as a
|
||||
# side effect of compilation, but ICC will put the dependencies in
|
||||
# the current directory while Tru64 will put them in the object
|
||||
# directory.
|
||||
mkdir sub
|
||||
|
||||
am_cv_$1_dependencies_compiler_type=none
|
||||
if test "$am_compiler_list" = ""; then
|
||||
am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
|
||||
fi
|
||||
for depmode in $am_compiler_list; do
|
||||
# Setup a source with many dependencies, because some compilers
|
||||
# like to wrap large dependency lists on column 80 (with \), and
|
||||
# we should not choose a depcomp mode which is confused by this.
|
||||
#
|
||||
# We need to recreate these files for each test, as the compiler may
|
||||
# overwrite some of them when testing with obscure command lines.
|
||||
# This happens at least with the AIX C compiler.
|
||||
: > sub/conftest.c
|
||||
for i in 1 2 3 4 5 6; do
|
||||
echo '#include "conftst'$i'.h"' >> sub/conftest.c
|
||||
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
|
||||
# Solaris 8's {/usr,}/bin/sh.
|
||||
touch sub/conftst$i.h
|
||||
done
|
||||
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
||||
|
||||
case $depmode in
|
||||
nosideeffect)
|
||||
# after this tag, mechanisms are not by side-effect, so they'll
|
||||
# only be used when explicitly requested
|
||||
if test "x$enable_dependency_tracking" = xyes; then
|
||||
continue
|
||||
else
|
||||
break
|
||||
fi
|
||||
;;
|
||||
none) break ;;
|
||||
esac
|
||||
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
||||
# mode. It turns out that the SunPro C++ compiler does not properly
|
||||
# handle `-M -o', and we need to detect this.
|
||||
if depmode=$depmode \
|
||||
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
|
||||
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
||||
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
||||
>/dev/null 2>conftest.err &&
|
||||
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
||||
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
||||
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
||||
# icc doesn't choke on unknown options, it will just issue warnings
|
||||
# or remarks (even with -Werror). So we grep stderr for any message
|
||||
# that says an option was ignored or not supported.
|
||||
# When given -MP, icc 7.0 and 7.1 complain thusly:
|
||||
# icc: Command line warning: ignoring option '-M'; no argument required
|
||||
# The diagnosis changed in icc 8.0:
|
||||
# icc: Command line remark: option '-MP' not supported
|
||||
if (grep 'ignoring option' conftest.err ||
|
||||
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
|
||||
am_cv_$1_dependencies_compiler_type=$depmode
|
||||
break
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
cd ..
|
||||
rm -rf conftest.dir
|
||||
else
|
||||
am_cv_$1_dependencies_compiler_type=none
|
||||
fi
|
||||
])
|
||||
AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
|
||||
AM_CONDITIONAL([am__fastdep$1], [
|
||||
test "x$enable_dependency_tracking" != xno \
|
||||
&& test "$am_cv_$1_dependencies_compiler_type" = gcc3])
|
||||
])
|
||||
|
||||
|
||||
# AM_SET_DEPDIR
|
||||
# -------------
|
||||
# Choose a directory name for dependency files.
|
||||
# This macro is AC_REQUIREd in _AM_DEPENDENCIES
|
||||
AC_DEFUN([AM_SET_DEPDIR],
|
||||
[AC_REQUIRE([AM_SET_LEADING_DOT])dnl
|
||||
AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
|
||||
])
|
||||
|
||||
|
||||
# AM_DEP_TRACK
|
||||
# ------------
|
||||
AC_DEFUN([AM_DEP_TRACK],
|
||||
[AC_ARG_ENABLE(dependency-tracking,
|
||||
[ --disable-dependency-tracking speeds up one-time build
|
||||
--enable-dependency-tracking do not reject slow dependency extractors])
|
||||
if test "x$enable_dependency_tracking" != xno; then
|
||||
am_depcomp="$ac_aux_dir/depcomp"
|
||||
AMDEPBACKSLASH='\'
|
||||
fi
|
||||
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
||||
AC_SUBST([AMDEPBACKSLASH])
|
||||
])
|
||||
|
||||
# Generate code to set up dependency tracking. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
#serial 3
|
||||
|
||||
# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||
# ------------------------------
|
||||
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||
[for mf in $CONFIG_FILES; do
|
||||
# Strip MF so we end up with the name of the file.
|
||||
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
||||
# Check whether this is an Automake generated Makefile or not.
|
||||
# We used to match only the files named `Makefile.in', but
|
||||
# some people rename them; so instead we look at the file content.
|
||||
# Grep'ing the first line is not enough: some people post-process
|
||||
# each Makefile.in and add a new line on top of each file to say so.
|
||||
# So let's grep whole file.
|
||||
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
|
||||
dirpart=`AS_DIRNAME("$mf")`
|
||||
else
|
||||
continue
|
||||
fi
|
||||
# Extract the definition of DEPDIR, am__include, and am__quote
|
||||
# from the Makefile without running `make'.
|
||||
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
||||
test -z "$DEPDIR" && continue
|
||||
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
||||
test -z "am__include" && continue
|
||||
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
||||
# When using ansi2knr, U may be empty or an underscore; expand it
|
||||
U=`sed -n 's/^U = //p' < "$mf"`
|
||||
# Find all dependency output files, they are included files with
|
||||
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
||||
# simplest approach to changing $(DEPDIR) to its actual value in the
|
||||
# expansion.
|
||||
for file in `sed -n "
|
||||
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
||||
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
||||
# Make sure the directory exists.
|
||||
test -f "$dirpart/$file" && continue
|
||||
fdir=`AS_DIRNAME(["$file"])`
|
||||
AS_MKDIR_P([$dirpart/$fdir])
|
||||
# echo "creating $dirpart/$file"
|
||||
echo '# dummy' > "$dirpart/$file"
|
||||
done
|
||||
done
|
||||
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||
|
||||
|
||||
# AM_OUTPUT_DEPENDENCY_COMMANDS
|
||||
# -----------------------------
|
||||
# This macro should only be invoked once -- use via AC_REQUIRE.
|
||||
#
|
||||
# This code is only required when automatic dependency tracking
|
||||
# is enabled. FIXME. This creates each `.P' file that we will
|
||||
# need in order to bootstrap the dependency handling code.
|
||||
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||
[AC_CONFIG_COMMANDS([depfiles],
|
||||
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
|
||||
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
|
||||
])
|
||||
|
||||
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 8
|
||||
|
||||
# AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS.
|
||||
AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)])
|
||||
|
||||
# Do all the work for Automake. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 12
|
||||
|
||||
# This macro actually does too much. Some checks are only needed if
|
||||
# your package does certain things. But this isn't really a big deal.
|
||||
|
||||
# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
|
||||
# AM_INIT_AUTOMAKE([OPTIONS])
|
||||
# -----------------------------------------------
|
||||
# The call with PACKAGE and VERSION arguments is the old style
|
||||
# call (pre autoconf-2.50), which is being phased out. PACKAGE
|
||||
# and VERSION should now be passed to AC_INIT and removed from
|
||||
# the call to AM_INIT_AUTOMAKE.
|
||||
# We support both call styles for the transition. After
|
||||
# the next Automake release, Autoconf can make the AC_INIT
|
||||
# arguments mandatory, and then we can depend on a new Autoconf
|
||||
# release and drop the old call support.
|
||||
AC_DEFUN([AM_INIT_AUTOMAKE],
|
||||
[AC_PREREQ([2.58])dnl
|
||||
dnl Autoconf wants to disallow AM_ names. We explicitly allow
|
||||
dnl the ones we care about.
|
||||
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
|
||||
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
|
||||
AC_REQUIRE([AC_PROG_INSTALL])dnl
|
||||
# test to see if srcdir already configured
|
||||
if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
||||
test -f $srcdir/config.status; then
|
||||
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
||||
fi
|
||||
|
||||
# test whether we have cygpath
|
||||
if test -z "$CYGPATH_W"; then
|
||||
if (cygpath --version) >/dev/null 2>/dev/null; then
|
||||
CYGPATH_W='cygpath -w'
|
||||
else
|
||||
CYGPATH_W=echo
|
||||
fi
|
||||
fi
|
||||
AC_SUBST([CYGPATH_W])
|
||||
|
||||
# Define the identity of the package.
|
||||
dnl Distinguish between old-style and new-style calls.
|
||||
m4_ifval([$2],
|
||||
[m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
|
||||
AC_SUBST([PACKAGE], [$1])dnl
|
||||
AC_SUBST([VERSION], [$2])],
|
||||
[_AM_SET_OPTIONS([$1])dnl
|
||||
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
|
||||
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
|
||||
|
||||
_AM_IF_OPTION([no-define],,
|
||||
[AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
|
||||
AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
|
||||
|
||||
# Some tools Automake needs.
|
||||
AC_REQUIRE([AM_SANITY_CHECK])dnl
|
||||
AC_REQUIRE([AC_ARG_PROGRAM])dnl
|
||||
AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
|
||||
AM_MISSING_PROG(AUTOCONF, autoconf)
|
||||
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
|
||||
AM_MISSING_PROG(AUTOHEADER, autoheader)
|
||||
AM_MISSING_PROG(MAKEINFO, makeinfo)
|
||||
AM_PROG_INSTALL_SH
|
||||
AM_PROG_INSTALL_STRIP
|
||||
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
|
||||
# We need awk for the "check" target. The system "awk" is bad on
|
||||
# some platforms.
|
||||
AC_REQUIRE([AC_PROG_AWK])dnl
|
||||
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
|
||||
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
|
||||
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
|
||||
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
|
||||
[_AM_PROG_TAR([v7])])])
|
||||
_AM_IF_OPTION([no-dependencies],,
|
||||
[AC_PROVIDE_IFELSE([AC_PROG_CC],
|
||||
[_AM_DEPENDENCIES(CC)],
|
||||
[define([AC_PROG_CC],
|
||||
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
|
||||
AC_PROVIDE_IFELSE([AC_PROG_CXX],
|
||||
[_AM_DEPENDENCIES(CXX)],
|
||||
[define([AC_PROG_CXX],
|
||||
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
|
||||
])
|
||||
])
|
||||
|
||||
|
||||
# When config.status generates a header, we must update the stamp-h file.
|
||||
# This file resides in the same directory as the config header
|
||||
# that is generated. The stamp files are numbered to have different names.
|
||||
|
||||
# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
|
||||
# loop where config.status creates the headers, so we can generate
|
||||
# our stamp files there.
|
||||
AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
|
||||
[# Compute $1's index in $config_headers.
|
||||
_am_stamp_count=1
|
||||
for _am_header in $config_headers :; do
|
||||
case $_am_header in
|
||||
$1 | $1:* )
|
||||
break ;;
|
||||
* )
|
||||
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
|
||||
esac
|
||||
done
|
||||
echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
|
||||
|
||||
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# AM_PROG_INSTALL_SH
|
||||
# ------------------
|
||||
# Define $install_sh.
|
||||
AC_DEFUN([AM_PROG_INSTALL_SH],
|
||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||
install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
||||
AC_SUBST(install_sh)])
|
||||
|
||||
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 2
|
||||
|
||||
# Check whether the underlying file-system supports filenames
|
||||
# with a leading dot. For instance MS-DOS doesn't.
|
||||
AC_DEFUN([AM_SET_LEADING_DOT],
|
||||
[rm -rf .tst 2>/dev/null
|
||||
mkdir .tst 2>/dev/null
|
||||
if test -d .tst; then
|
||||
am__leading_dot=.
|
||||
else
|
||||
am__leading_dot=_
|
||||
fi
|
||||
rmdir .tst 2>/dev/null
|
||||
AC_SUBST([am__leading_dot])])
|
||||
|
||||
# Check to see how 'make' treats includes. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 3
|
||||
|
||||
# AM_MAKE_INCLUDE()
|
||||
# -----------------
|
||||
# Check to see how make treats includes.
|
||||
AC_DEFUN([AM_MAKE_INCLUDE],
|
||||
[am_make=${MAKE-make}
|
||||
cat > confinc << 'END'
|
||||
am__doit:
|
||||
@echo done
|
||||
.PHONY: am__doit
|
||||
END
|
||||
# If we don't find an include directive, just comment out the code.
|
||||
AC_MSG_CHECKING([for style of include used by $am_make])
|
||||
am__include="#"
|
||||
am__quote=
|
||||
_am_result=none
|
||||
# First try GNU make style include.
|
||||
echo "include confinc" > confmf
|
||||
# We grep out `Entering directory' and `Leaving directory'
|
||||
# messages which can occur if `w' ends up in MAKEFLAGS.
|
||||
# In particular we don't look at `^make:' because GNU make might
|
||||
# be invoked under some other name (usually "gmake"), in which
|
||||
# case it prints its new name instead of `make'.
|
||||
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
|
||||
am__include=include
|
||||
am__quote=
|
||||
_am_result=GNU
|
||||
fi
|
||||
# Now try BSD make style include.
|
||||
if test "$am__include" = "#"; then
|
||||
echo '.include "confinc"' > confmf
|
||||
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
||||
am__include=.include
|
||||
am__quote="\""
|
||||
_am_result=BSD
|
||||
fi
|
||||
fi
|
||||
AC_SUBST([am__include])
|
||||
AC_SUBST([am__quote])
|
||||
AC_MSG_RESULT([$_am_result])
|
||||
rm -f confinc confmf
|
||||
])
|
||||
|
||||
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 4
|
||||
|
||||
# AM_MISSING_PROG(NAME, PROGRAM)
|
||||
# ------------------------------
|
||||
AC_DEFUN([AM_MISSING_PROG],
|
||||
[AC_REQUIRE([AM_MISSING_HAS_RUN])
|
||||
$1=${$1-"${am_missing_run}$2"}
|
||||
AC_SUBST($1)])
|
||||
|
||||
|
||||
# AM_MISSING_HAS_RUN
|
||||
# ------------------
|
||||
# Define MISSING if not defined so far and test if it supports --run.
|
||||
# If it does, set am_missing_run to use it, otherwise, to nothing.
|
||||
AC_DEFUN([AM_MISSING_HAS_RUN],
|
||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
||||
# Use eval to expand $SHELL
|
||||
if eval "$MISSING --run true"; then
|
||||
am_missing_run="$MISSING --run "
|
||||
else
|
||||
am_missing_run=
|
||||
AC_MSG_WARN([`missing' script is too old or missing])
|
||||
fi
|
||||
])
|
||||
|
||||
# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# AM_PROG_MKDIR_P
|
||||
# ---------------
|
||||
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
|
||||
#
|
||||
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
|
||||
# created by `make install' are always world readable, even if the
|
||||
# installer happens to have an overly restrictive umask (e.g. 077).
|
||||
# This was a mistake. There are at least two reasons why we must not
|
||||
# use `-m 0755':
|
||||
# - it causes special bits like SGID to be ignored,
|
||||
# - it may be too restrictive (some setups expect 775 directories).
|
||||
#
|
||||
# Do not use -m 0755 and let people choose whatever they expect by
|
||||
# setting umask.
|
||||
#
|
||||
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
|
||||
# Some implementations (such as Solaris 8's) are not thread-safe: if a
|
||||
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
|
||||
# concurrently, both version can detect that a/ is missing, but only
|
||||
# one can create it and the other will error out. Consequently we
|
||||
# restrict ourselves to GNU make (using the --version option ensures
|
||||
# this.)
|
||||
AC_DEFUN([AM_PROG_MKDIR_P],
|
||||
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
|
||||
# We used to keeping the `.' as first argument, in order to
|
||||
# allow $(mkdir_p) to be used without argument. As in
|
||||
# $(mkdir_p) $(somedir)
|
||||
# where $(somedir) is conditionally defined. However this is wrong
|
||||
# for two reasons:
|
||||
# 1. if the package is installed by a user who cannot write `.'
|
||||
# make install will fail,
|
||||
# 2. the above comment should most certainly read
|
||||
# $(mkdir_p) $(DESTDIR)$(somedir)
|
||||
# so it does not work when $(somedir) is undefined and
|
||||
# $(DESTDIR) is not.
|
||||
# To support the latter case, we have to write
|
||||
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
|
||||
# so the `.' trick is pointless.
|
||||
mkdir_p='mkdir -p --'
|
||||
else
|
||||
# On NextStep and OpenStep, the `mkdir' command does not
|
||||
# recognize any option. It will interpret all options as
|
||||
# directories to create, and then abort because `.' already
|
||||
# exists.
|
||||
for d in ./-p ./--version;
|
||||
do
|
||||
test -d $d && rmdir $d
|
||||
done
|
||||
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
|
||||
if test -f "$ac_aux_dir/mkinstalldirs"; then
|
||||
mkdir_p='$(mkinstalldirs)'
|
||||
else
|
||||
mkdir_p='$(install_sh) -d'
|
||||
fi
|
||||
fi
|
||||
AC_SUBST([mkdir_p])])
|
||||
|
||||
# Helper functions for option handling. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 3
|
||||
|
||||
# _AM_MANGLE_OPTION(NAME)
|
||||
# -----------------------
|
||||
AC_DEFUN([_AM_MANGLE_OPTION],
|
||||
[[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
|
||||
|
||||
# _AM_SET_OPTION(NAME)
|
||||
# ------------------------------
|
||||
# Set option NAME. Presently that only means defining a flag for this option.
|
||||
AC_DEFUN([_AM_SET_OPTION],
|
||||
[m4_define(_AM_MANGLE_OPTION([$1]), 1)])
|
||||
|
||||
# _AM_SET_OPTIONS(OPTIONS)
|
||||
# ----------------------------------
|
||||
# OPTIONS is a space-separated list of Automake options.
|
||||
AC_DEFUN([_AM_SET_OPTIONS],
|
||||
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
|
||||
|
||||
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
|
||||
# -------------------------------------------
|
||||
# Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
|
||||
AC_DEFUN([_AM_IF_OPTION],
|
||||
[m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
|
||||
|
||||
# Check to make sure that the build environment is sane. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 4
|
||||
|
||||
# AM_SANITY_CHECK
|
||||
# ---------------
|
||||
AC_DEFUN([AM_SANITY_CHECK],
|
||||
[AC_MSG_CHECKING([whether build environment is sane])
|
||||
# Just in case
|
||||
sleep 1
|
||||
echo timestamp > conftest.file
|
||||
# Do `set' in a subshell so we don't clobber the current shell's
|
||||
# arguments. Must try -L first in case configure is actually a
|
||||
# symlink; some systems play weird games with the mod time of symlinks
|
||||
# (eg FreeBSD returns the mod time of the symlink's containing
|
||||
# directory).
|
||||
if (
|
||||
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
|
||||
if test "$[*]" = "X"; then
|
||||
# -L didn't work.
|
||||
set X `ls -t $srcdir/configure conftest.file`
|
||||
fi
|
||||
rm -f conftest.file
|
||||
if test "$[*]" != "X $srcdir/configure conftest.file" \
|
||||
&& test "$[*]" != "X conftest.file $srcdir/configure"; then
|
||||
|
||||
# If neither matched, then we have a broken ls. This can happen
|
||||
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
||||
# broken ls alias from the environment. This has actually
|
||||
# happened. Such a system could not be considered "sane".
|
||||
AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
|
||||
alias in your environment])
|
||||
fi
|
||||
|
||||
test "$[2]" = conftest.file
|
||||
)
|
||||
then
|
||||
# Ok.
|
||||
:
|
||||
else
|
||||
AC_MSG_ERROR([newly created file is older than distributed files!
|
||||
Check your system clock])
|
||||
fi
|
||||
AC_MSG_RESULT(yes)])
|
||||
|
||||
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# AM_PROG_INSTALL_STRIP
|
||||
# ---------------------
|
||||
# One issue with vendor `install' (even GNU) is that you can't
|
||||
# specify the program used to strip binaries. This is especially
|
||||
# annoying in cross-compiling environments, where the build's strip
|
||||
# is unlikely to handle the host's binaries.
|
||||
# Fortunately install-sh will honor a STRIPPROG variable, so we
|
||||
# always use install-sh in `make install-strip', and initialize
|
||||
# STRIPPROG with the value of the STRIP variable (set by the user).
|
||||
AC_DEFUN([AM_PROG_INSTALL_STRIP],
|
||||
[AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
|
||||
# Installed binaries are usually stripped using `strip' when the user
|
||||
# run `make install-strip'. However `strip' might not be the right
|
||||
# tool to use in cross-compilation environments, therefore Automake
|
||||
# will honor the `STRIP' environment variable to overrule this program.
|
||||
dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
|
||||
if test "$cross_compiling" != no; then
|
||||
AC_CHECK_TOOL([STRIP], [strip], :)
|
||||
fi
|
||||
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
||||
AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
||||
|
||||
# Check how to create a tarball. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
# with or without modifications, as long as this notice is preserved.
|
||||
|
||||
# serial 2
|
||||
|
||||
# _AM_PROG_TAR(FORMAT)
|
||||
# --------------------
|
||||
# Check how to create a tarball in format FORMAT.
|
||||
# FORMAT should be one of `v7', `ustar', or `pax'.
|
||||
#
|
||||
# Substitute a variable $(am__tar) that is a command
|
||||
# writing to stdout a FORMAT-tarball containing the directory
|
||||
# $tardir.
|
||||
# tardir=directory && $(am__tar) > result.tar
|
||||
#
|
||||
# Substitute a variable $(am__untar) that extract such
|
||||
# a tarball read from stdin.
|
||||
# $(am__untar) < result.tar
|
||||
AC_DEFUN([_AM_PROG_TAR],
|
||||
[# Always define AMTAR for backward compatibility.
|
||||
AM_MISSING_PROG([AMTAR], [tar])
|
||||
m4_if([$1], [v7],
|
||||
[am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
|
||||
[m4_case([$1], [ustar],, [pax],,
|
||||
[m4_fatal([Unknown tar format])])
|
||||
AC_MSG_CHECKING([how to create a $1 tar archive])
|
||||
# Loop over all known methods to create a tar archive until one works.
|
||||
_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
|
||||
_am_tools=${am_cv_prog_tar_$1-$_am_tools}
|
||||
# Do not fold the above two line into one, because Tru64 sh and
|
||||
# Solaris sh will not grok spaces in the rhs of `-'.
|
||||
for _am_tool in $_am_tools
|
||||
do
|
||||
case $_am_tool in
|
||||
gnutar)
|
||||
for _am_tar in tar gnutar gtar;
|
||||
do
|
||||
AM_RUN_LOG([$_am_tar --version]) && break
|
||||
done
|
||||
am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
|
||||
am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
|
||||
am__untar="$_am_tar -xf -"
|
||||
;;
|
||||
plaintar)
|
||||
# Must skip GNU tar: if it does not support --format= it doesn't create
|
||||
# ustar tarball either.
|
||||
(tar --version) >/dev/null 2>&1 && continue
|
||||
am__tar='tar chf - "$$tardir"'
|
||||
am__tar_='tar chf - "$tardir"'
|
||||
am__untar='tar xf -'
|
||||
;;
|
||||
pax)
|
||||
am__tar='pax -L -x $1 -w "$$tardir"'
|
||||
am__tar_='pax -L -x $1 -w "$tardir"'
|
||||
am__untar='pax -r'
|
||||
;;
|
||||
cpio)
|
||||
am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
|
||||
am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
|
||||
am__untar='cpio -i -H $1 -d'
|
||||
;;
|
||||
none)
|
||||
am__tar=false
|
||||
am__tar_=false
|
||||
am__untar=false
|
||||
;;
|
||||
esac
|
||||
|
||||
# If the value was cached, stop now. We just wanted to have am__tar
|
||||
# and am__untar set.
|
||||
test -n "${am_cv_prog_tar_$1}" && break
|
||||
|
||||
# tar/untar a dummy directory, and stop if the command works
|
||||
rm -rf conftest.dir
|
||||
mkdir conftest.dir
|
||||
echo GrepMe > conftest.dir/file
|
||||
AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
|
||||
rm -rf conftest.dir
|
||||
if test -s conftest.tar; then
|
||||
AM_RUN_LOG([$am__untar <conftest.tar])
|
||||
grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
|
||||
fi
|
||||
done
|
||||
rm -rf conftest.dir
|
||||
|
||||
AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
|
||||
AC_MSG_RESULT([$am_cv_prog_tar_$1])])
|
||||
AC_SUBST([am__tar])
|
||||
AC_SUBST([am__untar])
|
||||
]) # _AM_PROG_TAR
|
||||
|
||||
m4_include([acinclude.m4])
|
@ -0,0 +1,247 @@
|
||||
/* config.h.in. Generated from configure.in by autoheader. */
|
||||
|
||||
/* Define to 1 if you have the <Carbon/Carbon.h> header file. */
|
||||
#undef HAVE_CARBON_CARBON_H
|
||||
|
||||
/* Define if you have the CoreAudio API */
|
||||
#undef HAVE_COREAUDIO
|
||||
|
||||
/* Define to 1 if you have the <crt_externs.h> header file. */
|
||||
#undef HAVE_CRT_EXTERNS_H
|
||||
|
||||
/* Defines if your system has the crypt function */
|
||||
#undef HAVE_CRYPT
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#undef HAVE_DLFCN_H
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#undef HAVE_INTTYPES_H
|
||||
|
||||
/* Define if you have libjpeg */
|
||||
#undef HAVE_LIBJPEG
|
||||
|
||||
/* Define if you have libpng */
|
||||
#undef HAVE_LIBPNG
|
||||
|
||||
/* Define if you have a working libpthread (will enable threaded code) */
|
||||
#undef HAVE_LIBPTHREAD
|
||||
|
||||
/* Define if you have libz */
|
||||
#undef HAVE_LIBZ
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#undef HAVE_MEMORY_H
|
||||
|
||||
/* Define if your system needs _NSGetEnviron to set up the environment */
|
||||
#undef HAVE_NSGETENVIRON
|
||||
|
||||
/* Define if you have res_init */
|
||||
#undef HAVE_RES_INIT
|
||||
|
||||
/* Define if you have the res_init prototype */
|
||||
#undef HAVE_RES_INIT_PROTO
|
||||
|
||||
/* Define if you have a STL implementation by SGI */
|
||||
#undef HAVE_SGI_STL
|
||||
|
||||
/* Define to 1 if you have the `snprintf' function. */
|
||||
#undef HAVE_SNPRINTF
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#undef HAVE_STDINT_H
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#undef HAVE_STDLIB_H
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#undef HAVE_STRINGS_H
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#undef HAVE_STRING_H
|
||||
|
||||
/* Define if you have strlcat */
|
||||
#undef HAVE_STRLCAT
|
||||
|
||||
/* Define if you have the strlcat prototype */
|
||||
#undef HAVE_STRLCAT_PROTO
|
||||
|
||||
/* Define if you have strlcpy */
|
||||
#undef HAVE_STRLCPY
|
||||
|
||||
/* Define if you have the strlcpy prototype */
|
||||
#undef HAVE_STRLCPY_PROTO
|
||||
|
||||
/* Define to 1 if you have the <sys/bitypes.h> header file. */
|
||||
#undef HAVE_SYS_BITYPES_H
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#undef HAVE_SYS_STAT_H
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#undef HAVE_SYS_TYPES_H
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#undef HAVE_UNISTD_H
|
||||
|
||||
/* Define to 1 if you have the `vsnprintf' function. */
|
||||
#undef HAVE_VSNPRINTF
|
||||
|
||||
/* Suffix for lib directories */
|
||||
#undef KDELIBSUFF
|
||||
|
||||
/* Define a safe value for MAXPATHLEN */
|
||||
#undef KDEMAXPATHLEN
|
||||
|
||||
/* Name of package */
|
||||
#undef PACKAGE
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#undef PACKAGE_NAME
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#undef PACKAGE_STRING
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#undef PACKAGE_TARNAME
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#undef PACKAGE_VERSION
|
||||
|
||||
/* The size of `char *', as computed by sizeof. */
|
||||
#undef SIZEOF_CHAR_P
|
||||
|
||||
/* The size of `int', as computed by sizeof. */
|
||||
#undef SIZEOF_INT
|
||||
|
||||
/* The size of `long', as computed by sizeof. */
|
||||
#undef SIZEOF_LONG
|
||||
|
||||
/* The size of `short', as computed by sizeof. */
|
||||
#undef SIZEOF_SHORT
|
||||
|
||||
/* The size of `size_t', as computed by sizeof. */
|
||||
#undef SIZEOF_SIZE_T
|
||||
|
||||
/* The size of `unsigned long', as computed by sizeof. */
|
||||
#undef SIZEOF_UNSIGNED_LONG
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
/* If we use arts volume */
|
||||
#undef USE_ARTS
|
||||
|
||||
/* Version number of package */
|
||||
#undef VERSION
|
||||
|
||||
/* Defined if compiling without arts */
|
||||
#undef WITHOUT_ARTS
|
||||
|
||||
/* Define to 1 if your processor stores words with the most significant byte
|
||||
first (like Motorola and SPARC, unlike Intel and VAX). */
|
||||
#undef WORDS_BIGENDIAN
|
||||
|
||||
/*
|
||||
* jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system
|
||||
* headers and I'm too lazy to write a configure test as long as only
|
||||
* unixware is related
|
||||
*/
|
||||
#ifdef _UNIXWARE
|
||||
#define HAVE_BOOLEAN
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* AIX defines FD_SET in terms of bzero, but fails to include <strings.h>
|
||||
* that defines bzero.
|
||||
*/
|
||||
|
||||
#if defined(_AIX)
|
||||
#include <strings.h>
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if defined(HAVE_NSGETENVIRON) && defined(HAVE_CRT_EXTERNS_H)
|
||||
# include <sys/time.h>
|
||||
# include <crt_externs.h>
|
||||
# define environ (*_NSGetEnviron())
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if !defined(HAVE_RES_INIT_PROTO)
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
int res_init(void);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if !defined(HAVE_STRLCAT_PROTO)
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
unsigned long strlcat(char*, const char*, unsigned long);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if !defined(HAVE_STRLCPY_PROTO)
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
unsigned long strlcpy(char*, const char*, unsigned long);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* On HP-UX, the declaration of vsnprintf() is needed every time !
|
||||
*/
|
||||
|
||||
#if !defined(HAVE_VSNPRINTF) || defined(hpux)
|
||||
#if __STDC__
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#else
|
||||
#include <varargs.h>
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
int snprintf(char *str, size_t n, char const *fmt, ...);
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if defined(__SVR4) && !defined(__svr4__)
|
||||
#define __svr4__ 1
|
||||
#endif
|
||||
|
||||
|
||||
/* type to use in place of socklen_t if not defined */
|
||||
#undef kde_socklen_t
|
||||
|
||||
/* type to use in place of socklen_t if not defined (deprecated, use
|
||||
kde_socklen_t) */
|
||||
#undef ksize_t
|
@ -0,0 +1,4 @@
|
||||
./admin/configure.in.min
|
||||
configure.in.in
|
||||
./katapult/configure.in.in
|
||||
configure.in.bot
|
@ -0,0 +1,187 @@
|
||||
dnl =======================================================
|
||||
dnl FILE: ./admin/configure.in.min
|
||||
dnl =======================================================
|
||||
|
||||
dnl This file is part of the KDE libraries/packages
|
||||
dnl Copyright (C) 2001 Stephan Kulow (coolo@kde.org)
|
||||
|
||||
dnl This file is free software; you can redistribute it and/or
|
||||
dnl modify it under the terms of the GNU Library General Public
|
||||
dnl License as published by the Free Software Foundation; either
|
||||
dnl version 2 of the License, or (at your option) any later version.
|
||||
|
||||
dnl This library is distributed in the hope that it will be useful,
|
||||
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
dnl Library General Public License for more details.
|
||||
|
||||
dnl You should have received a copy of the GNU Library General Public License
|
||||
dnl along with this library; see the file COPYING.LIB. If not, write to
|
||||
dnl the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
dnl Boston, MA 02110-1301, USA.
|
||||
|
||||
# Original Author was Kalle@kde.org
|
||||
# I lifted it in some mater. (Stephan Kulow)
|
||||
# I used much code from Janos Farkas
|
||||
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_INIT(acinclude.m4) dnl a source file from your sub dir
|
||||
|
||||
dnl This is so we can use kde-common
|
||||
AC_CONFIG_AUX_DIR(admin)
|
||||
|
||||
dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
|
||||
unset CDPATH
|
||||
|
||||
dnl Checking host/target/build systems, for make, install etc.
|
||||
AC_CANONICAL_SYSTEM
|
||||
dnl Perform program name transformation
|
||||
AC_ARG_PROGRAM
|
||||
|
||||
dnl Automake doc recommends to do this only here. (Janos)
|
||||
AM_INIT_AUTOMAKE(katapult-0.3.2.1, "3.5.7") dnl searches for some needed programs
|
||||
|
||||
KDE_SET_PREFIX
|
||||
|
||||
dnl generate the config header
|
||||
AM_CONFIG_HEADER(config.h) dnl at the distribution this done
|
||||
|
||||
dnl Checks for programs.
|
||||
AC_CHECK_COMPILERS
|
||||
AC_ENABLE_SHARED(yes)
|
||||
AC_ENABLE_STATIC(no)
|
||||
KDE_PROG_LIBTOOL
|
||||
|
||||
dnl for NLS support. Call them in this order!
|
||||
dnl WITH_NLS is for the po files
|
||||
AM_KDE_WITH_NLS
|
||||
|
||||
KDE_USE_QT(3.2)
|
||||
AC_PATH_KDE
|
||||
dnl =======================================================
|
||||
dnl FILE: configure.in.in
|
||||
dnl =======================================================
|
||||
|
||||
#MIN_CONFIG(3.2)
|
||||
CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS"
|
||||
|
||||
if test "$build_arts" = "yes"; then
|
||||
AC_DEFINE(USE_ARTS, 1, [If we use arts volume])
|
||||
LIB_ARTS="-lartskde"
|
||||
AC_SUBST(LIB_ARTS)
|
||||
fi
|
||||
|
||||
KDE_INIT_DOXYGEN([The API Reference], [Version $VERSION])
|
||||
|
||||
dnl =======================================================
|
||||
dnl FILE: ./katapult/configure.in.in
|
||||
dnl =======================================================
|
||||
|
||||
#MIN_CONFIG(3.0.0)
|
||||
|
||||
dnl PACKAGE set before
|
||||
AC_C_BIGENDIAN
|
||||
AC_CHECK_KDEMAXPATHLEN
|
||||
|
||||
KDE_CREATE_SUBDIRSLIST
|
||||
AM_CONDITIONAL(doc_SUBDIR_included, test "x$doc_SUBDIR_included" = xyes)
|
||||
AM_CONDITIONAL(katapult_SUBDIR_included, test "x$katapult_SUBDIR_included" = xyes)
|
||||
AM_CONDITIONAL(po_SUBDIR_included, test "x$po_SUBDIR_included" = xyes)
|
||||
AC_CONFIG_FILES([ Makefile ])
|
||||
AC_CONFIG_FILES([ doc/Makefile ])
|
||||
AC_CONFIG_FILES([ doc/katapult/Makefile ])
|
||||
AC_CONFIG_FILES([ katapult/Makefile ])
|
||||
AC_CONFIG_FILES([ katapult/common/Makefile ])
|
||||
AC_CONFIG_FILES([ katapult/katapult/Makefile ])
|
||||
AC_CONFIG_FILES([ katapult/plugins/Makefile ])
|
||||
AC_CONFIG_FILES([ katapult/plugins/catalogs/Makefile ])
|
||||
AC_CONFIG_FILES([ katapult/plugins/catalogs/amarokcatalog/Makefile ])
|
||||
AC_CONFIG_FILES([ katapult/plugins/catalogs/bookmarkcatalog/Makefile ])
|
||||
AC_CONFIG_FILES([ katapult/plugins/catalogs/calculatorcatalog/Makefile ])
|
||||
AC_CONFIG_FILES([ katapult/plugins/catalogs/documentcatalog/Makefile ])
|
||||
AC_CONFIG_FILES([ katapult/plugins/catalogs/execcatalog/Makefile ])
|
||||
AC_CONFIG_FILES([ katapult/plugins/catalogs/googlecatalog/Makefile ])
|
||||
AC_CONFIG_FILES([ katapult/plugins/catalogs/programcatalog/Makefile ])
|
||||
AC_CONFIG_FILES([ katapult/plugins/catalogs/spellcatalog/Makefile ])
|
||||
AC_CONFIG_FILES([ katapult/plugins/display/Makefile ])
|
||||
AC_CONFIG_FILES([ katapult/plugins/display/glassdisplay/Makefile ])
|
||||
AC_CONFIG_FILES([ katapult/plugins/display/o2display/Makefile ])
|
||||
AC_CONFIG_FILES([ katapult/plugins/display/puredisplay/Makefile ])
|
||||
AC_CONFIG_FILES([ po/Makefile ])
|
||||
AC_CONFIG_FILES([ po/ar/Makefile ])
|
||||
AC_CONFIG_FILES([ po/bg/Makefile ])
|
||||
AC_CONFIG_FILES([ po/br/Makefile ])
|
||||
AC_CONFIG_FILES([ po/ca/Makefile ])
|
||||
AC_CONFIG_FILES([ po/cs/Makefile ])
|
||||
AC_CONFIG_FILES([ po/da/Makefile ])
|
||||
AC_CONFIG_FILES([ po/de/Makefile ])
|
||||
AC_CONFIG_FILES([ po/el/Makefile ])
|
||||
AC_CONFIG_FILES([ po/es/Makefile ])
|
||||
AC_CONFIG_FILES([ po/et/Makefile ])
|
||||
AC_CONFIG_FILES([ po/fr/Makefile ])
|
||||
AC_CONFIG_FILES([ po/ga/Makefile ])
|
||||
AC_CONFIG_FILES([ po/gl/Makefile ])
|
||||
AC_CONFIG_FILES([ po/hu/Makefile ])
|
||||
AC_CONFIG_FILES([ po/it/Makefile ])
|
||||
AC_CONFIG_FILES([ po/ja/Makefile ])
|
||||
AC_CONFIG_FILES([ po/nb/Makefile ])
|
||||
AC_CONFIG_FILES([ po/nl/Makefile ])
|
||||
AC_CONFIG_FILES([ po/pl/Makefile ])
|
||||
AC_CONFIG_FILES([ po/pt/Makefile ])
|
||||
AC_CONFIG_FILES([ po/pt_BR/Makefile ])
|
||||
AC_CONFIG_FILES([ po/ru/Makefile ])
|
||||
AC_CONFIG_FILES([ po/sk/Makefile ])
|
||||
AC_CONFIG_FILES([ po/sv/Makefile ])
|
||||
AC_CONFIG_FILES([ po/tr/Makefile ])
|
||||
AC_CONFIG_FILES([ po/uk/Makefile ])
|
||||
AC_OUTPUT
|
||||
dnl Put here things to be done at the very end - telling users
|
||||
dnl about additional packages to install. Better yet is giving
|
||||
dnl each project / subdr its own configure.in.bot.
|
||||
|
||||
# Check if KDE_SET_PREFIX was called, and --prefix was passed to configure
|
||||
if test -n "$kde_libs_prefix" -a -n "$given_prefix"; then
|
||||
# And if so, warn when they don't match
|
||||
if test "$kde_libs_prefix" != "$given_prefix"; then
|
||||
# And if kde doesn't know about the prefix yet
|
||||
echo ":"`kde-config --path exe`":" | grep ":$given_prefix/bin/:" 2>&1 >/dev/null
|
||||
if test $? -ne 0; then
|
||||
echo ""
|
||||
echo "Warning: you chose to install this package in $given_prefix,"
|
||||
echo "but KDE was found in $kde_libs_prefix."
|
||||
echo "For this to work, you will need to tell KDE about the new prefix, by ensuring"
|
||||
echo "that KDEDIRS contains it, e.g. export KDEDIRS=$given_prefix:$kde_libs_prefix"
|
||||
echo "Then restart KDE."
|
||||
echo ""
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
|
||||
echo ""
|
||||
echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility"
|
||||
echo "was not included. Therefore, GCC symbol visibility support remains disabled."
|
||||
echo ""
|
||||
echo "For better performance, consider including the Qt visibility supporting patch"
|
||||
echo "located at:"
|
||||
echo ""
|
||||
echo "http://bugs.kde.org/show_bug.cgi?id=109386"
|
||||
echo ""
|
||||
echo "and recompile all of Qt and KDE. Note, this is entirely optional and"
|
||||
echo "everything will continue to work just fine without it."
|
||||
echo ""
|
||||
fi
|
||||
|
||||
if test "$all_tests" = "bad"; then
|
||||
if test ! "$cache_file" = "/dev/null"; then
|
||||
echo ""
|
||||
echo "Please remove the file $cache_file after changing your setup"
|
||||
echo "so that configure will find the changes next time."
|
||||
echo ""
|
||||
fi
|
||||
else
|
||||
echo ""
|
||||
echo "Good - your configure finished. Start make now"
|
||||
echo ""
|
||||
fi
|
@ -0,0 +1,4 @@
|
||||
dnl Put here things to be done at the very end - telling users
|
||||
dnl about additional packages to install. Better yet is giving
|
||||
dnl each project / subdr its own configure.in.bot.
|
||||
|
@ -0,0 +1,11 @@
|
||||
#MIN_CONFIG(3.2)
|
||||
CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS"
|
||||
|
||||
if test "$build_arts" = "yes"; then
|
||||
AC_DEFINE(USE_ARTS, 1, [If we use arts volume])
|
||||
LIB_ARTS="-lartskde"
|
||||
AC_SUBST(LIB_ARTS)
|
||||
fi
|
||||
|
||||
KDE_INIT_DOXYGEN([The API Reference], [Version $VERSION])
|
||||
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = en
|
||||
KDE_DOCS = AUTO
|
||||
SUBDIRS = $(AUTODIRS)
|
@ -0,0 +1,3 @@
|
||||
|
||||
KDE_LANG = en
|
||||
KDE_DOCS = katapult
|
@ -0,0 +1,495 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
|
||||
<!-- Define an entity for your application if it is not part of KDE
|
||||
CVS -->
|
||||
<!ENTITY katapult "<application>Katapult</application>">
|
||||
<!ENTITY kappname "&katapult;">
|
||||
<!ENTITY package "extragear">
|
||||
<!ENTITY % addindex "IGNORE">
|
||||
<!ENTITY % English "INCLUDE">
|
||||
]>
|
||||
|
||||
<book lang="&language;">
|
||||
<bookinfo>
|
||||
<title>The &katapult; Handbook</title>
|
||||
|
||||
<authorgroup>
|
||||
<author>
|
||||
<firstname>Richard</firstname>
|
||||
<othername>A.</othername>
|
||||
<surname>Johnson</surname>
|
||||
<affiliation><address><email>nixternal@ubuntu.com</email></address></affiliation>
|
||||
</author>
|
||||
</authorgroup>
|
||||
|
||||
<!-- TRANS:ROLES_OF_TRANSLATORS -->
|
||||
|
||||
<copyright>
|
||||
<year>2005</year>
|
||||
<holder>Martin Meredith</holder>
|
||||
</copyright>
|
||||
|
||||
<legalnotice>&FDLNotice;</legalnotice>
|
||||
|
||||
<date>2006-11-17</date>
|
||||
<releaseinfo>1.00.00</releaseinfo>
|
||||
|
||||
<abstract>
|
||||
<para>
|
||||
&katapult; is an application specially designed to provide quick and easy access to applications, bookmarks, music and more.
|
||||
</para>
|
||||
</abstract>
|
||||
|
||||
<!-- This is a set of Keywords for indexing by search engines.
|
||||
Please at least include KDE, the KDE package it is in, the name
|
||||
of your application, and a few relevant keywords. -->
|
||||
|
||||
<keywordset>
|
||||
<keyword>KDE</keyword>
|
||||
<keyword>extragear</keyword>
|
||||
<keyword>Katapult</keyword>
|
||||
<keyword>application launcher</keyword>
|
||||
</keywordset>
|
||||
|
||||
</bookinfo>
|
||||
|
||||
<chapter id="introduction">
|
||||
<title>Introduction</title>
|
||||
<para>
|
||||
&katapult; is a &kde; application that provides you with faster and easier access to your applications, bookmarks, and more. It is plugin-based and can launch anything it has a plugin for. Its plugin-driven appearance is completely customizable. &katapult; was inspired by <application>Quicksilver</application> for OS X, and it is written in C++.
|
||||
</para>
|
||||
</chapter>
|
||||
|
||||
<chapter id="using-kapp">
|
||||
<title>Using &katapult;</title>
|
||||
<sect1 id="starting">
|
||||
<title>Starting &katapult;</title>
|
||||
<para>
|
||||
&katapult;, if not started automatically upon booting into &kde;, can simply be started by
|
||||
<keycombo>
|
||||
<keycap>Alt</keycap>
|
||||
<keycap>F2</keycap>
|
||||
</keycombo>
|
||||
. When the run dialog box opens, type <command>katapult</command> and press <keycap>Enter</keycap>. If &katapult; started successfully, you will receive a pop-up message with instructions on how to use the launcher.
|
||||
<screenshot>
|
||||
<screeninfo>Here's a screenshot of the &katapult; start-up message</screeninfo>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata fileref="katapult0.png" format="PNG"/>
|
||||
</imageobject>
|
||||
<textobject>
|
||||
<phrase>Screenshot</phrase>
|
||||
</textobject>
|
||||
</mediaobject>
|
||||
</screenshot>
|
||||
</para>
|
||||
</sect1>
|
||||
|
||||
<sect1 id="launching">
|
||||
<title>Launching &katapult;</title>
|
||||
<para>
|
||||
To launch &katapult;, simply press
|
||||
<keycombo>
|
||||
<keycap>Alt</keycap>
|
||||
<keycap>Space</keycap>
|
||||
</keycombo>
|
||||
. This will pop up the &katapult; launcher, allowing you to type in the name of the application you wish to launch.
|
||||
<screenshot>
|
||||
<screeninfo>Here's a screenshot of the &katapult; launcher</screeninfo>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata fileref="katapult1.png" format="PNG"/>
|
||||
</imageobject>
|
||||
<textobject>
|
||||
<phrase>Screenshot</phrase>
|
||||
</textobject>
|
||||
</mediaobject>
|
||||
</screenshot>
|
||||
</para>
|
||||
</sect1>
|
||||
|
||||
<sect1 id="katapult-features">
|
||||
<title>More &katapult; features</title>
|
||||
<para>
|
||||
&katapult; allows access to the following:
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
All applications listed in <guimenu>KMenu</guimenu>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Entire <application>Amarok</application> playlist
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
All of you bookmarks (Automatic Mozilla import, or manual import of file)
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Use &katapult; as a calculator
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Use &katapult; to see if you are spelling a word correctly
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Easy access to all of your documents in the home directory
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
</sect1>
|
||||
</chapter>
|
||||
|
||||
<chapter id="commands">
|
||||
<title>Command Reference</title>
|
||||
<sect1 id="katapult-mainwindow">
|
||||
<title>The main &katapult; window</title>
|
||||
<para>
|
||||
When the main &katapult; window opens, simply start typing the application you want to start, and then press <keycap>Enter</keycap> to launch that application. Example, to start &konqueror;, you would do:
|
||||
<keycombo>
|
||||
<keycap>Alt</keycap>
|
||||
<keycap>Space</keycap>
|
||||
</keycombo>
|
||||
Then start typing &konqueror; Once you have typed in at least <command>konq</command>, you will notice the Konqueror title and icon appear in the main window. Once you see this, simply press <keycap>Enter</keycap>, and &konqueror; will now open.
|
||||
<screenshot>
|
||||
<screeninfo>Here's a screenshot of &katapult; starting &konqueror;</screeninfo>
|
||||
<mediaobject>
|
||||
<imageobject>
|
||||
<imagedata fileref="katapult2.png" format="PNG"/>
|
||||
</imageobject>
|
||||
<textobject>
|
||||
<phrase>Screenshot</phrase>
|
||||
</textobject>
|
||||
</mediaobject>
|
||||
</screenshot>
|
||||
</para>
|
||||
|
||||
<sect2>
|
||||
<title>Configuration Dialog</title>
|
||||
<para>
|
||||
In normal cases &katapult; shows up in the system tray. Simply <mousebutton>right</mousebutton> click and choose <guimenuitem>Configure</guimenuitem>. This will allow you to change &katapult;'s default behavior and appearance.
|
||||
</para>
|
||||
<para>
|
||||
If &katapult; does not show up in the system tray, simply press
|
||||
<keycombo>
|
||||
<keycap>Alt</keycap>
|
||||
<keycap>Space</keycap>
|
||||
</keycombo>
|
||||
. Once &katapult; launches, then press
|
||||
<keycombo>
|
||||
<keycap>Ctrl</keycap>
|
||||
<keycap>C</keycap>
|
||||
</keycombo>
|
||||
. From here you have the options to:
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
<guimenuitem>Configure Global Shortcuts...</guimenuitem> - This will allow you to change the
|
||||
<keycombo>
|
||||
<keycap>Alt</keycap>
|
||||
<keycap>Space</keycap>
|
||||
</keycombo>
|
||||
shortcut to one you decide to use.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<guimenuitem>Configure Shortcuts...</guimenuitem> - This will allow you to change all shortcuts involved with the &katapult; launcher
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<guimenuitem>Configure Katapult...</guimenuitem> - This will allow you to to change each individual catalog as well as &katapult; itself to suit your needs.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<guimenuitem>About Katapult</guimenuitem> - This will open the about dialog displaying information about &katapult;, the &katapult; authors, and the &katapult; license agreement.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<guimenuitem>Quit</guimenuitem> - This will shut down &katapult;.
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
</sect2>
|
||||
</sect1>
|
||||
</chapter>
|
||||
|
||||
<chapter id="catalog-creation">
|
||||
<title>Creating a Catalog (Plugin)</title>
|
||||
<sect1 id="plugin-intro">
|
||||
<title>Introduction</title>
|
||||
<sect2 id="plugin-intro-purpose">
|
||||
<title>Purpose</title>
|
||||
<para>
|
||||
This section of the documentation is intended for those people looking to develop catalogs (plugins) for &katapult;. It will approach this as a walk-through for creating a text display catalog.
|
||||
</para>
|
||||
</sect2>
|
||||
<sect2 id="plugin-intro-assumptions">
|
||||
<title>Assumptions</title>
|
||||
<para>
|
||||
It is assumed that you are running &kde; 3.5 or greater. Additionally, <application>KDevelop</application> will be the primary coding environment.
|
||||
</para>
|
||||
</sect2>
|
||||
<sect2 id="plugin-intro-overview">
|
||||
<title>Overview</title>
|
||||
<para>
|
||||
What you will be doing is actually something simple: you are making a library for KDE. This library defines a "Service" that is provided for &katapult; and can therefor be used and called by &katapult;. All of your code will be compiled and then combined into a library (.lo, .so) by <application>KDevelop</application>. It will be added into the $KDE_LIBS/kde3/ directory, and a .desktop "service definition" file will be placed in $KDE/share/services/ so that &katapult; can load your plugin.
|
||||
</para>
|
||||
</sect2>
|
||||
</sect1>
|
||||
<!--
|
||||
<sect1 id="understanding-source">
|
||||
<title>Understanding the source</title>
|
||||
<para>
|
||||
Enter information here
|
||||
</para>
|
||||
</sect1>
|
||||
-->
|
||||
<sect1 id="plugin-structure">
|
||||
<title>Catalog Structure</title>
|
||||
<sect2 id="plugin-structure-common">
|
||||
<title>Common Directory</title>
|
||||
<sect3>
|
||||
<title>libkatapult.la</title>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
ActionRegistry
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
KatapultAction - events
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
KatapultItem - the text that is entered
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</sect3>
|
||||
<sect3>
|
||||
<title>libkatapultcatalog.la</title>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
CachedCatalog
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
KatapultCatalog
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Match
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</sect3>
|
||||
<sect3>
|
||||
<title>libkatapultdisplay.la</title>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
ImageDisplay
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
ImageDisplaySettings
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
KatapultDisplay
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</sect3>
|
||||
</sect2>
|
||||
<sect2 id="plugin-structure-catalogs">
|
||||
<title>Plugin Catalog Structure</title>
|
||||
<para>
|
||||
This is where your catalog's directory will go. The format is <name>catalog, where <name> is replaced by your catalog's name. You may want to copy over some of the files from one of the standard catalogs into your new directory so that you have a starting point or something to play with.
|
||||
</para>
|
||||
</sect2>
|
||||
</sect1>
|
||||
<!--
|
||||
<sect1 id="starting-to-code">
|
||||
<title>Starting to code</title>
|
||||
<para>
|
||||
Enter information here
|
||||
</para>
|
||||
<sect2 id="starting-to-code-kdevsetup">
|
||||
<title>Setting up &kdevelop;</title>
|
||||
<para>
|
||||
Enter information here
|
||||
</para>
|
||||
</sect2>
|
||||
</sect1>
|
||||
-->
|
||||
</chapter>
|
||||
|
||||
<chapter id="credits">
|
||||
<title>Credits and License</title>
|
||||
<para>
|
||||
&katapult;
|
||||
</para>
|
||||
<para>
|
||||
Program copyright 2005, the Katapult Development Team <email>dev@thekatapult.org.uk</email>
|
||||
</para>
|
||||
<para>
|
||||
Developers:
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
Martin Meredith <email>mez@thekatapult.org.uk</email>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Bastian Holst <email>oculus@thekatapult.org.uk</email>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Tobi Vollegregt <email>tobi@thekatapult.org.uk</email>
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
<para>
|
||||
Contributors:
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
Richard Johnson <email>nixternal@ubuntu.com</email>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Jean-Remy Falleri <email>jr.falleri@gmail.com</email>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Lee Olson <email>clearbeast@gmail.com</email>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
Jonathan Riddell <email>jr@jriddell.org</email>
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
<para>
|
||||
Original Author:
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
Joe Ferris <email>jferris@optimistictech.com</email>
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
<para>
|
||||
Documentation Copyright © 2006, Richard Johnson <email>nixternal@ubuntu.com</email>
|
||||
</para>
|
||||
|
||||
<!-- TRANS:CREDIT_FOR_TRANSLATORS -->
|
||||
|
||||
&underFDL; <!-- FDL: do not remove -->
|
||||
&underGPL;
|
||||
|
||||
</chapter>
|
||||
|
||||
<appendix id="installation">
|
||||
<title>Installation</title>
|
||||
<sect1 id="getting-kapp">
|
||||
<title>How to obtain &katapult;</title>
|
||||
<sect2>
|
||||
<title>KDE Subversion</title>
|
||||
&install.intro.documentation;
|
||||
</sect2>
|
||||
<sect2>
|
||||
<title>Distribution & Source Packages</title>
|
||||
<para>
|
||||
Available distribution packages and source packages can be obtained through <ulink url="http://wiki.thekatapult.org.uk/Download">http://wiki.thekatapult.org.uk/Download</ulink>.
|
||||
</para>
|
||||
</sect2>
|
||||
</sect1>
|
||||
<sect1 id="requirements">
|
||||
<title>Requirements</title>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
&kde; 3.4.x and above
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
gcc 3.3 or higher
|
||||
</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</sect1>
|
||||
<sect1 id="compilation">
|
||||
<title>Compilation and Installation</title>
|
||||
<note>
|
||||
<title>Source Package Instructions Only</title>
|
||||
<para>
|
||||
Note the following instructions are for the source package only. If you are installing a distribution package, please follow the instructions for that distribution.
|
||||
</para>
|
||||
</note>
|
||||
<sect2>
|
||||
<title>Extracting the source</title>
|
||||
<para>
|
||||
Open a terminal (&konsole;), and navigate to the directory in which you saved the source. Once there, type <command>tar -zxf katapult_<version>.orig.tar.gz</command>, and then press <keycap>Enter</keycap>.
|
||||
</para>
|
||||
</sect2>
|
||||
<sect2>
|
||||
<title>Compiling</title>
|
||||
<para>
|
||||
At the command prompt, in the terminal (&konsole;), type <command>./configure</command> and then press <keycap>Enter</keycap>. When that finishes, at the command prompt, type <command>make</command> and press <keycap>Enter</keycap>.
|
||||
</para>
|
||||
</sect2>
|
||||
<sect2>
|
||||
<title>Installing</title>
|
||||
<para>
|
||||
At the command prompt, in the terminal (&konsole;), type <command>sudo make install</command> and press <keycap>Enter</keycap>. If you are asked for a password, enter you username's password and press <keycap>Enter</keycap>.
|
||||
</para>
|
||||
</sect2>
|
||||
</sect1>
|
||||
</appendix>
|
||||
|
||||
&documentation.index;
|
||||
</book>
|
||||
|
||||
<!--
|
||||
Local Variables:
|
||||
mode: xml
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-general-insert-case:lower
|
||||
sgml-indent-step:0
|
||||
sgml-indent-data:nil
|
||||
End:
|
||||
|
||||
vim:tabstop=2:shiftwidth=2:expandtab
|
||||
kate: space-indent on; indent-width 2; tab-width 2; indent-mode none;
|
||||
-->
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,397 @@
|
||||
GNU Free Documentation License
|
||||
Version 1.2, November 2002
|
||||
|
||||
|
||||
Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
|
||||
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
|
||||
0. PREAMBLE
|
||||
|
||||
The purpose of this License is to make a manual, textbook, or other
|
||||
functional and useful document "free" in the sense of freedom: to
|
||||
assure everyone the effective freedom to copy and redistribute it,
|
||||
with or without modifying it, either commercially or noncommercially.
|
||||
Secondarily, this License preserves for the author and publisher a way
|
||||
to get credit for their work, while not being considered responsible
|
||||
for modifications made by others.
|
||||
|
||||
This License is a kind of "copyleft", which means that derivative
|
||||
works of the document must themselves be free in the same sense. It
|
||||
complements the GNU General Public License, which is a copyleft
|
||||
license designed for free software.
|
||||
|
||||
We have designed this License in order to use it for manuals for free
|
||||
software, because free software needs free documentation: a free
|
||||
program should come with manuals providing the same freedoms that the
|
||||
software does. But this License is not limited to software manuals;
|
||||
it can be used for any textual work, regardless of subject matter or
|
||||
whether it is published as a printed book. We recommend this License
|
||||
principally for works whose purpose is instruction or reference.
|
||||
|
||||
|
||||
1. APPLICABILITY AND DEFINITIONS
|
||||
|
||||
This License applies to any manual or other work, in any medium, that
|
||||
contains a notice placed by the copyright holder saying it can be
|
||||
distributed under the terms of this License. Such a notice grants a
|
||||
world-wide, royalty-free license, unlimited in duration, to use that
|
||||
work under the conditions stated herein. The "Document", below,
|
||||
refers to any such manual or work. Any member of the public is a
|
||||
licensee, and is addressed as "you". You accept the license if you
|
||||
copy, modify or distribute the work in a way requiring permission
|
||||
under copyright law.
|
||||
|
||||
A "Modified Version" of the Document means any work containing the
|
||||
Document or a portion of it, either copied verbatim, or with
|
||||
modifications and/or translated into another language.
|
||||
|
||||
A "Secondary Section" is a named appendix or a front-matter section of
|
||||
the Document that deals exclusively with the relationship of the
|
||||
publishers or authors of the Document to the Document's overall subject
|
||||
(or to related matters) and contains nothing that could fall directly
|
||||
within that overall subject. (Thus, if the Document is in part a
|
||||
textbook of mathematics, a Secondary Section may not explain any
|
||||
mathematics.) The relationship could be a matter of historical
|
||||
connection with the subject or with related matters, or of legal,
|
||||
commercial, philosophical, ethical or political position regarding
|
||||
them.
|
||||
|
||||
The "Invariant Sections" are certain Secondary Sections whose titles
|
||||
are designated, as being those of Invariant Sections, in the notice
|
||||
that says that the Document is released under this License. If a
|
||||
section does not fit the above definition of Secondary then it is not
|
||||
allowed to be designated as Invariant. The Document may contain zero
|
||||
Invariant Sections. If the Document does not identify any Invariant
|
||||
Sections then there are none.
|
||||
|
||||
The "Cover Texts" are certain short passages of text that are listed,
|
||||
as Front-Cover Texts or Back-Cover Texts, in the notice that says that
|
||||
the Document is released under this License. A Front-Cover Text may
|
||||
be at most 5 words, and a Back-Cover Text may be at most 25 words.
|
||||
|
||||
A "Transparent" copy of the Document means a machine-readable copy,
|
||||
represented in a format whose specification is available to the
|
||||
general public, that is suitable for revising the document
|
||||
straightforwardly with generic text editors or (for images composed of
|
||||
pixels) generic paint programs or (for drawings) some widely available
|
||||
drawing editor, and that is suitable for input to text formatters or
|
||||
for automatic translation to a variety of formats suitable for input
|
||||
to text formatters. A copy made in an otherwise Transparent file
|
||||
format whose markup, or absence of markup, has been arranged to thwart
|
||||
or discourage subsequent modification by readers is not Transparent.
|
||||
An image format is not Transparent if used for any substantial amount
|
||||
of text. A copy that is not "Transparent" is called "Opaque".
|
||||
|
||||
Examples of suitable formats for Transparent copies include plain
|
||||
ASCII without markup, Texinfo input format, LaTeX input format, SGML
|
||||
or XML using a publicly available DTD, and standard-conforming simple
|
||||
HTML, PostScript or PDF designed for human modification. Examples of
|
||||
transparent image formats include PNG, XCF and JPG. Opaque formats
|
||||
include proprietary formats that can be read and edited only by
|
||||
proprietary word processors, SGML or XML for which the DTD and/or
|
||||
processing tools are not generally available, and the
|
||||
machine-generated HTML, PostScript or PDF produced by some word
|
||||
processors for output purposes only.
|
||||
|
||||
The "Title Page" means, for a printed book, the title page itself,
|
||||
plus such following pages as are needed to hold, legibly, the material
|
||||
this License requires to appear in the title page. For works in
|
||||
formats which do not have any title page as such, "Title Page" means
|
||||
the text near the most prominent appearance of the work's title,
|
||||
preceding the beginning of the body of the text.
|
||||
|
||||
A section "Entitled XYZ" means a named subunit of the Document whose
|
||||
title either is precisely XYZ or contains XYZ in parentheses following
|
||||
text that translates XYZ in another language. (Here XYZ stands for a
|
||||
specific section name mentioned below, such as "Acknowledgements",
|
||||
"Dedications", "Endorsements", or "History".) To "Preserve the Title"
|
||||
of such a section when you modify the Document means that it remains a
|
||||
section "Entitled XYZ" according to this definition.
|
||||
|
||||
The Document may include Warranty Disclaimers next to the notice which
|
||||
states that this License applies to the Document. These Warranty
|
||||
Disclaimers are considered to be included by reference in this
|
||||
License, but only as regards disclaiming warranties: any other
|
||||
implication that these Warranty Disclaimers may have is void and has
|
||||
no effect on the meaning of this License.
|
||||
|
||||
|
||||
2. VERBATIM COPYING
|
||||
|
||||
You may copy and distribute the Document in any medium, either
|
||||
commercially or noncommercially, provided that this License, the
|
||||
copyright notices, and the license notice saying this License applies
|
||||
to the Document are reproduced in all copies, and that you add no other
|
||||
conditions whatsoever to those of this License. You may not use
|
||||
technical measures to obstruct or control the reading or further
|
||||
copying of the copies you make or distribute. However, you may accept
|
||||
compensation in exchange for copies. If you distribute a large enough
|
||||
number of copies you must also follow the conditions in section 3.
|
||||
|
||||
You may also lend copies, under the same conditions stated above, and
|
||||
you may publicly display copies.
|
||||
|
||||
|
||||
3. COPYING IN QUANTITY
|
||||
|
||||
If you publish printed copies (or copies in media that commonly have
|
||||
printed covers) of the Document, numbering more than 100, and the
|
||||
Document's license notice requires Cover Texts, you must enclose the
|
||||
copies in covers that carry, clearly and legibly, all these Cover
|
||||
Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
|
||||
the back cover. Both covers must also clearly and legibly identify
|
||||
you as the publisher of these copies. The front cover must present
|
||||
the full title with all words of the title equally prominent and
|
||||
visible. You may add other material on the covers in addition.
|
||||
Copying with changes limited to the covers, as long as they preserve
|
||||
the title of the Document and satisfy these conditions, can be treated
|
||||
as verbatim copying in other respects.
|
||||
|
||||
If the required texts for either cover are too voluminous to fit
|
||||
legibly, you should put the first ones listed (as many as fit
|
||||
reasonably) on the actual cover, and continue the rest onto adjacent
|
||||
pages.
|
||||
|
||||
If you publish or distribute Opaque copies of the Document numbering
|
||||
more than 100, you must either include a machine-readable Transparent
|
||||
copy along with each Opaque copy, or state in or with each Opaque copy
|
||||
a computer-network location from which the general network-using
|
||||
public has access to download using public-standard network protocols
|
||||
a complete Transparent copy of the Document, free of added material.
|
||||
If you use the latter option, you must take reasonably prudent steps,
|
||||
when you begin distribution of Opaque copies in quantity, to ensure
|
||||
that this Transparent copy will remain thus accessible at the stated
|
||||
location until at least one year after the last time you distribute an
|
||||
Opaque copy (directly or through your agents or retailers) of that
|
||||
edition to the public.
|
||||
|
||||
It is requested, but not required, that you contact the authors of the
|
||||
Document well before redistributing any large number of copies, to give
|
||||
them a chance to provide you with an updated version of the Document.
|
||||
|
||||
|
||||
4. MODIFICATIONS
|
||||
|
||||
You may copy and distribute a Modified Version of the Document under
|
||||
the conditions of sections 2 and 3 above, provided that you release
|
||||
the Modified Version under precisely this License, with the Modified
|
||||
Version filling the role of the Document, thus licensing distribution
|
||||
and modification of the Modified Version to whoever possesses a copy
|
||||
of it. In addition, you must do these things in the Modified Version:
|
||||
|
||||
A. Use in the Title Page (and on the covers, if any) a title distinct
|
||||
from that of the Document, and from those of previous versions
|
||||
(which should, if there were any, be listed in the History section
|
||||
of the Document). You may use the same title as a previous version
|
||||
if the original publisher of that version gives permission.
|
||||
B. List on the Title Page, as authors, one or more persons or entities
|
||||
responsible for authorship of the modifications in the Modified
|
||||
Version, together with at least five of the principal authors of the
|
||||
Document (all of its principal authors, if it has fewer than five),
|
||||
unless they release you from this requirement.
|
||||
C. State on the Title page the name of the publisher of the
|
||||
Modified Version, as the publisher.
|
||||
D. Preserve all the copyright notices of the Document.
|
||||
E. Add an appropriate copyright notice for your modifications
|
||||
adjacent to the other copyright notices.
|
||||
F. Include, immediately after the copyright notices, a license notice
|
||||
giving the public permission to use the Modified Version under the
|
||||
terms of this License, in the form shown in the Addendum below.
|
||||
G. Preserve in that license notice the full lists of Invariant Sections
|
||||
and required Cover Texts given in the Document's license notice.
|
||||
H. Include an unaltered copy of this License.
|
||||
I. Preserve the section Entitled "History", Preserve its Title, and add
|
||||
to it an item stating at least the title, year, new authors, and
|
||||
publisher of the Modified Version as given on the Title Page. If
|
||||
there is no section Entitled "History" in the Document, create one
|
||||
stating the title, year, authors, and publisher of the Document as
|
||||
given on its Title Page, then add an item describing the Modified
|
||||
Version as stated in the previous sentence.
|
||||
J. Preserve the network location, if any, given in the Document for
|
||||
public access to a Transparent copy of the Document, and likewise
|
||||
the network locations given in the Document for previous versions
|
||||
it was based on. These may be placed in the "History" section.
|
||||
You may omit a network location for a work that was published at
|
||||
least four years before the Document itself, or if the original
|
||||
publisher of the version it refers to gives permission.
|
||||
K. For any section Entitled "Acknowledgements" or "Dedications",
|
||||
Preserve the Title of the section, and preserve in the section all
|
||||
the substance and tone of each of the contributor acknowledgements
|
||||
and/or dedications given therein.
|
||||
L. Preserve all the Invariant Sections of the Document,
|
||||
unaltered in their text and in their titles. Section numbers
|
||||
or the equivalent are not considered part of the section titles.
|
||||
M. Delete any section Entitled "Endorsements". Such a section
|
||||
may not be included in the Modified Version.
|
||||
N. Do not retitle any existing section to be Entitled "Endorsements"
|
||||
or to conflict in title with any Invariant Section.
|
||||
O. Preserve any Warranty Disclaimers.
|
||||
|
||||
If the Modified Version includes new front-matter sections or
|
||||
appendices that qualify as Secondary Sections and contain no material
|
||||
copied from the Document, you may at your option designate some or all
|
||||
of these sections as invariant. To do this, add their titles to the
|
||||
list of Invariant Sections in the Modified Version's license notice.
|
||||
These titles must be distinct from any other section titles.
|
||||
|
||||
You may add a section Entitled "Endorsements", provided it contains
|
||||
nothing but endorsements of your Modified Version by various
|
||||
parties--for example, statements of peer review or that the text has
|
||||
been approved by an organization as the authoritative definition of a
|
||||
standard.
|
||||
|
||||
You may add a passage of up to five words as a Front-Cover Text, and a
|
||||
passage of up to 25 words as a Back-Cover Text, to the end of the list
|
||||
of Cover Texts in the Modified Version. Only one passage of
|
||||
Front-Cover Text and one of Back-Cover Text may be added by (or
|
||||
through arrangements made by) any one entity. If the Document already
|
||||
includes a cover text for the same cover, previously added by you or
|
||||
by arrangement made by the same entity you are acting on behalf of,
|
||||
you may not add another; but you may replace the old one, on explicit
|
||||
permission from the previous publisher that added the old one.
|
||||
|
||||
The author(s) and publisher(s) of the Document do not by this License
|
||||
give permission to use their names for publicity for or to assert or
|
||||
imply endorsement of any Modified Version.
|
||||
|
||||
|
||||
5. COMBINING DOCUMENTS
|
||||
|
||||
You may combine the Document with other documents released under this
|
||||
License, under the terms defined in section 4 above for modified
|
||||
versions, provided that you include in the combination all of the
|
||||
Invariant Sections of all of the original documents, unmodified, and
|
||||
list them all as Invariant Sections of your combined work in its
|
||||
license notice, and that you preserve all their Warranty Disclaimers.
|
||||
|
||||
The combined work need only contain one copy of this License, and
|
||||
multiple identical Invariant Sections may be replaced with a single
|
||||
copy. If there are multiple Invariant Sections with the same name but
|
||||
different contents, make the title of each such section unique by
|
||||
adding at the end of it, in parentheses, the name of the original
|
||||
author or publisher of that section if known, or else a unique number.
|
||||
Make the same adjustment to the section titles in the list of
|
||||
Invariant Sections in the license notice of the combined work.
|
||||
|
||||
In the combination, you must combine any sections Entitled "History"
|
||||
in the various original documents, forming one section Entitled
|
||||
"History"; likewise combine any sections Entitled "Acknowledgements",
|
||||
and any sections Entitled "Dedications". You must delete all sections
|
||||
Entitled "Endorsements".
|
||||
|
||||
|
||||
6. COLLECTIONS OF DOCUMENTS
|
||||
|
||||
You may make a collection consisting of the Document and other documents
|
||||
released under this License, and replace the individual copies of this
|
||||
License in the various documents with a single copy that is included in
|
||||
the collection, provided that you follow the rules of this License for
|
||||
verbatim copying of each of the documents in all other respects.
|
||||
|
||||
You may extract a single document from such a collection, and distribute
|
||||
it individually under this License, provided you insert a copy of this
|
||||
License into the extracted document, and follow this License in all
|
||||
other respects regarding verbatim copying of that document.
|
||||
|
||||
|
||||
7. AGGREGATION WITH INDEPENDENT WORKS
|
||||
|
||||
A compilation of the Document or its derivatives with other separate
|
||||
and independent documents or works, in or on a volume of a storage or
|
||||
distribution medium, is called an "aggregate" if the copyright
|
||||
resulting from the compilation is not used to limit the legal rights
|
||||
of the compilation's users beyond what the individual works permit.
|
||||
When the Document is included in an aggregate, this License does not
|
||||
apply to the other works in the aggregate which are not themselves
|
||||
derivative works of the Document.
|
||||
|
||||
If the Cover Text requirement of section 3 is applicable to these
|
||||
copies of the Document, then if the Document is less than one half of
|
||||
the entire aggregate, the Document's Cover Texts may be placed on
|
||||
covers that bracket the Document within the aggregate, or the
|
||||
electronic equivalent of covers if the Document is in electronic form.
|
||||
Otherwise they must appear on printed covers that bracket the whole
|
||||
aggregate.
|
||||
|
||||
|
||||
8. TRANSLATION
|
||||
|
||||
Translation is considered a kind of modification, so you may
|
||||
distribute translations of the Document under the terms of section 4.
|
||||
Replacing Invariant Sections with translations requires special
|
||||
permission from their copyright holders, but you may include
|
||||
translations of some or all Invariant Sections in addition to the
|
||||
original versions of these Invariant Sections. You may include a
|
||||
translation of this License, and all the license notices in the
|
||||
Document, and any Warranty Disclaimers, provided that you also include
|
||||
the original English version of this License and the original versions
|
||||
of those notices and disclaimers. In case of a disagreement between
|
||||
the translation and the original version of this License or a notice
|
||||
or disclaimer, the original version will prevail.
|
||||
|
||||
If a section in the Document is Entitled "Acknowledgements",
|
||||
"Dedications", or "History", the requirement (section 4) to Preserve
|
||||
its Title (section 1) will typically require changing the actual
|
||||
title.
|
||||
|
||||
|
||||
9. TERMINATION
|
||||
|
||||
You may not copy, modify, sublicense, or distribute the Document except
|
||||
as expressly provided for under this License. Any other attempt to
|
||||
copy, modify, sublicense or distribute the Document is void, and will
|
||||
automatically terminate your rights under this License. However,
|
||||
parties who have received copies, or rights, from you under this
|
||||
License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
|
||||
10. FUTURE REVISIONS OF THIS LICENSE
|
||||
|
||||
The Free Software Foundation may publish new, revised versions
|
||||
of the GNU Free Documentation License from time to time. Such new
|
||||
versions will be similar in spirit to the present version, but may
|
||||
differ in detail to address new problems or concerns. See
|
||||
http://www.gnu.org/copyleft/.
|
||||
|
||||
Each version of the License is given a distinguishing version number.
|
||||
If the Document specifies that a particular numbered version of this
|
||||
License "or any later version" applies to it, you have the option of
|
||||
following the terms and conditions either of that specified version or
|
||||
of any later version that has been published (not as a draft) by the
|
||||
Free Software Foundation. If the Document does not specify a version
|
||||
number of this License, you may choose any version ever published (not
|
||||
as a draft) by the Free Software Foundation.
|
||||
|
||||
|
||||
ADDENDUM: How to use this License for your documents
|
||||
|
||||
To use this License in a document you have written, include a copy of
|
||||
the License in the document and put the following copyright and
|
||||
license notices just after the title page:
|
||||
|
||||
Copyright (c) YEAR YOUR NAME.
|
||||
Permission is granted to copy, distribute and/or modify this document
|
||||
under the terms of the GNU Free Documentation License, Version 1.2
|
||||
or any later version published by the Free Software Foundation;
|
||||
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
|
||||
A copy of the license is included in the section entitled "GNU
|
||||
Free Documentation License".
|
||||
|
||||
If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
|
||||
replace the "with...Texts." line with this:
|
||||
|
||||
with the Invariant Sections being LIST THEIR TITLES, with the
|
||||
Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
|
||||
|
||||
If you have Invariant Sections without Cover Texts, or some other
|
||||
combination of the three, merge those two alternatives to suit the
|
||||
situation.
|
||||
|
||||
If your document contains nontrivial examples of program code, we
|
||||
recommend releasing these examples in parallel under your choice of
|
||||
free software license, such as the GNU General Public License,
|
||||
to permit their use in free software.
|
@ -0,0 +1,248 @@
|
||||
# Doxyfile 1.3.5-KDevelop
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# Project related configuration options
|
||||
#---------------------------------------------------------------------------
|
||||
PROJECT_NAME = katapult.kdevelop
|
||||
PROJECT_NUMBER = 0.1
|
||||
OUTPUT_DIRECTORY =
|
||||
OUTPUT_LANGUAGE = English
|
||||
USE_WINDOWS_ENCODING = NO
|
||||
BRIEF_MEMBER_DESC = YES
|
||||
REPEAT_BRIEF = YES
|
||||
ABBREVIATE_BRIEF = "The $name class" \
|
||||
"The $name widget" \
|
||||
"The $name file" \
|
||||
is \
|
||||
provides \
|
||||
specifies \
|
||||
contains \
|
||||
represents \
|
||||
a \
|
||||
an \
|
||||
the
|
||||
ALWAYS_DETAILED_SEC = NO
|
||||
INLINE_INHERITED_MEMB = NO
|
||||
FULL_PATH_NAMES = NO
|
||||
STRIP_FROM_PATH = /home/doros/src/local/kde/katapult/debug/src/
|
||||
SHORT_NAMES = NO
|
||||
JAVADOC_AUTOBRIEF = NO
|
||||
MULTILINE_CPP_IS_BRIEF = NO
|
||||
DETAILS_AT_TOP = NO
|
||||
INHERIT_DOCS = YES
|
||||
DISTRIBUTE_GROUP_DOC = NO
|
||||
TAB_SIZE = 8
|
||||
ALIASES =
|
||||
OPTIMIZE_OUTPUT_FOR_C = NO
|
||||
OPTIMIZE_OUTPUT_JAVA = NO
|
||||
SUBGROUPING = YES
|
||||
#---------------------------------------------------------------------------
|
||||
# Build related configuration options
|
||||
#---------------------------------------------------------------------------
|
||||
EXTRACT_ALL = NO
|
||||
EXTRACT_PRIVATE = NO
|
||||
EXTRACT_STATIC = NO
|
||||
EXTRACT_LOCAL_CLASSES = YES
|
||||
HIDE_UNDOC_MEMBERS = NO
|
||||
HIDE_UNDOC_CLASSES = NO
|
||||
HIDE_FRIEND_COMPOUNDS = NO
|
||||
HIDE_IN_BODY_DOCS = NO
|
||||
INTERNAL_DOCS = NO
|
||||
CASE_SENSE_NAMES = YES
|
||||
HIDE_SCOPE_NAMES = NO
|
||||
SHOW_INCLUDE_FILES = YES
|
||||
INLINE_INFO = YES
|
||||
SORT_MEMBER_DOCS = YES
|
||||
SORT_BRIEF_DOCS = NO
|
||||
SORT_BY_SCOPE_NAME = NO
|
||||
GENERATE_TODOLIST = YES
|
||||
GENERATE_TESTLIST = YES
|
||||
GENERATE_BUGLIST = YES
|
||||
GENERATE_DEPRECATEDLIST= YES
|
||||
ENABLED_SECTIONS =
|
||||
MAX_INITIALIZER_LINES = 30
|
||||
SHOW_USED_FILES = YES
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to warning and progress messages
|
||||
#---------------------------------------------------------------------------
|
||||
QUIET = NO
|
||||
WARNINGS = YES
|
||||
WARN_IF_UNDOCUMENTED = YES
|
||||
WARN_IF_DOC_ERROR = YES
|
||||
WARN_FORMAT = "$file:$line: $text"
|
||||
WARN_LOGFILE =
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the input files
|
||||
#---------------------------------------------------------------------------
|
||||
INPUT = /home/doros/src/local/kde/katapult
|
||||
FILE_PATTERNS = *.c \
|
||||
*.cc \
|
||||
*.cxx \
|
||||
*.cpp \
|
||||
*.c++ \
|
||||
*.java \
|
||||
*.ii \
|
||||
*.ixx \
|
||||
*.ipp \
|
||||
*.i++ \
|
||||
*.inl \
|
||||
*.h \
|
||||
*.hh \
|
||||
*.hxx \
|
||||
*.hpp \
|
||||
*.h++ \
|
||||
*.idl \
|
||||
*.odl \
|
||||
*.cs \
|
||||
*.php \
|
||||
*.php3 \
|
||||
*.inc \
|
||||
*.C \
|
||||
*.H \
|
||||
*.tlh \
|
||||
*.diff \
|
||||
*.patch \
|
||||
*.moc \
|
||||
*.xpm \
|
||||
*.dox
|
||||
RECURSIVE = yes
|
||||
EXCLUDE =
|
||||
EXCLUDE_SYMLINKS = NO
|
||||
EXCLUDE_PATTERNS =
|
||||
EXAMPLE_PATH =
|
||||
EXAMPLE_PATTERNS = *
|
||||
EXAMPLE_RECURSIVE = NO
|
||||
IMAGE_PATH =
|
||||
INPUT_FILTER =
|
||||
FILTER_SOURCE_FILES = NO
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to source browsing
|
||||
#---------------------------------------------------------------------------
|
||||
SOURCE_BROWSER = NO
|
||||
INLINE_SOURCES = NO
|
||||
STRIP_CODE_COMMENTS = YES
|
||||
REFERENCED_BY_RELATION = YES
|
||||
REFERENCES_RELATION = YES
|
||||
VERBATIM_HEADERS = YES
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the alphabetical class index
|
||||
#---------------------------------------------------------------------------
|
||||
ALPHABETICAL_INDEX = NO
|
||||
COLS_IN_ALPHA_INDEX = 5
|
||||
IGNORE_PREFIX =
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the HTML output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_HTML = YES
|
||||
HTML_OUTPUT = html
|
||||
HTML_FILE_EXTENSION = .html
|
||||
HTML_HEADER =
|
||||
HTML_FOOTER =
|
||||
HTML_STYLESHEET =
|
||||
HTML_ALIGN_MEMBERS = YES
|
||||
GENERATE_HTMLHELP = NO
|
||||
CHM_FILE =
|
||||
HHC_LOCATION =
|
||||
GENERATE_CHI = NO
|
||||
BINARY_TOC = NO
|
||||
TOC_EXPAND = NO
|
||||
DISABLE_INDEX = NO
|
||||
ENUM_VALUES_PER_LINE = 4
|
||||
GENERATE_TREEVIEW = NO
|
||||
TREEVIEW_WIDTH = 250
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the LaTeX output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_LATEX = YES
|
||||
LATEX_OUTPUT = latex
|
||||
LATEX_CMD_NAME = latex
|
||||
MAKEINDEX_CMD_NAME = makeindex
|
||||
COMPACT_LATEX = NO
|
||||
PAPER_TYPE = a4wide
|
||||
EXTRA_PACKAGES =
|
||||
LATEX_HEADER =
|
||||
PDF_HYPERLINKS = NO
|
||||
USE_PDFLATEX = NO
|
||||
LATEX_BATCHMODE = NO
|
||||
LATEX_HIDE_INDICES = NO
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the RTF output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_RTF = NO
|
||||
RTF_OUTPUT = rtf
|
||||
COMPACT_RTF = NO
|
||||
RTF_HYPERLINKS = NO
|
||||
RTF_STYLESHEET_FILE =
|
||||
RTF_EXTENSIONS_FILE =
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the man page output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_MAN = NO
|
||||
MAN_OUTPUT = man
|
||||
MAN_EXTENSION = .3
|
||||
MAN_LINKS = NO
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the XML output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_XML = yes
|
||||
XML_OUTPUT = xml
|
||||
XML_SCHEMA =
|
||||
XML_DTD =
|
||||
XML_PROGRAMLISTING = YES
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options for the AutoGen Definitions output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_AUTOGEN_DEF = NO
|
||||
#---------------------------------------------------------------------------
|
||||
# configuration options related to the Perl module output
|
||||
#---------------------------------------------------------------------------
|
||||
GENERATE_PERLMOD = NO
|
||||
PERLMOD_LATEX = NO
|
||||
PERLMOD_PRETTY = YES
|
||||
PERLMOD_MAKEVAR_PREFIX =
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration options related to the preprocessor
|
||||
#---------------------------------------------------------------------------
|
||||
ENABLE_PREPROCESSING = YES
|
||||
MACRO_EXPANSION = NO
|
||||
EXPAND_ONLY_PREDEF = NO
|
||||
SEARCH_INCLUDES = YES
|
||||
INCLUDE_PATH =
|
||||
INCLUDE_FILE_PATTERNS =
|
||||
PREDEFINED =
|
||||
EXPAND_AS_DEFINED =
|
||||
SKIP_FUNCTION_MACROS = YES
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration::additions related to external references
|
||||
#---------------------------------------------------------------------------
|
||||
TAGFILES =
|
||||
GENERATE_TAGFILE =
|
||||
ALLEXTERNALS = NO
|
||||
EXTERNAL_GROUPS = YES
|
||||
PERL_PATH = /usr/bin/perl
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration options related to the dot tool
|
||||
#---------------------------------------------------------------------------
|
||||
CLASS_DIAGRAMS = YES
|
||||
HIDE_UNDOC_RELATIONS = YES
|
||||
HAVE_DOT = NO
|
||||
CLASS_GRAPH = YES
|
||||
COLLABORATION_GRAPH = YES
|
||||
UML_LOOK = NO
|
||||
TEMPLATE_RELATIONS = NO
|
||||
INCLUDE_GRAPH = YES
|
||||
INCLUDED_BY_GRAPH = YES
|
||||
CALL_GRAPH = NO
|
||||
GRAPHICAL_HIERARCHY = YES
|
||||
DOT_IMAGE_FORMAT = png
|
||||
DOT_PATH =
|
||||
DOTFILE_DIRS =
|
||||
MAX_DOT_GRAPH_WIDTH = 1024
|
||||
MAX_DOT_GRAPH_HEIGHT = 1024
|
||||
MAX_DOT_GRAPH_DEPTH = 1000
|
||||
GENERATE_LEGEND = YES
|
||||
DOT_CLEANUP = YES
|
||||
#---------------------------------------------------------------------------
|
||||
# Configuration::additions related to the search engine
|
||||
#---------------------------------------------------------------------------
|
||||
SEARCHENGINE = NO
|
@ -0,0 +1,5 @@
|
||||
SUBDIRS = common plugins katapult
|
||||
|
||||
messages: rc.cpp
|
||||
$(EXTRACTRC) `find . -name "*.ui"` >> ./rc.cpp
|
||||
$(XGETTEXT) `find . -name "*.cpp"` -o $(podir)/katapult.pot
|
@ -0,0 +1 @@
|
||||
|
@ -0,0 +1,19 @@
|
||||
# set the include path for X, qt and KDE
|
||||
INCLUDES = $(all_includes)
|
||||
|
||||
# these are the headers for your project
|
||||
noinst_HEADERS = status.h katapultdisplay.h katapultcatalog.h katapultaction.h \
|
||||
katapultitem.h cachedcatalog.h actionregistry.h match.h imagedisplay.h
|
||||
|
||||
# let automoc handle all of the meta source files (moc)
|
||||
METASOURCES = AUTO
|
||||
|
||||
lib_LTLIBRARIES = libkatapult.la
|
||||
|
||||
# common library
|
||||
libkatapult_la_SOURCES = katapultitem.cpp katapultaction.cpp actionregistry.cpp katapultcatalog.cpp cachedcatalog.cpp match.cpp katapultdisplay.cpp imagedisplay.cpp imagedisplaysettings.ui
|
||||
libkatapult_la_LDFLAGS = $(all_libraries) -version-info 2:0:0
|
||||
libkatapult_la_LIBADD = $(LIB_QT) $(LIB_KDECORE) -lDCOP -lkdefx $(LIB_KDEUI)
|
||||
|
||||
# this is where the service type files will go
|
||||
kde_servicetypes_DATA = katapultdisplay.desktop katapultcatalog.desktop
|
@ -0,0 +1,64 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 "actionregistry.h"
|
||||
#include "katapultaction.h"
|
||||
#include "katapultitem.h"
|
||||
|
||||
static ActionRegistry * actionRegistryInstance = 0;
|
||||
|
||||
ActionRegistry::ActionRegistry()
|
||||
{
|
||||
actions.setAutoDelete(TRUE);
|
||||
}
|
||||
|
||||
ActionRegistry::~ActionRegistry()
|
||||
{
|
||||
}
|
||||
|
||||
ActionRegistry * ActionRegistry::self()
|
||||
{
|
||||
if(actionRegistryInstance == 0)
|
||||
actionRegistryInstance = new ActionRegistry();
|
||||
return actionRegistryInstance;
|
||||
}
|
||||
|
||||
void ActionRegistry::registerAction(const KatapultAction *action)
|
||||
{
|
||||
actions.append(action);
|
||||
}
|
||||
|
||||
QPtrList<KatapultAction> ActionRegistry::actionsForItem(const KatapultItem *item) const
|
||||
{
|
||||
QPtrList<KatapultAction> result;
|
||||
QPtrListIterator<KatapultAction> it(actions);
|
||||
KatapultAction *action;
|
||||
while((action = it.current()) != 0) {
|
||||
++it;
|
||||
if(action->accepts(item))
|
||||
result.append(action);
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
void ActionRegistry::clear()
|
||||
{
|
||||
actions.clear();
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 ACTIONREGISTRY_H
|
||||
#define ACTIONREGISTRY_H
|
||||
|
||||
#include <qptrlist.h>
|
||||
|
||||
class KatapultItem;
|
||||
class KatapultAction;
|
||||
|
||||
/**
|
||||
@author Joe Ferris
|
||||
*/
|
||||
class ActionRegistry{
|
||||
public:
|
||||
~ActionRegistry();
|
||||
|
||||
void registerAction(const KatapultAction *);
|
||||
QPtrList<KatapultAction> actionsForItem(const KatapultItem *) const;
|
||||
void clear();
|
||||
|
||||
static ActionRegistry * self();
|
||||
|
||||
private:
|
||||
ActionRegistry();
|
||||
|
||||
QPtrList<KatapultAction> actions;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,175 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 "cachedcatalog.moc"
|
||||
|
||||
#include <qstringlist.h>
|
||||
#include <qstring.h>
|
||||
|
||||
#include "cachedcatalog.h"
|
||||
#include "katapultitem.h"
|
||||
#include "match.h"
|
||||
#include "status.h"
|
||||
|
||||
CachedCatalog::CachedCatalog()
|
||||
: KatapultCatalog()
|
||||
{
|
||||
cache.setAutoDelete(TRUE);
|
||||
results.setAutoDelete(FALSE);
|
||||
}
|
||||
|
||||
CachedCatalog::~CachedCatalog()
|
||||
{
|
||||
}
|
||||
|
||||
unsigned int CachedCatalog::minQueryLen() const
|
||||
{
|
||||
return 3;
|
||||
}
|
||||
|
||||
void CachedCatalog::queryChanged()
|
||||
{
|
||||
int newStatus = 0;
|
||||
if(query() == "")
|
||||
{
|
||||
results.clear();
|
||||
setBestMatch(Match());
|
||||
} else {
|
||||
if(query().length() >= minQueryLen())
|
||||
{
|
||||
Match newBestMatch;
|
||||
|
||||
if(status() & S_Active)
|
||||
{
|
||||
QPtrListIterator<KatapultItem> it(results);
|
||||
KatapultItem *item;
|
||||
|
||||
while((item = it.current())!=0)
|
||||
{
|
||||
++it;
|
||||
Match match = queryItem(item, query());
|
||||
if(match.isNull())
|
||||
results.removeRef(item);
|
||||
else if(newBestMatch.isNull() || match.rank() > newBestMatch.rank())
|
||||
newBestMatch = match;
|
||||
}
|
||||
} else {
|
||||
results.clear();
|
||||
|
||||
QPtrListIterator<KatapultItem> it(cache);
|
||||
KatapultItem *item;
|
||||
while((item=it.current())!=0)
|
||||
{
|
||||
++it;
|
||||
Match match = queryItem(item, query());
|
||||
if(!match.isNull()) {
|
||||
results.append(item);
|
||||
if(newBestMatch.isNull() || match.rank() > newBestMatch.rank())
|
||||
newBestMatch = match;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
newStatus |= S_Active;
|
||||
if(results.count() > 0)
|
||||
{
|
||||
newStatus |= S_HasResults;
|
||||
if(results.count() > 1)
|
||||
newStatus |= S_Multiple;
|
||||
} else
|
||||
newStatus |= S_NoResults;
|
||||
|
||||
setBestMatch(newBestMatch);
|
||||
}
|
||||
}
|
||||
setStatus(newStatus);
|
||||
}
|
||||
|
||||
Match CachedCatalog::queryItem(const KatapultItem *item, QString query) const
|
||||
{
|
||||
int wordNo = 0;
|
||||
int _rank = 0;
|
||||
unsigned int _matched = 0;
|
||||
QString text = item->text().lower();
|
||||
QStringList queryWords = QStringList::split(" ", query.lower());
|
||||
int wordMax = queryWords.count()-1;
|
||||
QStringList words = QStringList::split(" ", text);
|
||||
QStringList::Iterator wit = words.begin();
|
||||
for(QStringList::Iterator qit = queryWords.begin(); qit != queryWords.end(); ++qit) {
|
||||
QString queryWord = *qit;
|
||||
bool didMatch = FALSE;
|
||||
for(; wit != words.end(); ++wit) {
|
||||
QString word = *wit;
|
||||
if(word.startsWith(queryWord)) {
|
||||
if(_matched != 0)
|
||||
_matched++;
|
||||
if(wordNo == wordMax) {
|
||||
_matched += queryWord.length();
|
||||
} else {
|
||||
_matched += word.length();
|
||||
}
|
||||
didMatch = TRUE;
|
||||
break;
|
||||
}
|
||||
if(wordNo == 0) {
|
||||
if(_matched != 0)
|
||||
_matched++;
|
||||
_matched += word.length();
|
||||
}
|
||||
}
|
||||
if(didMatch == FALSE) {
|
||||
return Match();
|
||||
}
|
||||
wordNo++;
|
||||
}
|
||||
|
||||
if(_matched > text.length())
|
||||
return Match();
|
||||
|
||||
_rank = 100*query.length()/text.length();
|
||||
|
||||
if(_rank == 0)
|
||||
return Match();
|
||||
else
|
||||
return Match(item, _rank, _matched);
|
||||
}
|
||||
|
||||
const KatapultItem * CachedCatalog::findExact(QString text) const
|
||||
{
|
||||
text = text.lower();
|
||||
KatapultItem *item;
|
||||
QPtrListIterator<KatapultItem> it(cache);
|
||||
while((item=it.current())!=0)
|
||||
{
|
||||
++it;
|
||||
if(item->text().lower() == text)
|
||||
return item;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
void CachedCatalog::addItem(KatapultItem *item)
|
||||
{
|
||||
if(findExact(item->text())) {
|
||||
qDebug("Ignored duplicate item: %s", item->text().ascii());
|
||||
delete item;
|
||||
} else
|
||||
cache.append(item);
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 CACHEDCATALOG_H
|
||||
#define CACHEDCATALOG_H
|
||||
|
||||
#include <qptrlist.h>
|
||||
|
||||
#include "katapultcatalog.h"
|
||||
|
||||
class Match;
|
||||
class KatapultItem;
|
||||
|
||||
/**
|
||||
@author Joe Ferris
|
||||
*/
|
||||
class CachedCatalog : public KatapultCatalog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
CachedCatalog();
|
||||
virtual ~CachedCatalog();
|
||||
|
||||
const KatapultItem * findExact(QString text) const;
|
||||
|
||||
protected:
|
||||
virtual void queryChanged();
|
||||
virtual unsigned int minQueryLen() const;
|
||||
|
||||
void addItem(KatapultItem *);
|
||||
|
||||
private:
|
||||
Match queryItem(const KatapultItem *, QString) const;
|
||||
|
||||
QPtrList<KatapultItem> cache, results;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,453 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <imagedisplay.moc>
|
||||
|
||||
#include <kglobal.h>
|
||||
#include <kglobalsettings.h>
|
||||
#include <kiconloader.h>
|
||||
#include <kwin.h>
|
||||
#include <kimageeffect.h>
|
||||
#include <kgenericfactory.h>
|
||||
#include <kconfig.h>
|
||||
#include <kfontcombo.h>
|
||||
#include <klocale.h>
|
||||
|
||||
#include <qpainter.h>
|
||||
#include <qapplication.h>
|
||||
#include <qimage.h>
|
||||
#include <qbitmap.h>
|
||||
#include <qslider.h>
|
||||
#include <qspinbox.h>
|
||||
#include <qcursor.h>
|
||||
|
||||
#include <status.h>
|
||||
|
||||
#include "imagedisplay.h"
|
||||
#include "imagedisplaysettings.h"
|
||||
|
||||
#define FADEINTERVAL 20
|
||||
#define FADECONST 2000
|
||||
|
||||
ImageDisplay::ImageDisplay(QObject *, const char *name, const QStringList&)
|
||||
: KatapultDisplay(name, WType_TopLevel | WStyle_Customize | WStyle_NoBorder | WStyle_StaysOnTop | WNoAutoErase | WDestructiveClose)
|
||||
{
|
||||
KWin::setType(winId(), NET::Dock);
|
||||
setBackgroundMode(NoBackground);
|
||||
setFocusPolicy(QWidget::StrongFocus);
|
||||
|
||||
singlebg = 0;
|
||||
doublebg = 0;
|
||||
|
||||
singlesize[0] = 0;
|
||||
singlesize[1] = 0;
|
||||
doublesize[0] = 0;
|
||||
doublesize[1] = 0;
|
||||
padding = 0;
|
||||
margin[0] = 0;
|
||||
margin[1] = 0;
|
||||
margin[2] = 0;
|
||||
margin[3] = 0;
|
||||
iconsize = 0;
|
||||
|
||||
bgSngl = 0;
|
||||
bgDbl = 0;
|
||||
|
||||
fadeImg = 0;
|
||||
|
||||
alpha = 0;
|
||||
fadeTimer = new QTimer(this);
|
||||
connect(fadeTimer, SIGNAL(timeout()), this, SLOT(continueFade()));
|
||||
|
||||
desktopSize = qApp->desktop()->availableGeometry(QCursor::pos());
|
||||
|
||||
fadeTime = 250;
|
||||
updateFadeStep();
|
||||
}
|
||||
|
||||
ImageDisplay::~ImageDisplay()
|
||||
{
|
||||
if(singlebg != 0)
|
||||
delete singlebg;
|
||||
if(doublebg != 0)
|
||||
delete doublebg;
|
||||
if(bgSngl != 0)
|
||||
delete bgSngl;
|
||||
if(bgDbl != 0)
|
||||
delete bgDbl;
|
||||
if(fadeImg != 0)
|
||||
delete fadeImg;
|
||||
}
|
||||
|
||||
void ImageDisplay::continueFade()
|
||||
{
|
||||
if(fadeOut)
|
||||
{
|
||||
if(fadeStep == 0)
|
||||
alpha = 0;
|
||||
else
|
||||
alpha -= fadeStep;
|
||||
if(alpha <= 0)
|
||||
{
|
||||
alpha = 0;
|
||||
fadeTimer->stop();
|
||||
hide();
|
||||
}
|
||||
} else {
|
||||
if(fadeStep == 0)
|
||||
alpha = 100;
|
||||
else
|
||||
alpha += fadeStep;
|
||||
if(alpha > 100)
|
||||
{
|
||||
alpha = 100;
|
||||
fadeTimer->stop();
|
||||
if(fadeImg != 0)
|
||||
{
|
||||
delete fadeImg;
|
||||
fadeImg = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
update();
|
||||
}
|
||||
|
||||
void ImageDisplay::showEvent(QShowEvent *)
|
||||
{
|
||||
// set back the display-size, because if it wouldn't be done this could be a problem-source.
|
||||
displaySize = 0;
|
||||
|
||||
if(bgSngl != 0)
|
||||
delete bgSngl;
|
||||
if(bgDbl != 0)
|
||||
delete bgDbl;
|
||||
|
||||
bgSngl = new QPixmap(QPixmap::grabWindow(qt_xrootwin(), (desktopSize.width() - singlesize[0])/2 + desktopSize.left(), (desktopSize.height() - singlesize[1])/2 + desktopSize.top(), singlesize[0], singlesize[1]));
|
||||
bgDbl = new QPixmap(QPixmap::grabWindow(qt_xrootwin(), (desktopSize.width() - doublesize[0])/2 + desktopSize.left(), (desktopSize.height() - doublesize[1])/2 + desktopSize.top(), doublesize[0], doublesize[1]));
|
||||
|
||||
if(fadeImg != 0)
|
||||
delete fadeImg;
|
||||
|
||||
if(fadeTime <= 1) {
|
||||
alpha = 100;
|
||||
placeWindow(1);
|
||||
} else {
|
||||
fadeOut = false;
|
||||
alpha = 0;
|
||||
fadeImg = new QImage(getDisplay().convertToImage());
|
||||
fadeTimer->start(FADEINTERVAL, FALSE);
|
||||
}
|
||||
}
|
||||
|
||||
void ImageDisplay::hide()
|
||||
{
|
||||
if(alpha == 0)
|
||||
{
|
||||
if(fadeImg != 0)
|
||||
{
|
||||
delete fadeImg;
|
||||
fadeImg = 0;
|
||||
}
|
||||
KatapultDisplay::hide();
|
||||
} else {
|
||||
if(fadeImg != 0)
|
||||
delete fadeImg;
|
||||
fadeImg = new QImage(getDisplay().convertToImage());
|
||||
fadeOut = TRUE;
|
||||
if(!fadeTimer->isActive())
|
||||
fadeTimer->start(FADEINTERVAL, FALSE);
|
||||
}
|
||||
}
|
||||
|
||||
void ImageDisplay::drawText(QPixmap & pixmap, int x, int width, QString text, int hilight) const
|
||||
{
|
||||
int fontSize = maxFontSize;
|
||||
QFont font(fontFace, fontSize);
|
||||
QFontMetrics metrics(font);
|
||||
|
||||
while(fontSize > minFontSize && metrics.width(text) > width) {
|
||||
fontSize--;
|
||||
font.setPointSize(fontSize);
|
||||
metrics = QFontMetrics(font);
|
||||
}
|
||||
|
||||
while(hilight > 1 && metrics.width(text) > width) {
|
||||
text = text.remove(0, 1);
|
||||
hilight--;
|
||||
}
|
||||
|
||||
int useChars = text.length();
|
||||
|
||||
while(metrics.width(text, useChars) > width) {
|
||||
useChars--;
|
||||
}
|
||||
text = text.left(useChars);
|
||||
|
||||
QString hilighted = text.left(hilight);
|
||||
QString remaining = text.right(text.length() - hilighted.length());
|
||||
|
||||
x += (width-metrics.width(text))/2;
|
||||
|
||||
QPainter painter(&pixmap);
|
||||
painter.setFont(font);
|
||||
|
||||
painter.setPen(colorGroup().color(QColorGroup::Link));
|
||||
painter.drawText(x, singlesize[1]-offset[3], hilighted);
|
||||
painter.setPen(QColor(255, 255, 255));
|
||||
painter.drawText(x+metrics.width(hilighted), singlesize[1]-offset[3], remaining);
|
||||
}
|
||||
|
||||
QPixmap ImageDisplay::getDisplay()
|
||||
{
|
||||
if(status() & S_HasResults)
|
||||
{
|
||||
// show best match
|
||||
QPixmap pixmap(*bgDbl);
|
||||
QPainter painter(&pixmap);
|
||||
|
||||
painter.drawPixmap(0, 0, *doublebg);
|
||||
|
||||
QFontMetrics metrics = painter.fontMetrics();
|
||||
QRect bounds;
|
||||
QPixmap icon;
|
||||
|
||||
int itemSpace = (doublesize[0]-offset[0]-offset[2]-padding)/2;
|
||||
|
||||
const KatapultItem *_item = item();
|
||||
if(_item != 0)
|
||||
{
|
||||
icon = _item->icon(iconsize);
|
||||
painter.drawPixmap(offset[0]+(itemSpace-iconsize)/2, offset[1], icon);
|
||||
drawText(pixmap, offset[0], itemSpace, _item->text(), selected());
|
||||
}
|
||||
|
||||
const KatapultAction *_action = action();
|
||||
if(_action != 0)
|
||||
{
|
||||
int x = offset[0]+itemSpace+padding+padding;
|
||||
icon = _action->icon(iconsize);
|
||||
painter.drawPixmap(x+(itemSpace-iconsize)/2, offset[1], icon);
|
||||
drawText(pixmap, x, itemSpace, _action->text(), 0);
|
||||
}
|
||||
painter.end();
|
||||
|
||||
if(displaySize != 2)
|
||||
{
|
||||
placeWindow(2);
|
||||
displaySize = 2;
|
||||
}
|
||||
|
||||
return pixmap;
|
||||
} else {
|
||||
// show splash or error
|
||||
QPixmap pixmap(*bgSngl);
|
||||
QPainter painter(&pixmap);
|
||||
|
||||
painter.drawPixmap(0, 0, *singlebg);
|
||||
|
||||
QString label;
|
||||
QPixmap icon;
|
||||
|
||||
if(status() & S_Active)
|
||||
{
|
||||
icon = KGlobal::iconLoader()->loadIcon("unknown", KIcon::NoGroup, 128);
|
||||
if(query().isEmpty())
|
||||
label = i18n("No items matched.");
|
||||
else
|
||||
label = query();
|
||||
} else {
|
||||
icon = KGlobal::iconLoader()->loadIcon("katapult", KIcon::NoGroup, 128);
|
||||
if(query().isEmpty())
|
||||
label = "Katapult";
|
||||
else {
|
||||
label = query();
|
||||
painter.setPen(QColor(16, 48, 254));
|
||||
}
|
||||
}
|
||||
|
||||
painter.drawPixmap(offset[0]+(singlesize[0]-offset[0]-offset[2]-128)/2, offset[1], icon);
|
||||
|
||||
drawText(pixmap, offset[0], singlesize[0]-offset[0]-offset[2], label, 0);
|
||||
|
||||
/* painter.drawText(offset[0], singlesize[1]-offset[3]-30, singlesize[0]-offset[0]-offset[2], 30,
|
||||
Qt::AlignHCenter | Qt::AlignBottom | Qt::SingleLine, label);*/
|
||||
painter.end();
|
||||
|
||||
if(displaySize != 1)
|
||||
{
|
||||
placeWindow(1);
|
||||
displaySize = 1;
|
||||
}
|
||||
|
||||
return pixmap;
|
||||
}
|
||||
}
|
||||
|
||||
void ImageDisplay::placeWindow(int size)
|
||||
{
|
||||
if(size == 2) {
|
||||
move((desktopSize.width() - doublesize[0])/2 + desktopSize.left(), (desktopSize.height() - doublesize[1])/2 + desktopSize.top());
|
||||
resize(doublesize[0], doublesize[1]);
|
||||
} else {
|
||||
move((desktopSize.width() - singlesize[0])/2 + desktopSize.left(), (desktopSize.height() - singlesize[1])/2 + desktopSize.top());
|
||||
resize(singlesize[0], singlesize[1]);
|
||||
}
|
||||
}
|
||||
|
||||
void ImageDisplay::paintEvent(QPaintEvent *)
|
||||
{
|
||||
if(alpha == 0)
|
||||
{
|
||||
if(displaySize == 2)
|
||||
bitBlt(this, 0, 0, bgDbl);
|
||||
else
|
||||
bitBlt(this, 0, 0, bgSngl);
|
||||
} else if(fadeImg != 0) {
|
||||
QImage buffer;
|
||||
if(displaySize == 2)
|
||||
buffer = bgDbl->convertToImage();
|
||||
else
|
||||
buffer = bgSngl->convertToImage();
|
||||
|
||||
KImageEffect::blend(*fadeImg, buffer, (float)alpha/100);
|
||||
bitBlt(this, 0, 0, &buffer);
|
||||
} else {
|
||||
QPixmap pixmap = getDisplay();
|
||||
bitBlt(this, 0, 0, &pixmap);
|
||||
}
|
||||
}
|
||||
|
||||
void ImageDisplay::setSingleBG(QPixmap *singlebg)
|
||||
{
|
||||
this->singlebg = singlebg;
|
||||
}
|
||||
|
||||
void ImageDisplay::setDoubleBG(QPixmap *doublebg)
|
||||
{
|
||||
this->doublebg = doublebg;
|
||||
}
|
||||
|
||||
void ImageDisplay::setSingleSize(int width, int height)
|
||||
{
|
||||
singlesize[0] = width;
|
||||
singlesize[1] = height;
|
||||
}
|
||||
|
||||
void ImageDisplay::setDoubleSize(int width, int height)
|
||||
{
|
||||
doublesize[0] = width;
|
||||
doublesize[1] = height;
|
||||
}
|
||||
|
||||
void ImageDisplay::setMargin(int left, int top, int right, int bottom)
|
||||
{
|
||||
margin[0] = left;
|
||||
margin[1] = top;
|
||||
margin[2] = right;
|
||||
margin[3] = bottom;
|
||||
updateOffset();
|
||||
}
|
||||
|
||||
void ImageDisplay::setPadding(int padding)
|
||||
{
|
||||
this->padding = padding;
|
||||
updateOffset();
|
||||
}
|
||||
|
||||
void ImageDisplay::setIconSize(int iconsize)
|
||||
{
|
||||
this->iconsize = iconsize;
|
||||
}
|
||||
|
||||
void ImageDisplay::updateOffset()
|
||||
{
|
||||
offset[0] = margin[0] + padding;
|
||||
offset[1] = margin[1] + padding;
|
||||
offset[2] = margin[2] + padding;
|
||||
offset[3] = margin[3] + padding;
|
||||
}
|
||||
|
||||
void ImageDisplay::readSettings(KConfigBase *config)
|
||||
{
|
||||
fadeTime = config->readUnsignedNumEntry("FadeTime", 250);
|
||||
updateFadeStep();
|
||||
// fadeStep = fadeTime/FADEINTERVAL;
|
||||
QFont defaultFont = KGlobalSettings::generalFont();
|
||||
fontFace = config->readEntry("FontFace", defaultFont.family());
|
||||
minFontSize = config->readUnsignedNumEntry("MinFontSize", 7);
|
||||
maxFontSize = config->readUnsignedNumEntry("MaxFontSize", 14);
|
||||
}
|
||||
|
||||
void ImageDisplay::writeSettings(KConfigBase *config)
|
||||
{
|
||||
config->writeEntry("FadeTime", fadeTime);
|
||||
config->writeEntry("FontFace", fontFace);
|
||||
config->writeEntry("MinFontSize", minFontSize);
|
||||
config->writeEntry("MaxFontSize", maxFontSize);
|
||||
}
|
||||
|
||||
QWidget * ImageDisplay::configure()
|
||||
{
|
||||
ImageDisplaySettings *settings = new ImageDisplaySettings();
|
||||
|
||||
settings->fadeTime->setValue(fadeTime);
|
||||
connect(settings->fadeTime, SIGNAL(valueChanged(int)), this, SLOT(setFadeOut(int)));
|
||||
|
||||
settings->displayFont->setCurrentFont(fontFace);
|
||||
connect(settings->displayFont, SIGNAL(textChanged(const QString &)), this, SLOT(setFont(const QString &)));
|
||||
|
||||
settings->minFontSize->setValue(minFontSize);
|
||||
connect(settings->minFontSize, SIGNAL(valueChanged(int)), this, SLOT(setMinFontSize(int)));
|
||||
|
||||
settings->maxFontSize->setValue(maxFontSize);
|
||||
connect(settings->maxFontSize, SIGNAL(valueChanged(int)), this, SLOT(setMaxFontSize(int)));
|
||||
|
||||
return settings;
|
||||
}
|
||||
|
||||
void ImageDisplay::setFont(const QString &font)
|
||||
{
|
||||
fontFace = font;
|
||||
}
|
||||
|
||||
void ImageDisplay::setMinFontSize(int size)
|
||||
{
|
||||
minFontSize = size;
|
||||
}
|
||||
|
||||
void ImageDisplay::setMaxFontSize(int size)
|
||||
{
|
||||
maxFontSize = size;
|
||||
}
|
||||
|
||||
void ImageDisplay::setFadeOut(int fadeTime)
|
||||
{
|
||||
this->fadeTime = fadeTime;
|
||||
updateFadeStep();
|
||||
}
|
||||
|
||||
void ImageDisplay::updateFadeStep()
|
||||
{
|
||||
if(fadeTime == 0)
|
||||
fadeTime = 1;
|
||||
fadeStep = FADECONST/fadeTime;
|
||||
if(fadeStep > 100)
|
||||
fadeStep = 100;
|
||||
}
|
@ -0,0 +1,96 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 IMAGEDISPLAY_H
|
||||
#define IMAGEDISPLAY_H
|
||||
|
||||
#include <qevent.h>
|
||||
#include <qpixmap.h>
|
||||
#include <qtimer.h>
|
||||
#include <qimage.h>
|
||||
|
||||
#include "katapultdisplay.h"
|
||||
|
||||
class Katapult;
|
||||
class QFont;
|
||||
|
||||
/**
|
||||
@author Joe Ferris, Bastian Holst
|
||||
*/
|
||||
class ImageDisplay : public KatapultDisplay
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
ImageDisplay(QObject *, const char *, const QStringList&);
|
||||
virtual ~ImageDisplay();
|
||||
|
||||
public slots:
|
||||
void continueFade();
|
||||
virtual void hide();
|
||||
|
||||
virtual void readSettings(KConfigBase *);
|
||||
virtual void writeSettings(KConfigBase *);
|
||||
virtual QWidget * configure();
|
||||
|
||||
void setFont(const QString &);
|
||||
void setMinFontSize(int);
|
||||
void setMaxFontSize(int);
|
||||
void setFadeOut(int);
|
||||
void updateFadeStep();
|
||||
|
||||
protected:
|
||||
virtual void showEvent(QShowEvent *);
|
||||
virtual void paintEvent(QPaintEvent *);
|
||||
|
||||
void setSingleBG(QPixmap *);
|
||||
void setDoubleBG(QPixmap *);
|
||||
void setSingleSize(int width, int height);
|
||||
void setDoubleSize(int width, int heught);
|
||||
void setMargin(int left, int top, int right, int bottom);
|
||||
void setPadding(int);
|
||||
void setIconSize(int);
|
||||
|
||||
QPixmap getDisplay();
|
||||
void drawText(QPixmap &, int, int, QString, int) const;
|
||||
void placeWindow(int);
|
||||
|
||||
private:
|
||||
void updateOffset();
|
||||
|
||||
QPixmap *bgSngl, *bgDbl, *singlebg, *doublebg;
|
||||
QRect desktopSize;
|
||||
QImage *fadeImg;
|
||||
QTimer *fadeTimer;
|
||||
QString fontFace;
|
||||
int minFontSize, maxFontSize;
|
||||
int alpha;
|
||||
bool fadeOut;
|
||||
int fadeTime, fadeStep;
|
||||
int displaySize;
|
||||
// 0: left, 1: top, 2: right, 3: bottom
|
||||
int margin[4];
|
||||
int offset[4];
|
||||
// 0: width, 1: height
|
||||
int singlesize[2];
|
||||
int doublesize[2];
|
||||
int padding;
|
||||
int iconsize;
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,213 @@
|
||||
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
|
||||
<class>ImageDisplaySettings</class>
|
||||
<widget class="QWidget">
|
||||
<property name="name">
|
||||
<cstring>ImageDisplaySettings</cstring>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>411</width>
|
||||
<height>385</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="caption">
|
||||
<string>Settings</string>
|
||||
</property>
|
||||
<vbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLabel">
|
||||
<property name="name">
|
||||
<cstring>textLabel1</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Length of fade-in/fade-out:</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QSlider">
|
||||
<property name="name">
|
||||
<cstring>fadeTime</cstring>
|
||||
</property>
|
||||
<property name="maxValue">
|
||||
<number>2000</number>
|
||||
</property>
|
||||
<property name="lineStep">
|
||||
<number>100</number>
|
||||
</property>
|
||||
<property name="pageStep">
|
||||
<number>250</number>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Horizontal</enum>
|
||||
</property>
|
||||
<property name="tickmarks">
|
||||
<enum>NoMarks</enum>
|
||||
</property>
|
||||
<property name="tickInterval">
|
||||
<number>1000</number>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QButtonGroup">
|
||||
<property name="name">
|
||||
<cstring>autoFontSize</cstring>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>Display Font</string>
|
||||
</property>
|
||||
<property name="checkable">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<vbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLayoutWidget">
|
||||
<property name="name">
|
||||
<cstring>layout6</cstring>
|
||||
</property>
|
||||
<hbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLabel">
|
||||
<property name="name">
|
||||
<cstring>textLabel2</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Font face:</string>
|
||||
</property>
|
||||
</widget>
|
||||
<spacer>
|
||||
<property name="name">
|
||||
<cstring>spacer2</cstring>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>Expanding</enum>
|
||||
</property>
|
||||
<property name="sizeHint">
|
||||
<size>
|
||||
<width>91</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
<widget class="KFontCombo">
|
||||
<property name="name">
|
||||
<cstring>displayFont</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</hbox>
|
||||
</widget>
|
||||
<widget class="QLayoutWidget">
|
||||
<property name="name">
|
||||
<cstring>layout7</cstring>
|
||||
</property>
|
||||
<hbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLabel">
|
||||
<property name="name">
|
||||
<cstring>textLabel1_2</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Minimum font size:</string>
|
||||
</property>
|
||||
</widget>
|
||||
<spacer>
|
||||
<property name="name">
|
||||
<cstring>spacer3</cstring>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>Expanding</enum>
|
||||
</property>
|
||||
<property name="sizeHint">
|
||||
<size>
|
||||
<width>181</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
<widget class="QSpinBox">
|
||||
<property name="name">
|
||||
<cstring>minFontSize</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</hbox>
|
||||
</widget>
|
||||
<widget class="QLayoutWidget">
|
||||
<property name="name">
|
||||
<cstring>layout8</cstring>
|
||||
</property>
|
||||
<hbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLabel">
|
||||
<property name="name">
|
||||
<cstring>textLabel1_2_2</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Maximum font size:</string>
|
||||
</property>
|
||||
</widget>
|
||||
<spacer>
|
||||
<property name="name">
|
||||
<cstring>spacer4</cstring>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>Expanding</enum>
|
||||
</property>
|
||||
<property name="sizeHint">
|
||||
<size>
|
||||
<width>191</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
<widget class="QSpinBox">
|
||||
<property name="name">
|
||||
<cstring>maxFontSize</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</hbox>
|
||||
</widget>
|
||||
</vbox>
|
||||
</widget>
|
||||
<spacer>
|
||||
<property name="name">
|
||||
<cstring>spacer1</cstring>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>Expanding</enum>
|
||||
</property>
|
||||
<property name="sizeHint">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>160</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</vbox>
|
||||
</widget>
|
||||
<layoutdefaults spacing="6" margin="11"/>
|
||||
<includehints>
|
||||
<includehint>kfontcombo.h</includehint>
|
||||
<includehint>klineedit.h</includehint>
|
||||
</includehints>
|
||||
</UI>
|
@ -0,0 +1,44 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <qpixmap.h>
|
||||
|
||||
#include "katapultaction.h"
|
||||
|
||||
KatapultAction::~KatapultAction(){}
|
||||
|
||||
QString KatapultAction::text() const
|
||||
{
|
||||
return QString::null;
|
||||
}
|
||||
|
||||
QPixmap KatapultAction::icon(int size) const
|
||||
{
|
||||
return QPixmap(size, size);
|
||||
}
|
||||
|
||||
void KatapultAction::execute(const KatapultItem *) const
|
||||
{
|
||||
}
|
||||
|
||||
bool KatapultAction::accepts(const KatapultItem *) const
|
||||
{
|
||||
return false;
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 KATAPULTACTION_H
|
||||
#define KATAPULTACTION_H
|
||||
|
||||
#include <qstring.h>
|
||||
#include <qptrlist.h>
|
||||
|
||||
class QPixmap;
|
||||
class KatapultItem;
|
||||
|
||||
/**
|
||||
@author Joe Ferris
|
||||
*/
|
||||
class KatapultAction {
|
||||
|
||||
public:
|
||||
virtual ~KatapultAction();
|
||||
|
||||
virtual void execute(const KatapultItem *) const;
|
||||
virtual bool accepts(const KatapultItem *) const;
|
||||
virtual QString text() const;
|
||||
virtual QPixmap icon(int) const;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,90 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 "katapultcatalog.moc"
|
||||
#include "katapultcatalog.h"
|
||||
#include "match.h"
|
||||
|
||||
KatapultCatalog::KatapultCatalog()
|
||||
{
|
||||
_bestMatch = Match();
|
||||
_status = 0;
|
||||
_query = "";
|
||||
}
|
||||
|
||||
|
||||
KatapultCatalog::~KatapultCatalog()
|
||||
{
|
||||
}
|
||||
|
||||
void KatapultCatalog::queryChanged()
|
||||
{
|
||||
}
|
||||
|
||||
void KatapultCatalog::initialize()
|
||||
{
|
||||
}
|
||||
|
||||
void KatapultCatalog::setQuery(QString _query)
|
||||
{
|
||||
if(this->_query != _query) {
|
||||
this->_query = _query;
|
||||
queryChanged();
|
||||
}
|
||||
}
|
||||
|
||||
void KatapultCatalog::setStatus(int _status)
|
||||
{
|
||||
this->_status = _status;
|
||||
}
|
||||
|
||||
void KatapultCatalog::setBestMatch(Match _bestMatch)
|
||||
{
|
||||
this->_bestMatch = _bestMatch;
|
||||
}
|
||||
|
||||
QString KatapultCatalog::query() const
|
||||
{
|
||||
return _query;
|
||||
}
|
||||
|
||||
int KatapultCatalog::status() const
|
||||
{
|
||||
return _status;
|
||||
}
|
||||
|
||||
Match KatapultCatalog::bestMatch() const
|
||||
{
|
||||
return _bestMatch;
|
||||
}
|
||||
|
||||
void KatapultCatalog::readSettings(KConfigBase *)
|
||||
{
|
||||
}
|
||||
|
||||
void KatapultCatalog::writeSettings(KConfigBase *)
|
||||
{
|
||||
}
|
||||
|
||||
QWidget * KatapultCatalog::configure()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
@ -0,0 +1,24 @@
|
||||
[Desktop Entry]
|
||||
Type=ServiceType
|
||||
X-KDE-ServiceType=Katapult/Catalog
|
||||
Comment=A Katapult catalog plugin
|
||||
Comment[ar]=بريمج مستعرض Katapult
|
||||
Comment[bg]=Приставка за каталог на Katapult
|
||||
Comment[br]=Ul lugent katalog evit Katapult
|
||||
Comment[da]=Et mappe-plugin for Katapult
|
||||
Comment[de]=Ein Katapult-Katalog-Modul
|
||||
Comment[el]=Ένα πρόσθετο καταλόγου Katapult
|
||||
Comment[es]=Una extensión del catálogo Katapult
|
||||
Comment[et]=Katapulti kataloogiplugin
|
||||
Comment[fr]=Un module externe de catalogue pour Katapult
|
||||
Comment[gl]=Plugin de catálogo de Katapult
|
||||
Comment[it]=Un plugin per i cataloghi di Katapult
|
||||
Comment[ja]=Katapult カタログプラグイン
|
||||
Comment[nb]=Et programtillegg for Katapult-katalog
|
||||
Comment[nl]=Een Katapult-catalogusplugin
|
||||
Comment[pt]=Um 'plugin' de catálogo do Katapult
|
||||
Comment[pt_BR]=Um 'plugin' de catálogo do Katapult
|
||||
Comment[sv]=Ett katalogiseringsinsticksprogram för Katapult
|
||||
Comment[tr]=Bir Katapult katalog eklentisi
|
||||
Comment[uk]=Втулок каталогів для Катапульти
|
||||
|
@ -0,0 +1,67 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 KATAPULTCATALOG_H
|
||||
#define KATAPULTCATALOG_H
|
||||
|
||||
#include <qobject.h>
|
||||
#include <qstring.h>
|
||||
#include <qptrlist.h>
|
||||
|
||||
#include "match.h"
|
||||
|
||||
class QWidget;
|
||||
class KConfigBase;
|
||||
|
||||
/**
|
||||
@author Joe Ferris
|
||||
*/
|
||||
class KatapultCatalog : public QObject {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
KatapultCatalog();
|
||||
virtual ~KatapultCatalog();
|
||||
|
||||
void setQuery(QString);
|
||||
|
||||
int status() const;
|
||||
Match bestMatch() const;
|
||||
|
||||
virtual void initialize();
|
||||
virtual void readSettings(KConfigBase *);
|
||||
virtual void writeSettings(KConfigBase *);
|
||||
virtual QWidget * configure();
|
||||
|
||||
protected:
|
||||
QString query() const;
|
||||
|
||||
void setStatus(int);
|
||||
void setBestMatch(Match);
|
||||
|
||||
virtual void queryChanged();
|
||||
|
||||
private:
|
||||
QString _query;
|
||||
int _status;
|
||||
Match _bestMatch;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,116 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 "katapultdisplay.moc"
|
||||
|
||||
#include "katapultdisplay.h"
|
||||
|
||||
KatapultDisplay::KatapultDisplay(const char *name, WFlags f)
|
||||
: QWidget(0, name, f)
|
||||
{
|
||||
_query = "";
|
||||
_item = 0;
|
||||
_action = 0;
|
||||
_status = 0;
|
||||
_selectionLength = 0;
|
||||
}
|
||||
|
||||
KatapultDisplay::~KatapultDisplay()
|
||||
{
|
||||
}
|
||||
|
||||
void KatapultDisplay::focusOutEvent(QFocusEvent *)
|
||||
{
|
||||
emit focusOut();
|
||||
}
|
||||
|
||||
void KatapultDisplay::keyPressEvent(QKeyEvent *e)
|
||||
{
|
||||
emit keyReleased(e);
|
||||
}
|
||||
|
||||
// Deprecated - added for backwards compatibility
|
||||
void KatapultDisplay::keyReleaseEvent(QKeyEvent *e)
|
||||
{
|
||||
}
|
||||
|
||||
void KatapultDisplay::setQuery(QString _query)
|
||||
{
|
||||
this->_query = _query;
|
||||
}
|
||||
|
||||
void KatapultDisplay::setSelected(unsigned int length)
|
||||
{
|
||||
_selectionLength = length;
|
||||
}
|
||||
|
||||
unsigned int KatapultDisplay::selected() const
|
||||
{
|
||||
return _selectionLength;
|
||||
}
|
||||
|
||||
void KatapultDisplay::setItem(const KatapultItem *_item)
|
||||
{
|
||||
this->_item = _item;
|
||||
}
|
||||
|
||||
void KatapultDisplay::setAction(const KatapultAction *_action)
|
||||
{
|
||||
this->_action = _action;
|
||||
}
|
||||
|
||||
void KatapultDisplay::setStatus(int _status)
|
||||
{
|
||||
this->_status = _status;
|
||||
}
|
||||
|
||||
QString KatapultDisplay::query() const
|
||||
{
|
||||
return _query;
|
||||
}
|
||||
|
||||
const KatapultItem * KatapultDisplay::item() const
|
||||
{
|
||||
return _item;
|
||||
}
|
||||
|
||||
const KatapultAction * KatapultDisplay::action() const
|
||||
{
|
||||
return _action;
|
||||
}
|
||||
|
||||
int KatapultDisplay::status() const
|
||||
{
|
||||
return _status;
|
||||
}
|
||||
|
||||
void KatapultDisplay::readSettings(KConfigBase *)
|
||||
{
|
||||
}
|
||||
|
||||
void KatapultDisplay::writeSettings(KConfigBase *)
|
||||
{
|
||||
}
|
||||
|
||||
QWidget * KatapultDisplay::configure()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
@ -0,0 +1,23 @@
|
||||
[Desktop Entry]
|
||||
Type=ServiceType
|
||||
X-KDE-ServiceType=Katapult/Display
|
||||
Comment=A Katapult display plugin
|
||||
Comment[ar]=بريمج عارض Katapult
|
||||
Comment[bg]=Приставка за показване на Katapult
|
||||
Comment[da]=Et visningsplugin for Katapult
|
||||
Comment[de]=Ein Katapult-Anzeige-Modul
|
||||
Comment[el]=Ένα πρόσθετο εμφάνισης Katapult
|
||||
Comment[es]=Una extensión para mostrar Katapult
|
||||
Comment[et]=Katapulti vaateplugin
|
||||
Comment[fr]=Un module externe d'affichage pour Katapult
|
||||
Comment[gl]=Plugin de visión de Katapult
|
||||
Comment[it]=Un plugin per i display di Katapult
|
||||
Comment[ja]=Katapult 表示プラグイン
|
||||
Comment[nb]=Et Katapult-programtillegg for visning
|
||||
Comment[nl]=Een Katapult-displayplugin
|
||||
Comment[pt]=Um 'plugin' de visualização do Katapult
|
||||
Comment[pt_BR]=Um 'plugin' de visualização do Katapult
|
||||
Comment[sv]=Ett visningsinsticksprogram för Katapult
|
||||
Comment[tr]=Bir Katapult gösterim eklentisi
|
||||
Comment[uk]=Втулок дисплея для Катапульти
|
||||
|
@ -0,0 +1,78 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 KATAPULTDISPLAY_H
|
||||
#define KATAPULTDISPLAY_H
|
||||
|
||||
#include <qwidget.h>
|
||||
#include <qstring.h>
|
||||
#include <qevent.h>
|
||||
|
||||
#include "katapultitem.h"
|
||||
#include "katapultaction.h"
|
||||
|
||||
class Katapult;
|
||||
class KConfigBase;
|
||||
|
||||
/**
|
||||
@author Joe Ferris
|
||||
*/
|
||||
class KatapultDisplay : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
KatapultDisplay(const char *, WFlags);
|
||||
virtual ~KatapultDisplay();
|
||||
|
||||
void setQuery(QString);
|
||||
void setSelected(unsigned int);
|
||||
void setItem(const KatapultItem *);
|
||||
void setAction(const KatapultAction *);
|
||||
void setStatus(int);
|
||||
|
||||
virtual void readSettings(KConfigBase *);
|
||||
virtual void writeSettings(KConfigBase *);
|
||||
virtual QWidget * configure();
|
||||
|
||||
signals:
|
||||
void keyReleased(QKeyEvent *);
|
||||
void focusOut();
|
||||
|
||||
protected:
|
||||
virtual void keyPressEvent(QKeyEvent *);
|
||||
virtual void keyReleaseEvent(QKeyEvent *);
|
||||
virtual void focusOutEvent(QFocusEvent *);
|
||||
|
||||
QString query() const;
|
||||
unsigned int selected() const;
|
||||
const KatapultItem * item() const;
|
||||
const KatapultAction * action() const;
|
||||
int status() const;
|
||||
|
||||
private:
|
||||
QString _query;
|
||||
unsigned int _selectionLength;
|
||||
const KatapultItem *_item;
|
||||
const KatapultAction *_action;
|
||||
int _status;
|
||||
Katapult *app;
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,44 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 "katapultitem.moc"
|
||||
|
||||
#include <qpixmap.h>
|
||||
#include <qstring.h>
|
||||
|
||||
#include "katapultitem.h"
|
||||
|
||||
KatapultItem::KatapultItem()
|
||||
{
|
||||
}
|
||||
|
||||
KatapultItem::~KatapultItem()
|
||||
{
|
||||
}
|
||||
|
||||
QString KatapultItem::text() const
|
||||
{
|
||||
return QString::null;
|
||||
}
|
||||
|
||||
QPixmap KatapultItem::icon(int) const
|
||||
{
|
||||
return QSize(0, 0);
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 KATAPULTITEM_H
|
||||
#define KATAPULTITEM_H
|
||||
|
||||
#include <qobject.h>
|
||||
|
||||
#include "katapultaction.h"
|
||||
|
||||
class QPixmap;
|
||||
class QString;
|
||||
|
||||
/**
|
||||
@author Joe Ferris
|
||||
*/
|
||||
class KatapultItem : public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
KatapultItem();
|
||||
virtual ~KatapultItem();
|
||||
|
||||
virtual QString text() const;
|
||||
virtual QPixmap icon(int) const;
|
||||
|
||||
signals:
|
||||
void itemChanged();
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,59 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <qobject.h>
|
||||
|
||||
#include "match.h"
|
||||
|
||||
Match::Match()
|
||||
{
|
||||
this->_rank = 0;
|
||||
this->_item = 0;
|
||||
this->_matched = 0;
|
||||
this->_null = TRUE;
|
||||
}
|
||||
|
||||
Match::Match(const KatapultItem *_item, int _rank, unsigned int _matched)
|
||||
{
|
||||
this->_rank = _rank;
|
||||
this->_item = _item;
|
||||
this->_matched = _matched;
|
||||
this->_null = FALSE;
|
||||
}
|
||||
|
||||
int Match::rank() const
|
||||
{
|
||||
return _rank;
|
||||
}
|
||||
|
||||
unsigned int Match::matched() const
|
||||
{
|
||||
return _matched;
|
||||
}
|
||||
|
||||
const KatapultItem * Match::item() const
|
||||
{
|
||||
return _item;
|
||||
}
|
||||
|
||||
bool Match::isNull() const
|
||||
{
|
||||
return _null;
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 MATCH_H
|
||||
#define MATCH_H
|
||||
|
||||
class KatapultItem;
|
||||
|
||||
/**
|
||||
@author Joe Ferris
|
||||
*/
|
||||
class Match {
|
||||
public:
|
||||
Match();
|
||||
Match(const KatapultItem *, int, unsigned int);
|
||||
|
||||
int rank() const;
|
||||
const KatapultItem * item() const;
|
||||
bool isNull() const;
|
||||
unsigned int matched() const;
|
||||
|
||||
private:
|
||||
bool _null;
|
||||
int _rank;
|
||||
unsigned int _matched;
|
||||
const KatapultItem *_item;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,24 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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. *
|
||||
***************************************************************************/
|
||||
|
||||
#define S_Active 1
|
||||
#define S_NoResults 2
|
||||
#define S_HasResults 4
|
||||
#define S_Multiple 8
|
@ -0,0 +1,2 @@
|
||||
./admin/configure.in.min
|
||||
configure.in.in
|
@ -0,0 +1,6 @@
|
||||
#MIN_CONFIG(3.0.0)
|
||||
|
||||
AM_INIT_AUTOMAKE(katapult, 0.1)
|
||||
AC_C_BIGENDIAN
|
||||
AC_CHECK_KDEMAXPATHLEN
|
||||
|
@ -0,0 +1,221 @@
|
||||
<?xml version = '1.0'?>
|
||||
<kdevelop>
|
||||
<general>
|
||||
<author>Joe Ferris</author>
|
||||
<email>jferris@optimistictech.com</email>
|
||||
<version>0.1</version>
|
||||
<projectmanagement>KDevKDEAutoProject</projectmanagement>
|
||||
<primarylanguage>C++</primarylanguage>
|
||||
<keywords>
|
||||
<keyword>C++</keyword>
|
||||
<keyword>Code</keyword>
|
||||
<keyword>Qt</keyword>
|
||||
<keyword>KDE</keyword>
|
||||
</keywords>
|
||||
<projectdirectory>.</projectdirectory>
|
||||
<absoluteprojectpath>false</absoluteprojectpath>
|
||||
<description/>
|
||||
<ignoreparts>
|
||||
<part>KDevVisualBoyAdvance</part>
|
||||
</ignoreparts>
|
||||
<secondaryLanguages/>
|
||||
</general>
|
||||
<kdevautoproject>
|
||||
<general>
|
||||
<activetarget>katapult/katapult</activetarget>
|
||||
<useconfiguration>default</useconfiguration>
|
||||
<useactivetarget>true</useactivetarget>
|
||||
</general>
|
||||
<run>
|
||||
<mainprogram>katapult</mainprogram>
|
||||
<directoryradio>executable</directoryradio>
|
||||
<customdirectory>/usr/bin/</customdirectory>
|
||||
<programargs/>
|
||||
<terminal>false</terminal>
|
||||
<autocompile>true</autocompile>
|
||||
<envvars/>
|
||||
</run>
|
||||
<configurations>
|
||||
<optimized>
|
||||
<builddir>optimized</builddir>
|
||||
<ccompiler>kdevgccoptions</ccompiler>
|
||||
<cxxcompiler>kdevgppoptions</cxxcompiler>
|
||||
<f77compiler>kdevg77options</f77compiler>
|
||||
<cxxflags>-O2 -g0</cxxflags>
|
||||
</optimized>
|
||||
<debug>
|
||||
<configargs>--enable-debug=full --prefix=/usr</configargs>
|
||||
<builddir>debug</builddir>
|
||||
<ccompiler>kdevgccoptions</ccompiler>
|
||||
<cxxcompiler>kdevgppoptions</cxxcompiler>
|
||||
<f77compiler>kdevg77options</f77compiler>
|
||||
<cxxflags>-O0 -g3</cxxflags>
|
||||
<envvars/>
|
||||
<topsourcedir/>
|
||||
<cppflags/>
|
||||
<ldflags/>
|
||||
<ccompilerbinary/>
|
||||
<cxxcompilerbinary/>
|
||||
<f77compilerbinary/>
|
||||
<cflags/>
|
||||
<f77flags/>
|
||||
</debug>
|
||||
<default>
|
||||
<configargs>--prefix=/usr</configargs>
|
||||
<builddir/>
|
||||
<topsourcedir/>
|
||||
<cppflags/>
|
||||
<ldflags/>
|
||||
<ccompiler>kdevgccoptions</ccompiler>
|
||||
<cxxcompiler>kdevgppoptions</cxxcompiler>
|
||||
<f77compiler>kdevpgf77options</f77compiler>
|
||||
<ccompilerbinary/>
|
||||
<cxxcompilerbinary/>
|
||||
<f77compilerbinary/>
|
||||
<cflags/>
|
||||
<cxxflags/>
|
||||
<f77flags/>
|
||||
</default>
|
||||
</configurations>
|
||||
<make>
|
||||
<envvars>
|
||||
<envvar value="1" name="WANT_AUTOCONF_2_5" />
|
||||
<envvar value="1" name="WANT_AUTOMAKE_1_6" />
|
||||
</envvars>
|
||||
<abortonerror>false</abortonerror>
|
||||
<numberofjobs>1</numberofjobs>
|
||||
<dontact>false</dontact>
|
||||
<makebin/>
|
||||
<prio>0</prio>
|
||||
</make>
|
||||
</kdevautoproject>
|
||||
<kdevfileview>
|
||||
<groups>
|
||||
<group pattern="*.cpp;*.cxx;*.h" name="Sources" />
|
||||
<group pattern="*.ui" name="User Interface" />
|
||||
<group pattern="*.png" name="Icons" />
|
||||
<group pattern="*.po;*.ts" name="Translations" />
|
||||
<group pattern="*" name="Others" />
|
||||
<hidenonprojectfiles>false</hidenonprojectfiles>
|
||||
<hidenonlocation>false</hidenonlocation>
|
||||
</groups>
|
||||
<tree>
|
||||
<hidepatterns>*.o,*.lo,CVS</hidepatterns>
|
||||
<hidenonprojectfiles>false</hidenonprojectfiles>
|
||||
</tree>
|
||||
</kdevfileview>
|
||||
<kdevdoctreeview>
|
||||
<ignoretocs>
|
||||
<toc>ada</toc>
|
||||
<toc>ada_bugs_gcc</toc>
|
||||
<toc>bash</toc>
|
||||
<toc>bash_bugs</toc>
|
||||
<toc>clanlib</toc>
|
||||
<toc>w3c-dom-level2-html</toc>
|
||||
<toc>fortran_bugs_gcc</toc>
|
||||
<toc>gnome1</toc>
|
||||
<toc>gnustep</toc>
|
||||
<toc>gtk</toc>
|
||||
<toc>gtk_bugs</toc>
|
||||
<toc>haskell</toc>
|
||||
<toc>haskell_bugs_ghc</toc>
|
||||
<toc>java_bugs_gcc</toc>
|
||||
<toc>java_bugs_sun</toc>
|
||||
<toc>pascal_bugs_fp</toc>
|
||||
<toc>php</toc>
|
||||
<toc>php_bugs</toc>
|
||||
<toc>perl</toc>
|
||||
<toc>perl_bugs</toc>
|
||||
<toc>python</toc>
|
||||
<toc>python_bugs</toc>
|
||||
<toc>ruby</toc>
|
||||
<toc>ruby_bugs</toc>
|
||||
<toc>sdl</toc>
|
||||
<toc>w3c-svg</toc>
|
||||
<toc>sw</toc>
|
||||
<toc>w3c-uaag10</toc>
|
||||
<toc>wxwidgets_bugs</toc>
|
||||
</ignoretocs>
|
||||
<ignoreqt_xml>
|
||||
<toc>qmake User Guide</toc>
|
||||
</ignoreqt_xml>
|
||||
</kdevdoctreeview>
|
||||
<kdevdebugger>
|
||||
<general>
|
||||
<dbgshell>libtool</dbgshell>
|
||||
<programargs/>
|
||||
<gdbpath/>
|
||||
<configGdbScript/>
|
||||
<runShellScript/>
|
||||
<runGdbScript/>
|
||||
<breakonloadinglibs>true</breakonloadinglibs>
|
||||
<separatetty>false</separatetty>
|
||||
<floatingtoolbar>false</floatingtoolbar>
|
||||
</general>
|
||||
<display>
|
||||
<staticmembers>false</staticmembers>
|
||||
<demanglenames>true</demanglenames>
|
||||
<outputradix>10</outputradix>
|
||||
</display>
|
||||
</kdevdebugger>
|
||||
<kdevfilecreate>
|
||||
<filetypes/>
|
||||
<useglobaltypes>
|
||||
<type ext="ui" />
|
||||
<type ext="cpp" />
|
||||
<type ext="h" />
|
||||
</useglobaltypes>
|
||||
</kdevfilecreate>
|
||||
<kdevcppsupport>
|
||||
<references/>
|
||||
<codecompletion>
|
||||
<includeGlobalFunctions>true</includeGlobalFunctions>
|
||||
<includeTypes>true</includeTypes>
|
||||
<includeEnums>true</includeEnums>
|
||||
<includeTypedefs>false</includeTypedefs>
|
||||
<automaticCodeCompletion>true</automaticCodeCompletion>
|
||||
<automaticArgumentsHint>true</automaticArgumentsHint>
|
||||
<automaticHeaderCompletion>true</automaticHeaderCompletion>
|
||||
<codeCompletionDelay>250</codeCompletionDelay>
|
||||
<argumentsHintDelay>400</argumentsHintDelay>
|
||||
<headerCompletionDelay>250</headerCompletionDelay>
|
||||
</codecompletion>
|
||||
</kdevcppsupport>
|
||||
<cppsupportpart>
|
||||
<filetemplates>
|
||||
<interfacesuffix>.h</interfacesuffix>
|
||||
<implementationsuffix>.cpp</implementationsuffix>
|
||||
</filetemplates>
|
||||
</cppsupportpart>
|
||||
<dist>
|
||||
<custom>false</custom>
|
||||
<bzip>false</bzip>
|
||||
<archname/>
|
||||
<appname>katapult.kdevelop</appname>
|
||||
<version>0.1</version>
|
||||
<release/>
|
||||
<vendor/>
|
||||
<licence/>
|
||||
<summary/>
|
||||
<group/>
|
||||
<packager/>
|
||||
<description/>
|
||||
<changelog/>
|
||||
<devpackage>false</devpackage>
|
||||
<docspackage>false</docspackage>
|
||||
<appicon>false</appicon>
|
||||
<arch>0</arch>
|
||||
<genHTML>false</genHTML>
|
||||
<useRPM>false</useRPM>
|
||||
<ftpkde>false</ftpkde>
|
||||
<appskde>false</appskde>
|
||||
<url/>
|
||||
</dist>
|
||||
<kdevdocumentation>
|
||||
<projectdoc>
|
||||
<docsystem/>
|
||||
<docurl/>
|
||||
<usermanualurl/>
|
||||
</projectdoc>
|
||||
</kdevdocumentation>
|
||||
</kdevelop>
|
@ -0,0 +1,33 @@
|
||||
<?xml version = '1.0' encoding = 'UTF-8'?>
|
||||
<!DOCTYPE KDevPrjSession>
|
||||
<KDevPrjSession>
|
||||
<DocsAndViews NumberOfDocuments="3" >
|
||||
<Doc0 NumberOfViews="1" URL="file:///home/bastian/programmieren/katapult/trunk/katapult/katapult/katapult.cpp" >
|
||||
<View0 Type="Source" />
|
||||
</Doc0>
|
||||
<Doc1 NumberOfViews="1" URL="file:///home/bastian/programmieren/katapult/trunk/katapult/katapult/katapult.h" >
|
||||
<View0 line="58" Type="Source" />
|
||||
</Doc1>
|
||||
<Doc2 NumberOfViews="1" URL="file:///home/bastian/programmieren/katapult/trunk/katapult/katapult/main.cpp" >
|
||||
<View0 line="57" Type="Source" />
|
||||
</Doc2>
|
||||
</DocsAndViews>
|
||||
<pluginList>
|
||||
<kdevdebugger>
|
||||
<breakpointList/>
|
||||
</kdevdebugger>
|
||||
<kdevbookmarks>
|
||||
<bookmarks/>
|
||||
</kdevbookmarks>
|
||||
<kdevrbdebugger>
|
||||
<breakpointList/>
|
||||
<watchExpressions/>
|
||||
</kdevrbdebugger>
|
||||
<kdevvalgrind>
|
||||
<executable path="" params="" />
|
||||
<valgrind path="" params="" />
|
||||
<calltree path="" params="" />
|
||||
<kcachegrind path="" />
|
||||
</kdevvalgrind>
|
||||
</pluginList>
|
||||
</KDevPrjSession>
|
@ -0,0 +1,23 @@
|
||||
# set the include path for X, qt and KDE
|
||||
INCLUDES = -I$(top_srcdir)/katapult/common $(all_includes)
|
||||
|
||||
# these are the headers for your project
|
||||
noinst_HEADERS = katapult.h katapultsettings.h katapultconfigdlg.h \
|
||||
katapultiface.h
|
||||
|
||||
|
||||
# let automoc handle all of the meta source files (moc)
|
||||
METASOURCES = AUTO
|
||||
|
||||
KDE_ICON = katapult
|
||||
|
||||
bin_PROGRAMS = katapult
|
||||
|
||||
# the application source, library search path, and link libraries
|
||||
katapult_SOURCES = confgeneral.ui confcatalogs.ui confdisplay.ui main.cpp \
|
||||
katapult.cpp katapultsettings.cpp katapultconfigdlg.cpp katapultiface.skel
|
||||
katapult_LDFLAGS = $(KDE_RPATH) $(all_libraries)
|
||||
katapult_LDADD = $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KIO) $(top_builddir)/katapult/common/libkatapult.la
|
||||
|
||||
# this is where the desktop file will go
|
||||
xdg_apps_DATA = katapult.desktop
|
@ -0,0 +1,39 @@
|
||||
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
|
||||
<class>ConfCatalogs</class>
|
||||
<widget class="QWidget">
|
||||
<property name="name">
|
||||
<cstring>ConfCatalogs</cstring>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>300</width>
|
||||
<height>211</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="caption">
|
||||
<string>Catalogs</string>
|
||||
</property>
|
||||
<vbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="KActionSelector">
|
||||
<property name="name">
|
||||
<cstring>catalogs</cstring>
|
||||
</property>
|
||||
<property name="selectedInsertionPolicy">
|
||||
<enum>Sorted</enum>
|
||||
</property>
|
||||
<property name="showUpDownButtons">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</vbox>
|
||||
</widget>
|
||||
<layoutdefaults spacing="6" margin="11"/>
|
||||
<includehints>
|
||||
<includehint>kactionselector.h</includehint>
|
||||
</includehints>
|
||||
</UI>
|
@ -0,0 +1,64 @@
|
||||
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
|
||||
<class>ConfDisplay</class>
|
||||
<widget class="QWidget">
|
||||
<property name="name">
|
||||
<cstring>ConfDisplay</cstring>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>299</width>
|
||||
<height>216</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="caption">
|
||||
<string>Display</string>
|
||||
</property>
|
||||
<vbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="KComboBox">
|
||||
<property name="name">
|
||||
<cstring>displayName</cstring>
|
||||
</property>
|
||||
<property name="duplicatesEnabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QFrame">
|
||||
<property name="name">
|
||||
<cstring>displaySettings</cstring>
|
||||
</property>
|
||||
<property name="frameShape">
|
||||
<enum>StyledPanel</enum>
|
||||
</property>
|
||||
<property name="frameShadow">
|
||||
<enum>Raised</enum>
|
||||
</property>
|
||||
</widget>
|
||||
<spacer>
|
||||
<property name="name">
|
||||
<cstring>spacer1</cstring>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>Expanding</enum>
|
||||
</property>
|
||||
<property name="sizeHint">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>80</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</vbox>
|
||||
</widget>
|
||||
<layoutdefaults spacing="6" margin="11"/>
|
||||
<includehints>
|
||||
<includehint>kcombobox.h</includehint>
|
||||
</includehints>
|
||||
</UI>
|
@ -0,0 +1,250 @@
|
||||
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
|
||||
<class>ConfGeneral</class>
|
||||
<widget class="QWidget">
|
||||
<property name="name">
|
||||
<cstring>ConfGeneral</cstring>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>543</width>
|
||||
<height>669</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="caption">
|
||||
<string>General Settings</string>
|
||||
</property>
|
||||
<vbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QButtonGroup">
|
||||
<property name="name">
|
||||
<cstring>buttonGroup2</cstring>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy>
|
||||
<hsizetype>3</hsizetype>
|
||||
<vsizetype>1</vsizetype>
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>Executing Actions</string>
|
||||
</property>
|
||||
<vbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLabel">
|
||||
<property name="name">
|
||||
<cstring>HideDelayLabel</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Delay before hiding &launcher:</string>
|
||||
</property>
|
||||
<property name="buddy" stdset="0">
|
||||
<cstring>hideDelay</cstring>
|
||||
</property>
|
||||
<property name="toolTip" stdset="0">
|
||||
<string>How long Katapult waits before hiding the launcher</string>
|
||||
</property>
|
||||
<property name="whatsThis" stdset="0">
|
||||
<string>After an action is performed or no results were found, the Katapult launcher will be hidden.
|
||||
|
||||
This sets how long Katapult will wait before hiding the launcher.</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QSlider">
|
||||
<property name="name">
|
||||
<cstring>hideDelay</cstring>
|
||||
</property>
|
||||
<property name="maxValue">
|
||||
<number>5000</number>
|
||||
</property>
|
||||
<property name="lineStep">
|
||||
<number>100</number>
|
||||
</property>
|
||||
<property name="pageStep">
|
||||
<number>1000</number>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Horizontal</enum>
|
||||
</property>
|
||||
<property name="tickmarks">
|
||||
<enum>Below</enum>
|
||||
</property>
|
||||
<property name="tickInterval">
|
||||
<number>1000</number>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QCheckBox">
|
||||
<property name="name">
|
||||
<cstring>autoExec</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Automatically perform &default action</string>
|
||||
</property>
|
||||
<property name="toolTip" stdset="0">
|
||||
<string>Whether to wait for confirmation or automatically execute actions</string>
|
||||
</property>
|
||||
<property name="whatsThis" stdset="0">
|
||||
<string>If enabled, Katapult will automatically perform the default action once all items but one have been eliminated. This avoids the extra keystroke after there is only one possibility.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</vbox>
|
||||
</widget>
|
||||
<widget class="QButtonGroup">
|
||||
<property name="name">
|
||||
<cstring>noResultOptions</cstring>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy>
|
||||
<hsizetype>1</hsizetype>
|
||||
<vsizetype>1</vsizetype>
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>No Results</string>
|
||||
</property>
|
||||
<property name="selectedId" stdset="0">
|
||||
<number>-1</number>
|
||||
</property>
|
||||
<vbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLabel">
|
||||
<property name="name">
|
||||
<cstring>textLabel1</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>When there are no results:</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QRadioButton">
|
||||
<property name="name">
|
||||
<cstring>nrClearQuery</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Clear the query after a delay</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QRadioButton">
|
||||
<property name="name">
|
||||
<cstring>nrHideDisplay</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Hide the display after a delay</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QRadioButton">
|
||||
<property name="name">
|
||||
<cstring>nrDoNothing</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Do &nothing</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel">
|
||||
<property name="name">
|
||||
<cstring>textLabel2</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Delay before clearing or hiding:</string>
|
||||
</property>
|
||||
<property name="buddy" stdset="0">
|
||||
<cstring>noResultsDelay</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QSlider">
|
||||
<property name="name">
|
||||
<cstring>noResultsDelay</cstring>
|
||||
</property>
|
||||
<property name="maxValue">
|
||||
<number>5000</number>
|
||||
</property>
|
||||
<property name="lineStep">
|
||||
<number>100</number>
|
||||
</property>
|
||||
<property name="pageStep">
|
||||
<number>1000</number>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Horizontal</enum>
|
||||
</property>
|
||||
<property name="tickmarks">
|
||||
<enum>Below</enum>
|
||||
</property>
|
||||
<property name="tickInterval">
|
||||
<number>1000</number>
|
||||
</property>
|
||||
</widget>
|
||||
</vbox>
|
||||
</widget>
|
||||
<widget class="QButtonGroup">
|
||||
<property name="name">
|
||||
<cstring>buttonGroup3</cstring>
|
||||
</property>
|
||||
<property name="sizePolicy">
|
||||
<sizepolicy>
|
||||
<hsizetype>3</hsizetype>
|
||||
<vsizetype>1</vsizetype>
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>System Tray</string>
|
||||
</property>
|
||||
<widget class="QCheckBox">
|
||||
<property name="name">
|
||||
<cstring>systrayIcon</cstring>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>10</x>
|
||||
<y>30</y>
|
||||
<width>280</width>
|
||||
<height>24</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="mouseTracking">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>&Show an icon in the systray</string>
|
||||
</property>
|
||||
<property name="toolTip" stdset="0">
|
||||
<string>If activated, katapult shows an icon in the System Tray when running</string>
|
||||
</property>
|
||||
<property name="whatsThis" stdset="0">
|
||||
<string>If enabled, Katapult will automatically show an Icon in the System Tray.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</widget>
|
||||
<spacer>
|
||||
<property name="name">
|
||||
<cstring>spacer3_2</cstring>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>Expanding</enum>
|
||||
</property>
|
||||
<property name="sizeHint">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>62</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</vbox>
|
||||
</widget>
|
||||
<layoutdefaults spacing="6" margin="11"/>
|
||||
</UI>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,360 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <kapp.h>
|
||||
#include <kiconloader.h>
|
||||
#include <kglobal.h>
|
||||
#include <kwin.h>
|
||||
#include <kkeydialog.h>
|
||||
#include <kaction.h>
|
||||
#include <kparts/componentfactory.h>
|
||||
#include <kpassivepopup.h>
|
||||
#include <kpopupmenu.h>
|
||||
#include <klocale.h>
|
||||
#include <kaboutapplication.h>
|
||||
#include <dcopclient.h>
|
||||
|
||||
#include <qpopupmenu.h>
|
||||
#include <qmenudata.h>
|
||||
#include <qcursor.h>
|
||||
|
||||
#include "katapult.h"
|
||||
#include "actionregistry.h"
|
||||
#include "katapultcatalog.h"
|
||||
#include "katapultdisplay.h"
|
||||
#include "katapultsettings.h"
|
||||
#include "status.h"
|
||||
|
||||
Katapult::Katapult()
|
||||
: DCOPObject("Katapult"),
|
||||
KSystemTray(0, "katapultSysTray")
|
||||
{
|
||||
// Register with DCOP
|
||||
kapp->dcopClient()->registerAs("katapult", false);
|
||||
kapp->dcopClient()->setDefaultObject(objId());
|
||||
|
||||
setPixmap(KGlobal::iconLoader()->loadIcon("katapult", KIcon::Small));
|
||||
|
||||
display = 0;
|
||||
globalAccel = 0;
|
||||
actions = 0;
|
||||
action = 0;
|
||||
executing = FALSE;
|
||||
_query = "";
|
||||
|
||||
settings = new KatapultSettings();
|
||||
|
||||
hideTimer = new QTimer(this);
|
||||
connect(hideTimer, SIGNAL(timeout()), this, SLOT(hideLauncher()));
|
||||
clearTimer = new QTimer(this);
|
||||
connect(clearTimer, SIGNAL(timeout()), this, SLOT(clearQuery()));
|
||||
|
||||
connect(settings, SIGNAL(catalogsChanged()), this, SLOT(loadCatalogPlugins()));
|
||||
connect(settings, SIGNAL(displayChanged()), this, SLOT(initDisplay()));
|
||||
connect(settings, SIGNAL(systrayChanged()), this, SLOT(updateSystray()));
|
||||
|
||||
loadCatalogPlugins();
|
||||
initDisplay();
|
||||
|
||||
if(settings->systrayIcon())
|
||||
{
|
||||
show();
|
||||
}
|
||||
|
||||
//show popup (unless we're session restored)
|
||||
if (!settings->hideNotification()) {
|
||||
QString msg = i18n("Application successfully started !\nPress %1 to use it...")
|
||||
.arg(globalAccel->shortcut("show_katapult").toString());
|
||||
KPassivePopup::message(i18n("Katapult Notification"), msg, kapp->miniIcon(), this, 0, settings->notificationTimeout());
|
||||
}
|
||||
}
|
||||
|
||||
Katapult::~Katapult()
|
||||
{
|
||||
if(globalAccel != 0)
|
||||
delete globalAccel;
|
||||
if(actions != 0)
|
||||
delete actions;
|
||||
delete settings;
|
||||
}
|
||||
|
||||
void Katapult::loadCatalogPlugins()
|
||||
{
|
||||
catalogs = settings->activeCatalogs();
|
||||
}
|
||||
|
||||
void Katapult::initDisplay()
|
||||
{
|
||||
display = settings->display();
|
||||
if(display == 0) {
|
||||
initAccel(this);
|
||||
} else {
|
||||
initAccel(display);
|
||||
setQuery("");
|
||||
connect(display, SIGNAL(keyReleased(QKeyEvent *)), this, SLOT(keyReleased(QKeyEvent *)));
|
||||
connect(display, SIGNAL(focusOut()), this, SLOT(hideLauncher()));
|
||||
}
|
||||
}
|
||||
|
||||
void Katapult::initAccel(QWidget *parent)
|
||||
{
|
||||
globalAccel = new KGlobalAccel(parent);
|
||||
globalAccel->insert("show_katapult", i18n("Show Launcher"), i18n("Shows the Katapult launcher"), ALT+Key_Space, ALT+Key_Space,
|
||||
this, SLOT(showLauncher()));
|
||||
globalAccel->readSettings();
|
||||
globalAccel->updateConnections();
|
||||
|
||||
actions = new KActionCollection(parent);
|
||||
actionCollection()->clear();
|
||||
|
||||
contextMenu()->clear();
|
||||
|
||||
new KAction(i18n("Execute"), "exec", Key_Return, this, SLOT(execute()), actions, "execute");
|
||||
new KAction(i18n("Clear"), "editclear", Key_Left, this, SLOT(clearQuery()), actions, "clear");
|
||||
new KAction(i18n("Close"), "fileclose", Key_Escape, this, SLOT(hideLauncher()), actions, "close");
|
||||
new KAction(i18n("Complete Query"), "next", Key_Right, this, SLOT(completeQuery()), actions, "complete_query");
|
||||
new KAction(i18n("Show Context Menu"), "menu", CTRL+Key_C, this, SLOT(showContextMenu()), actions, "show_menu");
|
||||
|
||||
KAction *actGlobAccel = KStdAction::keyBindings(this, SLOT(showGlobalShortcutsDialog()), actions);
|
||||
actGlobAccel->setText(i18n("Configure &Global Shortcuts..."));
|
||||
actGlobAccel->plug((QWidget *) contextMenu());
|
||||
|
||||
KStdAction::keyBindings(this, SLOT(showShortcutsDialog()), actions)->plug((QWidget *) contextMenu());
|
||||
KStdAction::preferences(settings, SLOT(configure()), actions)->plug((QWidget *) contextMenu());
|
||||
|
||||
contextMenu()->insertSeparator();
|
||||
KStdAction::aboutApp(this, SLOT(showAboutDialog()), actions)->plug((QWidget *) contextMenu());
|
||||
contextMenu()->insertSeparator();
|
||||
|
||||
KStdAction::quit(this, SLOT(close()), actions)->plug((QWidget *) contextMenu());
|
||||
|
||||
actions->readShortcutSettings();
|
||||
}
|
||||
|
||||
void Katapult::completeQuery()
|
||||
{
|
||||
if(!bestMatch.isNull()) {
|
||||
QString newQuery = bestMatch.item()->text();
|
||||
setQuery("");
|
||||
setQuery(newQuery);
|
||||
}
|
||||
}
|
||||
|
||||
void Katapult::clearQuery()
|
||||
{
|
||||
setQuery("");
|
||||
}
|
||||
|
||||
void Katapult::setQuery(QString _query)
|
||||
{
|
||||
allStatus=0;
|
||||
bestMatch = Match();
|
||||
|
||||
this->_query = _query;
|
||||
if(display != 0)
|
||||
display->setQuery(_query);
|
||||
if(_query == "")
|
||||
{
|
||||
QDictIterator<KatapultCatalog> it(catalogs);
|
||||
KatapultCatalog *catalog;
|
||||
while((catalog = it.current()) != 0)
|
||||
{
|
||||
++it;
|
||||
catalog->setQuery("");
|
||||
}
|
||||
display->setItem(0);
|
||||
display->setAction(0);
|
||||
display->setStatus(0);
|
||||
display->setSelected(0);
|
||||
action = 0;
|
||||
} else if(catalogs.count() == 0) {
|
||||
allStatus = S_Active | S_NoResults;
|
||||
display->setStatus(allStatus);
|
||||
} else {
|
||||
QDictIterator<KatapultCatalog> it(catalogs);
|
||||
KatapultCatalog *catalog;
|
||||
int status;
|
||||
|
||||
while((catalog = it.current()) != 0)
|
||||
{
|
||||
++it;
|
||||
catalog->setQuery(_query);
|
||||
|
||||
status = catalog->status();
|
||||
if(status & S_HasResults)
|
||||
{
|
||||
if(allStatus & S_HasResults)
|
||||
allStatus |= S_Multiple;
|
||||
Match match = catalog->bestMatch();
|
||||
if(!match.isNull())
|
||||
{
|
||||
if(bestMatch.isNull() || bestMatch.rank() < match.rank())
|
||||
bestMatch = match;
|
||||
}
|
||||
}
|
||||
allStatus |= status;
|
||||
}
|
||||
if(bestMatch.isNull() || bestMatch.rank() == 0)
|
||||
bestMatch = Match();
|
||||
if(!bestMatch.isNull()) {
|
||||
QPtrList<KatapultAction> itemActions = ActionRegistry::self()->actionsForItem(bestMatch.item());
|
||||
action = itemActions.at(0);
|
||||
connect(bestMatch.item(), SIGNAL(itemChanged()), this, SLOT(updateDisplay()));
|
||||
}
|
||||
}
|
||||
if(!(allStatus & S_HasResults) && allStatus & S_Active) {
|
||||
// no results
|
||||
switch(settings->noResultsAction()) {
|
||||
case KatapultSettings::NR_HideDisplay:
|
||||
hideTimer->start(settings->noResultsDelay(), TRUE);
|
||||
break;
|
||||
case KatapultSettings::NR_ClearQuery:
|
||||
clearTimer->start(settings->noResultsDelay(), TRUE);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
//stop timers if a catalog has suddenly realized it
|
||||
//does accept the input after all.
|
||||
if (hideTimer->isActive())
|
||||
hideTimer->stop();
|
||||
if (clearTimer->isActive())
|
||||
clearTimer->stop();
|
||||
}
|
||||
|
||||
if(!executing && settings->isAutoExecute() && allStatus & S_HasResults && !(allStatus & S_Multiple)) {
|
||||
execute();
|
||||
}
|
||||
|
||||
updateDisplay();
|
||||
}
|
||||
|
||||
void Katapult::showAboutDialog()
|
||||
{
|
||||
KAboutApplication *aboutDialog = new KAboutApplication(this);
|
||||
aboutDialog->exec();
|
||||
delete aboutDialog;
|
||||
}
|
||||
|
||||
void Katapult::updateDisplay()
|
||||
{
|
||||
if(display != 0 && executing == FALSE)
|
||||
{
|
||||
display->setItem(bestMatch.item());
|
||||
if(bestMatch.isNull()) {
|
||||
display->setAction(0);
|
||||
display->setSelected(0);
|
||||
} else {
|
||||
display->setAction(action);
|
||||
display->setSelected(bestMatch.matched());
|
||||
}
|
||||
display->setStatus(allStatus);
|
||||
display->update();
|
||||
}
|
||||
}
|
||||
|
||||
void Katapult::showLauncher()
|
||||
{
|
||||
if(!settings->isConfiguring() && display != 0)
|
||||
{
|
||||
setQuery("");
|
||||
display->setStatus(0);
|
||||
display->setQuery("");
|
||||
display->show();
|
||||
display->update();
|
||||
KWin::forceActiveWindow(display->winId());
|
||||
}
|
||||
}
|
||||
|
||||
void Katapult::hideLauncher()
|
||||
{
|
||||
if(display != 0)
|
||||
display->hide();
|
||||
setQuery("");
|
||||
}
|
||||
|
||||
void Katapult::showShortcutsDialog()
|
||||
{
|
||||
KKeyDialog::configure(actions);
|
||||
}
|
||||
|
||||
void Katapult::showGlobalShortcutsDialog()
|
||||
{
|
||||
KKeyDialog::configure(globalAccel);
|
||||
}
|
||||
|
||||
void Katapult::execute()
|
||||
{
|
||||
executing = TRUE;
|
||||
if(action == 0)
|
||||
{
|
||||
display->setStatus(S_Active | S_NoResults);
|
||||
display->update();
|
||||
hideTimer->start(settings->hideDelay(), TRUE);
|
||||
} else {
|
||||
completeQuery();
|
||||
if(!bestMatch.isNull())
|
||||
action->execute(bestMatch.item());
|
||||
hideTimer->start(settings->hideDelay(), TRUE);
|
||||
}
|
||||
executing = FALSE;
|
||||
}
|
||||
|
||||
void Katapult::updateSystray()
|
||||
{
|
||||
if(settings->systrayIcon())
|
||||
show();
|
||||
else
|
||||
hide();
|
||||
}
|
||||
|
||||
void Katapult::showContextMenu()
|
||||
{
|
||||
contextMenu()->popup(QCursor::pos());
|
||||
}
|
||||
|
||||
void Katapult::keyReleased(QKeyEvent *e)
|
||||
{
|
||||
if(e->key() == Key_BackSpace) {
|
||||
if(hideTimer->isActive())
|
||||
hideTimer->stop();
|
||||
if(clearTimer->isActive())
|
||||
clearTimer->stop();
|
||||
QString newQuery = _query.left(_query.length()-1);
|
||||
setQuery("");
|
||||
setQuery(newQuery);
|
||||
} else {
|
||||
QString t = e->text();
|
||||
if ( !t.isEmpty() && (!e->ascii() || e->ascii()>=32) &&
|
||||
e->key() != Key_Delete)
|
||||
setQuery(_query + t);
|
||||
}
|
||||
}
|
||||
|
||||
void Katapult::mousePressEvent(QMouseEvent *e)
|
||||
{
|
||||
if(e->button() == LeftButton)
|
||||
showLauncher();
|
||||
else
|
||||
KSystemTray::mousePressEvent(e);
|
||||
}
|
||||
|
||||
#include "katapult.moc"
|
@ -0,0 +1,94 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 _KATAPULT_H_
|
||||
#define _KATAPULT_H_
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <ksystemtray.h>
|
||||
#include <kglobalaccel.h>
|
||||
#include <kactioncollection.h>
|
||||
#include <dcopobject.h>
|
||||
|
||||
#include <qstring.h>
|
||||
#include <qptrlist.h>
|
||||
#include <qevent.h>
|
||||
#include <qtimer.h>
|
||||
#include <qdict.h>
|
||||
|
||||
#include <match.h>
|
||||
|
||||
#include "katapultdisplay.h"
|
||||
#include "katapultcatalog.h"
|
||||
#include "katapultaction.h"
|
||||
#include "katapultiface.h"
|
||||
|
||||
class KatapultSettings;
|
||||
|
||||
class Katapult : public KSystemTray, virtual public KatapultIface
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
Katapult();
|
||||
~Katapult();
|
||||
|
||||
void setQuery(QString);
|
||||
QString query() const;
|
||||
|
||||
public slots:
|
||||
void updateDisplay();
|
||||
void showLauncher();
|
||||
void hideLauncher();
|
||||
void completeQuery();
|
||||
void clearQuery();
|
||||
void showShortcutsDialog();
|
||||
void showGlobalShortcutsDialog();
|
||||
void showAboutDialog();
|
||||
void loadCatalogPlugins();
|
||||
void initDisplay();
|
||||
virtual void keyReleased(QKeyEvent *);
|
||||
void execute();
|
||||
void updateSystray();
|
||||
void showContextMenu();
|
||||
|
||||
protected:
|
||||
virtual void mousePressEvent(QMouseEvent *);
|
||||
|
||||
private:
|
||||
void initAccel(QWidget *);
|
||||
|
||||
bool executing;
|
||||
int allStatus;
|
||||
KatapultDisplay *display;
|
||||
KGlobalAccel *globalAccel;
|
||||
KActionCollection *actions;
|
||||
KatapultSettings *settings;
|
||||
Match bestMatch;
|
||||
const KatapultAction *action;
|
||||
QString _query;
|
||||
QDict<KatapultCatalog> catalogs;
|
||||
QTimer *hideTimer;
|
||||
QTimer *clearTimer;
|
||||
};
|
||||
|
||||
#endif // _KATAPULT_H_
|
@ -0,0 +1,181 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <kactionselector.h>
|
||||
#include <kconfig.h>
|
||||
#include <kapplication.h>
|
||||
#include <kcombobox.h>
|
||||
#include <klocale.h>
|
||||
|
||||
#include <qframe.h>
|
||||
#include <qlayout.h>
|
||||
#include <qslider.h>
|
||||
#include <qcheckbox.h>
|
||||
#include <qstringlist.h>
|
||||
#include <qradiobutton.h>
|
||||
|
||||
#include "katapultconfigdlg.h"
|
||||
#include "katapultsettings.h"
|
||||
#include "katapultcatalog.h"
|
||||
#include "katapultdisplay.h"
|
||||
|
||||
#include "confgeneral.h"
|
||||
#include "confcatalogs.h"
|
||||
#include "confdisplay.h"
|
||||
|
||||
KatapultConfigDlg::KatapultConfigDlg(KatapultSettings *settings)
|
||||
: KDialogBase(TreeList, "Configure", Ok|Cancel, Ok)
|
||||
{
|
||||
this->settings = settings;
|
||||
setTreeListAutoResize(TRUE);
|
||||
|
||||
// general settings
|
||||
QFrame *fConfGeneral = addPage(QString("Katapult"), i18n("General Settings"));
|
||||
general = new ConfGeneral(fConfGeneral);
|
||||
(new QVBoxLayout(fConfGeneral, 0, KDialog::spacingHint()))->addWidget(general);
|
||||
|
||||
general->hideDelay->setValue(settings->hideDelay());
|
||||
general->autoExec->setChecked(settings->isAutoExecute());
|
||||
general->noResultsDelay->setValue(settings->noResultsDelay());
|
||||
general->systrayIcon->setChecked(settings->systrayIcon());
|
||||
switch(settings->noResultsAction()) {
|
||||
case KatapultSettings::NR_DoNothing: general->nrDoNothing->setChecked(TRUE); break;
|
||||
case KatapultSettings::NR_HideDisplay: general->nrHideDisplay->setChecked(TRUE); break;
|
||||
default: general->nrClearQuery->setChecked(TRUE); break;
|
||||
}
|
||||
connect(general->nrDoNothing, SIGNAL(toggled(bool)), this, SLOT(nrDoNothingToggled(bool)));
|
||||
general->noResultsDelay->setEnabled(!general->nrDoNothing->isChecked());
|
||||
|
||||
// catalog settings
|
||||
QFrame *fConfCatalogs = addPage(i18n("Catalogs"), i18n("Enabled Catalogs"));
|
||||
catalogConf = new ConfCatalogs(fConfCatalogs);
|
||||
(new QVBoxLayout(fConfCatalogs, 0, KDialog::spacingHint()))->addWidget(catalogConf);
|
||||
|
||||
catalogConf->catalogs->selectedListBox()->insertStringList(settings->activeCatalogNames());
|
||||
catalogConf->catalogs->availableListBox()->insertStringList(settings->inactiveCatalogNames());
|
||||
|
||||
catalogPages.setAutoDelete(TRUE);
|
||||
QDict<KatapultCatalog> catalogs;
|
||||
catalogs = settings->activeCatalogs();
|
||||
QDictIterator<KatapultCatalog> it(catalogs);
|
||||
KatapultCatalog *catalog;
|
||||
while((catalog = it.current()) != 0)
|
||||
{
|
||||
QString catalogName = it.currentKey();
|
||||
addCatalogPage(catalogName, catalog);
|
||||
++it;
|
||||
}
|
||||
|
||||
// display settings
|
||||
QFrame *fConfDisplay = addPage(i18n("Display"), i18n("Display"));
|
||||
display = new ConfDisplay(fConfDisplay);
|
||||
(new QVBoxLayout(fConfDisplay, 0, KDialog::spacingHint()))->addWidget(display);
|
||||
new QVBoxLayout((QWidget *) display->displaySettings, 0, KDialog::spacingHint());
|
||||
|
||||
QStringList displays = settings->displayNames();
|
||||
display->displayName->insertStringList(displays);
|
||||
display->displayName->setCurrentItem(settings->displayNumber());
|
||||
displayConfig = 0;
|
||||
addDisplaySettings();
|
||||
|
||||
unfoldTreeList(TRUE);
|
||||
|
||||
// connect signals
|
||||
connect(catalogConf->catalogs, SIGNAL(added(QListBoxItem *)), this, SLOT(activateCatalog(QListBoxItem* )));
|
||||
connect(catalogConf->catalogs, SIGNAL(removed(QListBoxItem *)), this, SLOT(deactivateCatalog(QListBoxItem* )));
|
||||
connect(display->displayName, SIGNAL(activated(int)), this, SLOT(activateDisplay(int)));
|
||||
connect(this, SIGNAL(okClicked()), this, SLOT(saveSettings()));
|
||||
}
|
||||
|
||||
KatapultConfigDlg::~KatapultConfigDlg()
|
||||
{
|
||||
}
|
||||
|
||||
void KatapultConfigDlg::nrDoNothingToggled(bool on)
|
||||
{
|
||||
general->noResultsDelay->setEnabled(!on);
|
||||
}
|
||||
|
||||
void KatapultConfigDlg::saveSettings()
|
||||
{
|
||||
settings->setHideDelay(general->hideDelay->value());
|
||||
settings->setAutoExecute(general->autoExec->isChecked());
|
||||
settings->setNoResultsDelay(general->noResultsDelay->value());
|
||||
settings->setSystrayIcon(general->systrayIcon->isChecked());
|
||||
if (general->nrDoNothing->isChecked()) {
|
||||
settings->setNoResultsAction(KatapultSettings::NR_DoNothing);
|
||||
} else if (general->nrHideDisplay->isChecked()) {
|
||||
settings->setNoResultsAction(KatapultSettings::NR_HideDisplay);
|
||||
} else {
|
||||
settings->setNoResultsAction(KatapultSettings::NR_ClearQuery);
|
||||
}
|
||||
}
|
||||
|
||||
void KatapultConfigDlg::activateCatalog(QListBoxItem *i)
|
||||
{
|
||||
settings->activateCatalog(i->text());
|
||||
KatapultCatalog *catalog = settings->catalog(i->text());
|
||||
if(catalog != 0)
|
||||
addCatalogPage(i->text(), catalog);
|
||||
}
|
||||
|
||||
void KatapultConfigDlg::deactivateCatalog(QListBoxItem *i)
|
||||
{
|
||||
catalogPages.remove(i->text());
|
||||
settings->deactivateCatalog(i->text());
|
||||
}
|
||||
|
||||
void KatapultConfigDlg::activateDisplay(int index)
|
||||
{
|
||||
settings->setDisplayName(settings->displayIds()[index]);
|
||||
addDisplaySettings();
|
||||
}
|
||||
|
||||
void KatapultConfigDlg::addCatalogPage(QString name, KatapultCatalog *catalog)
|
||||
{
|
||||
QWidget *catalogConfig = catalog->configure();
|
||||
if(catalogConfig != 0)
|
||||
{
|
||||
QStringList path;
|
||||
path << i18n("Catalogs") << name;
|
||||
QFrame *fCatalog = addPage(path, name);
|
||||
catalogConfig->reparent(fCatalog, QPoint(0, 0));
|
||||
(new QVBoxLayout(fCatalog, 0, KDialog::spacingHint()))->addWidget(catalogConfig);
|
||||
catalogPages.insert(name, fCatalog);
|
||||
}
|
||||
}
|
||||
|
||||
void KatapultConfigDlg::addDisplaySettings()
|
||||
{
|
||||
if(displayConfig != 0)
|
||||
{
|
||||
delete displayConfig;
|
||||
displayConfig = 0;
|
||||
}
|
||||
displayConfig = settings->display()->configure();
|
||||
if(displayConfig != 0)
|
||||
{
|
||||
displayConfig->reparent((QWidget *) display->displaySettings, QPoint(0, 0));
|
||||
display->displaySettings->layout()->add(displayConfig);
|
||||
displayConfig->show();
|
||||
}
|
||||
}
|
||||
|
||||
#include "katapultconfigdlg.moc"
|
@ -0,0 +1,64 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 KATAPULTCONFIGDLG_H
|
||||
#define KATAPULTCONFIGDLG_H
|
||||
|
||||
#include <kdialogbase.h>
|
||||
|
||||
#include <qdict.h>
|
||||
|
||||
class KatapultSettings;
|
||||
class KatapultCatalog;
|
||||
class ConfGeneral;
|
||||
class ConfCatalogs;
|
||||
class ConfDisplay;
|
||||
class QListBoxItem;
|
||||
class QFrame;
|
||||
|
||||
/**
|
||||
@author Joe Ferris
|
||||
*/
|
||||
class KatapultConfigDlg : public KDialogBase
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
KatapultConfigDlg(KatapultSettings *settings);
|
||||
~KatapultConfigDlg();
|
||||
|
||||
public slots:
|
||||
void saveSettings();
|
||||
void activateCatalog(QListBoxItem *);
|
||||
void deactivateCatalog(QListBoxItem *);
|
||||
void activateDisplay(int);
|
||||
void nrDoNothingToggled(bool);
|
||||
|
||||
private:
|
||||
void addCatalogPage(QString name, KatapultCatalog *catalog);
|
||||
void addDisplaySettings();
|
||||
|
||||
KatapultSettings *settings;
|
||||
ConfGeneral *general;
|
||||
ConfCatalogs *catalogConf;
|
||||
ConfDisplay *display;
|
||||
QWidget *displayConfig;
|
||||
QDict<QFrame> catalogPages;
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,38 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Bastian Holst *
|
||||
* bastianholst@gmx.de *
|
||||
* *
|
||||
* 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. *
|
||||
***************************************************************************/
|
||||
// -*- c++ -*-
|
||||
|
||||
#ifndef KATAPULTDCOPIFACE_H
|
||||
#define KATAPULTDCOPIFACE_H
|
||||
|
||||
#include <dcopobject.h>
|
||||
|
||||
class KatapultIface : virtual public DCOPObject
|
||||
{
|
||||
K_DCOP
|
||||
k_dcop:
|
||||
|
||||
virtual void showLauncher() = 0;
|
||||
virtual void hideLauncher() = 0;
|
||||
virtual void setQuery(QString) = 0;
|
||||
virtual void execute() = 0;
|
||||
};
|
||||
|
||||
#endif // KATAPULTDCOPIFACE_H
|
@ -0,0 +1,377 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2007 Martin Meredith *
|
||||
* mez@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <kapplication.h>
|
||||
#include <kconfig.h>
|
||||
#include <kparts/componentfactory.h>
|
||||
#include <klocale.h>
|
||||
|
||||
#include <qstring.h>
|
||||
#include <qstringlist.h>
|
||||
|
||||
#include "katapultsettings.h"
|
||||
#include "katapultcatalog.h"
|
||||
#include "katapultconfigdlg.h"
|
||||
#include "katapultdisplay.h"
|
||||
#include "actionregistry.h"
|
||||
|
||||
KatapultSettings::KatapultSettings()
|
||||
{
|
||||
_forceWrite = FALSE;
|
||||
readSettings();
|
||||
_isConfiguring = FALSE;
|
||||
_activeCatalogs.setAutoDelete(TRUE);
|
||||
_display = 0;
|
||||
|
||||
loadCatalogPlugins();
|
||||
loadDisplayPlugins();
|
||||
}
|
||||
|
||||
|
||||
KatapultSettings::~KatapultSettings()
|
||||
{
|
||||
if (_forceWrite)
|
||||
writeSettings();
|
||||
|
||||
if(_display != 0)
|
||||
delete _display;
|
||||
}
|
||||
|
||||
void KatapultSettings::readSettings()
|
||||
{
|
||||
KConfig *config = kapp->config();
|
||||
_hideSessionNotification = config->readNumEntry("HideSessionNotification", 1);
|
||||
_hideUserNotification = config->readNumEntry("HideUserNotification", 0);
|
||||
_notificationTimeout = config->readNumEntry("NotificationTimeout", 5000);
|
||||
_hideDelay = config->readUnsignedNumEntry("HideDelay", 1000);
|
||||
_noResultsDelay = config->readUnsignedNumEntry("NoResultsDelay", 2500);
|
||||
_noResultsAction = (NRAction) config->readUnsignedNumEntry("NoResultsAction", NR_ClearQuery);
|
||||
_systrayIcon = config->readBoolEntry("SystrayIcon", TRUE);
|
||||
_autoExec = config->readBoolEntry("AutoExec", FALSE);
|
||||
_displayName = config->readEntry("Display", "Pure Display");
|
||||
|
||||
QStringList defCatalogs;
|
||||
defCatalogs << "Program Catalog" << "Bookmark Catalog" << "Document Catalog" << "Calculator Catalog" << "Amarok Catalog" << "Spell Catalog" << "Google Catalog" << "Execution Catalog";
|
||||
_activeCatalogNames = config->readListEntry("Catalogs", defCatalogs);
|
||||
|
||||
// Force a config write if notification is to be shown once.
|
||||
// (in writeSettings(), _hideSessionNotification or _hideUserNotification
|
||||
// is changed before writing [if necessary]).
|
||||
_forceWrite = ((kapp->isSessionRestored() && _hideSessionNotification == 1) ||
|
||||
(!kapp->isSessionRestored() && _hideUserNotification == 1));
|
||||
}
|
||||
|
||||
void KatapultSettings::writeSettings()
|
||||
{
|
||||
KConfig *config = kapp->config();
|
||||
int hideSession = _hideSessionNotification;
|
||||
int hideUser = _hideUserNotification;
|
||||
|
||||
// If notification had to be shown once, set it to hide always.
|
||||
if (kapp->isSessionRestored()) {
|
||||
if (hideSession == 1) hideSession = 2;
|
||||
} else {
|
||||
if (hideUser == 1) hideUser = 2;
|
||||
}
|
||||
|
||||
config->writeEntry("HideSessionNotification", hideSession);
|
||||
config->writeEntry("HideUserNotification", hideUser);
|
||||
config->writeEntry("NotificationTimeout", _notificationTimeout);
|
||||
config->writeEntry("HideDelay", _hideDelay);
|
||||
config->writeEntry("NoResultsDelay", _noResultsDelay);
|
||||
config->writeEntry("NoResultsAction", (int) _noResultsAction);
|
||||
config->writeEntry("SystrayIcon", _systrayIcon);
|
||||
config->writeEntry("AutoExec", _autoExec);
|
||||
config->writeEntry("Catalogs", _activeCatalogNames);
|
||||
config->writeEntry("Display", _displayName);
|
||||
|
||||
QDictIterator<KatapultCatalog> it(_activeCatalogs);
|
||||
KatapultCatalog *catalog;
|
||||
while((catalog = it.current()) != 0)
|
||||
{
|
||||
KConfigGroup group(config, QString("Catalogs/%1").arg(it.currentKey()));
|
||||
catalog->writeSettings(&group);
|
||||
++it;
|
||||
}
|
||||
|
||||
if(_display != 0)
|
||||
{
|
||||
KConfigGroup group(config, QString("Displays/%1").arg(_displayName));
|
||||
_display->writeSettings(&group);
|
||||
}
|
||||
|
||||
config->sync();
|
||||
}
|
||||
|
||||
void KatapultSettings::configure()
|
||||
{
|
||||
if(!_isConfiguring)
|
||||
{
|
||||
_isConfiguring = TRUE;
|
||||
|
||||
KatapultConfigDlg *dlg = new KatapultConfigDlg(this);
|
||||
if(dlg->exec() == QDialog::Accepted) {
|
||||
writeSettings();
|
||||
emit systrayChanged();
|
||||
loadCatalogPlugins();
|
||||
emit catalogsChanged();
|
||||
|
||||
} else {
|
||||
readSettings();
|
||||
loadCatalogPlugins();
|
||||
loadDisplayPlugins();
|
||||
emit catalogsChanged();
|
||||
emit displayChanged();
|
||||
}
|
||||
delete dlg;
|
||||
|
||||
_isConfiguring = FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
bool KatapultSettings::isConfiguring() const
|
||||
{
|
||||
return _isConfiguring;
|
||||
}
|
||||
|
||||
bool KatapultSettings::isAutoExecute() const
|
||||
{
|
||||
return _autoExec;
|
||||
}
|
||||
|
||||
void KatapultSettings::setAutoExecute(bool _autoExec)
|
||||
{
|
||||
this->_autoExec = _autoExec;
|
||||
}
|
||||
|
||||
int KatapultSettings::hideDelay() const
|
||||
{
|
||||
return _hideDelay;
|
||||
}
|
||||
|
||||
void KatapultSettings::setHideDelay(int _hideDelay)
|
||||
{
|
||||
this->_hideDelay = _hideDelay;
|
||||
}
|
||||
|
||||
int KatapultSettings::noResultsDelay() const
|
||||
{
|
||||
return _noResultsDelay;
|
||||
}
|
||||
|
||||
void KatapultSettings::setNoResultsDelay(int _noResultsDelay)
|
||||
{
|
||||
this->_noResultsDelay = _noResultsDelay;
|
||||
}
|
||||
|
||||
KatapultSettings::NRAction KatapultSettings::noResultsAction() const
|
||||
{
|
||||
return _noResultsAction;
|
||||
}
|
||||
|
||||
void KatapultSettings::setNoResultsAction(NRAction _noResultsAction)
|
||||
{
|
||||
this->_noResultsAction = _noResultsAction;
|
||||
}
|
||||
|
||||
bool KatapultSettings::systrayIcon() const
|
||||
{
|
||||
return _systrayIcon;
|
||||
}
|
||||
|
||||
void KatapultSettings::setSystrayIcon(bool _systrayIcon)
|
||||
{
|
||||
this->_systrayIcon = _systrayIcon;
|
||||
}
|
||||
|
||||
bool KatapultSettings::hideNotification() const
|
||||
{
|
||||
int hide = kapp->isSessionRestored() ? _hideSessionNotification : _hideUserNotification;
|
||||
return (hide != 0 && hide != 1);
|
||||
}
|
||||
|
||||
int KatapultSettings::notificationTimeout() const
|
||||
{
|
||||
return _notificationTimeout;
|
||||
}
|
||||
|
||||
QString KatapultSettings::displayName() const
|
||||
{
|
||||
return _displayName;
|
||||
}
|
||||
|
||||
QStringList KatapultSettings::displayNames() const
|
||||
{
|
||||
return _displayNames;
|
||||
}
|
||||
|
||||
QStringList KatapultSettings::displayIds() const
|
||||
{
|
||||
return _displayIds;
|
||||
}
|
||||
|
||||
int KatapultSettings::displayNumber() const
|
||||
{
|
||||
return _displayIds.findIndex(_displayName);
|
||||
}
|
||||
|
||||
KatapultDisplay * KatapultSettings::display() const
|
||||
{
|
||||
return _display;
|
||||
}
|
||||
|
||||
void KatapultSettings::setDisplayName(QString name)
|
||||
{
|
||||
_displayName = name;
|
||||
loadDisplayPlugins();
|
||||
emit displayChanged();
|
||||
}
|
||||
|
||||
QStringList KatapultSettings::catalogNames() const
|
||||
{
|
||||
return _catalogNames;
|
||||
}
|
||||
|
||||
QStringList KatapultSettings::catalogIds() const
|
||||
{
|
||||
return _catalogIds;
|
||||
}
|
||||
|
||||
QStringList KatapultSettings::activeCatalogNames() const
|
||||
{
|
||||
return _activeCatalogNames;
|
||||
}
|
||||
|
||||
QStringList KatapultSettings::inactiveCatalogNames() const
|
||||
{
|
||||
QStringList inactiveCatalogs, catalogs = _catalogIds;
|
||||
for(QStringList::Iterator it = catalogs.begin(); it != catalogs.end(); ++it)
|
||||
{
|
||||
if(!_activeCatalogNames.contains(*it))
|
||||
inactiveCatalogs.append(*it);
|
||||
}
|
||||
return inactiveCatalogs;
|
||||
}
|
||||
|
||||
QDict<KatapultCatalog> KatapultSettings::activeCatalogs() const
|
||||
{
|
||||
return _activeCatalogs;
|
||||
}
|
||||
|
||||
void KatapultSettings::activateCatalog(QString catalogName)
|
||||
{
|
||||
_activeCatalogNames.append(catalogName);
|
||||
loadCatalogPlugins();
|
||||
emit catalogsChanged();
|
||||
}
|
||||
|
||||
void KatapultSettings::deactivateCatalog(QString catalogName)
|
||||
{
|
||||
_activeCatalogNames.remove(catalogName);
|
||||
loadCatalogPlugins();
|
||||
emit catalogsChanged();
|
||||
}
|
||||
|
||||
void KatapultSettings::loadCatalogPlugins()
|
||||
{
|
||||
_activeCatalogs.clear();
|
||||
_catalogNames.clear();
|
||||
_catalogIds.clear();
|
||||
ActionRegistry::self()->clear();
|
||||
|
||||
KTrader::OfferList offers = KTrader::self()->query("Katapult/Catalog");
|
||||
KTrader::OfferList::ConstIterator it;
|
||||
for(it = offers.begin(); it != offers.end(); ++it)
|
||||
{
|
||||
QString id;
|
||||
|
||||
KService::Ptr service = *it;
|
||||
KatapultCatalog *catalog;
|
||||
|
||||
if(!service->property("X-Katapult-ID", QVariant::String).toString().isEmpty())
|
||||
id = service->property("X-Katapult-ID", QVariant::String).toString();
|
||||
else
|
||||
id = service->name();
|
||||
|
||||
_catalogNames.append(service->name());
|
||||
_catalogIds.append(id);
|
||||
|
||||
if(_activeCatalogNames.contains(id))
|
||||
{
|
||||
int errCode = 0;
|
||||
catalog = KParts::ComponentFactory::createInstanceFromService<KatapultCatalog>
|
||||
(service, 0, 0, QStringList(), &errCode);
|
||||
if(catalog != 0)
|
||||
{
|
||||
KConfigGroup group(kapp->config(), QString("Catalogs/%1").arg(id));
|
||||
catalog->readSettings(&group);
|
||||
catalog->initialize();
|
||||
_activeCatalogs.insert(id, catalog);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void KatapultSettings::loadDisplayPlugins()
|
||||
{
|
||||
if(_display != 0)
|
||||
{
|
||||
delete _display;
|
||||
_display = 0;
|
||||
}
|
||||
|
||||
_displayNames.clear();
|
||||
_displayIds.clear();
|
||||
|
||||
KTrader::OfferList offers = KTrader::self()->query("Katapult/Display");
|
||||
KTrader::OfferList::ConstIterator it;
|
||||
for(it = offers.begin(); it != offers.end(); ++it)
|
||||
{
|
||||
KService::Ptr service = *it;
|
||||
|
||||
_displayNames.append(service->name());
|
||||
if(!service->property("X-Katapult-ID", QVariant::String).toString().isEmpty())
|
||||
_displayIds.append(service->property("X-Katapult-ID", QVariant::String).toString());
|
||||
else
|
||||
_displayIds.append(service->name());
|
||||
|
||||
if(_displayIds.last() == _displayName)
|
||||
{
|
||||
int errCode = 0;
|
||||
_display = KParts::ComponentFactory::createInstanceFromService<KatapultDisplay>
|
||||
(service, 0, 0, QStringList(), &errCode);
|
||||
}
|
||||
}
|
||||
if(_display != 0)
|
||||
{
|
||||
KConfigGroup group(kapp->config(), QString("Displays/%1").arg(_displayName));
|
||||
_display->readSettings(&group);
|
||||
}
|
||||
}
|
||||
|
||||
KatapultCatalog * KatapultSettings::catalog(QString catalogName) const
|
||||
{
|
||||
return _activeCatalogs.find(catalogName);
|
||||
}
|
||||
|
||||
#include "katapultsettings.moc"
|
@ -0,0 +1,120 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 KATAPULTSETTINGS_H
|
||||
#define KATAPULTSETTINGS_H
|
||||
|
||||
#include <qobject.h>
|
||||
#include <qptrlist.h>
|
||||
#include <qdict.h>
|
||||
|
||||
class KatapultCatalog;
|
||||
class KatapultDisplay;
|
||||
class QStringList;
|
||||
class QString;
|
||||
|
||||
/**
|
||||
@author Joe Ferris
|
||||
*/
|
||||
class KatapultSettings : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
enum NRAction {
|
||||
NR_DoNothing = 0,
|
||||
NR_ClearQuery = 1,
|
||||
NR_HideDisplay = 2
|
||||
};
|
||||
|
||||
KatapultSettings();
|
||||
~KatapultSettings();
|
||||
|
||||
bool isConfiguring() const;
|
||||
|
||||
// general settings
|
||||
bool isAutoExecute() const;
|
||||
void setAutoExecute(bool);
|
||||
int hideDelay() const;
|
||||
void setHideDelay(int);
|
||||
int noResultsDelay() const;
|
||||
void setNoResultsDelay(int);
|
||||
NRAction noResultsAction() const;
|
||||
void setNoResultsAction(NRAction);
|
||||
bool systrayIcon() const;
|
||||
void setSystrayIcon(bool);
|
||||
bool hideNotification() const;
|
||||
int notificationTimeout() const;
|
||||
|
||||
// display settings
|
||||
QString displayName() const;
|
||||
QStringList displayNames() const;
|
||||
QStringList displayIds() const;
|
||||
int displayNumber() const;
|
||||
KatapultDisplay * display() const;
|
||||
void setDisplayName(QString name);
|
||||
|
||||
// catalog settings
|
||||
QStringList catalogNames() const;
|
||||
QStringList catalogIds() const;
|
||||
QStringList activeCatalogNames() const;
|
||||
QStringList inactiveCatalogNames() const;
|
||||
QDict<KatapultCatalog> activeCatalogs() const;
|
||||
void activateCatalog(QString catalogName);
|
||||
void deactivateCatalog(QString catalogName);
|
||||
KatapultCatalog * catalog(QString catalogName) const;
|
||||
|
||||
public slots:
|
||||
void readSettings();
|
||||
void writeSettings();
|
||||
void configure();
|
||||
|
||||
signals:
|
||||
void systrayChanged();
|
||||
void displayChanged();
|
||||
void catalogsChanged();
|
||||
|
||||
private:
|
||||
void loadCatalogPlugins();
|
||||
void loadDisplayPlugins();
|
||||
|
||||
bool _isConfiguring;
|
||||
bool _forceWrite;
|
||||
|
||||
// general settings
|
||||
int _hideSessionNotification; // Hide Katapult Notification? (session restore / manual start)
|
||||
int _hideUserNotification; // if 0: show always, if 1: show once, else: show never
|
||||
int _notificationTimeout; // Delay before notification hides.
|
||||
bool _autoExec;
|
||||
int _hideDelay;
|
||||
int _noResultsDelay;
|
||||
NRAction _noResultsAction;
|
||||
bool _systrayIcon;
|
||||
|
||||
// display settings
|
||||
QString _displayName;
|
||||
QStringList _displayNames;
|
||||
QStringList _displayIds;
|
||||
KatapultDisplay *_display;
|
||||
|
||||
// catalog settings
|
||||
QStringList _catalogNames, _catalogIds, _activeCatalogNames;
|
||||
QDict<KatapultCatalog> _activeCatalogs;
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,73 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <kapplication.h>
|
||||
#include <kaboutdata.h>
|
||||
#include <kcmdlineargs.h>
|
||||
#include <klocale.h>
|
||||
#include <kapp.h>
|
||||
#include <dcopclient.h>
|
||||
|
||||
#include "katapult.h"
|
||||
|
||||
static const char description[] =
|
||||
I18N_NOOP("A plugin-driven utility that can launch applications, bookmarks, or anything else that you can find a plugin for.");
|
||||
|
||||
static const char version[] = "0.3.2.1";
|
||||
|
||||
static KCmdLineOptions options[] =
|
||||
{
|
||||
KCmdLineLastOption
|
||||
};
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
KAboutData about("katapult", I18N_NOOP("Katapult"), version, description,
|
||||
KAboutData::License_GPL, I18N_NOOP("(C) until 2005, Joe Ferris\n(C) 2005, the Katapult development team"), 0, 0, "dev@thekatapult.org.uk");
|
||||
about.addAuthor( "Martin Meredith" , I18N_NOOP("Project Manager"), "mez@thekatapult.org.uk");
|
||||
about.addAuthor( "Bastian Holst", I18N_NOOP("Lead Developer"), "oculus@thekatapult.org.uk" );
|
||||
about.addAuthor( "Tobi Vollebregt", I18N_NOOP("Developer"), "tobi@thekatapult.org.uk" );
|
||||
about.addAuthor( "Lee Olson", I18N_NOOP("Graphics"), "clearbeast@gmail.com" );
|
||||
about.addAuthor( "Jean-Remy Falleri", 0, "jr.falleri@gmail.com" );
|
||||
about.addAuthor( "Jonathan Riddell", 0, "jriddell@ubuntu.com" );
|
||||
about.addAuthor( "Joe Ferris", I18N_NOOP("Original Author"), "jferris@optimistictech.com" );
|
||||
KCmdLineArgs::init(argc, argv, &about);
|
||||
KCmdLineArgs::addCmdLineOptions( options );
|
||||
KApplication app;
|
||||
|
||||
if(kapp->dcopClient()->isApplicationRegistered("katapult")) {
|
||||
kapp->dcopClient()->send("katapult", "Katapult", "showLauncher()", QByteArray());
|
||||
app.setStartupId("");
|
||||
return(0);
|
||||
}
|
||||
|
||||
Katapult mainWin;
|
||||
|
||||
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
|
||||
|
||||
app.setMainWidget( &mainWin );
|
||||
|
||||
args->clear();
|
||||
|
||||
app.setStartupId("");
|
||||
|
||||
return app.exec();
|
||||
}
|
||||
|
@ -0,0 +1,106 @@
|
||||
#include <klocale.h>
|
||||
/****************************************************************************
|
||||
** Form implementation generated from reading ui file '/home/doros/src/local/kde/katapult/katapult/settings.ui'
|
||||
**
|
||||
** Created: Fri Feb 18 12:48:28 2005
|
||||
** by: The User Interface Compiler ($Id: qt/main.cpp 3.3.3 edited Nov 24 2003 $)
|
||||
**
|
||||
** WARNING! All changes made in this file will be lost!
|
||||
****************************************************************************/
|
||||
|
||||
#include "settings.h"
|
||||
|
||||
#include <qvariant.h>
|
||||
#include <qlistbox.h>
|
||||
#include <qtabwidget.h>
|
||||
#include <qwidget.h>
|
||||
#include <qpushbutton.h>
|
||||
#include <qlayout.h>
|
||||
#include <qtooltip.h>
|
||||
#include <qwhatsthis.h>
|
||||
|
||||
/*
|
||||
* Constructs a MyDialog1 as a child of 'parent', with the
|
||||
* name 'name' and widget flags set to 'f'.
|
||||
*
|
||||
* The dialog will by default be modeless, unless you set 'modal' to
|
||||
* TRUE to construct a modal dialog.
|
||||
*/
|
||||
MyDialog1::MyDialog1( QWidget* parent, const char* name, bool modal, WFlags fl )
|
||||
: QDialog( parent, name, modal, fl )
|
||||
{
|
||||
if ( !name )
|
||||
setName( "MyDialog1" );
|
||||
setSizeGripEnabled( TRUE );
|
||||
MyDialog1Layout = new QGridLayout( this, 1, 1, 11, 6, "MyDialog1Layout");
|
||||
|
||||
listBox = new QListBox( this, "listBox" );
|
||||
listBox->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)7, 0, 0, listBox->sizePolicy().hasHeightForWidth() ) );
|
||||
|
||||
MyDialog1Layout->addWidget( listBox, 0, 0 );
|
||||
|
||||
tabWidget = new QTabWidget( this, "tabWidget" );
|
||||
|
||||
Widget2 = new QWidget( tabWidget, "Widget2" );
|
||||
tabWidget->insertTab( Widget2, QString("") );
|
||||
|
||||
Widget3 = new QWidget( tabWidget, "Widget3" );
|
||||
tabWidget->insertTab( Widget3, QString("") );
|
||||
|
||||
MyDialog1Layout->addWidget( tabWidget, 0, 1 );
|
||||
|
||||
Layout1 = new QHBoxLayout( 0, 0, 6, "Layout1");
|
||||
|
||||
buttonHelp = new QPushButton( this, "buttonHelp" );
|
||||
buttonHelp->setAutoDefault( TRUE );
|
||||
Layout1->addWidget( buttonHelp );
|
||||
Horizontal_Spacing2 = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
|
||||
Layout1->addItem( Horizontal_Spacing2 );
|
||||
|
||||
buttonOk = new QPushButton( this, "buttonOk" );
|
||||
buttonOk->setAutoDefault( TRUE );
|
||||
buttonOk->setDefault( TRUE );
|
||||
Layout1->addWidget( buttonOk );
|
||||
|
||||
buttonCancel = new QPushButton( this, "buttonCancel" );
|
||||
buttonCancel->setAutoDefault( TRUE );
|
||||
Layout1->addWidget( buttonCancel );
|
||||
|
||||
MyDialog1Layout->addMultiCellLayout( Layout1, 1, 1, 0, 1 );
|
||||
languageChange();
|
||||
resize( QSize(597, 364).expandedTo(minimumSizeHint()) );
|
||||
clearWState( WState_Polished );
|
||||
|
||||
// signals and slots connections
|
||||
connect( buttonOk, SIGNAL( clicked() ), this, SLOT( accept() ) );
|
||||
connect( buttonCancel, SIGNAL( clicked() ), this, SLOT( reject() ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* Destroys the object and frees any allocated resources
|
||||
*/
|
||||
MyDialog1::~MyDialog1()
|
||||
{
|
||||
// no need to delete child widgets, Qt does it all for us
|
||||
}
|
||||
|
||||
/*
|
||||
* Sets the strings of the subwidgets using the current
|
||||
* language.
|
||||
*/
|
||||
void MyDialog1::languageChange()
|
||||
{
|
||||
setCaption( tr2i18n( "MyDialog1" ) );
|
||||
listBox->clear();
|
||||
listBox->insertItem( tr2i18n( "New Item" ) );
|
||||
tabWidget->changeTab( Widget2, tr2i18n( "Tab" ) );
|
||||
tabWidget->changeTab( Widget3, tr2i18n( "Tab" ) );
|
||||
buttonHelp->setText( tr2i18n( "&Help" ) );
|
||||
buttonHelp->setAccel( QKeySequence( tr2i18n( "F1" ) ) );
|
||||
buttonOk->setText( tr2i18n( "&OK" ) );
|
||||
buttonOk->setAccel( QKeySequence( QString::null ) );
|
||||
buttonCancel->setText( tr2i18n( "&Cancel" ) );
|
||||
buttonCancel->setAccel( QKeySequence( QString::null ) );
|
||||
}
|
||||
|
||||
#include "settings.moc"
|
@ -0,0 +1 @@
|
||||
SUBDIRS = catalogs display
|
@ -0,0 +1 @@
|
||||
SUBDIRS = programcatalog bookmarkcatalog documentcatalog calculatorcatalog amarokcatalog spellcatalog googlecatalog execcatalog
|
@ -0,0 +1,15 @@
|
||||
# set the include path for X, qt and KDE
|
||||
INCLUDES = -I$(top_srcdir)/katapult/common $(all_includes)
|
||||
|
||||
# header files
|
||||
noinst_HEADERS = coverimage.h song.h amarokcatalog.h actionplaysong.h
|
||||
|
||||
# use automoc
|
||||
METASOURCES = AUTO
|
||||
|
||||
# our plugin
|
||||
kde_module_LTLIBRARIES = katapult_amarokcatalog.la
|
||||
katapult_amarokcatalog_la_SOURCES = settings.ui amarokcatalog.cpp coverimage.cpp song.cpp actionplaysong.cpp
|
||||
katapult_amarokcatalog_la_LDFLAGS = -module $(KDE_RPATH) $(KDE_PLUGIN) $(all_libraries)
|
||||
katapult_amarokcatalog_la_LIBADD = $(LIB_QT) $(LIB_KDECORE) -lDCOP $(LIB_KDEUI) $(LIB_KIO) $(top_builddir)/katapult/common/libkatapult.la
|
||||
kde_services_DATA = katapult_amarokcatalog.desktop
|
@ -0,0 +1,58 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Bastian Holst *
|
||||
* bastianholst@gmx.de *
|
||||
* *
|
||||
* 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 <kglobal.h>
|
||||
#include <kiconloader.h>
|
||||
#include <qpixmap.h>
|
||||
#include <qstring.h>
|
||||
#include <qcstring.h>
|
||||
#include <qdatastream.h>
|
||||
#include <kapp.h>
|
||||
#include <dcopclient.h>
|
||||
#include <klocale.h>
|
||||
|
||||
#include <katapultitem.h>
|
||||
|
||||
#include "actionplaysong.h"
|
||||
#include "song.h"
|
||||
|
||||
QPixmap ActionPlaySong::icon(int size) const
|
||||
{
|
||||
return KGlobal::iconLoader()->loadIcon("amarok", KIcon::NoGroup, size);
|
||||
}
|
||||
|
||||
QString ActionPlaySong::text() const
|
||||
{
|
||||
return i18n("Play Song");
|
||||
}
|
||||
|
||||
bool ActionPlaySong::accepts(const KatapultItem *item) const
|
||||
{
|
||||
return strcmp(item->className(), "Song") == 0;
|
||||
}
|
||||
|
||||
void ActionPlaySong::execute(const KatapultItem *item) const
|
||||
{
|
||||
const Song *song = (const Song *) item;
|
||||
QByteArray buffer;
|
||||
QDataStream stream(buffer, IO_WriteOnly);
|
||||
stream << song->url();
|
||||
kapp->dcopClient()->send("amarok", "playlist", "playMedia(KURL)", buffer);
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Bastian Holst *
|
||||
* bastianholst@gmx.de *
|
||||
* *
|
||||
* 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 ACTIONPLAYSONG_H
|
||||
#define ACTIONPLAYSONG_H
|
||||
|
||||
#include "katapultaction.h"
|
||||
|
||||
class KatapultItem;
|
||||
class QPixmap;
|
||||
class QString;
|
||||
|
||||
/**
|
||||
@author Bastian Holst
|
||||
*/
|
||||
class ActionPlaySong : public KatapultAction
|
||||
{
|
||||
public:
|
||||
virtual QPixmap icon(int) const;
|
||||
virtual QString text() const;
|
||||
virtual bool accepts(const KatapultItem *) const;
|
||||
virtual void execute(const KatapultItem *) const;
|
||||
};
|
||||
|
||||
#endif //ACTIONPLAYSONG_H
|
@ -0,0 +1,342 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Bastian Holst *
|
||||
* bastianholst@gmx.de *
|
||||
* Copyright (C) 2006 by Martin Meredith *
|
||||
* mez@thekatapult.org.uk *
|
||||
* *
|
||||
* 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 <kapplication.h>
|
||||
#include <ksycocaentry.h>
|
||||
#include <ksycocatype.h>
|
||||
#include <knuminput.h>
|
||||
#include <kurl.h>
|
||||
#include <kapp.h>
|
||||
#include <qstring.h>
|
||||
#include <qcstring.h>
|
||||
#include <qstringlist.h>
|
||||
#include <qdatastream.h>
|
||||
#include <dcopclient.h>
|
||||
#include <qregexp.h>
|
||||
|
||||
#include "actionplaysong.h"
|
||||
#include "song.h"
|
||||
#include "amarokcatalog.h"
|
||||
#include "actionregistry.h"
|
||||
#include "status.h"
|
||||
#include "settings.h"
|
||||
|
||||
K_EXPORT_COMPONENT_FACTORY( katapult_amarokcatalog,
|
||||
KGenericFactory<AmarokCatalog>( "katapult_amarokcatalog" ) )
|
||||
|
||||
AmarokCatalog::AmarokCatalog(QObject*, const char*, const QStringList&): _result(QString::null)
|
||||
{
|
||||
_minQueryLen = 3;
|
||||
ActionRegistry::self()->registerAction(new ActionPlaySong());
|
||||
_gotCollectionStatus = false;
|
||||
_dynamicCollection = false;
|
||||
checkCollectionType();
|
||||
|
||||
}
|
||||
AmarokCatalog::~AmarokCatalog()
|
||||
{
|
||||
}
|
||||
|
||||
void AmarokCatalog::queryChanged()
|
||||
{
|
||||
int newStatus = 0;
|
||||
QString queryString = query();
|
||||
|
||||
if((QString(queryString).remove(':').remove('\"').remove(' ').isEmpty()) || (queryString.length() < _minQueryLen)) {
|
||||
reset();
|
||||
setBestMatch(Match());
|
||||
setStatus(0);
|
||||
} else {
|
||||
|
||||
if ( _gotCollectionStatus)
|
||||
{
|
||||
|
||||
if (!_dynamicCollection)
|
||||
{
|
||||
|
||||
// Stuff for Amarok < 1.4.2
|
||||
|
||||
QStringList queryList;
|
||||
//prepares SQL-queryQRegExp
|
||||
QString sqlQuery(
|
||||
"SELECT artist.name, tags.title, tags.url, images.path, album.name "
|
||||
"FROM tags"
|
||||
"INNER JOIN album ON (tags.album = album.id) "
|
||||
"INNER JOIN artist ON (tags.artist = artist.id) "
|
||||
"LEFT JOIN statistics ON (tags.url = statistics.url) "
|
||||
"LEFT JOIN images ON (artist.name = images.artist AND album.name = images.album) "
|
||||
"WHERE 1=1 "
|
||||
);// AND
|
||||
|
||||
queryList = QStringList::split ( QString(" "), QString(queryString).replace(QChar(':')," ").replace(QChar('\''), " ").replace(QChar('\''), "%") );
|
||||
for(QStringList::Iterator it = queryList.begin(); it != queryList.end(); ++it) {
|
||||
sqlQuery.append(QString(" AND (t.title LIKE '\%%1\%'").arg(*it));
|
||||
sqlQuery.append(QString(" OR a.name LIKE '\%%1\%')").arg(*it));
|
||||
}
|
||||
sqlQuery.append(" ORDER BY a.name, t.title, s.percentage DESC");
|
||||
|
||||
//sending SQL-query to ararok via dcop
|
||||
QByteArray sqlQueryData, replyData;
|
||||
QCString replyType;
|
||||
QDataStream arg(sqlQueryData, IO_WriteOnly);
|
||||
arg << sqlQuery;
|
||||
if (!kapp->dcopClient()->call("amarok", "collection", "query(QString)",
|
||||
sqlQueryData, replyType, replyData)) {
|
||||
newStatus = 0;
|
||||
} else {
|
||||
QDataStream reply(replyData, IO_ReadOnly);
|
||||
if (replyType == "QStringList") {
|
||||
QStringList sqlResult;
|
||||
reply >> sqlResult;
|
||||
|
||||
if(sqlResult.isEmpty()) {
|
||||
newStatus = 0;
|
||||
} else {
|
||||
reset();
|
||||
//Reads information from SQL-Query
|
||||
_result.setArtist(sqlResult[0]);
|
||||
_result.setName(sqlResult[1]);
|
||||
_result.setURL(KURL(sqlResult[2]));
|
||||
_result.setAlbum(sqlResult[4]);
|
||||
|
||||
//_result.setIcon(QString());
|
||||
if ( !sqlResult[3].isEmpty() ) {
|
||||
_result.setIcon(sqlResult[3]);
|
||||
}
|
||||
|
||||
//counts the matched charecters
|
||||
int i = queryString.find( ':' );
|
||||
if ( i != -1 ) {
|
||||
if ( queryString[i+1] != ' ' )
|
||||
queryString.insert(i+1, ' ');
|
||||
if ( queryString[i-1] != ' ' )
|
||||
queryString.insert(i, ' ');
|
||||
}
|
||||
queryList = QStringList::split ( " ", queryString );
|
||||
unsigned int matched = 0;
|
||||
for(QStringList::Iterator it = queryList.begin(); it != queryList.end(); ++it) {
|
||||
if(matched < (_result.text().find(*it, matched, false) + (*it).length()))
|
||||
matched = _result.text().find(*it, matched, false) + (*it).length();
|
||||
}
|
||||
setBestMatch(Match(&_result, 100*queryString.length()/_result.text().length(), matched));
|
||||
|
||||
//Checks if there are multiple results
|
||||
if( !sqlResult[5].isEmpty() )
|
||||
newStatus = S_HasResults | S_Multiple;
|
||||
else
|
||||
newStatus = S_HasResults;
|
||||
}
|
||||
} else {
|
||||
newStatus = 0;
|
||||
}
|
||||
}
|
||||
|
||||
} else { // Dynamic Collection
|
||||
|
||||
// Do same as above here again but with dyn collection stuff
|
||||
|
||||
QStringList queryList;
|
||||
//prepares SQL-queryQRegExp
|
||||
QString sqlQuery("SELECT a.name, t.title, t.deviceid, d.lastmountpoint, t.url, i.path, album.name FROM tags t LEFT JOIN statistics s ON (t.url = s.url AND t.deviceid = s.deviceid) LEFT JOIN artist a ON (t.artist = a.id) LEFT JOIN album ON (t.album = album.id) LEFT JOIN images i ON ( a.name = i.artist AND album.name = i.album) LEFT JOIN devices d ON (t.deviceid = d.id) WHERE ");
|
||||
queryList = QStringList::split ( QString(" "), QString(queryString).replace(QChar(':')," ").replace(QChar('\''), " ").replace(QChar('\''), "%") );
|
||||
|
||||
// Let's build each of these clauses
|
||||
QStringList clauses;
|
||||
for(QStringList::Iterator it = queryList.begin(); it != queryList.end(); ++it) {
|
||||
|
||||
clauses += QString(" (t.title LIKE '\%%1\%'").arg(*it) +
|
||||
QString(" OR a.name LIKE '\%%1\%')").arg(*it);
|
||||
}
|
||||
sqlQuery.append(clauses.join(QString(" AND ")));
|
||||
sqlQuery.append(" ORDER BY a.name, t.title, s.percentage DESC");
|
||||
|
||||
//sending SQL-query to ararok via dcop
|
||||
QByteArray sqlQueryData, replyData;
|
||||
QCString replyType;
|
||||
QDataStream arg(sqlQueryData, IO_WriteOnly);
|
||||
arg << sqlQuery;
|
||||
if (!kapp->dcopClient()->call("amarok", "collection", "query(QString)",
|
||||
sqlQueryData, replyType, replyData)) {
|
||||
newStatus = 0;
|
||||
} else {
|
||||
QDataStream reply(replyData, IO_ReadOnly);
|
||||
if (replyType == "QStringList") {
|
||||
QStringList sqlResult;
|
||||
reply >> sqlResult;
|
||||
|
||||
if(sqlResult.isEmpty()) {
|
||||
newStatus = 0;
|
||||
} else {
|
||||
reset();
|
||||
//Reads information from SQL-Query
|
||||
_result.setArtist(sqlResult[0]);
|
||||
_result.setName(sqlResult[1]);
|
||||
if (sqlResult[2]!="-1") {
|
||||
KURL absolutePath;
|
||||
absolutePath.setPath( sqlResult[3] );
|
||||
absolutePath.addPath( sqlResult[4] );
|
||||
absolutePath.cleanPath();
|
||||
|
||||
_result.setURL( absolutePath );
|
||||
} else {
|
||||
KURL absolutePath;
|
||||
absolutePath.setPath( "/" );
|
||||
absolutePath.addPath( sqlResult[4] );
|
||||
absolutePath.cleanPath();
|
||||
|
||||
_result.setURL( absolutePath );
|
||||
}
|
||||
|
||||
_result.setAlbum(sqlResult[6]);
|
||||
|
||||
//_result.setIcon(QString());
|
||||
if ( !sqlResult[3].isEmpty() ) {
|
||||
_result.setIcon(sqlResult[5]);
|
||||
}
|
||||
|
||||
//counts the matched charecters
|
||||
int i = queryString.find( ':' );
|
||||
if ( i != -1 ) {
|
||||
if ( queryString[i+1] != ' ' )
|
||||
queryString.insert(i+1, ' ');
|
||||
if ( queryString[i-1] != ' ' )
|
||||
queryString.insert(i, ' ');
|
||||
}
|
||||
queryList = QStringList::split ( " ", queryString );
|
||||
unsigned int matched = 0;
|
||||
for(QStringList::Iterator it = queryList.begin(); it != queryList.end(); ++it) {
|
||||
if(matched < (_result.text().find(*it, matched, false) + (*it).length()))
|
||||
matched = _result.text().find(*it, matched, false) + (*it).length();
|
||||
}
|
||||
setBestMatch(Match(&_result, 100*queryString.length()/_result.text().length(), matched));
|
||||
|
||||
//Checks if there are multiple results
|
||||
if( !sqlResult[7].isEmpty() )
|
||||
newStatus = S_HasResults | S_Multiple;
|
||||
else
|
||||
newStatus = S_HasResults;
|
||||
}
|
||||
} else {
|
||||
newStatus = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
} //end of >1.4.2 section
|
||||
setStatus(newStatus);
|
||||
|
||||
} else { //We haven't got the collection status
|
||||
|
||||
checkCollectionType();
|
||||
reset();
|
||||
setBestMatch(Match());
|
||||
setStatus(0);
|
||||
}
|
||||
|
||||
|
||||
} //dont go after this while fixing
|
||||
|
||||
}
|
||||
|
||||
void AmarokCatalog::reset()
|
||||
{
|
||||
_result.setName(QString::null);
|
||||
_result.setArtist(QString::null);
|
||||
_result.setAlbum(QString::null);
|
||||
_result.setIcon(QString::null);
|
||||
}
|
||||
|
||||
void AmarokCatalog::checkCollectionType()
|
||||
{
|
||||
QString sqlQuery("SELECT COUNT(*) FROM admin WHERE noption = 'Database Devices Version'");
|
||||
|
||||
QByteArray sqlQueryData, replyData;
|
||||
QCString replyType;
|
||||
QDataStream arg(sqlQueryData, IO_WriteOnly);
|
||||
arg << sqlQuery;
|
||||
if (!kapp->dcopClient()->call("amarok", "collection", "query(QString)", sqlQueryData, replyType, replyData))
|
||||
{
|
||||
_gotCollectionStatus = false;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
QDataStream reply(replyData, IO_ReadOnly);
|
||||
if (replyType == "QStringList")
|
||||
{
|
||||
QStringList sqlResult;
|
||||
reply >> sqlResult;
|
||||
|
||||
if (sqlResult[0] == "1")
|
||||
{
|
||||
_dynamicCollection = true;
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
_dynamicCollection = false;
|
||||
|
||||
}
|
||||
_gotCollectionStatus = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
_gotCollectionStatus = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
void AmarokCatalog::initialize()
|
||||
{
|
||||
}
|
||||
*/
|
||||
|
||||
unsigned int AmarokCatalog::minQueryLen() const
|
||||
{
|
||||
return _minQueryLen;
|
||||
}
|
||||
|
||||
QWidget * AmarokCatalog::configure()
|
||||
{
|
||||
AmarokCatalogSettings *settings = new AmarokCatalogSettings();
|
||||
|
||||
settings->minQueryLen->setValue(_minQueryLen);
|
||||
connect(settings->minQueryLen, SIGNAL(valueChanged(int)), this, SLOT(minQueryLenChanged(int)));
|
||||
return settings;
|
||||
}
|
||||
|
||||
void AmarokCatalog::minQueryLenChanged(int _minQueryLen)
|
||||
{
|
||||
this->_minQueryLen = _minQueryLen;
|
||||
}
|
||||
|
||||
void AmarokCatalog::readSettings(KConfigBase *config)
|
||||
{
|
||||
_minQueryLen = config->readUnsignedNumEntry("MinQueryLen", 3);
|
||||
}
|
||||
|
||||
void AmarokCatalog::writeSettings(KConfigBase *config)
|
||||
{
|
||||
config->writeEntry("MinQueryLen", _minQueryLen);
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Bastian Holst *
|
||||
* bastianholst@gmx.de *
|
||||
* *
|
||||
* 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 AMAROKCATALOG_H
|
||||
#define AMAROKCATALOG_H
|
||||
|
||||
#include <katapultcatalog.h>
|
||||
#include <kgenericfactory.h>
|
||||
#include <kconfigbase.h>
|
||||
#include "song.h"
|
||||
|
||||
class QWidget;
|
||||
class QString;
|
||||
|
||||
/**
|
||||
@author Bastian Holst
|
||||
*/
|
||||
class AmarokCatalog : public KatapultCatalog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
AmarokCatalog(QObject*, const char*, const QStringList&);
|
||||
virtual ~AmarokCatalog();
|
||||
|
||||
unsigned int minQueryLen() const;
|
||||
void readSettings(KConfigBase *);
|
||||
void writeSettings(KConfigBase *);
|
||||
QWidget * configure();
|
||||
//virtual void initialize();
|
||||
|
||||
public slots:
|
||||
void minQueryLenChanged(int);
|
||||
|
||||
protected:
|
||||
void queryChanged();
|
||||
void reset();
|
||||
void checkCollectionType();
|
||||
|
||||
private:
|
||||
unsigned int _minQueryLen;
|
||||
bool _dynamicCollection;
|
||||
bool _gotCollectionStatus;
|
||||
Song _result;
|
||||
};
|
||||
|
||||
#endif //AMAROkCATALOG_H
|
@ -0,0 +1,106 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Bastian Holst *
|
||||
* bastianholst@gmx.de *
|
||||
* *
|
||||
* 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 <kmdcodec.h>
|
||||
#include <qimage.h>
|
||||
#include <qdir.h>
|
||||
|
||||
#include "coverimage.h"
|
||||
|
||||
CoverImage::CoverImage()
|
||||
{
|
||||
setArtist(QString());
|
||||
setAlbum(QString());
|
||||
setURL(QString());
|
||||
|
||||
_coverfolder = QDir::homeDirPath();
|
||||
_coverfolder.append("/.kde/share/apps/amarok/albumcovers/");
|
||||
_largefolder = QString(_coverfolder).append("large/");
|
||||
_cachefolder = QString(_coverfolder).append("cache/");
|
||||
|
||||
QDir foldertest;
|
||||
foldertest.setPath(_coverfolder);
|
||||
if ( !foldertest.exists() )
|
||||
foldertest.mkdir(_coverfolder);
|
||||
if ( !foldertest.exists(_largefolder) )
|
||||
foldertest.mkdir(_largefolder);
|
||||
if ( !foldertest.exists(_cachefolder) )
|
||||
foldertest.mkdir(_cachefolder);
|
||||
}
|
||||
|
||||
QImage CoverImage::load(int size) const
|
||||
{
|
||||
QString imagepath(_cachefolder);
|
||||
KMD5 md5sum(artist().lower().utf8()+album().lower().utf8());
|
||||
imagepath.append(QString::number ( size )).append("@").append(md5sum.hexDigest());
|
||||
QImage image( imagepath );
|
||||
if ( image.isNull() )
|
||||
{
|
||||
if ( !url().isEmpty() ) {
|
||||
image.load(url());
|
||||
} else {
|
||||
imagepath = _largefolder;
|
||||
imagepath.append(md5sum.hexDigest());
|
||||
image.load( imagepath );
|
||||
}
|
||||
|
||||
if ( !image.isNull() ) {
|
||||
QString savepath(_cachefolder);
|
||||
savepath.append(QString::number ( size )).append("@").append(md5sum.hexDigest());
|
||||
image = image.smoothScale(size, size, QImage::ScaleMin);
|
||||
if ( !url().isEmpty() ) {
|
||||
image.save( savepath, QImage::imageFormat ( url() ));
|
||||
} else {
|
||||
image.save( savepath, QImage::imageFormat ( imagepath ));
|
||||
}
|
||||
}
|
||||
}
|
||||
return image;
|
||||
}
|
||||
|
||||
QString CoverImage::artist() const
|
||||
{
|
||||
return _artist;
|
||||
}
|
||||
|
||||
QString CoverImage::album() const
|
||||
{
|
||||
return _album;
|
||||
}
|
||||
|
||||
QString CoverImage::url() const
|
||||
{
|
||||
return _url;
|
||||
}
|
||||
|
||||
void CoverImage::setArtist(const QString& artist)
|
||||
{
|
||||
_artist = artist;
|
||||
}
|
||||
|
||||
void CoverImage::setAlbum(const QString& album)
|
||||
{
|
||||
_album = album;
|
||||
}
|
||||
|
||||
void CoverImage::setURL(const QString& url)
|
||||
{
|
||||
_url = url;
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Bastian Holst *
|
||||
* bastianholst@gmx.de *
|
||||
* *
|
||||
* 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 COVERIMAGE_H
|
||||
#define COVERIMAGE_H
|
||||
|
||||
#include<qstring.h>
|
||||
#include<qimage.h>
|
||||
|
||||
/**
|
||||
@author Bastian Holst
|
||||
*/
|
||||
class CoverImage
|
||||
{
|
||||
public:
|
||||
CoverImage();
|
||||
|
||||
QImage load(int) const;
|
||||
|
||||
virtual QString artist() const;
|
||||
virtual QString album() const;
|
||||
virtual QString url() const;
|
||||
|
||||
void setArtist(const QString&);
|
||||
void setAlbum(const QString&);
|
||||
void setURL(const QString&);
|
||||
private:
|
||||
QString _artist;
|
||||
QString _album;
|
||||
QString _url;
|
||||
|
||||
QString _coverfolder;
|
||||
QString _largefolder;
|
||||
QString _cachefolder;
|
||||
};
|
||||
|
||||
#endif // COVERIMAGE_H
|
||||
|
@ -0,0 +1,80 @@
|
||||
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
|
||||
<class>AmarokCatalogSettings</class>
|
||||
<widget class="QWidget">
|
||||
<property name="name">
|
||||
<cstring>AmarokCatalogSettings</cstring>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>376</width>
|
||||
<height>519</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="caption">
|
||||
<string>Settings</string>
|
||||
</property>
|
||||
<vbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLayoutWidget">
|
||||
<property name="name">
|
||||
<cstring>layout1</cstring>
|
||||
</property>
|
||||
<hbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLabel">
|
||||
<property name="name">
|
||||
<cstring>textLabel1</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Number of characters before searching:</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="KIntSpinBox">
|
||||
<property name="name">
|
||||
<cstring>minQueryLen</cstring>
|
||||
</property>
|
||||
<property name="maxValue">
|
||||
<number>10</number>
|
||||
</property>
|
||||
<property name="minValue">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="value">
|
||||
<number>3</number>
|
||||
</property>
|
||||
<property name="whatsThis" stdset="0">
|
||||
<string>Katapult will not search for programs until you have typed at least this many characters in the Katapult launcher.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</hbox>
|
||||
</widget>
|
||||
<spacer>
|
||||
<property name="name">
|
||||
<cstring>spacer1</cstring>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>Expanding</enum>
|
||||
</property>
|
||||
<property name="sizeHint">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>370</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</vbox>
|
||||
</widget>
|
||||
<layoutdefaults spacing="6" margin="11"/>
|
||||
<includehints>
|
||||
<includehint>knuminput.h</includehint>
|
||||
</includehints>
|
||||
</UI>
|
@ -0,0 +1,91 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Bastian Holst *
|
||||
* bastianholst@gmx.de *
|
||||
* *
|
||||
* 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 <kglobal.h>
|
||||
#include <kiconloader.h>
|
||||
#include <kurl.h>
|
||||
#include <qpixmap.h>
|
||||
#include <qimage.h>
|
||||
#include <qstring.h>
|
||||
#include <amarokcatalog.h>
|
||||
|
||||
#include "song.h"
|
||||
|
||||
Song::Song(const QString&)
|
||||
: KatapultItem()
|
||||
{
|
||||
setName(QString());
|
||||
setArtist(QString());
|
||||
setURL(KURL());
|
||||
setIcon(QString());
|
||||
setAlbum(QString::null);
|
||||
}
|
||||
|
||||
void Song::setArtist(const QString& artist)
|
||||
{
|
||||
_artist = artist;
|
||||
cover.setArtist(artist);
|
||||
}
|
||||
|
||||
void Song::setName(const QString& name)
|
||||
{
|
||||
_name = name;
|
||||
}
|
||||
|
||||
void Song::setAlbum(const QString& album)
|
||||
{
|
||||
cover.setAlbum(album);
|
||||
}
|
||||
|
||||
void Song::setURL(const KURL url)
|
||||
{
|
||||
_url = url;
|
||||
}
|
||||
|
||||
void Song::setIcon(const QString icon)
|
||||
{
|
||||
cover.setURL(icon);
|
||||
}
|
||||
|
||||
QPixmap Song::icon(int size) const
|
||||
{
|
||||
QImage image = cover.load(size);
|
||||
if ( image.isNull() )
|
||||
return KGlobal::iconLoader()->loadIcon("multimedia", KIcon::NoGroup, size);
|
||||
return QPixmap(image);
|
||||
}
|
||||
|
||||
QString Song::text() const
|
||||
{
|
||||
QString text;
|
||||
if( !_artist.isEmpty() ) {
|
||||
text.append(_artist);
|
||||
text.append(": ");
|
||||
}
|
||||
text.append(_name);
|
||||
return text;
|
||||
}
|
||||
|
||||
KURL Song::url() const
|
||||
{
|
||||
return _url;
|
||||
}
|
||||
|
||||
#include "song.moc"
|
@ -0,0 +1,56 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Bastian Holst *
|
||||
* bastianholst@gmx.de *
|
||||
* *
|
||||
* 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 SONG_H
|
||||
#define SONG_H
|
||||
|
||||
#include "katapultitem.h"
|
||||
#include "coverimage.h"
|
||||
#include <kurl.h>
|
||||
#include <qstring.h>
|
||||
#include <qpixmap.h>
|
||||
|
||||
/**
|
||||
@author Bastian Holst
|
||||
*/
|
||||
class Song : public KatapultItem
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
Song(const QString&);
|
||||
|
||||
virtual QPixmap icon(int) const;
|
||||
virtual QString text() const;
|
||||
virtual KURL url() const;
|
||||
|
||||
void setArtist(const QString&);
|
||||
void setName(const QString&);
|
||||
void setURL(const KURL);
|
||||
void setIcon(const QString);
|
||||
void setAlbum(const QString&);
|
||||
|
||||
protected:
|
||||
QString _artist;
|
||||
QString _name;
|
||||
KURL _url;
|
||||
|
||||
CoverImage cover;
|
||||
};
|
||||
|
||||
#endif //SONG_H
|
@ -0,0 +1,17 @@
|
||||
# set the include path for X, qt and KDE
|
||||
INCLUDES = -I$(top_srcdir)/katapult/common $(all_includes)
|
||||
|
||||
# header files
|
||||
noinst_HEADERS = bookmarkcatalog.h bookmark.h actionopenbookmark.h \
|
||||
mozillabookmark.h
|
||||
|
||||
# use automoc
|
||||
METASOURCES = AUTO
|
||||
|
||||
# our plugin
|
||||
kde_module_LTLIBRARIES = katapult_bookmarkcatalog.la
|
||||
katapult_bookmarkcatalog_la_SOURCES = settings.ui bookmarkcatalog.cpp \
|
||||
bookmark.cpp actionopenbookmark.cpp mozillabookmark.cpp
|
||||
katapult_bookmarkcatalog_la_LDFLAGS = -module $(KDE_RPATH) $(KDE_PLUGIN) $(all_libraries)
|
||||
katapult_bookmarkcatalog_la_LIBADD = $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KIO) $(top_builddir)/katapult/common/libkatapult.la
|
||||
kde_services_DATA = katapult_bookmarkcatalog.desktop
|
@ -0,0 +1,60 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <kbookmark.h>
|
||||
#include <kglobal.h>
|
||||
#include <kiconloader.h>
|
||||
#include <krun.h>
|
||||
#include <kurl.h>
|
||||
#include <klocale.h>
|
||||
|
||||
#include <qstring.h>
|
||||
#include <qpixmap.h>
|
||||
|
||||
#include "actionopenbookmark.h"
|
||||
#include "katapultitem.h"
|
||||
#include "bookmark.h"
|
||||
#include "mozillabookmark.h"
|
||||
|
||||
QPixmap ActionOpenBookmark::icon(int size) const
|
||||
{
|
||||
return KGlobal::iconLoader()->loadIcon("fileopen", KIcon::NoGroup, size);
|
||||
}
|
||||
|
||||
QString ActionOpenBookmark::text() const
|
||||
{
|
||||
return i18n("Open Bookmark");
|
||||
}
|
||||
|
||||
void ActionOpenBookmark::execute(const KatapultItem *item) const
|
||||
{
|
||||
if(strcmp(item->className(), "Bookmark") == 0) {
|
||||
const Bookmark *bookmark = (const Bookmark *) item;
|
||||
new KRun(bookmark->bookmark().url());
|
||||
} else if(strcmp(item->className(), "MozillaBookmark") == 0) {
|
||||
const MozillaBookmark *bookmark = (const MozillaBookmark *) item;
|
||||
new KRun(bookmark->url());
|
||||
}
|
||||
}
|
||||
|
||||
bool ActionOpenBookmark::accepts(const KatapultItem *item) const
|
||||
{
|
||||
return strcmp(item->className(), "Bookmark") == 0 || strcmp(item->className(), "MozillaBookmark") == 0;
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 ACTIONOPENBOOKMARK_H
|
||||
#define ACTIONOPENBOOKMARK_H
|
||||
|
||||
#include <katapultaction.h>
|
||||
|
||||
class KatapultItem;
|
||||
class QPixmap;
|
||||
class QString;
|
||||
|
||||
/**
|
||||
@author Joe Ferris
|
||||
*/
|
||||
class ActionOpenBookmark : public KatapultAction
|
||||
{
|
||||
|
||||
public:
|
||||
virtual QPixmap icon(int) const;
|
||||
virtual QString text() const;
|
||||
virtual void execute(const KatapultItem *) const;
|
||||
virtual bool accepts(const KatapultItem *) const;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,48 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <kbookmark.h>
|
||||
#include <kglobal.h>
|
||||
#include <kiconloader.h>
|
||||
|
||||
#include "bookmark.h"
|
||||
|
||||
Bookmark::Bookmark(KBookmark _bookmark)
|
||||
: KatapultItem()
|
||||
{
|
||||
this->_bookmark = _bookmark;
|
||||
}
|
||||
|
||||
QPixmap Bookmark::icon(int size) const
|
||||
{
|
||||
return KGlobal::iconLoader()->loadIcon(_bookmark.icon(), KIcon::NoGroup, size);
|
||||
}
|
||||
|
||||
KBookmark Bookmark::bookmark() const
|
||||
{
|
||||
return _bookmark;
|
||||
}
|
||||
|
||||
QString Bookmark::text() const
|
||||
{
|
||||
return _bookmark.text();
|
||||
}
|
||||
|
||||
#include "bookmark.moc"
|
@ -0,0 +1,46 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 BOOKMARK_H
|
||||
#define BOOKMARK_H
|
||||
|
||||
#include <kbookmark.h>
|
||||
|
||||
#include <katapultitem.h>
|
||||
|
||||
/**
|
||||
@author Joe Ferris
|
||||
*/
|
||||
class Bookmark : public KatapultItem
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
Bookmark(KBookmark);
|
||||
|
||||
virtual QPixmap icon(int) const;
|
||||
virtual QString text() const;
|
||||
|
||||
KBookmark bookmark() const;
|
||||
|
||||
private:
|
||||
KBookmark _bookmark;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,212 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <kservicegroup.h>
|
||||
#include <ksycocaentry.h>
|
||||
#include <ksycocatype.h>
|
||||
#include <kapplication.h>
|
||||
#include <kbookmarkmanager.h>
|
||||
#include <kbookmark.h>
|
||||
#include <knuminput.h>
|
||||
#include <kurlrequester.h>
|
||||
|
||||
#include <qstring.h>
|
||||
#include <qradiobutton.h>
|
||||
#include <qbuttongroup.h>
|
||||
#include <qdir.h>
|
||||
#include <qregexp.h>
|
||||
#include <qfile.h>
|
||||
|
||||
#include "bookmarkcatalog.h"
|
||||
#include "bookmark.h"
|
||||
#include "mozillabookmark.h"
|
||||
#include "settings.h"
|
||||
#include "actionregistry.h"
|
||||
#include "actionopenbookmark.h"
|
||||
|
||||
K_EXPORT_COMPONENT_FACTORY( katapult_bookmarkcatalog,
|
||||
KGenericFactory<BookmarkCatalog>( "katapult_bookmarkcatalog" ) )
|
||||
|
||||
BookmarkCatalog::BookmarkCatalog(QObject *, const char *, const QStringList&)
|
||||
: CachedCatalog()
|
||||
{
|
||||
manager = KBookmarkManager::userBookmarksManager();
|
||||
_minQueryLen = 1;
|
||||
ActionRegistry::self()->registerAction(new ActionOpenBookmark());
|
||||
}
|
||||
|
||||
|
||||
BookmarkCatalog::~BookmarkCatalog()
|
||||
{
|
||||
}
|
||||
|
||||
void BookmarkCatalog::initialize()
|
||||
{
|
||||
if(manager != 0)
|
||||
cacheBookmarkList(manager->root());
|
||||
if(_mozEnabled)
|
||||
cacheMozillaBookmarks();
|
||||
}
|
||||
|
||||
void BookmarkCatalog::cacheBookmarkList(KBookmarkGroup group)
|
||||
{
|
||||
KBookmark bookmark = group.first();
|
||||
while(!bookmark.isNull()) {
|
||||
if (bookmark.isGroup()) {
|
||||
cacheBookmarkList(bookmark.toGroup());
|
||||
} else {
|
||||
addItem(new Bookmark(bookmark));
|
||||
}
|
||||
bookmark = group.next(bookmark);
|
||||
}
|
||||
}
|
||||
|
||||
void BookmarkCatalog::cacheMozillaBookmarks()
|
||||
{
|
||||
if(_mozAuto)
|
||||
_mozFile = detectMozillaFile();
|
||||
|
||||
if(_mozFile.isEmpty())
|
||||
return;
|
||||
|
||||
QFile bmFile(_mozFile);
|
||||
if(!bmFile.open(IO_ReadOnly))
|
||||
return;
|
||||
|
||||
QString contents = bmFile.readAll();
|
||||
QRegExp rx("<A HREF=\"([^\"]+)\" [^>]+>([^<]+)</A>");
|
||||
int pos = 0;
|
||||
while(pos > -1) {
|
||||
pos = rx.search(contents, pos);
|
||||
if(pos > -1) {
|
||||
addItem(new MozillaBookmark(rx.cap(1), rx.cap(2), QPixmap()));
|
||||
pos += rx.matchedLength();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
QString BookmarkCatalog::detectMozillaFile()
|
||||
{
|
||||
QStringList testDirs;
|
||||
testDirs << ".firefox" << ".mozilla" << ".phoenix" << ".netscape";
|
||||
QDir home = QDir::home();
|
||||
for(QStringList::Iterator it = testDirs.begin(); it != testDirs.end(); ++it) {
|
||||
QString testDir = *it;
|
||||
if(home.exists(testDir)) {
|
||||
QDir mozDir = QDir(home.path()+"/"+testDir).canonicalPath();
|
||||
if(mozDir.dirName() != testDir && testDirs.contains(mozDir.dirName()))
|
||||
continue;
|
||||
QString path = searchMozDir(mozDir.path());
|
||||
if(!path.isEmpty())
|
||||
return path;
|
||||
}
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
QString BookmarkCatalog::searchMozDir(QString path)
|
||||
{
|
||||
QDir dir(path);
|
||||
if(dir.exists("bookmarks.html")) {
|
||||
return path+"/bookmarks.html";
|
||||
}
|
||||
QStringList entries = dir.entryList(QDir::Dirs | QDir::NoSymLinks);
|
||||
for(QStringList::Iterator it = entries.begin(); it != entries.end(); ++it) {
|
||||
if(*it != "." && *it != ".."){
|
||||
QString result = searchMozDir(path + "/" + *it);
|
||||
if(!result.isEmpty())
|
||||
return result;
|
||||
}
|
||||
}
|
||||
return QString::null;
|
||||
}
|
||||
|
||||
unsigned int BookmarkCatalog::minQueryLen() const
|
||||
{
|
||||
return _minQueryLen;
|
||||
}
|
||||
|
||||
void BookmarkCatalog::readSettings(KConfigBase *config)
|
||||
{
|
||||
_minQueryLen = config->readUnsignedNumEntry("MinQueryLen", 3);
|
||||
_mozEnabled = config->readBoolEntry("MozEnabled", TRUE);
|
||||
_mozAuto = config->readBoolEntry("MozAuto", TRUE);
|
||||
_mozFile = config->readEntry("MozFile", "");
|
||||
}
|
||||
|
||||
void BookmarkCatalog::writeSettings(KConfigBase *config)
|
||||
{
|
||||
config->writeEntry("MinQueryLen", _minQueryLen);
|
||||
config->writeEntry("MozEnabled", _mozEnabled);
|
||||
config->writeEntry("MozAuto", _mozAuto);
|
||||
config->writeEntry("MozFile", _mozFile);
|
||||
}
|
||||
|
||||
QWidget * BookmarkCatalog::configure()
|
||||
{
|
||||
settings = new BookmarkCatalogSettings();
|
||||
|
||||
settings->minQueryLen->setValue(_minQueryLen);
|
||||
connect(settings->minQueryLen, SIGNAL(valueChanged(int)), this, SLOT(minQueryLenChanged(int)));
|
||||
|
||||
settings->mozEnabled->setChecked(_mozEnabled);
|
||||
connect(settings->mozEnabled, SIGNAL(toggled(bool)), this, SLOT(toggleMozEnabled(bool)));
|
||||
|
||||
settings->mozAuto->setChecked(_mozAuto);
|
||||
connect(settings->mozAuto, SIGNAL(toggled(bool)), this, SLOT(toggleMozAuto(bool)));
|
||||
|
||||
settings->mozManual->setChecked(!_mozAuto);
|
||||
|
||||
settings->mozFile->setURL(_mozFile);
|
||||
connect(settings->mozFile, SIGNAL(urlSelected(const QString &)), this, SLOT(changeMozFile(const QString &)));
|
||||
|
||||
settings->mozAuto->setEnabled(_mozEnabled);
|
||||
settings->mozManual->setEnabled(_mozEnabled);
|
||||
settings->mozFile->setEnabled(_mozEnabled && !_mozAuto);
|
||||
|
||||
return settings;
|
||||
}
|
||||
|
||||
void BookmarkCatalog::minQueryLenChanged(int _minQueryLen)
|
||||
{
|
||||
this->_minQueryLen = _minQueryLen;
|
||||
}
|
||||
|
||||
void BookmarkCatalog::toggleMozEnabled(bool _mozEnabled)
|
||||
{
|
||||
this->_mozEnabled = _mozEnabled;
|
||||
settings->mozAuto->setEnabled(_mozEnabled);
|
||||
settings->mozManual->setEnabled(_mozEnabled);
|
||||
settings->mozFile->setEnabled(_mozEnabled && !_mozAuto);
|
||||
}
|
||||
|
||||
void BookmarkCatalog::toggleMozAuto(bool _mozAuto)
|
||||
{
|
||||
this->_mozAuto = _mozAuto;
|
||||
settings->mozFile->setEnabled(!_mozAuto);
|
||||
}
|
||||
|
||||
void BookmarkCatalog::changeMozFile(const QString & _mozFile)
|
||||
{
|
||||
this->_mozFile = _mozFile;
|
||||
}
|
||||
|
||||
#include "bookmarkcatalog.moc"
|
@ -0,0 +1,71 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 PROGRAMCATALOG_H
|
||||
#define PROGRAMCATALOG_H
|
||||
|
||||
#include <kgenericfactory.h>
|
||||
|
||||
#include <qptrlist.h>
|
||||
|
||||
#include "cachedcatalog.h"
|
||||
|
||||
class QWidget;
|
||||
class QString;
|
||||
class KBookmarkManager;
|
||||
class KBookmarkGroup;
|
||||
class BookmarkCatalogSettings;
|
||||
|
||||
/**
|
||||
@author Joe Ferris
|
||||
*/
|
||||
class BookmarkCatalog : public CachedCatalog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
BookmarkCatalog(QObject *, const char *, const QStringList&);
|
||||
virtual ~BookmarkCatalog();
|
||||
|
||||
virtual void initialize();
|
||||
virtual void readSettings(KConfigBase *);
|
||||
virtual void writeSettings(KConfigBase *);
|
||||
virtual unsigned int minQueryLen() const;
|
||||
virtual QWidget * configure();
|
||||
|
||||
public slots:
|
||||
void minQueryLenChanged(int);
|
||||
void toggleMozEnabled(bool);
|
||||
void toggleMozAuto(bool);
|
||||
void changeMozFile(const QString &);
|
||||
QString searchMozDir(QString);
|
||||
|
||||
private:
|
||||
void cacheBookmarkList(KBookmarkGroup);
|
||||
void cacheMozillaBookmarks();
|
||||
QString detectMozillaFile();
|
||||
|
||||
KBookmarkManager *manager;
|
||||
int _minQueryLen;
|
||||
bool _mozEnabled;
|
||||
bool _mozAuto;
|
||||
QString _mozFile;
|
||||
BookmarkCatalogSettings *settings;
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,51 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <kiconloader.h>
|
||||
#include <kglobal.h>
|
||||
|
||||
#include <qpixmap.h>
|
||||
|
||||
#include "mozillabookmark.h"
|
||||
|
||||
MozillaBookmark::MozillaBookmark(QString _url, QString _title, QPixmap _icon)
|
||||
: KatapultItem()
|
||||
{
|
||||
this->_url = _url;
|
||||
this->_icon = _icon;
|
||||
this->_title = _title;
|
||||
}
|
||||
|
||||
QPixmap MozillaBookmark::icon(int size) const
|
||||
{
|
||||
return KGlobal::iconLoader()->loadIcon("bookmark", KIcon::NoGroup, size);
|
||||
}
|
||||
|
||||
QString MozillaBookmark::url() const
|
||||
{
|
||||
return _url;
|
||||
}
|
||||
|
||||
QString MozillaBookmark::text() const
|
||||
{
|
||||
return _title;
|
||||
}
|
||||
|
||||
#include "mozillabookmark.moc"
|
@ -0,0 +1,46 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 MOZILLABOOKMARK_H
|
||||
#define MOZILLABOOKMARK_H
|
||||
|
||||
#include <qpixmap.h>
|
||||
|
||||
#include "katapultitem.h"
|
||||
|
||||
/**
|
||||
@author Joe Ferris
|
||||
*/
|
||||
class MozillaBookmark : public KatapultItem
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
MozillaBookmark(QString, QString, QPixmap);
|
||||
|
||||
virtual QPixmap icon(int) const;
|
||||
virtual QString text() const;
|
||||
|
||||
QString url() const;
|
||||
|
||||
private:
|
||||
QString _url, _title;
|
||||
QPixmap _icon;
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,117 @@
|
||||
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
|
||||
<class>BookmarkCatalogSettings</class>
|
||||
<widget class="QWidget">
|
||||
<property name="name">
|
||||
<cstring>BookmarkCatalogSettings</cstring>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>401</width>
|
||||
<height>280</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="caption">
|
||||
<string>Settings</string>
|
||||
</property>
|
||||
<vbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLayoutWidget">
|
||||
<property name="name">
|
||||
<cstring>layout1</cstring>
|
||||
</property>
|
||||
<hbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLabel">
|
||||
<property name="name">
|
||||
<cstring>textLabel1</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Number of characters before searching:</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="KIntSpinBox">
|
||||
<property name="name">
|
||||
<cstring>minQueryLen</cstring>
|
||||
</property>
|
||||
<property name="maxValue">
|
||||
<number>10</number>
|
||||
</property>
|
||||
<property name="minValue">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="whatsThis" stdset="0">
|
||||
<string>Katapult will not search for programs until you have typed at least this many characters in the Katapult launcher.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</hbox>
|
||||
</widget>
|
||||
<widget class="QButtonGroup">
|
||||
<property name="name">
|
||||
<cstring>mozEnabled</cstring>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>Import Mozilla bookmarks</string>
|
||||
</property>
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<vbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QRadioButton">
|
||||
<property name="name">
|
||||
<cstring>mozAuto</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Automatically detect bookmark file</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QRadioButton">
|
||||
<property name="name">
|
||||
<cstring>mozManual</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Use the following file:</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="KURLRequester">
|
||||
<property name="name">
|
||||
<cstring>mozFile</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</vbox>
|
||||
</widget>
|
||||
<spacer>
|
||||
<property name="name">
|
||||
<cstring>spacer1</cstring>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>Expanding</enum>
|
||||
</property>
|
||||
<property name="sizeHint">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>100</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</vbox>
|
||||
</widget>
|
||||
<layoutdefaults spacing="6" margin="11"/>
|
||||
<includehints>
|
||||
<includehint>knuminput.h</includehint>
|
||||
<includehint>kurlrequester.h</includehint>
|
||||
<includehint>klineedit.h</includehint>
|
||||
<includehint>kpushbutton.h</includehint>
|
||||
</includehints>
|
||||
</UI>
|
@ -0,0 +1,20 @@
|
||||
# Copyright (C) 2005 Tobi Vollebregt
|
||||
|
||||
# set the include path for X, qt and KDE
|
||||
INCLUDES = -I$(top_srcdir)/katapult/common $(all_includes)
|
||||
|
||||
# header files
|
||||
noinst_HEADERS = calculatorcatalog.h expression.h actionevalexpr.h
|
||||
|
||||
# use automoc
|
||||
METASOURCES = AUTO
|
||||
|
||||
# install xcalc icon
|
||||
KDE_ICON = xcalc checkmark no
|
||||
|
||||
# our plugin
|
||||
kde_module_LTLIBRARIES = katapult_calculatorcatalog.la
|
||||
katapult_calculatorcatalog_la_SOURCES = settings.ui calculatorcatalog.cpp expression.cpp actionevalexpr.cpp parser.cpp
|
||||
katapult_calculatorcatalog_la_LDFLAGS = -module $(KDE_RPATH) $(KDE_PLUGIN) $(all_libraries)
|
||||
katapult_calculatorcatalog_la_LIBADD = $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KIO) $(top_builddir)/katapult/common/libkatapult.la
|
||||
kde_services_DATA = katapult_calculatorcatalog.desktop
|
@ -0,0 +1,161 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 Tobi Vollebregt *
|
||||
* tobivollebregt@gmail.com *
|
||||
* *
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <kapplication.h>
|
||||
#include <kglobal.h>
|
||||
#include <kiconloader.h>
|
||||
#include <krun.h>
|
||||
#include <kurl.h>
|
||||
#include <klocale.h>
|
||||
|
||||
#include <qclipboard.h>
|
||||
|
||||
#include "calculatorcatalog.h"
|
||||
#include "expression.h"
|
||||
#include "katapultitem.h"
|
||||
#include "actionevalexpr.h"
|
||||
|
||||
|
||||
// Conditional compilation to not bloat the lib if
|
||||
// KDE already has the following functions.
|
||||
// Prevents a deprecated function warning too.
|
||||
|
||||
#if !KDE_IS_VERSION(3, 5, 0)
|
||||
|
||||
// Copied some code from KDE 3.5 to make it compile on 3.4.
|
||||
|
||||
// insert (thousands)-"separator"s into the non-fractional part of str
|
||||
static void _insertSeparator(QString &str, const QString &separator, const QString &decimalSymbol)
|
||||
{
|
||||
// leave fractional part untouched
|
||||
QString mainPart = str.section(decimalSymbol, 0, 0);
|
||||
QString fracPart = str.section(decimalSymbol, 1, 1, QString::SectionIncludeLeadingSep);
|
||||
if (fracPart==decimalSymbol) fracPart=QString();
|
||||
for (int pos = mainPart.length() - 3; pos > 0; pos -= 3)
|
||||
mainPart.insert(pos, separator);
|
||||
str = mainPart + fracPart;
|
||||
}
|
||||
|
||||
// This was KLocale::formatNumber(const QString&, bool, int)
|
||||
|
||||
static QString formatNumber(const QString &numStr)
|
||||
{
|
||||
QString tmpString = numStr;
|
||||
|
||||
// Skip the sign (for now)
|
||||
bool neg = (tmpString[0] == '-');
|
||||
if (neg || tmpString[0] == '+') tmpString.remove(0, 1);
|
||||
|
||||
// Split off exponential part (including 'e'-symbol)
|
||||
QString mantString = tmpString.section('e', 0, 0, QString::SectionCaseInsensitiveSeps);
|
||||
QString expString = tmpString.section('e', 1, 1, QString::SectionCaseInsensitiveSeps | QString::SectionIncludeLeadingSep);
|
||||
if (expString.length()==1) expString=QString();
|
||||
|
||||
// Replace dot with locale decimal separator
|
||||
mantString.replace(QChar('.'), KGlobal::locale()->decimalSymbol());
|
||||
|
||||
// Insert the thousand separators
|
||||
_insertSeparator(mantString, KGlobal::locale()->thousandsSeparator(), KGlobal::locale()->decimalSymbol());
|
||||
|
||||
// How can we know where we should put the sign?
|
||||
mantString.prepend(neg?KGlobal::locale()->negativeSign():KGlobal::locale()->positiveSign());
|
||||
|
||||
return mantString + expString;
|
||||
}
|
||||
|
||||
#else
|
||||
// KDE_VERSION >= 3.5.0
|
||||
|
||||
static QString formatNumber(const QString& numStr)
|
||||
{
|
||||
return KGlobal::locale()->formatNumber(numStr, false, 0);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
ActionEvaluateExpression::ActionEvaluateExpression()
|
||||
: KatapultAction(), _expr(0)
|
||||
{
|
||||
}
|
||||
|
||||
ActionEvaluateExpression::~ActionEvaluateExpression()
|
||||
{
|
||||
}
|
||||
|
||||
QString ActionEvaluateExpression::text() const
|
||||
{
|
||||
if (_expr->parseError()) {
|
||||
return i18n("Evaluate Expression");
|
||||
} else {
|
||||
// Format result.
|
||||
int digits = _expr->catalog()->fracDigits();
|
||||
QChar f = _expr->catalog()->scientific() ? 'g' : 'f';
|
||||
QString num = QString::number(_expr->result(), f, digits);
|
||||
// Strip trailing zeroes.
|
||||
if (f == 'f' && digits != 0) {
|
||||
while (num.endsWith("0")) {
|
||||
num = num.left(num.length() - 1);
|
||||
}
|
||||
if (num.endsWith(".")) {
|
||||
num = num.left(num.length() - 1);
|
||||
}
|
||||
}
|
||||
// Localize (choose right implementation based on KDE version, see above).
|
||||
return formatNumber(num);
|
||||
}
|
||||
}
|
||||
|
||||
QPixmap ActionEvaluateExpression::icon(int size) const
|
||||
{
|
||||
return KGlobal::iconLoader()->loadIcon("xcalc", KIcon::NoGroup, size);
|
||||
}
|
||||
|
||||
bool ActionEvaluateExpression::accepts(const KatapultItem* item) const
|
||||
{
|
||||
bool accept = strcmp(item->className(), "Expression") == 0;
|
||||
if (accept) {
|
||||
_expr = (const Expression*)item;
|
||||
}
|
||||
return accept;
|
||||
}
|
||||
|
||||
void ActionEvaluateExpression::execute(const KatapultItem* item) const
|
||||
{
|
||||
if (strcmp(item->className(), "Expression") == 0) {
|
||||
_expr = (const Expression*)item;
|
||||
|
||||
//evaluate expression with assignments enabled
|
||||
_expr->evaluate(true);
|
||||
|
||||
// Copy calculation and result into clipboard (unless there's a parse error).
|
||||
if (!_expr->parseError()) {
|
||||
QClipboard *cb = QApplication::clipboard();
|
||||
QString s = _expr->catalog()->formatString();
|
||||
s.replace("%1", _expr->text());
|
||||
s.replace("%2", text());
|
||||
cb->setText(s, QClipboard::Clipboard);
|
||||
cb->setText(s, QClipboard::Selection);
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 Tobi Vollebregt *
|
||||
* tobivollebregt@gmail.com *
|
||||
* *
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 ACTIONEVALEXPR_H
|
||||
#define ACTIONEVALEXPR_H
|
||||
|
||||
#include "katapultaction.h"
|
||||
|
||||
class KatapultItem;
|
||||
class Expression;
|
||||
|
||||
/**
|
||||
@author Tobi Vollebregt
|
||||
*/
|
||||
class ActionEvaluateExpression : public KatapultAction
|
||||
{
|
||||
public:
|
||||
ActionEvaluateExpression();
|
||||
~ActionEvaluateExpression();
|
||||
|
||||
virtual void execute(const KatapultItem*) const;
|
||||
virtual bool accepts(const KatapultItem*) const;
|
||||
virtual QString text() const;
|
||||
virtual QPixmap icon(int) const;
|
||||
|
||||
private:
|
||||
//_expr needs to be mutable because accepts() is const.
|
||||
mutable const Expression* _expr;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,360 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 Tobi Vollebregt *
|
||||
* tobivollebregt@gmail.com *
|
||||
* *
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <kservicegroup.h>
|
||||
#include <ksycocaentry.h>
|
||||
#include <ksycocatype.h>
|
||||
#include <kapplication.h>
|
||||
#include <knuminput.h>
|
||||
#include <kcombobox.h>
|
||||
|
||||
#include <qcheckbox.h>
|
||||
#include <qbuttongroup.h>
|
||||
#include <qradiobutton.h>
|
||||
#include <qregexp.h>
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#include "settings.h"
|
||||
#include "calculatorcatalog.h"
|
||||
#include "expression.h"
|
||||
#include "actionregistry.h"
|
||||
#include "actionevalexpr.h"
|
||||
#include "status.h"
|
||||
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
#endif
|
||||
|
||||
#ifndef M_E
|
||||
#define M_E 2.7182818284590452354
|
||||
#endif
|
||||
|
||||
|
||||
static double frac(double x)
|
||||
{
|
||||
double nowhere;
|
||||
return modf(x, &nowhere);
|
||||
}
|
||||
|
||||
|
||||
static double deg_sin(double x) { return sin(x * (M_PI / 180.0)); }
|
||||
static double deg_cos(double x) { return cos(x * (M_PI / 180.0)); }
|
||||
static double deg_tan(double x) { return tan(x * (M_PI / 180.0)); }
|
||||
static double deg_asin(double x) { return asin(x) * (180.0 / M_PI); }
|
||||
static double deg_acos(double x) { return acos(x) * (180.0 / M_PI); }
|
||||
static double deg_atan(double x) { return atan(x) * (180.0 / M_PI); }
|
||||
static double deg_sinh(double x) { return sinh(x * (M_PI / 180.0)); }
|
||||
static double deg_cosh(double x) { return cosh(x * (M_PI / 180.0)); }
|
||||
static double deg_tanh(double x) { return tanh(x * (M_PI / 180.0)); }
|
||||
static double deg_asinh(double x) { return asinh(x) * (180.0 / M_PI); }
|
||||
static double deg_acosh(double x) { return acosh(x) * (180.0 / M_PI); }
|
||||
static double deg_atanh(double x) { return atanh(x) * (180.0 / M_PI); }
|
||||
|
||||
|
||||
const CalculatorCatalog::Function CalculatorCatalog::radiansFunctionTable[] =
|
||||
{
|
||||
{ "sin", 3, sin },
|
||||
{ "cos", 3, cos },
|
||||
{ "tan", 3, tan },
|
||||
{ "asin", 4, asin },
|
||||
{ "acos", 4, acos },
|
||||
{ "atan", 4, atan },
|
||||
{ "sinh", 4, sinh },
|
||||
{ "cosh", 4, cosh },
|
||||
{ "tanh", 4, tanh },
|
||||
{ "asinh", 5, asinh },
|
||||
{ "acosh", 5, acosh },
|
||||
{ "atanh", 5, atanh },
|
||||
{ "sqrt", 4, sqrt },
|
||||
{ "log", 3, log10 },
|
||||
{ "ln", 2, log },
|
||||
{ "exp", 3, exp },
|
||||
{ "abs", 3, fabs },
|
||||
{ "frac", 4, frac },
|
||||
{ "round", 5, round },
|
||||
{ "int", 3, trunc },
|
||||
{ 0, 0, 0 }
|
||||
};
|
||||
|
||||
const CalculatorCatalog::Function CalculatorCatalog::degreesFunctionTable[] =
|
||||
{
|
||||
{ "sin", 3, deg_sin },
|
||||
{ "cos", 3, deg_cos },
|
||||
{ "tan", 3, deg_tan },
|
||||
{ "asin", 4, deg_asin },
|
||||
{ "acos", 4, deg_acos },
|
||||
{ "atan", 4, deg_atan },
|
||||
{ "sinh", 4, deg_sinh },
|
||||
{ "cosh", 4, deg_cosh },
|
||||
{ "tanh", 4, deg_tanh },
|
||||
{ "asinh", 5, deg_asinh },
|
||||
{ "acosh", 5, deg_acosh },
|
||||
{ "atanh", 5, deg_atanh },
|
||||
{ "sqrt", 4, sqrt },
|
||||
{ "log", 3, log10 },
|
||||
{ "ln", 2, log },
|
||||
{ "exp", 3, exp },
|
||||
{ "abs", 3, fabs },
|
||||
{ "frac", 4, frac },
|
||||
{ "round", 5, round },
|
||||
{ "int", 3, trunc },
|
||||
{ 0, 0, 0 }
|
||||
};
|
||||
|
||||
|
||||
K_EXPORT_COMPONENT_FACTORY( katapult_calculatorcatalog,
|
||||
KGenericFactory<CalculatorCatalog>( "katapult_calculatorcatalog" ) )
|
||||
|
||||
CalculatorCatalog::CalculatorCatalog(QObject*, const char*, const QStringList&): _result(this, QString::null)
|
||||
{
|
||||
ActionRegistry::self()->registerAction(new ActionEvaluateExpression());
|
||||
|
||||
setVar(getVarID("pi"), M_PI);
|
||||
setVar(getVarID("e"), M_E);
|
||||
}
|
||||
|
||||
CalculatorCatalog::~CalculatorCatalog()
|
||||
{
|
||||
}
|
||||
|
||||
void CalculatorCatalog::queryChanged()
|
||||
{
|
||||
int newStatus = 0;
|
||||
QString cmd = query();
|
||||
|
||||
if (cmd.isEmpty()) {
|
||||
reset();
|
||||
setBestMatch(Match());
|
||||
} else {
|
||||
if (accepts(cmd)) {
|
||||
int i, origLength = cmd.length(), length = origLength;
|
||||
//autocomplete functions
|
||||
cmd = cmd.lower();
|
||||
for (i = length - 1; i >= 0 && cmd[i].isLetter(); --i) { }
|
||||
if (i != length - 1) {
|
||||
QString start = cmd.mid(i + 1);
|
||||
int lengthOfShortest = 9999, shortest = -1;
|
||||
for (int j = 0; radiansFunctionTable[j].name; ++j) {
|
||||
if (QString(radiansFunctionTable[j].name).startsWith(start)) {
|
||||
if (radiansFunctionTable[j].length < lengthOfShortest) {
|
||||
lengthOfShortest = radiansFunctionTable[j].length;
|
||||
shortest = j;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (shortest != -1) {
|
||||
cmd = cmd.left(i + 1).append(radiansFunctionTable[shortest].name).append("(");
|
||||
length = cmd.length();
|
||||
}
|
||||
}
|
||||
//fix parse errors at end of expression,
|
||||
//ie. close open parentheses, convert operators into NOPs
|
||||
for (i = length - 1; i >= 0 && (cmd[i] == '(' || cmd[i] == ' '); --i) { }
|
||||
if (i < 0 || cmd[i] == '+' || cmd[i] == '-') {
|
||||
cmd.append("0");
|
||||
++length;
|
||||
} else if (cmd[i] == '*' || cmd[i] == '/' || cmd[i] == '^') {
|
||||
cmd.append("1");
|
||||
++length;
|
||||
} else if (cmd[i].isLetter() && (i < length - 1 && cmd[i + 1] == '(')) {
|
||||
//just add a 0 if it's a function: we don't bother to backpropagate
|
||||
//through the parse tree (if it existed at all) to figure out a NOP value
|
||||
//for this particular (chain of) function(s).
|
||||
cmd.append("0");
|
||||
++length;
|
||||
}
|
||||
int openParen = 0;
|
||||
//use cmd.length() here, it may be > than length.
|
||||
for (i = 0; i < length; ++i) {
|
||||
if (cmd[i] == '(') ++openParen;
|
||||
if (cmd[i] == ')') --openParen;
|
||||
}
|
||||
if (openParen > 0) {
|
||||
char* closeParen = new char[openParen + 1];
|
||||
memset(closeParen, ')', openParen);
|
||||
closeParen[openParen] = 0;
|
||||
cmd.append(closeParen);
|
||||
delete[] closeParen;
|
||||
}
|
||||
_result.setText(cmd);
|
||||
setBestMatch(Match(&_result, _result.parseError() ? 10 : 100, origLength));
|
||||
//set status.
|
||||
//add S_Multiple to make sure katapult doesn't auto-exec and close the window
|
||||
//add S_Active to make sure katapult doesn't start the hideTimer or clearTimer
|
||||
newStatus = S_HasResults | S_Multiple | S_Active;
|
||||
} else {
|
||||
newStatus = 0;
|
||||
}
|
||||
}
|
||||
setStatus(newStatus);
|
||||
}
|
||||
|
||||
void CalculatorCatalog::reset()
|
||||
{
|
||||
_result.setText(QString::null);
|
||||
}
|
||||
|
||||
bool CalculatorCatalog::accepts(const QString& str) const
|
||||
{
|
||||
//Heuristic to determine whether the string is an expression or not.
|
||||
//Accept anything containing [()+\\-/*^=.,0-9].
|
||||
return QRegExp("[()+\\-/*^=.,0-9]").search(str) >= 0;
|
||||
}
|
||||
|
||||
int CalculatorCatalog::getVarID(const char* name)
|
||||
{
|
||||
VarNameToIdMap::iterator it = varNameToId.find(QString(name));
|
||||
if (it == varNameToId.end()) {
|
||||
_pendingVarName = QString(name);
|
||||
return -1;
|
||||
}
|
||||
return *it;
|
||||
}
|
||||
|
||||
double CalculatorCatalog::getVar(int id) const
|
||||
{
|
||||
return varIdToValue[id];
|
||||
}
|
||||
|
||||
double CalculatorCatalog::setVar(int id, double value)
|
||||
{
|
||||
if (id == -1) {
|
||||
id = varIdToValue.count();
|
||||
varNameToId.insert(_pendingVarName, id);
|
||||
varIdToValue.push_back(value);
|
||||
} else {
|
||||
varIdToValue[id] = value;
|
||||
}
|
||||
return value;
|
||||
}
|
||||
|
||||
/*
|
||||
void CalculatorCatalog::initialize()
|
||||
{
|
||||
}
|
||||
*/
|
||||
|
||||
void CalculatorCatalog::readSettings(KConfigBase* config)
|
||||
{
|
||||
_fracDigits = config->readUnsignedNumEntry("FracDigits", 2);
|
||||
_bScientific = config->readBoolEntry("Scientific", false);
|
||||
_bDegrees = config->readBoolEntry("Degrees", false);
|
||||
_bClipboard = config->readBoolEntry("Clipboard", true);
|
||||
_formatString = config->readEntry("FormatString", "%1 = %2");
|
||||
}
|
||||
|
||||
void CalculatorCatalog::writeSettings(KConfigBase* config)
|
||||
{
|
||||
config->writeEntry("FracDigits", fracDigits());
|
||||
config->writeEntry("Scientific", scientific());
|
||||
config->writeEntry("Degrees", degrees());
|
||||
config->writeEntry("Clipboard", clipboard());
|
||||
config->writeEntry("FormatString", formatString());
|
||||
}
|
||||
|
||||
QWidget * CalculatorCatalog::configure()
|
||||
{
|
||||
CalculatorCatalogSettings* settings = new CalculatorCatalogSettings();
|
||||
|
||||
settings->fracDigits->setValue(_fracDigits);
|
||||
connect(settings->fracDigits, SIGNAL(valueChanged(int)), this, SLOT(fracDigitsChanged(int)));
|
||||
|
||||
settings->normal->setChecked(!scientific());
|
||||
settings->scientific->setChecked(scientific());
|
||||
connect(settings->scientific, SIGNAL(toggled(bool)), this, SLOT(scientificChanged(bool)));
|
||||
|
||||
settings->radians->setChecked(!degrees());
|
||||
settings->degrees->setChecked(degrees());
|
||||
connect(settings->degrees, SIGNAL(toggled(bool)), this, SLOT(degreesChanged(bool)));
|
||||
|
||||
settings->clipboard->setChecked(clipboard());
|
||||
connect(settings->clipboard, SIGNAL(toggled(bool)), this, SLOT(clipboardChanged(bool)));
|
||||
|
||||
settings->formatString->setText(formatString());
|
||||
connect(settings->formatString, SIGNAL(textChanged(const QString&)), this, SLOT(formatStringChanged(const QString&)));
|
||||
|
||||
return settings;
|
||||
}
|
||||
|
||||
void CalculatorCatalog::fracDigitsChanged(int n)
|
||||
{
|
||||
_fracDigits = n;
|
||||
}
|
||||
|
||||
int CalculatorCatalog::fracDigits() const
|
||||
{
|
||||
return _fracDigits;
|
||||
}
|
||||
|
||||
void CalculatorCatalog::scientificChanged(bool en)
|
||||
{
|
||||
_bScientific = en;
|
||||
}
|
||||
|
||||
bool CalculatorCatalog::scientific() const
|
||||
{
|
||||
return _bScientific;
|
||||
}
|
||||
|
||||
void CalculatorCatalog::degreesChanged(bool en)
|
||||
{
|
||||
_bDegrees = en;
|
||||
}
|
||||
|
||||
bool CalculatorCatalog::degrees() const
|
||||
{
|
||||
return _bDegrees;
|
||||
}
|
||||
|
||||
void CalculatorCatalog::formatStringChanged(const QString& fmt)
|
||||
{
|
||||
_formatString = fmt;
|
||||
}
|
||||
|
||||
QString CalculatorCatalog::formatString() const
|
||||
{
|
||||
return _formatString;
|
||||
}
|
||||
|
||||
void CalculatorCatalog::clipboardChanged(bool en)
|
||||
{
|
||||
_bClipboard = en;
|
||||
}
|
||||
|
||||
bool CalculatorCatalog::clipboard() const
|
||||
{
|
||||
return _bClipboard;
|
||||
}
|
||||
|
||||
const CalculatorCatalog::Function* CalculatorCatalog::functionTable() const
|
||||
{
|
||||
if (degrees()) {
|
||||
return degreesFunctionTable;
|
||||
} else {
|
||||
return radiansFunctionTable;
|
||||
}
|
||||
}
|
||||
|
||||
#include "calculatorcatalog.moc"
|
@ -0,0 +1,122 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 Tobi Vollebregt *
|
||||
* tobivollebregt@gmail.com *
|
||||
* *
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 CALCULATORCATALOG_H
|
||||
#define CALCULATORCATALOG_H
|
||||
|
||||
#include <kgenericfactory.h>
|
||||
|
||||
#include <qmap.h>
|
||||
#include <qptrlist.h>
|
||||
#include <qstring.h>
|
||||
#include <qvaluevector.h>
|
||||
|
||||
#include "expression.h"
|
||||
#include "katapultcatalog.h"
|
||||
|
||||
class QWidget;
|
||||
|
||||
typedef double (*FunPtr)(double);
|
||||
|
||||
/**
|
||||
@author Tobi Vollebregt
|
||||
*/
|
||||
class CalculatorCatalog : public KatapultCatalog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
||||
struct ParserControl {
|
||||
const char* expression;
|
||||
CalculatorCatalog* catalog;
|
||||
bool assignments; //are assignments enabled?
|
||||
double result;
|
||||
};
|
||||
|
||||
struct Function {
|
||||
const char* name;
|
||||
int length;
|
||||
FunPtr fptr;
|
||||
};
|
||||
|
||||
CalculatorCatalog(QObject*, const char*, const QStringList&);
|
||||
virtual ~CalculatorCatalog();
|
||||
|
||||
//virtual void initialize();
|
||||
virtual void readSettings(KConfigBase*);
|
||||
virtual void writeSettings(KConfigBase*);
|
||||
virtual QWidget* configure();
|
||||
|
||||
int getVarID(const char*);
|
||||
double getVar(int) const;
|
||||
double setVar(int, double);
|
||||
|
||||
int fracDigits() const;
|
||||
bool scientific() const;
|
||||
bool degrees() const;
|
||||
bool clipboard() const;
|
||||
QString formatString() const;
|
||||
const Function* functionTable() const;
|
||||
|
||||
protected:
|
||||
|
||||
virtual void queryChanged();
|
||||
|
||||
private:
|
||||
|
||||
typedef QMap<QString, int> VarNameToIdMap;
|
||||
typedef QValueVector<double> VarIdToValueVector;
|
||||
|
||||
static const Function radiansFunctionTable[];
|
||||
static const Function degreesFunctionTable[];
|
||||
|
||||
void reset();
|
||||
bool accepts(const QString&) const;
|
||||
|
||||
Expression _result; // The one result (there's always one).
|
||||
|
||||
VarNameToIdMap varNameToId; // Maps strings to IDs.
|
||||
VarIdToValueVector varIdToValue; // Maps IDs to values.
|
||||
QString _pendingVarName; // Pending while rest of assignment is parsed.
|
||||
|
||||
int _fracDigits; // Number of fractional digits.
|
||||
bool _bScientific; // Normal or scientific mode?
|
||||
bool _bDegrees; // Radians or degrees?
|
||||
bool _bClipboard; // Copy to clipboard?
|
||||
QString _formatString; // for clipboard copy
|
||||
|
||||
private slots:
|
||||
|
||||
void fracDigitsChanged(int);
|
||||
void scientificChanged(bool);
|
||||
void degreesChanged(bool);
|
||||
void clipboardChanged(bool);
|
||||
void formatStringChanged(const QString&);
|
||||
|
||||
};
|
||||
|
||||
|
||||
/* from parser.y / parser.cpp: */
|
||||
int yyparse(CalculatorCatalog::ParserControl*);
|
||||
|
||||
#endif
|
@ -0,0 +1,94 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 Tobi Vollebregt *
|
||||
* tobivollebregt@gmail.com *
|
||||
* *
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <kservice.h>
|
||||
#include <kglobal.h>
|
||||
#include <kiconloader.h>
|
||||
|
||||
#include "calculatorcatalog.h"
|
||||
#include "expression.h"
|
||||
|
||||
|
||||
Expression::Expression(CalculatorCatalog* catalog, const QString& text): KatapultItem(), _catalog(catalog), _text(text)
|
||||
{
|
||||
evaluate();
|
||||
}
|
||||
|
||||
QPixmap Expression::icon(int size) const
|
||||
{
|
||||
const char* icon = "checkmark";
|
||||
if (_parseError) {
|
||||
icon = "no";
|
||||
}
|
||||
return KGlobal::iconLoader()->loadIcon(icon, KIcon::NoGroup, size);
|
||||
}
|
||||
|
||||
QString Expression::text() const
|
||||
{
|
||||
return _text;
|
||||
}
|
||||
|
||||
void Expression::setText(const QString& text)
|
||||
{
|
||||
_text = text;
|
||||
evaluate();
|
||||
}
|
||||
|
||||
double Expression::result() const
|
||||
{
|
||||
return _result;
|
||||
}
|
||||
|
||||
bool Expression::parseError() const
|
||||
{
|
||||
return _parseError;
|
||||
}
|
||||
|
||||
CalculatorCatalog* Expression::catalog() const
|
||||
{
|
||||
return _catalog;
|
||||
}
|
||||
|
||||
void Expression::evaluate(bool assignments) const
|
||||
{
|
||||
if (!_text.isEmpty()) {
|
||||
QString t = _text;
|
||||
CalculatorCatalog::ParserControl cntrl;
|
||||
cntrl.expression = t.replace(',', '.').ascii();
|
||||
cntrl.catalog = _catalog;
|
||||
cntrl.assignments = assignments;
|
||||
if (yyparse(&cntrl) == 0) {
|
||||
_result = cntrl.result;
|
||||
_parseError = false;
|
||||
if (assignments) {
|
||||
_catalog->setVar(_catalog->getVarID("ans"), _result);
|
||||
}
|
||||
} else {
|
||||
_parseError = true;
|
||||
}
|
||||
} else {
|
||||
_parseError = true;
|
||||
}
|
||||
}
|
||||
|
||||
#include "expression.moc"
|
@ -0,0 +1,60 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 Tobi Vollebregt *
|
||||
* tobivollebregt@gmail.com *
|
||||
* *
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 EXPRESSION_H
|
||||
#define EXPRESSION_H
|
||||
|
||||
#include <katapultitem.h>
|
||||
|
||||
class CalculatorCatalog;
|
||||
|
||||
/**
|
||||
@author Tobi Vollebregt
|
||||
*/
|
||||
class Expression : public KatapultItem
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
Expression(CalculatorCatalog*, const QString&);
|
||||
|
||||
virtual QPixmap icon(int) const;
|
||||
virtual QString text() const;
|
||||
|
||||
void setText(const QString&);
|
||||
double result() const;
|
||||
bool parseError() const;
|
||||
|
||||
//evaluate() must be const, or ActionEvaluateExpression::execute() can't call it.
|
||||
//It makes sense because evaluate() does _not_ change the expression,
|
||||
//it just calculates the result and remembers that.
|
||||
void evaluate(bool assignments = false) const;
|
||||
|
||||
CalculatorCatalog* catalog() const;
|
||||
|
||||
private:
|
||||
CalculatorCatalog* const _catalog;
|
||||
QString _text;
|
||||
mutable double _result;
|
||||
mutable bool _parseError;
|
||||
};
|
||||
|
||||
#endif
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,120 @@
|
||||
/* Author: Tobi Vollebregt */
|
||||
|
||||
/* Infix notation calculator. */
|
||||
|
||||
%{
|
||||
#define YYLEX_PARAM parsercontrol
|
||||
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
#include "calculatorcatalog.h"
|
||||
|
||||
//void yyerror(char const *);
|
||||
#define yyerror(a,b)
|
||||
%}
|
||||
|
||||
/* Be a reentrant parser. */
|
||||
%pure_parser
|
||||
|
||||
%parse-param {CalculatorCatalog::ParserControl* parsercontrol}
|
||||
|
||||
/* Bison declarations. */
|
||||
%union {
|
||||
double val; /* For returning numbers. */
|
||||
FunPtr fptr; /* For returning function pointers. */
|
||||
int id; /* For returning variables. */
|
||||
}
|
||||
|
||||
%token <val> NUM /* Simple double precision number. */
|
||||
%token <fptr> FUN /* Function. */
|
||||
%token <id> VAR /* Variable. */
|
||||
%type <val> exp
|
||||
|
||||
%right '=' /* assignment */
|
||||
%left '-' '+'
|
||||
%left '*' '/'
|
||||
%left NEG /* negation--unary minus */
|
||||
%right '^' /* exponentiation */
|
||||
|
||||
%{
|
||||
static int yylex(YYSTYPE* lvalp, CalculatorCatalog::ParserControl* parsercontrol);
|
||||
%}
|
||||
|
||||
%% /* The grammar follows. */
|
||||
|
||||
line: exp { parsercontrol->result = $1; }
|
||||
| VAR '=' exp { if (parsercontrol->assignments) parsercontrol->catalog->setVar($1, $3); }
|
||||
;
|
||||
|
||||
exp: NUM { $$ = $1; }
|
||||
| exp '+' exp { $$ = $1 + $3; }
|
||||
| exp '-' exp { $$ = $1 - $3; }
|
||||
| exp '*' exp { $$ = $1 * $3; }
|
||||
| exp '/' exp { $$ = $1 / $3; }
|
||||
| '-' exp %prec NEG { $$ = -$2; }
|
||||
| exp '^' exp { $$ = pow($1, $3); }
|
||||
| '(' exp ')' { $$ = $2; }
|
||||
| FUN '(' exp ')' { $$ = (*$1)($3); }
|
||||
| VAR { if ($1 == -1) {yyerror(parsercontrol, "undeclared variable"); YYABORT;} $$ = parsercontrol->catalog->getVar($1); }
|
||||
;
|
||||
|
||||
%%
|
||||
|
||||
/* The lexical analyzer returns a double floating point
|
||||
number on the stack and the token NUM, or the numeric code
|
||||
of the character read if not a number. It skips all blanks
|
||||
and tabs, and returns 0 for end-of-input. */
|
||||
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
||||
#define exp (parsercontrol->expression)
|
||||
|
||||
static int yylex(YYSTYPE* lvalp, CalculatorCatalog::ParserControl* parsercontrol)
|
||||
{
|
||||
int c;
|
||||
|
||||
/* Skip white space. */
|
||||
while ((c = *(exp++)) == ' ') {
|
||||
}
|
||||
/* Return end-of-input. */
|
||||
if (c == EOF) {
|
||||
return 0;
|
||||
}
|
||||
/* Process numbers. */
|
||||
if (c == '.' || isdigit(c)) {
|
||||
char *endptr = 0;
|
||||
lvalp->val = strtod(exp - 1, &endptr);
|
||||
exp = endptr;
|
||||
return NUM;
|
||||
}
|
||||
/* Process IDs. */
|
||||
if (isalpha(c)) {
|
||||
int length = 0;
|
||||
char f[128];
|
||||
|
||||
--exp;
|
||||
do {
|
||||
f[length] = tolower(c);
|
||||
++length;
|
||||
} while ((c = exp[length]) != 0 && isalpha(c));
|
||||
f[length] = 0;
|
||||
|
||||
/* Process functions. */
|
||||
const CalculatorCatalog::Function* const functions = parsercontrol->catalog->functionTable();
|
||||
for (int i = 0; functions[i].name; ++i) {
|
||||
if (length == functions[i].length && strcmp(f, functions[i].name) == 0) {
|
||||
lvalp->fptr = functions[i].fptr;
|
||||
exp += length;
|
||||
return FUN;
|
||||
}
|
||||
}
|
||||
|
||||
/* Process variables. */
|
||||
lvalp->id = parsercontrol->catalog->getVarID(f);
|
||||
exp += length;
|
||||
return VAR;
|
||||
}
|
||||
/* Return a single char. */
|
||||
return c;
|
||||
}
|
@ -0,0 +1,219 @@
|
||||
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
|
||||
<class>CalculatorCatalogSettings</class>
|
||||
<widget class="QWidget">
|
||||
<property name="name">
|
||||
<cstring>CalculatorCatalogSettings</cstring>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>336</width>
|
||||
<height>299</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="caption">
|
||||
<string>Settings</string>
|
||||
</property>
|
||||
<vbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLayoutWidget">
|
||||
<property name="name">
|
||||
<cstring>layout13</cstring>
|
||||
</property>
|
||||
<hbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLabel">
|
||||
<property name="name">
|
||||
<cstring>textLabel1</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Number of fractional digits:</string>
|
||||
</property>
|
||||
<property name="buddy" stdset="0">
|
||||
<cstring>fracDigits</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="KIntSpinBox">
|
||||
<property name="name">
|
||||
<cstring>fracDigits</cstring>
|
||||
</property>
|
||||
<property name="maxValue">
|
||||
<number>10</number>
|
||||
</property>
|
||||
<property name="minValue">
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="lineStep">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="whatsThis" stdset="0">
|
||||
<string>Katapult will show this number of fractional digits.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</hbox>
|
||||
</widget>
|
||||
<widget class="QLayoutWidget">
|
||||
<property name="name">
|
||||
<cstring>layout6</cstring>
|
||||
</property>
|
||||
<hbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QButtonGroup">
|
||||
<property name="name">
|
||||
<cstring>buttonGroup2</cstring>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string></string>
|
||||
</property>
|
||||
<vbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QRadioButton">
|
||||
<property name="name">
|
||||
<cstring>normal</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Normal</string>
|
||||
</property>
|
||||
<property name="whatsThis" stdset="0">
|
||||
<string>In normal mode, katapult will never show an exponent on a number.</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QRadioButton">
|
||||
<property name="name">
|
||||
<cstring>scientific</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Scientific</string>
|
||||
</property>
|
||||
<property name="whatsThis" stdset="0">
|
||||
<string>In scientific mode, katapult will show an exponent on very large or very small numbers.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</vbox>
|
||||
</widget>
|
||||
<widget class="QButtonGroup">
|
||||
<property name="name">
|
||||
<cstring>buttonGroup3</cstring>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string></string>
|
||||
</property>
|
||||
<vbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QRadioButton">
|
||||
<property name="name">
|
||||
<cstring>radians</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Radians</string>
|
||||
</property>
|
||||
<property name="whatsThis" stdset="0">
|
||||
<string>Trigonometric functions expect and return angles in radians (2 pi radians is a full circle).</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QRadioButton">
|
||||
<property name="name">
|
||||
<cstring>degrees</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Degrees</string>
|
||||
</property>
|
||||
<property name="whatsThis" stdset="0">
|
||||
<string>Trigonometric functions expect and return angles in degrees (360 degrees is a full circle).</string>
|
||||
</property>
|
||||
</widget>
|
||||
</vbox>
|
||||
</widget>
|
||||
</hbox>
|
||||
</widget>
|
||||
<widget class="QButtonGroup">
|
||||
<property name="name">
|
||||
<cstring>clipboard</cstring>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>Copy to clipboard on execute</string>
|
||||
</property>
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="whatsThis" stdset="0">
|
||||
<string>katapult can copy the expression or the result of the expression to the clipboard if you press the key assigned to "execute action" (by default, this is Enter).</string>
|
||||
</property>
|
||||
<vbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLayoutWidget">
|
||||
<property name="name">
|
||||
<cstring>layout8</cstring>
|
||||
</property>
|
||||
<hbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLabel">
|
||||
<property name="name">
|
||||
<cstring>textLabel1_2</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Copied text:</string>
|
||||
</property>
|
||||
<property name="buddy" stdset="0">
|
||||
<cstring>formatString</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLineEdit">
|
||||
<property name="name">
|
||||
<cstring>formatString</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</hbox>
|
||||
</widget>
|
||||
<widget class="QLabel">
|
||||
<property name="name">
|
||||
<cstring>textLabel1_3</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string><i>Hint:</i> %1 is replaced by the expression, %2 is replaced by the result</string>
|
||||
</property>
|
||||
</widget>
|
||||
</vbox>
|
||||
</widget>
|
||||
<spacer>
|
||||
<property name="name">
|
||||
<cstring>spacer3</cstring>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>Expanding</enum>
|
||||
</property>
|
||||
<property name="sizeHint">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>40</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</vbox>
|
||||
</widget>
|
||||
<tabstops>
|
||||
<tabstop>fracDigits</tabstop>
|
||||
</tabstops>
|
||||
<layoutdefaults spacing="6" margin="11"/>
|
||||
<includehints>
|
||||
<includehint>knuminput.h</includehint>
|
||||
</includehints>
|
||||
</UI>
|
@ -0,0 +1,16 @@
|
||||
# set the include path for X, qt and KDE
|
||||
INCLUDES = -I$(top_srcdir)/katapult/common $(all_includes)
|
||||
|
||||
# header files
|
||||
noinst_HEADERS = documentcatalog.h directory.h document.h actionopendocument.h
|
||||
|
||||
# use automoc
|
||||
METASOURCES = AUTO
|
||||
|
||||
# our plugin
|
||||
kde_module_LTLIBRARIES = katapult_documentcatalog.la
|
||||
katapult_documentcatalog_la_SOURCES = settings.ui documentcatalog.cpp \
|
||||
directory.cpp document.cpp actionopendocument.cpp
|
||||
katapult_documentcatalog_la_LDFLAGS = -module $(KDE_RPATH) $(KDE_PLUGIN) $(all_libraries)
|
||||
katapult_documentcatalog_la_LIBADD = $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KIO) $(top_builddir)/katapult/common/libkatapult.la
|
||||
kde_services_DATA = katapult_documentcatalog.desktop
|
@ -0,0 +1,58 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <kglobal.h>
|
||||
#include <kiconloader.h>
|
||||
#include <krun.h>
|
||||
#include <klocale.h>
|
||||
|
||||
#include "actionopendocument.h"
|
||||
#include "document.h"
|
||||
#include "directory.h"
|
||||
|
||||
ActionOpenDocument::ActionOpenDocument()
|
||||
: KatapultAction()
|
||||
{
|
||||
}
|
||||
|
||||
bool ActionOpenDocument::accepts(const KatapultItem* item) const
|
||||
{
|
||||
return strcmp(item->className(), "Document") == 0 || strcmp(item->className(), "Directory") == 0;
|
||||
}
|
||||
|
||||
QPixmap ActionOpenDocument::icon(int size) const
|
||||
{
|
||||
return KGlobal::iconLoader()->loadIcon("fileopen", KIcon::NoGroup, size);
|
||||
}
|
||||
|
||||
QString ActionOpenDocument::text() const
|
||||
{
|
||||
return i18n("Open");
|
||||
}
|
||||
|
||||
void ActionOpenDocument::execute(const KatapultItem* item) const
|
||||
{
|
||||
if(strcmp(item->className(), "Document") == 0 || strcmp(item->className(), "Directory") == 0) {
|
||||
const Document *document = (const Document *) item;
|
||||
qDebug("%s", QString("Running: %1").arg(document->path()).latin1());
|
||||
new KRun(document->path());
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,41 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 ACTIONOPENDOCUMENT_H
|
||||
#define ACTIONOPENDOCUMENT_H
|
||||
|
||||
#include <katapultaction.h>
|
||||
|
||||
/**
|
||||
@author Joe Ferris
|
||||
*/
|
||||
class ActionOpenDocument : public KatapultAction
|
||||
{
|
||||
|
||||
public:
|
||||
ActionOpenDocument();
|
||||
|
||||
virtual bool accepts(const KatapultItem*) const;
|
||||
virtual QPixmap icon(int) const;
|
||||
virtual QString text() const;
|
||||
virtual void execute(const KatapultItem*) const;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,36 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <kglobal.h>
|
||||
#include <kiconloader.h>
|
||||
|
||||
#include "directory.h"
|
||||
|
||||
Directory::Directory(QString _path, QString _absPath)
|
||||
: Document(_path, _absPath, false)
|
||||
{
|
||||
}
|
||||
|
||||
QPixmap Directory::icon(int size) const
|
||||
{
|
||||
return KGlobal::iconLoader()->loadIcon("folder", KIcon::NoGroup, size);
|
||||
}
|
||||
|
||||
#include "directory.moc"
|
@ -0,0 +1,38 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 DIRECTORY_H
|
||||
#define DIRECTORY_H
|
||||
|
||||
#include "document.h"
|
||||
|
||||
/**
|
||||
@author Joe Ferris
|
||||
*/
|
||||
class Directory : public Document
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
Directory(QString, QString);
|
||||
|
||||
virtual QPixmap icon(int) const;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,86 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <qfileinfo.h>
|
||||
#include <kmimetype.h>
|
||||
#include <kiconloader.h>
|
||||
#include <kio/previewjob.h>
|
||||
|
||||
#include "document.h"
|
||||
|
||||
Document::Document(QString _path, QString _absPath, bool _showPreview)
|
||||
: KatapultItem()
|
||||
{
|
||||
this->_path = _path;
|
||||
this->_absPath = _absPath;
|
||||
this->_gotpix = false;
|
||||
this->_showPreview=_showPreview;
|
||||
|
||||
QFileInfo file(_absPath);
|
||||
_name = file.fileName();
|
||||
}
|
||||
|
||||
Document::~Document()
|
||||
{
|
||||
}
|
||||
|
||||
QPixmap Document::icon(int size) const
|
||||
{
|
||||
KURL u;
|
||||
KIO::PreviewJob *doc;
|
||||
u.setPath(_absPath);
|
||||
if (this->_showPreview)
|
||||
{
|
||||
|
||||
doc=KIO::filePreview(u,size);
|
||||
connect(doc, SIGNAL(gotPreview(const KFileItem*, const QPixmap&)),
|
||||
SLOT(gotPreview(const KFileItem*, const QPixmap&)));
|
||||
|
||||
if(this->_gotpix)return this->_pix;
|
||||
return KMimeType::pixmapForURL(u,0, KIcon::NoGroup, size, KIcon::DefaultState, 0L);
|
||||
}
|
||||
else
|
||||
{
|
||||
return KMimeType::pixmapForURL(u,0, KIcon::NoGroup, size, KIcon::DefaultState, 0L);
|
||||
}
|
||||
}
|
||||
|
||||
void Document::gotPreview(const KFileItem *item, const QPixmap& pixmap )
|
||||
{
|
||||
this->_pix = pixmap; this->_gotpix=true;
|
||||
emit itemChanged();
|
||||
}
|
||||
|
||||
QString Document::text() const
|
||||
{
|
||||
return _path;
|
||||
}
|
||||
|
||||
QString Document::path() const
|
||||
{
|
||||
return _absPath;
|
||||
}
|
||||
|
||||
QString Document::name() const
|
||||
{
|
||||
return _name;
|
||||
}
|
||||
|
||||
#include "document.moc"
|
@ -0,0 +1,52 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 DOCUMENT_H
|
||||
#define DOCUMENT_H
|
||||
|
||||
#include <katapultitem.h>
|
||||
#include <kfileitem.h>
|
||||
|
||||
/**
|
||||
@author Joe Ferris
|
||||
*/
|
||||
class Document : public KatapultItem
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
Document(QString, QString, bool);
|
||||
virtual ~Document();
|
||||
|
||||
virtual QPixmap icon(int) const;
|
||||
virtual QString text() const;
|
||||
|
||||
QString path() const;
|
||||
QString name() const;
|
||||
|
||||
public slots:
|
||||
void gotPreview(const KFileItem*,const QPixmap& );
|
||||
|
||||
private:
|
||||
QString _path, _absPath, _name;
|
||||
QPixmap _pix;
|
||||
bool _gotpix;
|
||||
bool _showPreview;
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,229 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* This document 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 document 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 document; if not, write to the *
|
||||
* Free Software Foundation, Inc., *
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
|
||||
***************************************************************************/
|
||||
|
||||
#include <kservicegroup.h>
|
||||
#include <ksycocaentry.h>
|
||||
#include <ksycocatype.h>
|
||||
#include <kapplication.h>
|
||||
#include <knuminput.h>
|
||||
#include <kcombobox.h>
|
||||
|
||||
#include <qcheckbox.h>
|
||||
|
||||
#include <actionregistry.h>
|
||||
|
||||
#include "settings.h"
|
||||
#include "documentcatalog.h"
|
||||
#include "document.h"
|
||||
#include "directory.h"
|
||||
#include "status.h"
|
||||
#include "match.h"
|
||||
#include "actionopendocument.h"
|
||||
|
||||
K_EXPORT_COMPONENT_FACTORY( katapult_documentcatalog,
|
||||
KGenericFactory<DocumentCatalog>( "katapult_documentcatalog" ) )
|
||||
|
||||
DocumentCatalog::DocumentCatalog(QObject *, const char *, const QStringList&)
|
||||
: KatapultCatalog()
|
||||
{
|
||||
_minQueryLen = 1;
|
||||
currentPath = "";
|
||||
currentDirDoc = 0;
|
||||
queryMatched = 0;
|
||||
filesListed = FALSE;
|
||||
files.setAutoDelete(TRUE);
|
||||
ActionRegistry::self()->registerAction(new ActionOpenDocument());
|
||||
}
|
||||
|
||||
DocumentCatalog::~DocumentCatalog()
|
||||
{
|
||||
}
|
||||
|
||||
void DocumentCatalog::initialize()
|
||||
{
|
||||
dir = QDir::home();
|
||||
refreshFolders();
|
||||
refreshFiles();
|
||||
}
|
||||
|
||||
void DocumentCatalog::refreshFolders()
|
||||
{
|
||||
folders.clear();
|
||||
files.clear();
|
||||
currentDirDoc = 0;
|
||||
filesListed = FALSE;
|
||||
QStringList folderNames = dir.entryList(QDir::Dirs);
|
||||
for(QStringList::Iterator it = folderNames.begin(); it != folderNames.end(); ++it) {
|
||||
QString dirname = *it;
|
||||
if(!dirname.startsWith("."))
|
||||
folders.append(dirname);
|
||||
}
|
||||
}
|
||||
|
||||
void DocumentCatalog::refreshFiles()
|
||||
{
|
||||
const QFileInfoList *fileList = dir.entryInfoList();
|
||||
Directory *item = new Directory(currentPath, dir.absPath());
|
||||
currentDirDoc = item;
|
||||
files.append(item);
|
||||
|
||||
for(QPtrListStdIterator<QFileInfo> it = fileList->begin(); it != fileList->end(); ++it) {
|
||||
const QFileInfo *file = *it;
|
||||
if(!file->fileName().startsWith(".")) {
|
||||
if(file->isDir())
|
||||
files.append(new Directory(currentPath+file->fileName(), file->absFilePath()));
|
||||
else
|
||||
files.append(new Document(currentPath+file->fileName(), file->absFilePath(), _showPreview));
|
||||
}
|
||||
}
|
||||
filesListed = TRUE;
|
||||
}
|
||||
|
||||
void DocumentCatalog::queryChanged()
|
||||
{
|
||||
int newStatus = 0;
|
||||
if(query() == "")
|
||||
{
|
||||
// reset query
|
||||
dir = QDir::home();
|
||||
currentPath = "";
|
||||
queryMatched = 0;
|
||||
refreshFolders();
|
||||
} else {
|
||||
if(query().length() >= minQueryLen())
|
||||
{
|
||||
QString path = query().lower().remove(0, queryMatched);
|
||||
|
||||
int index;
|
||||
while((index = path.find('/')) != -1) {
|
||||
QString folderQuery = path.left(index);
|
||||
QString guess = QString::null;
|
||||
|
||||
for(QStringList::Iterator it = folders.begin(); it != folders.end(); ++it) {
|
||||
QString folderName = *it;
|
||||
if(folderName.lower().startsWith(folderQuery) && (guess.isNull() || folderName.length() < guess.length()))
|
||||
guess = folderName;
|
||||
}
|
||||
|
||||
if(guess == QString::null) {
|
||||
path = QString::null;
|
||||
break;
|
||||
}
|
||||
|
||||
if(!dir.cd(guess)) {
|
||||
path = QString::null;
|
||||
break;
|
||||
}
|
||||
refreshFolders();
|
||||
|
||||
queryMatched += folderQuery.length() + 1;
|
||||
currentPath += guess + "/";
|
||||
path = path.remove(0, index+1);
|
||||
}
|
||||
|
||||
Match newBestMatch;
|
||||
|
||||
if(path.isNull()) {
|
||||
files.clear();
|
||||
} else {
|
||||
if(!filesListed) {
|
||||
refreshFiles();
|
||||
}
|
||||
if(!path.isEmpty()) {
|
||||
if(currentDirDoc != 0) {
|
||||
files.removeRef(currentDirDoc);
|
||||
currentDirDoc = 0;
|
||||
}
|
||||
QPtrListIterator<Document> it(files);
|
||||
Document *document;
|
||||
while((document = it.current()) != 0) {
|
||||
++it;
|
||||
if(document->name().lower().startsWith(path)) {
|
||||
int rank = 100*query().length()/document->text().length();
|
||||
if(newBestMatch.isNull() || rank > newBestMatch.rank())
|
||||
newBestMatch = Match(document, rank, currentPath.length() + path.length());
|
||||
} else {
|
||||
files.removeRef(document);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(currentDirDoc != 0 && path.isEmpty())
|
||||
newBestMatch = Match(currentDirDoc, 100, currentPath.length());
|
||||
|
||||
newStatus |= S_Active;
|
||||
if(files.count() > 0)
|
||||
{
|
||||
newStatus |= S_HasResults;
|
||||
if(files.count() > 1 || files.at(0)->className() == "Directory")
|
||||
newStatus |= S_Multiple;
|
||||
} else
|
||||
newStatus |= S_NoResults;
|
||||
|
||||
setBestMatch(newBestMatch);
|
||||
} else {
|
||||
setBestMatch(Match());
|
||||
}
|
||||
}
|
||||
setStatus(newStatus);
|
||||
}
|
||||
|
||||
unsigned int DocumentCatalog::minQueryLen() const
|
||||
{
|
||||
return _minQueryLen;
|
||||
}
|
||||
|
||||
void DocumentCatalog::readSettings(KConfigBase *config)
|
||||
{
|
||||
_minQueryLen = config->readUnsignedNumEntry("MinQueryLen", 1);
|
||||
_showPreview = config->readBoolEntry("showPreview", FALSE);
|
||||
}
|
||||
|
||||
void DocumentCatalog::writeSettings(KConfigBase *config)
|
||||
{
|
||||
config->writeEntry("MinQueryLen", _minQueryLen);
|
||||
config->writeEntry("showPreview", _showPreview);
|
||||
}
|
||||
|
||||
QWidget * DocumentCatalog::configure()
|
||||
{
|
||||
DocumentCatalogSettings *settings = new DocumentCatalogSettings();
|
||||
|
||||
settings->minQueryLen->setValue(_minQueryLen);
|
||||
connect(settings->minQueryLen, SIGNAL(valueChanged(int)), this, SLOT(minQueryLenChanged(int)));
|
||||
|
||||
settings->showPreview->setChecked(_showPreview);
|
||||
connect(settings->showPreview, SIGNAL(toggled(bool)), this, SLOT(toggleshowPreview(bool)));
|
||||
|
||||
return settings;
|
||||
}
|
||||
|
||||
void DocumentCatalog::minQueryLenChanged(int _minQueryLen)
|
||||
{
|
||||
this->_minQueryLen = _minQueryLen;
|
||||
}
|
||||
|
||||
void DocumentCatalog::toggleshowPreview(bool _showPreview)
|
||||
{
|
||||
this->_showPreview = _showPreview;
|
||||
|
||||
}
|
||||
#include "documentcatalog.moc"
|
@ -0,0 +1,71 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* This document 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 document 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 document; if not, write to the *
|
||||
* Free Software Foundation, Inc., *
|
||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
|
||||
***************************************************************************/
|
||||
#ifndef DOCUMENTCATALOG_H
|
||||
#define DOCUMENTCATALOG_H
|
||||
|
||||
#include <kgenericfactory.h>
|
||||
|
||||
#include <qstring.h>
|
||||
#include <qstringlist.h>
|
||||
#include <qptrlist.h>
|
||||
#include <qdir.h>
|
||||
|
||||
#include "katapultcatalog.h"
|
||||
|
||||
class QWidget;
|
||||
class Document;
|
||||
|
||||
/**
|
||||
@author Joe Ferris
|
||||
*/
|
||||
class DocumentCatalog : public KatapultCatalog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
DocumentCatalog(QObject *, const char *, const QStringList&);
|
||||
virtual ~DocumentCatalog();
|
||||
|
||||
virtual void initialize();
|
||||
virtual void queryChanged();
|
||||
virtual void readSettings(KConfigBase *);
|
||||
virtual void writeSettings(KConfigBase *);
|
||||
virtual unsigned int minQueryLen() const;
|
||||
virtual QWidget * configure();
|
||||
|
||||
public slots:
|
||||
void minQueryLenChanged(int);
|
||||
void toggleshowPreview(bool);
|
||||
|
||||
private:
|
||||
void refreshFolders();
|
||||
void refreshFiles();
|
||||
|
||||
QPtrList<Document> files;
|
||||
Document *currentDirDoc;
|
||||
QStringList folders;
|
||||
QString currentPath;
|
||||
QDir dir;
|
||||
bool filesListed;
|
||||
int _minQueryLen;
|
||||
int queryMatched;
|
||||
bool _showPreview;
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,82 @@
|
||||
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
|
||||
<class>DocumentCatalogSettings</class>
|
||||
<widget class="QWidget">
|
||||
<property name="name">
|
||||
<cstring>DocumentCatalogSettings</cstring>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>376</width>
|
||||
<height>519</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="caption">
|
||||
<string>Settings</string>
|
||||
</property>
|
||||
<vbox>
|
||||
<widget class="QLayoutWidget">
|
||||
<property name="name">
|
||||
<cstring>layout1</cstring>
|
||||
</property>
|
||||
<hbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLabel">
|
||||
<property name="name">
|
||||
<cstring>textLabel1</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Number of characters before searching:</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="KIntSpinBox">
|
||||
<property name="name">
|
||||
<cstring>minQueryLen</cstring>
|
||||
</property>
|
||||
<property name="maxValue">
|
||||
<number>10</number>
|
||||
</property>
|
||||
<property name="minValue">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="whatsThis" stdset="0">
|
||||
<string>Katapult will not search for programs until you have typed at least this many characters in the Katapult launcher.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</hbox>
|
||||
</widget>
|
||||
<widget class="QCheckBox">
|
||||
<property name="name">
|
||||
<cstring>showPreview</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Show Preview for Documents?</string>
|
||||
</property>
|
||||
</widget>
|
||||
<spacer>
|
||||
<property name="name">
|
||||
<cstring>spacer1</cstring>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>Expanding</enum>
|
||||
</property>
|
||||
<property name="sizeHint">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>410</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</vbox>
|
||||
</widget>
|
||||
<layoutdefaults spacing="6" margin="11"/>
|
||||
<includehints>
|
||||
<includehint>knuminput.h</includehint>
|
||||
</includehints>
|
||||
</UI>
|
@ -0,0 +1,20 @@
|
||||
# Copyright (C) 2007 Martin Meredith
|
||||
# Copyright (C) 2006 Jonathan Riddell
|
||||
|
||||
# set the include path for X, qt and KDE
|
||||
INCLUDES = -I$(top_srcdir)/katapult/common $(all_includes)
|
||||
|
||||
# header files
|
||||
noinst_HEADERS = actionrun.h execcatalog.h command.h
|
||||
|
||||
# use automoc
|
||||
METASOURCES = AUTO
|
||||
|
||||
KDE_ICON = AUTO
|
||||
|
||||
# our plugin
|
||||
kde_module_LTLIBRARIES = katapult_execcatalog.la
|
||||
katapult_execcatalog_la_SOURCES = settings.ui execcatalog.cpp command.cpp actionrun.cpp
|
||||
katapult_execcatalog_la_LDFLAGS = -module $(KDE_RPATH) $(KDE_PLUGIN) $(all_libraries)
|
||||
katapult_execcatalog_la_LIBADD = $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KIO) $(top_builddir)/katapult/common/libkatapult.la
|
||||
kde_services_DATA = katapult_execcatalog.desktop
|
@ -0,0 +1,75 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2007 Martin Meredith *
|
||||
* mez@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2006 Jonathan Riddell *
|
||||
* jriddell@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <kapplication.h>
|
||||
#include <kglobal.h>
|
||||
#include <kiconloader.h>
|
||||
#include <klocale.h>
|
||||
#include <krun.h>
|
||||
|
||||
#include "execcatalog.h"
|
||||
#include "command.h"
|
||||
#include "katapultitem.h"
|
||||
#include "actionrun.h"
|
||||
|
||||
ActionRun::ActionRun()
|
||||
: KatapultAction(), _command(0)
|
||||
{
|
||||
}
|
||||
|
||||
ActionRun::~ActionRun()
|
||||
{
|
||||
}
|
||||
|
||||
QString ActionRun::text() const
|
||||
{
|
||||
return i18n("Execute");
|
||||
}
|
||||
|
||||
QPixmap ActionRun::icon(int size) const
|
||||
{
|
||||
return KGlobal::iconLoader()->loadIcon("exec", KIcon::NoGroup, size);
|
||||
}
|
||||
|
||||
bool ActionRun::accepts(const KatapultItem* item) const
|
||||
{
|
||||
bool accept = strcmp(item->className(), "Command") == 0;
|
||||
if (accept) {
|
||||
_command = (const Command*)item;
|
||||
}
|
||||
return accept;
|
||||
}
|
||||
|
||||
void ActionRun::execute(const KatapultItem* item) const
|
||||
{
|
||||
if (strcmp(item->className(), "Command") == 0) {
|
||||
_command = (const Command*)item;
|
||||
|
||||
KRun::runCommand(_command->text().mid(_command->catalog()->triggerWordLength() + 1));
|
||||
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2007 Martin Meredith *
|
||||
* mez@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2006 Jonathan Riddell *
|
||||
* jriddell@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 ACTIONRUN_H
|
||||
#define ACTIONRUN_H
|
||||
|
||||
#include "katapultaction.h"
|
||||
|
||||
class KatapultItem;
|
||||
class Command;
|
||||
|
||||
class ActionRun : public KatapultAction
|
||||
{
|
||||
public:
|
||||
ActionRun();
|
||||
~ActionRun();
|
||||
|
||||
virtual void execute(const KatapultItem*) const;
|
||||
virtual bool accepts(const KatapultItem*) const;
|
||||
virtual QString text() const;
|
||||
virtual QPixmap icon(int) const;
|
||||
|
||||
private:
|
||||
//_expr needs to be mutable because accepts() is const.
|
||||
mutable const Command* _command;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,66 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2007 Martin Meredith *
|
||||
* mez@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2006 Jonathan Riddell *
|
||||
* jriddell@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <kservice.h>
|
||||
#include <kglobal.h>
|
||||
#include <kiconloader.h>
|
||||
#include <kapplication.h>
|
||||
|
||||
#include <qclipboard.h>
|
||||
|
||||
#include "execcatalog.h"
|
||||
#include "command.h"
|
||||
|
||||
|
||||
Command::Command(ExecCatalog* catalog, const QString& text): KatapultItem(), _catalog(catalog), _text(text)
|
||||
{
|
||||
}
|
||||
|
||||
Command::~Command() {
|
||||
}
|
||||
|
||||
QPixmap Command::icon(int size) const
|
||||
{
|
||||
return KGlobal::iconLoader()->loadIcon("konsole", KIcon::NoGroup, size);
|
||||
}
|
||||
|
||||
QString Command::text() const
|
||||
{
|
||||
return _text;
|
||||
}
|
||||
|
||||
void Command::setText(const QString& text)
|
||||
{
|
||||
_text = text;
|
||||
}
|
||||
|
||||
ExecCatalog* Command::catalog() const
|
||||
{
|
||||
return _catalog;
|
||||
}
|
||||
|
||||
|
||||
#include "command.moc"
|
@ -0,0 +1,59 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2007 Martin Meredith *
|
||||
* mez@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2006 Jonathan Riddell *
|
||||
* jriddell@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 COMMAND_H
|
||||
#define COMMAND_H
|
||||
|
||||
#include <kspell.h>
|
||||
|
||||
#include <katapultitem.h>
|
||||
|
||||
class ExecCatalog;
|
||||
|
||||
/**
|
||||
@author Tobi Vollebregt
|
||||
*/
|
||||
class Command : public KatapultItem
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
Command(ExecCatalog*, const QString&);
|
||||
~Command();
|
||||
|
||||
virtual QPixmap icon(int) const;
|
||||
virtual QString text() const;
|
||||
|
||||
void setText(const QString&);
|
||||
|
||||
ExecCatalog* catalog() const;
|
||||
|
||||
private:
|
||||
ExecCatalog* const _catalog;
|
||||
QString _text;
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,122 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2007 Martin Meredith *
|
||||
* mez@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2006 Jonathan Riddell *
|
||||
* jriddell@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <kservicegroup.h>
|
||||
#include <ksycocaentry.h>
|
||||
#include <ksycocatype.h>
|
||||
#include <kapplication.h>
|
||||
|
||||
#include <qlineedit.h>
|
||||
#include <qlabel.h>
|
||||
|
||||
#include "settings.h"
|
||||
#include "execcatalog.h"
|
||||
#include "actionregistry.h"
|
||||
#include "actionrun.h"
|
||||
#include "status.h"
|
||||
|
||||
K_EXPORT_COMPONENT_FACTORY( katapult_execcatalog,
|
||||
KGenericFactory<ExecCatalog>( "katapult_execcatalog" ) )
|
||||
|
||||
ExecCatalog::ExecCatalog(QObject*, const char*, const QStringList&): _result(this, QString::null)
|
||||
{
|
||||
ActionRegistry::self()->registerAction(new ActionRun());
|
||||
}
|
||||
|
||||
ExecCatalog::~ExecCatalog()
|
||||
{
|
||||
}
|
||||
|
||||
void ExecCatalog::queryChanged()
|
||||
{
|
||||
int newStatus = 0;
|
||||
QString cmd = query();
|
||||
int origLength = cmd.length();
|
||||
|
||||
if (cmd.isEmpty()) {
|
||||
reset();
|
||||
setBestMatch(Match());
|
||||
} else {
|
||||
if (accepts(cmd)) {
|
||||
_result.setText(cmd);
|
||||
|
||||
setBestMatch(Match(&_result, 100, origLength));
|
||||
//set status.
|
||||
//add S_Multiple to make sure katapult doesn't auto-exec and close the window
|
||||
//add S_Active to make sure katapult doesn't start the hideTimer or clearTimer
|
||||
newStatus = S_HasResults | S_Multiple | S_Active;
|
||||
} else {
|
||||
newStatus = 0;
|
||||
}
|
||||
}
|
||||
setStatus(newStatus);
|
||||
}
|
||||
|
||||
bool ExecCatalog::accepts(const QString& str) const
|
||||
{
|
||||
//accept if we begin with the triggerWord
|
||||
int length = _triggerWord.length();
|
||||
return str.left(length + 1) == _triggerWord + " ";
|
||||
}
|
||||
|
||||
void ExecCatalog::readSettings(KConfigBase* config)
|
||||
{
|
||||
_triggerWord = config->readEntry("TriggerWord", i18n("Should be short, easy and quick to type", "exec"));
|
||||
}
|
||||
|
||||
void ExecCatalog::writeSettings(KConfigBase* config)
|
||||
{
|
||||
config->writeEntry("TriggerWord", _triggerWord);
|
||||
}
|
||||
|
||||
QWidget * ExecCatalog::configure()
|
||||
{
|
||||
ExecCatalogSettings* settings = new ExecCatalogSettings();
|
||||
|
||||
settings->triggerWordLE->setText(_triggerWord);
|
||||
connect(settings->triggerWordLE, SIGNAL(textChanged(const QString&)), this, SLOT(triggerWordChanged(const QString&)));
|
||||
|
||||
settings->introLabel->setText(i18n("Use with \"%1 exec query\"").arg(_triggerWord));
|
||||
|
||||
return settings;
|
||||
}
|
||||
|
||||
void ExecCatalog::triggerWordChanged(const QString& triggerWord)
|
||||
{
|
||||
_triggerWord = QString(triggerWord);
|
||||
}
|
||||
|
||||
int ExecCatalog::triggerWordLength()
|
||||
{
|
||||
return _triggerWord.length();
|
||||
}
|
||||
|
||||
void ExecCatalog::reset()
|
||||
{
|
||||
_result.setText(QString::null);
|
||||
}
|
||||
|
||||
#include "execcatalog.moc"
|
@ -0,0 +1,76 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2007 Martin Meredith *
|
||||
* mez@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2006 Jonathan Riddell *
|
||||
* jriddell@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2005 Tobi Vollebregt *
|
||||
* tobivollebregt@gmail.com *
|
||||
* *
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 EXECCATALOG_H
|
||||
#define EXECCATALOG_H
|
||||
|
||||
#include <kgenericfactory.h>
|
||||
|
||||
#include <qstring.h>
|
||||
|
||||
#include "command.h"
|
||||
#include "katapultcatalog.h"
|
||||
|
||||
class QWidget;
|
||||
|
||||
/**
|
||||
@author Jonathan Riddell
|
||||
*/
|
||||
class ExecCatalog : public KatapultCatalog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
||||
ExecCatalog(QObject*, const char*, const QStringList&);
|
||||
virtual ~ExecCatalog();
|
||||
|
||||
virtual void readSettings(KConfigBase*);
|
||||
virtual void writeSettings(KConfigBase*);
|
||||
virtual QWidget* configure();
|
||||
int triggerWordLength();
|
||||
|
||||
protected:
|
||||
|
||||
virtual void queryChanged();
|
||||
|
||||
private:
|
||||
bool accepts(const QString&) const;
|
||||
|
||||
QString _triggerWord;
|
||||
|
||||
Command _result; // The one result (there's always one).
|
||||
|
||||
void reset();
|
||||
|
||||
protected slots:
|
||||
void triggerWordChanged(const QString& triggerWord);
|
||||
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,8 @@
|
||||
# Copyright (C) 2007 Martin Meredith
|
||||
[Desktop Entry]
|
||||
Name=Execution Catalog
|
||||
Comment=Execute commands
|
||||
ServiceTypes=Katapult/Catalog
|
||||
Type=Service
|
||||
X-KDE-Library=katapult_execcatalog
|
||||
X-Katapult-ID=Execution Catalog
|
@ -0,0 +1,65 @@
|
||||
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
|
||||
<class>ExecCatalogSettings</class>
|
||||
<widget class="QWidget">
|
||||
<property name="name">
|
||||
<cstring>ExecCatalogSettings</cstring>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>356</width>
|
||||
<height>265</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="caption">
|
||||
<string>Settings</string>
|
||||
</property>
|
||||
<grid>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLineEdit" row="1" column="1">
|
||||
<property name="name">
|
||||
<cstring>triggerWordLE</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" row="1" column="0">
|
||||
<property name="name">
|
||||
<cstring>triggerWordLabel</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Trigger Word:</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
|
||||
<property name="name">
|
||||
<cstring>introLabel</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Use with: "run command"</string>
|
||||
</property>
|
||||
</widget>
|
||||
<spacer row="2" column="1">
|
||||
<property name="name">
|
||||
<cstring>spacer2</cstring>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>Expanding</enum>
|
||||
</property>
|
||||
<property name="sizeHint">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>150</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</grid>
|
||||
</widget>
|
||||
<tabstops>
|
||||
</tabstops>
|
||||
<layoutdefaults spacing="6" margin="11"/>
|
||||
</UI>
|
@ -0,0 +1,20 @@
|
||||
# Copyright (C) 2007 Martin Meredith
|
||||
# Copyright (C) 2006 Jonathan Riddell
|
||||
|
||||
# set the include path for X, qt and KDE
|
||||
INCLUDES = -I$(top_srcdir)/katapult/common $(all_includes)
|
||||
|
||||
# header files
|
||||
noinst_HEADERS = actionsearch.h googlecatalog.h query.h
|
||||
|
||||
# use automoc
|
||||
METASOURCES = AUTO
|
||||
|
||||
KDE_ICON = AUTO
|
||||
|
||||
# our plugin
|
||||
kde_module_LTLIBRARIES = katapult_googlecatalog.la
|
||||
katapult_googlecatalog_la_SOURCES = settings.ui googlecatalog.cpp query.cpp actionsearch.cpp
|
||||
katapult_googlecatalog_la_LDFLAGS = -module $(KDE_RPATH) $(KDE_PLUGIN) $(all_libraries)
|
||||
katapult_googlecatalog_la_LIBADD = $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KIO) $(top_builddir)/katapult/common/libkatapult.la
|
||||
kde_services_DATA = katapult_googlecatalog.desktop
|
@ -0,0 +1,83 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2007 Martin Meredith *
|
||||
* mez@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2006 Jonathan Riddell *
|
||||
* jriddell@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <kapplication.h>
|
||||
#include <kglobal.h>
|
||||
#include <kiconloader.h>
|
||||
#include <klocale.h>
|
||||
#include <kurl.h>
|
||||
#include <krun.h>
|
||||
|
||||
#include "googlecatalog.h"
|
||||
#include "query.h"
|
||||
#include "katapultitem.h"
|
||||
#include "actionsearch.h"
|
||||
|
||||
ActionSearch::ActionSearch()
|
||||
: KatapultAction(), _searchquery(0)
|
||||
{
|
||||
}
|
||||
|
||||
ActionSearch::~ActionSearch()
|
||||
{
|
||||
}
|
||||
|
||||
QString ActionSearch::text() const
|
||||
{
|
||||
return i18n("Search Google");
|
||||
}
|
||||
|
||||
QPixmap ActionSearch::icon(int size) const
|
||||
{
|
||||
return KGlobal::iconLoader()->loadIcon("viewmag", KIcon::NoGroup, size);
|
||||
}
|
||||
|
||||
bool ActionSearch::accepts(const KatapultItem* item) const
|
||||
{
|
||||
bool accept = strcmp(item->className(), "SearchQuery") == 0;
|
||||
if (accept) {
|
||||
_searchquery = (const SearchQuery*)item;
|
||||
}
|
||||
return accept;
|
||||
}
|
||||
|
||||
void ActionSearch::execute(const KatapultItem* item) const
|
||||
{
|
||||
if (strcmp(item->className(), "SearchQuery") == 0) {
|
||||
_searchquery = (const SearchQuery*)item;
|
||||
|
||||
KURL _gotourl;
|
||||
_gotourl.setProtocol("http");
|
||||
_gotourl.setHost("www.google.com");
|
||||
_gotourl.setPath("/search");
|
||||
_gotourl.addQueryItem("q", _searchquery->text().mid(_searchquery->catalog()->triggerWordLength() + 1));
|
||||
_gotourl.addQueryItem("ie", "UTF-8");
|
||||
_gotourl.addQueryItem("oe", "UTF-8");
|
||||
new KRun(_gotourl);
|
||||
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2007 Martin Meredith *
|
||||
* mez@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2006 Jonathan Riddell *
|
||||
* jriddell@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 ACTIONSEARCH_H
|
||||
#define ACTIONSEARCH_H
|
||||
|
||||
#include "katapultaction.h"
|
||||
|
||||
class KatapultItem;
|
||||
class SearchQuery;
|
||||
|
||||
class ActionSearch : public KatapultAction
|
||||
{
|
||||
public:
|
||||
ActionSearch();
|
||||
~ActionSearch();
|
||||
|
||||
virtual void execute(const KatapultItem*) const;
|
||||
virtual bool accepts(const KatapultItem*) const;
|
||||
virtual QString text() const;
|
||||
virtual QPixmap icon(int) const;
|
||||
|
||||
private:
|
||||
//_expr needs to be mutable because accepts() is const.
|
||||
mutable const SearchQuery* _searchquery;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,122 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2007 Martin Meredith *
|
||||
* mez@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2006 Jonathan Riddell *
|
||||
* jriddell@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <kservicegroup.h>
|
||||
#include <ksycocaentry.h>
|
||||
#include <ksycocatype.h>
|
||||
#include <kapplication.h>
|
||||
|
||||
#include <qlineedit.h>
|
||||
#include <qlabel.h>
|
||||
|
||||
#include "settings.h"
|
||||
#include "googlecatalog.h"
|
||||
#include "actionregistry.h"
|
||||
#include "actionsearch.h"
|
||||
#include "status.h"
|
||||
|
||||
K_EXPORT_COMPONENT_FACTORY( katapult_googlecatalog,
|
||||
KGenericFactory<GoogleCatalog>( "katapult_googlecatalog" ) )
|
||||
|
||||
GoogleCatalog::GoogleCatalog(QObject*, const char*, const QStringList&): _result(this, QString::null)
|
||||
{
|
||||
ActionRegistry::self()->registerAction(new ActionSearch());
|
||||
}
|
||||
|
||||
GoogleCatalog::~GoogleCatalog()
|
||||
{
|
||||
}
|
||||
|
||||
void GoogleCatalog::queryChanged()
|
||||
{
|
||||
int newStatus = 0;
|
||||
QString cmd = query();
|
||||
int origLength = cmd.length();
|
||||
|
||||
if (cmd.isEmpty()) {
|
||||
reset();
|
||||
setBestMatch(Match());
|
||||
} else {
|
||||
if (accepts(cmd)) {
|
||||
_result.setText(cmd);
|
||||
|
||||
setBestMatch(Match(&_result, 100, origLength));
|
||||
//set status.
|
||||
//add S_Multiple to make sure katapult doesn't auto-exec and close the window
|
||||
//add S_Active to make sure katapult doesn't start the hideTimer or clearTimer
|
||||
newStatus = S_HasResults | S_Multiple | S_Active;
|
||||
} else {
|
||||
newStatus = 0;
|
||||
}
|
||||
}
|
||||
setStatus(newStatus);
|
||||
}
|
||||
|
||||
bool GoogleCatalog::accepts(const QString& str) const
|
||||
{
|
||||
//accept if we begin with the triggerWord
|
||||
int length = _triggerWord.length();
|
||||
return str.left(length + 1) == _triggerWord + " ";
|
||||
}
|
||||
|
||||
void GoogleCatalog::readSettings(KConfigBase* config)
|
||||
{
|
||||
_triggerWord = config->readEntry("TriggerWord", i18n("Should be short, easy and quick to type", "google"));
|
||||
}
|
||||
|
||||
void GoogleCatalog::writeSettings(KConfigBase* config)
|
||||
{
|
||||
config->writeEntry("TriggerWord", _triggerWord);
|
||||
}
|
||||
|
||||
QWidget * GoogleCatalog::configure()
|
||||
{
|
||||
GoogleCatalogSettings* settings = new GoogleCatalogSettings();
|
||||
|
||||
settings->triggerWordLE->setText(_triggerWord);
|
||||
connect(settings->triggerWordLE, SIGNAL(textChanged(const QString&)), this, SLOT(triggerWordChanged(const QString&)));
|
||||
|
||||
settings->introLabel->setText(i18n("Use with \"%1 search query\"").arg(_triggerWord));
|
||||
|
||||
return settings;
|
||||
}
|
||||
|
||||
void GoogleCatalog::triggerWordChanged(const QString& triggerWord)
|
||||
{
|
||||
_triggerWord = QString(triggerWord);
|
||||
}
|
||||
|
||||
int GoogleCatalog::triggerWordLength()
|
||||
{
|
||||
return _triggerWord.length();
|
||||
}
|
||||
|
||||
void GoogleCatalog::reset()
|
||||
{
|
||||
_result.setText(QString::null);
|
||||
}
|
||||
|
||||
#include "googlecatalog.moc"
|
@ -0,0 +1,76 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2007 Martin Meredith *
|
||||
* mez@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2006 Jonathan Riddell *
|
||||
* jriddell@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2005 Tobi Vollebregt *
|
||||
* tobivollebregt@gmail.com *
|
||||
* *
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 GOOGLECATALOG_H
|
||||
#define GOOGLECATALOG_H
|
||||
|
||||
#include <kgenericfactory.h>
|
||||
|
||||
#include <qstring.h>
|
||||
|
||||
#include "query.h"
|
||||
#include "katapultcatalog.h"
|
||||
|
||||
class QWidget;
|
||||
|
||||
/**
|
||||
@author Jonathan Riddell
|
||||
*/
|
||||
class GoogleCatalog : public KatapultCatalog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
||||
GoogleCatalog(QObject*, const char*, const QStringList&);
|
||||
virtual ~GoogleCatalog();
|
||||
|
||||
virtual void readSettings(KConfigBase*);
|
||||
virtual void writeSettings(KConfigBase*);
|
||||
virtual QWidget* configure();
|
||||
int triggerWordLength();
|
||||
|
||||
protected:
|
||||
|
||||
virtual void queryChanged();
|
||||
|
||||
private:
|
||||
bool accepts(const QString&) const;
|
||||
|
||||
QString _triggerWord;
|
||||
|
||||
SearchQuery _result; // The one result (there's always one).
|
||||
|
||||
void reset();
|
||||
|
||||
protected slots:
|
||||
void triggerWordChanged(const QString& triggerWord);
|
||||
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,8 @@
|
||||
# Copyright (C) 2007 Martin Meredith
|
||||
[Desktop Entry]
|
||||
Name=Google Catalog
|
||||
Comment=Search Google
|
||||
ServiceTypes=Katapult/Catalog
|
||||
Type=Service
|
||||
X-KDE-Library=katapult_googlecatalog
|
||||
X-Katapult-ID=Google Catalog
|
@ -0,0 +1,66 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2007 Martin Meredith *
|
||||
* mez@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2006 Jonathan Riddell *
|
||||
* jriddell@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <kservice.h>
|
||||
#include <kglobal.h>
|
||||
#include <kiconloader.h>
|
||||
#include <kapplication.h>
|
||||
|
||||
#include <qclipboard.h>
|
||||
|
||||
#include "googlecatalog.h"
|
||||
#include "query.h"
|
||||
|
||||
|
||||
SearchQuery::SearchQuery(GoogleCatalog* catalog, const QString& text): KatapultItem(), _catalog(catalog), _text(text)
|
||||
{
|
||||
}
|
||||
|
||||
SearchQuery::~SearchQuery() {
|
||||
}
|
||||
|
||||
QPixmap SearchQuery::icon(int size) const
|
||||
{
|
||||
return KGlobal::iconLoader()->loadIcon("help", KIcon::NoGroup, size);
|
||||
}
|
||||
|
||||
QString SearchQuery::text() const
|
||||
{
|
||||
return _text;
|
||||
}
|
||||
|
||||
void SearchQuery::setText(const QString& text)
|
||||
{
|
||||
_text = text;
|
||||
}
|
||||
|
||||
GoogleCatalog* SearchQuery::catalog() const
|
||||
{
|
||||
return _catalog;
|
||||
}
|
||||
|
||||
|
||||
#include "query.moc"
|
@ -0,0 +1,59 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2007 Martin Meredith *
|
||||
* mez@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2006 Jonathan Riddell *
|
||||
* jriddell@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 QUERY_H
|
||||
#define QUERY_H
|
||||
|
||||
#include <kspell.h>
|
||||
|
||||
#include <katapultitem.h>
|
||||
|
||||
class GoogleCatalog;
|
||||
|
||||
/**
|
||||
@author Tobi Vollebregt
|
||||
*/
|
||||
class SearchQuery : public KatapultItem
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
SearchQuery(GoogleCatalog*, const QString&);
|
||||
~SearchQuery();
|
||||
|
||||
virtual QPixmap icon(int) const;
|
||||
virtual QString text() const;
|
||||
|
||||
void setText(const QString&);
|
||||
|
||||
GoogleCatalog* catalog() const;
|
||||
|
||||
private:
|
||||
GoogleCatalog* const _catalog;
|
||||
QString _text;
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,65 @@
|
||||
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
|
||||
<class>GoogleCatalogSettings</class>
|
||||
<widget class="QWidget">
|
||||
<property name="name">
|
||||
<cstring>GoogleCatalogSettings</cstring>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>356</width>
|
||||
<height>265</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="caption">
|
||||
<string>Settings</string>
|
||||
</property>
|
||||
<grid>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLineEdit" row="1" column="1">
|
||||
<property name="name">
|
||||
<cstring>triggerWordLE</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" row="1" column="0">
|
||||
<property name="name">
|
||||
<cstring>triggerWordLabel</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Trigger Word:</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
|
||||
<property name="name">
|
||||
<cstring>introLabel</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Use with: "google Search Query"</string>
|
||||
</property>
|
||||
</widget>
|
||||
<spacer row="2" column="1">
|
||||
<property name="name">
|
||||
<cstring>spacer2</cstring>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>Expanding</enum>
|
||||
</property>
|
||||
<property name="sizeHint">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>150</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</grid>
|
||||
</widget>
|
||||
<tabstops>
|
||||
</tabstops>
|
||||
<layoutdefaults spacing="6" margin="11"/>
|
||||
</UI>
|
@ -0,0 +1,15 @@
|
||||
# set the include path for X, qt and KDE
|
||||
INCLUDES = -I$(top_srcdir)/katapult/common $(all_includes)
|
||||
|
||||
# header files
|
||||
noinst_HEADERS = programcatalog.h program.h actionrunprogram.h
|
||||
|
||||
# our plugin
|
||||
kde_module_LTLIBRARIES = katapult_programcatalog.la
|
||||
katapult_programcatalog_la_SOURCES = settings.ui programcatalog.cpp program.cpp actionrunprogram.cpp
|
||||
katapult_programcatalog_la_LDFLAGS = -module $(KDE_RPATH) $(KDE_PLUGIN) $(all_libraries)
|
||||
katapult_programcatalog_la_LIBADD = $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KIO) $(top_builddir)/katapult/common/libkatapult.la
|
||||
kde_services_DATA = katapult_programcatalog.desktop
|
||||
|
||||
# use automoc
|
||||
METASOURCES = AUTO
|
@ -0,0 +1,65 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <kglobal.h>
|
||||
#include <kiconloader.h>
|
||||
#include <krun.h>
|
||||
#include <kurl.h>
|
||||
#include <klocale.h>
|
||||
|
||||
#include "program.h"
|
||||
#include "katapultitem.h"
|
||||
#include "actionrunprogram.h"
|
||||
|
||||
ActionRunProgram::ActionRunProgram()
|
||||
: KatapultAction()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
ActionRunProgram::~ActionRunProgram()
|
||||
{
|
||||
}
|
||||
|
||||
QString ActionRunProgram::text() const
|
||||
{
|
||||
return i18n("Run Program");
|
||||
}
|
||||
|
||||
QPixmap ActionRunProgram::icon(int size) const
|
||||
{
|
||||
return KGlobal::iconLoader()->loadIcon("exec", KIcon::NoGroup, size);
|
||||
}
|
||||
|
||||
void ActionRunProgram::execute(const KatapultItem *item) const
|
||||
{
|
||||
if(strcmp(item->className(), "Program") == 0) {
|
||||
const Program *program = (const Program *) item;
|
||||
KService *service = program->service();
|
||||
if(service != 0)
|
||||
KRun::run(*service, KURL::List());
|
||||
//TODO: report error running program
|
||||
}
|
||||
}
|
||||
|
||||
bool ActionRunProgram::accepts(const KatapultItem *item) const
|
||||
{
|
||||
return strcmp(item->className(), "Program") == 0;
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 ACTIONRUNPROGRAM_H
|
||||
#define ACTIONRUNPROGRAM_H
|
||||
|
||||
#include "katapultaction.h"
|
||||
|
||||
class KatapultItem;
|
||||
|
||||
/**
|
||||
@author Joe Ferris
|
||||
*/
|
||||
class ActionRunProgram : public KatapultAction
|
||||
{
|
||||
|
||||
public:
|
||||
ActionRunProgram();
|
||||
~ActionRunProgram();
|
||||
|
||||
virtual void execute(const KatapultItem *) const;
|
||||
virtual bool accepts(const KatapultItem *) const;
|
||||
virtual QString text() const;
|
||||
virtual QPixmap icon(int) const;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,55 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <kservice.h>
|
||||
#include <kglobal.h>
|
||||
#include <kiconloader.h>
|
||||
|
||||
#include "program.h"
|
||||
|
||||
Program::Program(KService::Ptr s, bool useExecName)
|
||||
: KatapultItem()
|
||||
{
|
||||
if(useExecName)
|
||||
_name = s->exec();
|
||||
else
|
||||
_name = s->name();
|
||||
_icon = s->icon();
|
||||
if(_icon == "")
|
||||
_icon = s->name().lower();
|
||||
_service = s;
|
||||
}
|
||||
|
||||
QPixmap Program::icon(int size) const
|
||||
{
|
||||
return KGlobal::iconLoader()->loadIcon(_icon, KIcon::NoGroup, size);
|
||||
}
|
||||
|
||||
QString Program::text() const
|
||||
{
|
||||
return _name;
|
||||
}
|
||||
|
||||
KService * Program::service() const
|
||||
{
|
||||
return _service;
|
||||
}
|
||||
|
||||
#include "program.moc"
|
@ -0,0 +1,48 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 PROGRAM_H
|
||||
#define PROGRAM_H
|
||||
|
||||
#include <kservice.h>
|
||||
|
||||
#include <katapultitem.h>
|
||||
|
||||
/**
|
||||
@author Joe Ferris
|
||||
*/
|
||||
class Program : public KatapultItem
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
|
||||
Program(KService::Ptr, bool);
|
||||
|
||||
virtual QPixmap icon(int) const;
|
||||
virtual QString text() const;
|
||||
|
||||
KService * service() const;
|
||||
|
||||
protected:
|
||||
KService::Ptr _service;
|
||||
QString _icon, _name;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,153 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <kservicegroup.h>
|
||||
#include <ksycocaentry.h>
|
||||
#include <ksycocatype.h>
|
||||
#include <kapplication.h>
|
||||
#include <knuminput.h>
|
||||
#include <kcombobox.h>
|
||||
|
||||
#include <qcheckbox.h>
|
||||
|
||||
#include "settings.h"
|
||||
#include "programcatalog.h"
|
||||
#include "program.h"
|
||||
#include "actionregistry.h"
|
||||
#include "actionrunprogram.h"
|
||||
|
||||
K_EXPORT_COMPONENT_FACTORY( katapult_programcatalog,
|
||||
KGenericFactory<ProgramCatalog>( "katapult_programcatalog" ) )
|
||||
|
||||
ProgramCatalog::ProgramCatalog(QObject *, const char *, const QStringList&)
|
||||
: CachedCatalog()
|
||||
{
|
||||
_minQueryLen = 1;
|
||||
_ignoreIconless = TRUE;
|
||||
_ignoreTerminal = TRUE;
|
||||
_useExecName = FALSE;
|
||||
ActionRegistry::self()->registerAction(new ActionRunProgram());
|
||||
}
|
||||
|
||||
ProgramCatalog::~ProgramCatalog()
|
||||
{
|
||||
}
|
||||
|
||||
void ProgramCatalog::initialize()
|
||||
{
|
||||
cacheProgramList(QString::null);
|
||||
}
|
||||
|
||||
void ProgramCatalog::cacheProgramList(QString relPath)
|
||||
{
|
||||
KServiceGroup::Ptr group = KServiceGroup::group(relPath);
|
||||
if(!group || !group->isValid())
|
||||
return;
|
||||
|
||||
KServiceGroup::List list = group->entries();
|
||||
if(list.isEmpty())
|
||||
return;
|
||||
|
||||
KServiceGroup::List::ConstIterator it = list.begin();
|
||||
for(; it != list.end(); ++it)
|
||||
{
|
||||
KSycocaEntry *e = *it;
|
||||
|
||||
if(e != 0) {
|
||||
if(e->isType(KST_KServiceGroup))
|
||||
{
|
||||
KServiceGroup::Ptr g(static_cast<KServiceGroup *>(e));
|
||||
if(!g->noDisplay())
|
||||
cacheProgramList(g->relPath());
|
||||
} else if(e->isType(KST_KService))
|
||||
{
|
||||
KService::Ptr s(static_cast<KService *>(e));
|
||||
if(s->type() == "Application" &&
|
||||
(!_ignoreIconless || !s->icon().isEmpty()) &&
|
||||
(!_ignoreTerminal || !s->terminal()) && !s->noDisplay()
|
||||
) {
|
||||
addItem(new Program(s, _useExecName));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
unsigned int ProgramCatalog::minQueryLen() const
|
||||
{
|
||||
return _minQueryLen;
|
||||
}
|
||||
|
||||
void ProgramCatalog::readSettings(KConfigBase *config)
|
||||
{
|
||||
_minQueryLen = config->readUnsignedNumEntry("MinQueryLen", 1);
|
||||
_ignoreIconless = config->readBoolEntry("IgnoreIconless", TRUE);
|
||||
_useExecName = config->readBoolEntry("UseExecName", FALSE);
|
||||
_ignoreTerminal = config->readBoolEntry("IgnoreTerminal", TRUE);
|
||||
}
|
||||
|
||||
void ProgramCatalog::writeSettings(KConfigBase *config)
|
||||
{
|
||||
config->writeEntry("MinQueryLen", _minQueryLen);
|
||||
config->writeEntry("IgnoreIconless", _ignoreIconless);
|
||||
config->writeEntry("UseExecName", _useExecName);
|
||||
config->writeEntry("IgnoreTerminal", _ignoreTerminal);
|
||||
}
|
||||
|
||||
QWidget * ProgramCatalog::configure()
|
||||
{
|
||||
ProgramCatalogSettings *settings = new ProgramCatalogSettings();
|
||||
|
||||
settings->minQueryLen->setValue(_minQueryLen);
|
||||
connect(settings->minQueryLen, SIGNAL(valueChanged(int)), this, SLOT(minQueryLenChanged(int)));
|
||||
|
||||
settings->ignoreIconless->setChecked(_ignoreIconless);
|
||||
connect(settings->ignoreIconless, SIGNAL(toggled(bool)), this, SLOT(toggleIgnoreIconless(bool)));
|
||||
|
||||
settings->useExecName->setChecked(_useExecName);
|
||||
connect(settings->useExecName, SIGNAL(toggled(bool)), this, SLOT(toggleUseExecName(bool)));
|
||||
|
||||
settings->ignoreTerminal->setChecked(_ignoreTerminal);
|
||||
connect(settings->ignoreTerminal, SIGNAL(toggled(bool)), this, SLOT(toggleIgnoreTerminal(bool)));
|
||||
|
||||
return settings;
|
||||
}
|
||||
|
||||
void ProgramCatalog::minQueryLenChanged(int _minQueryLen)
|
||||
{
|
||||
this->_minQueryLen = _minQueryLen;
|
||||
}
|
||||
|
||||
void ProgramCatalog::toggleIgnoreIconless(bool _ignoreIconless)
|
||||
{
|
||||
this->_ignoreIconless = _ignoreIconless;
|
||||
}
|
||||
|
||||
void ProgramCatalog::toggleUseExecName(bool _useExecName)
|
||||
{
|
||||
this->_useExecName = _useExecName;
|
||||
}
|
||||
|
||||
void ProgramCatalog::toggleIgnoreTerminal(bool _ignoreTerminal)
|
||||
{
|
||||
this->_ignoreTerminal = _ignoreTerminal;
|
||||
}
|
||||
|
||||
#include "programcatalog.moc"
|
@ -0,0 +1,62 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 PROGRAMCATALOG_H
|
||||
#define PROGRAMCATALOG_H
|
||||
|
||||
#include <kgenericfactory.h>
|
||||
|
||||
#include <qptrlist.h>
|
||||
#include <qstring.h>
|
||||
|
||||
#include "cachedcatalog.h"
|
||||
|
||||
class QWidget;
|
||||
|
||||
/**
|
||||
@author Joe Ferris
|
||||
*/
|
||||
class ProgramCatalog : public CachedCatalog
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
ProgramCatalog(QObject *, const char *, const QStringList&);
|
||||
virtual ~ProgramCatalog();
|
||||
|
||||
virtual void initialize();
|
||||
virtual void readSettings(KConfigBase *);
|
||||
virtual void writeSettings(KConfigBase *);
|
||||
virtual unsigned int minQueryLen() const;
|
||||
virtual QWidget * configure();
|
||||
|
||||
public slots:
|
||||
void minQueryLenChanged(int);
|
||||
void toggleIgnoreIconless(bool);
|
||||
void toggleUseExecName(bool);
|
||||
void toggleIgnoreTerminal(bool);
|
||||
|
||||
private:
|
||||
void cacheProgramList(QString);
|
||||
int _minQueryLen;
|
||||
bool _ignoreIconless;
|
||||
bool _useExecName;
|
||||
bool _ignoreTerminal;
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,101 @@
|
||||
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
|
||||
<class>ProgramCatalogSettings</class>
|
||||
<widget class="QWidget">
|
||||
<property name="name">
|
||||
<cstring>ProgramCatalogSettings</cstring>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>308</width>
|
||||
<height>519</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="caption">
|
||||
<string>Settings</string>
|
||||
</property>
|
||||
<vbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLayoutWidget">
|
||||
<property name="name">
|
||||
<cstring>layout1</cstring>
|
||||
</property>
|
||||
<hbox>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLabel">
|
||||
<property name="name">
|
||||
<cstring>textLabel1</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Number of characters before searching:</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="KIntSpinBox">
|
||||
<property name="name">
|
||||
<cstring>minQueryLen</cstring>
|
||||
</property>
|
||||
<property name="maxValue">
|
||||
<number>10</number>
|
||||
</property>
|
||||
<property name="minValue">
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="whatsThis" stdset="0">
|
||||
<string>Katapult will not search for programs until you have typed at least this many characters in the Katapult launcher.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</hbox>
|
||||
</widget>
|
||||
<widget class="QCheckBox">
|
||||
<property name="name">
|
||||
<cstring>ignoreIconless</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Ignore applications without icons</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QCheckBox">
|
||||
<property name="name">
|
||||
<cstring>ignoreTerminal</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Ignore terminal applications</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QCheckBox">
|
||||
<property name="name">
|
||||
<cstring>useExecName</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Catalog applications by executable name</string>
|
||||
</property>
|
||||
</widget>
|
||||
<spacer>
|
||||
<property name="name">
|
||||
<cstring>spacer1</cstring>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>Expanding</enum>
|
||||
</property>
|
||||
<property name="sizeHint">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>370</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</vbox>
|
||||
</widget>
|
||||
<layoutdefaults spacing="6" margin="11"/>
|
||||
<includehints>
|
||||
<includehint>knuminput.h</includehint>
|
||||
</includehints>
|
||||
</UI>
|
@ -0,0 +1,19 @@
|
||||
# Copyright (C) 2006 Jonathan Riddell
|
||||
|
||||
# set the include path for X, qt and KDE
|
||||
INCLUDES = -I$(top_srcdir)/katapult/common $(all_includes)
|
||||
|
||||
# header files
|
||||
noinst_HEADERS = actioncopyspelling.h spellcatalog.h spelling.h
|
||||
|
||||
# use automoc
|
||||
METASOURCES = AUTO
|
||||
|
||||
KDE_ICON = AUTO
|
||||
|
||||
# our plugin
|
||||
kde_module_LTLIBRARIES = katapult_spellcatalog.la
|
||||
katapult_spellcatalog_la_SOURCES = settings.ui spellcatalog.cpp spelling.cpp actioncopyspelling.cpp
|
||||
katapult_spellcatalog_la_LDFLAGS = -module $(KDE_RPATH) $(KDE_PLUGIN) $(all_libraries)
|
||||
katapult_spellcatalog_la_LIBADD = $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KIO) $(top_builddir)/katapult/common/libkatapult.la
|
||||
kde_services_DATA = katapult_spellcatalog.desktop
|
@ -0,0 +1,80 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2006 Jonathan Riddell *
|
||||
* jriddell@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <kapplication.h>
|
||||
#include <kglobal.h>
|
||||
#include <kiconloader.h>
|
||||
#include <klocale.h>
|
||||
|
||||
#include <qclipboard.h>
|
||||
|
||||
#include "spellcatalog.h"
|
||||
#include "spelling.h"
|
||||
#include "katapultitem.h"
|
||||
#include "actioncopyspelling.h"
|
||||
|
||||
ActionCopySpelling::ActionCopySpelling()
|
||||
: KatapultAction(), _spelling(0)
|
||||
{
|
||||
}
|
||||
|
||||
ActionCopySpelling::~ActionCopySpelling()
|
||||
{
|
||||
}
|
||||
|
||||
QString ActionCopySpelling::text() const
|
||||
{
|
||||
if (_spelling->parseError()) {
|
||||
return i18n("Parse Error");
|
||||
} else {
|
||||
return _spelling->result();
|
||||
}
|
||||
}
|
||||
|
||||
QPixmap ActionCopySpelling::icon(int size) const
|
||||
{
|
||||
return KGlobal::iconLoader()->loadIcon("katapultspellcheck", KIcon::NoGroup, size);
|
||||
}
|
||||
|
||||
bool ActionCopySpelling::accepts(const KatapultItem* item) const
|
||||
{
|
||||
bool accept = strcmp(item->className(), "Spelling") == 0;
|
||||
if (accept) {
|
||||
_spelling = (const Spelling*)item;
|
||||
}
|
||||
return accept;
|
||||
}
|
||||
|
||||
void ActionCopySpelling::execute(const KatapultItem* item) const
|
||||
{
|
||||
if (strcmp(item->className(), "Spelling") == 0) {
|
||||
_spelling = (const Spelling*)item;
|
||||
|
||||
_spelling->evaluate();
|
||||
|
||||
// Copy calculation and result into clipboard (unless there's a parse error).
|
||||
if (!_spelling->parseError()) {
|
||||
_spelling->copyToClipboard();
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2006 Jonathan Riddell *
|
||||
* jriddell@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 ACTIONCOPYSPELLING_H
|
||||
#define ACTIONCOPYSPELLING_H
|
||||
|
||||
#include "katapultaction.h"
|
||||
|
||||
class KatapultItem;
|
||||
class Spelling;
|
||||
|
||||
/**
|
||||
@author Tobi Vollebregt
|
||||
*/
|
||||
class ActionCopySpelling : public KatapultAction
|
||||
{
|
||||
public:
|
||||
ActionCopySpelling();
|
||||
~ActionCopySpelling();
|
||||
|
||||
virtual void execute(const KatapultItem*) const;
|
||||
virtual bool accepts(const KatapultItem*) const;
|
||||
virtual QString text() const;
|
||||
virtual QPixmap icon(int) const;
|
||||
|
||||
private:
|
||||
//_expr needs to be mutable because accepts() is const.
|
||||
mutable const Spelling* _spelling;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,43 @@
|
||||
# Copyright (C) 2006 Jonathan Riddell
|
||||
[Desktop Entry]
|
||||
Name=Spell Catalog
|
||||
Name[ar]=مستعرض التدقيق الأملائي ( Spell Catalog )
|
||||
Name[bg]=Каталог за проверка на правописа
|
||||
Name[da]=Katalogisér stavning
|
||||
Name[de]=Rechtschreibung-Katalog
|
||||
Name[el]=Κατάλογος ορθογραφίας
|
||||
Name[es]=Catalogador de ortografía
|
||||
Name[et]=Õigekirjakataloog
|
||||
Name[fr]=Catalogue orthographique
|
||||
Name[ga]=Catalóg Litrithe
|
||||
Name[gl]=Catálogo de Ortografia
|
||||
Name[it]=Catalogo controllo ortografico
|
||||
Name[ja]=スペルカタログ
|
||||
Name[nb]=Stavekatalog
|
||||
Name[nl]=Spelcatalogus
|
||||
Name[pt]=Catálogo de Ortografia
|
||||
Name[pt_BR]=Catálogo de Ortografia
|
||||
Name[sv]=Stavningskatalog
|
||||
Name[uk]=Каталог правопису
|
||||
Comment=Check the spelling of a word
|
||||
Comment[ar]=دقًق املائيا في الكلمة
|
||||
Comment[bg]=Проверка правописа на дума
|
||||
Comment[da]=Tjek stavning af et ord
|
||||
Comment[de]=Die Schreibweise eines Wortes überprüfen
|
||||
Comment[el]=Ορθογραφικός έλεγχος μιας λέξης
|
||||
Comment[es]=Comprueba la ortografía de una palabra
|
||||
Comment[et]=Sõna õigekirja kontroll
|
||||
Comment[fr]=Vérifier l'orthographe d'un mot
|
||||
Comment[gl]=Verifica a ortografia dunha palabra
|
||||
Comment[it]=Controllo ortografico di una parola
|
||||
Comment[ja]=単語のスペルをチェック
|
||||
Comment[nb]=Sjekk skrivemåten for et ord
|
||||
Comment[nl]=Controleert de spelling van een woord
|
||||
Comment[pt]=Verificar a ortografia de uma palavra
|
||||
Comment[pt_BR]=Verificar a ortografia de uma palavra
|
||||
Comment[sv]=Kontrollera stavningen av ett ord
|
||||
Comment[uk]=Перевірити правопис слова
|
||||
ServiceTypes=Katapult/Catalog
|
||||
Type=Service
|
||||
X-KDE-Library=katapult_spellcatalog
|
||||
X-Katapult-ID=Spell Catalog
|
@ -0,0 +1,65 @@
|
||||
<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
|
||||
<class>SpellCatalogSettings</class>
|
||||
<widget class="QWidget">
|
||||
<property name="name">
|
||||
<cstring>SpellCatalogSettings</cstring>
|
||||
</property>
|
||||
<property name="geometry">
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>356</width>
|
||||
<height>265</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="caption">
|
||||
<string>Settings</string>
|
||||
</property>
|
||||
<grid>
|
||||
<property name="name">
|
||||
<cstring>unnamed</cstring>
|
||||
</property>
|
||||
<widget class="QLineEdit" row="1" column="1">
|
||||
<property name="name">
|
||||
<cstring>triggerWordLE</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" row="1" column="0">
|
||||
<property name="name">
|
||||
<cstring>triggerWordLabel</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Trigger Word:</string>
|
||||
</property>
|
||||
</widget>
|
||||
<widget class="QLabel" row="0" column="0" rowspan="1" colspan="2">
|
||||
<property name="name">
|
||||
<cstring>introLabel</cstring>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Use with: "spell myword"</string>
|
||||
</property>
|
||||
</widget>
|
||||
<spacer row="2" column="1">
|
||||
<property name="name">
|
||||
<cstring>spacer2</cstring>
|
||||
</property>
|
||||
<property name="orientation">
|
||||
<enum>Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeType">
|
||||
<enum>Expanding</enum>
|
||||
</property>
|
||||
<property name="sizeHint">
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>150</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</grid>
|
||||
</widget>
|
||||
<tabstops>
|
||||
</tabstops>
|
||||
<layoutdefaults spacing="6" margin="11"/>
|
||||
</UI>
|
@ -0,0 +1,122 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2006 Jonathan Riddell *
|
||||
* jriddell@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2005 Tobi Vollebregt *
|
||||
* tobivollebregt@gmail.com *
|
||||
* *
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <kservicegroup.h>
|
||||
#include <ksycocaentry.h>
|
||||
#include <ksycocatype.h>
|
||||
#include <kapplication.h>
|
||||
|
||||
#include <qlineedit.h>
|
||||
#include <qlabel.h>
|
||||
|
||||
#include "settings.h"
|
||||
#include "spellcatalog.h"
|
||||
#include "actionregistry.h"
|
||||
#include "actioncopyspelling.h"
|
||||
#include "status.h"
|
||||
|
||||
K_EXPORT_COMPONENT_FACTORY( katapult_spellcatalog,
|
||||
KGenericFactory<SpellCatalog>( "katapult_spellcatalog" ) )
|
||||
|
||||
SpellCatalog::SpellCatalog(QObject*, const char*, const QStringList&): _result(this, QString::null)
|
||||
{
|
||||
ActionRegistry::self()->registerAction(new ActionCopySpelling());
|
||||
}
|
||||
|
||||
SpellCatalog::~SpellCatalog()
|
||||
{
|
||||
}
|
||||
|
||||
void SpellCatalog::queryChanged()
|
||||
{
|
||||
int newStatus = 0;
|
||||
QString cmd = query();
|
||||
int origLength = cmd.length();
|
||||
|
||||
if (cmd.isEmpty()) {
|
||||
reset();
|
||||
setBestMatch(Match());
|
||||
} else {
|
||||
if (accepts(cmd)) {
|
||||
_result.setText(cmd);
|
||||
|
||||
setBestMatch(Match(&_result, _result.parseError() ? 10 : 100, origLength));
|
||||
//set status.
|
||||
//add S_Multiple to make sure katapult doesn't auto-exec and close the window
|
||||
//add S_Active to make sure katapult doesn't start the hideTimer or clearTimer
|
||||
newStatus = S_HasResults | S_Multiple | S_Active;
|
||||
} else {
|
||||
newStatus = 0;
|
||||
}
|
||||
}
|
||||
setStatus(newStatus);
|
||||
}
|
||||
|
||||
bool SpellCatalog::accepts(const QString& str) const
|
||||
{
|
||||
//accept if we begin with the triggerWord
|
||||
int length = _triggerWord.length();
|
||||
return str.left(length + 1) == _triggerWord + " ";
|
||||
}
|
||||
|
||||
void SpellCatalog::readSettings(KConfigBase* config)
|
||||
{
|
||||
_triggerWord = config->readEntry("TriggerWord", i18n("Should be short, easy and quick to type", "spell"));
|
||||
}
|
||||
|
||||
void SpellCatalog::writeSettings(KConfigBase* config)
|
||||
{
|
||||
config->writeEntry("TriggerWord", _triggerWord);
|
||||
}
|
||||
|
||||
QWidget * SpellCatalog::configure()
|
||||
{
|
||||
SpellCatalogSettings* settings = new SpellCatalogSettings();
|
||||
|
||||
settings->triggerWordLE->setText(_triggerWord);
|
||||
connect(settings->triggerWordLE, SIGNAL(textChanged(const QString&)), this, SLOT(triggerWordChanged(const QString&)));
|
||||
|
||||
settings->introLabel->setText(i18n("Use with \"%1 myword\"").arg(_triggerWord));
|
||||
|
||||
return settings;
|
||||
}
|
||||
|
||||
void SpellCatalog::triggerWordChanged(const QString& triggerWord)
|
||||
{
|
||||
_triggerWord = QString(triggerWord);
|
||||
}
|
||||
|
||||
int SpellCatalog::triggerWordLength()
|
||||
{
|
||||
return _triggerWord.length();
|
||||
}
|
||||
|
||||
void SpellCatalog::reset()
|
||||
{
|
||||
_result.setText(QString::null);
|
||||
}
|
||||
|
||||
#include "spellcatalog.moc"
|
@ -0,0 +1,73 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2006 Jonathan Riddell *
|
||||
* jriddell@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2005 Tobi Vollebregt *
|
||||
* tobivollebregt@gmail.com *
|
||||
* *
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 SPELLCATALOG_H
|
||||
#define SPELLCATALOG_H
|
||||
|
||||
#include <kgenericfactory.h>
|
||||
|
||||
#include <qstring.h>
|
||||
|
||||
#include "spelling.h"
|
||||
#include "katapultcatalog.h"
|
||||
|
||||
class QWidget;
|
||||
|
||||
/**
|
||||
@author Jonathan Riddell
|
||||
*/
|
||||
class SpellCatalog : public KatapultCatalog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
||||
SpellCatalog(QObject*, const char*, const QStringList&);
|
||||
virtual ~SpellCatalog();
|
||||
|
||||
virtual void readSettings(KConfigBase*);
|
||||
virtual void writeSettings(KConfigBase*);
|
||||
virtual QWidget* configure();
|
||||
int triggerWordLength();
|
||||
|
||||
protected:
|
||||
|
||||
virtual void queryChanged();
|
||||
|
||||
private:
|
||||
bool accepts(const QString&) const;
|
||||
|
||||
QString _triggerWord;
|
||||
|
||||
Spelling _result; // The one result (there's always one).
|
||||
|
||||
void reset();
|
||||
|
||||
protected slots:
|
||||
void triggerWordChanged(const QString& triggerWord);
|
||||
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1,133 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2006 Jonathan Riddell *
|
||||
* jriddell@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 <kservice.h>
|
||||
#include <kglobal.h>
|
||||
#include <kiconloader.h>
|
||||
#include <kapplication.h>
|
||||
|
||||
#include <qclipboard.h>
|
||||
|
||||
#include "spellcatalog.h"
|
||||
#include "spelling.h"
|
||||
|
||||
|
||||
Spelling::Spelling(SpellCatalog* catalog, const QString& text): KatapultItem(), _catalog(catalog), _text(text)
|
||||
{
|
||||
spellChecker = new KSpell( 0, "caption", this, SLOT(spellCheckerReady()) );
|
||||
|
||||
connect( spellChecker, SIGNAL(misspelling(const QString&, const QStringList&, unsigned int)),
|
||||
this, SLOT(spellCheckerMisspelling(const QString&, const QStringList&, unsigned int)) );
|
||||
|
||||
connect( spellChecker, SIGNAL(corrected(const QString&, const QString&, unsigned int)),
|
||||
this, SLOT(spellCheckerCorrected(const QString&, const QString&, unsigned int)) );
|
||||
|
||||
evaluate();
|
||||
}
|
||||
|
||||
Spelling::~Spelling() {
|
||||
delete spellChecker;
|
||||
}
|
||||
|
||||
void Spelling::spellCheckerReady() {
|
||||
}
|
||||
|
||||
void Spelling::spellCheckerCorrected(const QString& /*originalword*/, const QString& /*newword*/, unsigned int /*pos*/) {
|
||||
corrected = true;
|
||||
}
|
||||
|
||||
void Spelling::spellCheckerMisspelling(const QString& /*originalword*/, const QStringList& suggestions, unsigned int /*pos*/) {
|
||||
misspelt = true;
|
||||
suggestedWords = suggestions.join(",");
|
||||
}
|
||||
|
||||
QPixmap Spelling::icon(int size) const
|
||||
{
|
||||
const char* icon = "checkmark";
|
||||
if (_parseError || misspelt) {
|
||||
icon = "no";
|
||||
}
|
||||
return KGlobal::iconLoader()->loadIcon(icon, KIcon::NoGroup, size);
|
||||
}
|
||||
|
||||
QString Spelling::text() const
|
||||
{
|
||||
return _text;
|
||||
}
|
||||
|
||||
void Spelling::setText(const QString& text)
|
||||
{
|
||||
_text = text;
|
||||
evaluate();
|
||||
}
|
||||
|
||||
QString Spelling::result() const
|
||||
{
|
||||
return _result;
|
||||
}
|
||||
|
||||
bool Spelling::parseError() const
|
||||
{
|
||||
return _parseError;
|
||||
}
|
||||
|
||||
SpellCatalog* Spelling::catalog() const
|
||||
{
|
||||
return _catalog;
|
||||
}
|
||||
|
||||
void Spelling::evaluate() const
|
||||
{
|
||||
int length = catalog()->triggerWordLength();
|
||||
|
||||
QString text = _text.mid(length + 1); // + 1 for space
|
||||
|
||||
misspelt = false;
|
||||
corrected = false;
|
||||
|
||||
_parseError = false;
|
||||
if (!_text.isEmpty()) {
|
||||
_result = "my result";
|
||||
spellChecker->checkWord(text);
|
||||
|
||||
while (corrected == false) {
|
||||
kapp->processEvents();
|
||||
}
|
||||
|
||||
if (misspelt) {
|
||||
_result = suggestedWords;
|
||||
} else {
|
||||
_result = "Correct";
|
||||
}
|
||||
} else {
|
||||
_parseError = true;
|
||||
}
|
||||
}
|
||||
|
||||
void Spelling::copyToClipboard() const {
|
||||
QClipboard* clipBoard = QApplication::clipboard();
|
||||
clipBoard->setText(suggestedWords, QClipboard::Clipboard);
|
||||
clipBoard->setText(suggestedWords, QClipboard::Selection);
|
||||
}
|
||||
|
||||
#include "spelling.moc"
|
@ -0,0 +1,74 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2006 Jonathan Riddell *
|
||||
* jriddell@ubuntu.com *
|
||||
* *
|
||||
* Copyright (C) 2005 by Joe Ferris *
|
||||
* jferris@optimistictech.com *
|
||||
* *
|
||||
* 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 SPELLING_H
|
||||
#define SPELLING_H
|
||||
|
||||
#include <kspell.h>
|
||||
|
||||
#include <katapultitem.h>
|
||||
|
||||
class SpellCatalog;
|
||||
|
||||
/**
|
||||
@author Tobi Vollebregt
|
||||
*/
|
||||
class Spelling : public KatapultItem
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
Spelling(SpellCatalog*, const QString&);
|
||||
~Spelling();
|
||||
|
||||
virtual QPixmap icon(int) const;
|
||||
virtual QString text() const;
|
||||
|
||||
void setText(const QString&);
|
||||
QString result() const;
|
||||
bool parseError() const;
|
||||
|
||||
//evaluate() must be const, or ActionEvaluateSpelling::execute() can't call it.
|
||||
//It makes sense because evaluate() does _not_ change the expression,
|
||||
//it just calculates the result and remembers that.
|
||||
void evaluate() const;
|
||||
|
||||
SpellCatalog* catalog() const;
|
||||
|
||||
void copyToClipboard() const;
|
||||
|
||||
private:
|
||||
SpellCatalog* const _catalog;
|
||||
QString _text;
|
||||
mutable QString _result;
|
||||
mutable bool _parseError;
|
||||
KSpell* spellChecker;
|
||||
mutable bool misspelt;
|
||||
mutable bool corrected;
|
||||
QString suggestedWords;
|
||||
|
||||
protected slots:
|
||||
void spellCheckerReady();
|
||||
void spellCheckerCorrected(const QString& originalword, const QString& newword, unsigned int pos);
|
||||
void spellCheckerMisspelling(const QString& originalword, const QStringList& suggestions, unsigned int pos);
|
||||
};
|
||||
|
||||
#endif
|
@ -0,0 +1 @@
|
||||
SUBDIRS = glassdisplay puredisplay o2display
|
@ -0,0 +1,15 @@
|
||||
# set the include path for X, qt and KDE
|
||||
INCLUDES = -I$(top_srcdir)/katapult/common $(all_includes)
|
||||
|
||||
# header files
|
||||
noinst_HEADERS = glassdisplay.h
|
||||
|
||||
# use automoc
|
||||
METASOURCES = AUTO
|
||||
|
||||
# our plugin
|
||||
kde_module_LTLIBRARIES = katapult_glassdisplay.la
|
||||
katapult_glassdisplay_la_SOURCES = glassdisplay.cpp
|
||||
katapult_glassdisplay_la_LDFLAGS = -module $(KDE_RPATH) $(KDE_PLUGIN) $(all_libraries)
|
||||
katapult_glassdisplay_la_LIBADD = $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(top_builddir)/katapult/common/libkatapult.la
|
||||
kde_services_DATA = katapult_glassdisplay.desktop
|
Binary file not shown.
@ -0,0 +1,60 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Bastian Holst *
|
||||
* bastianholst@gmx.de *
|
||||
* *
|
||||
* 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 <kiconloader.h>
|
||||
#include <kgenericfactory.h>
|
||||
#include <qpixmap.h>
|
||||
|
||||
#include "glassdisplay.h"
|
||||
#include "qembed_images.h"
|
||||
|
||||
K_EXPORT_COMPONENT_FACTORY( katapult_glassdisplay,
|
||||
KGenericFactory<GlassDisplay>( "katapult_glassdisplay" ) )
|
||||
|
||||
#define WIDTH 295
|
||||
#define HEIGHT 189
|
||||
#define PADDING 6
|
||||
#define ICONSIZE 128
|
||||
|
||||
#define LEFTMARGIN 1
|
||||
#define TOPMARGIN 1
|
||||
#define RIGHTMARGIN 8
|
||||
#define BOTTOMMARGIN 8
|
||||
|
||||
GlassDisplay::GlassDisplay(QObject *parent, const char *name, const QStringList& list)
|
||||
: ImageDisplay(parent, name, list)
|
||||
{
|
||||
setSingleBG(new QPixmap(qembed_findImage("singlebg")));
|
||||
setDoubleBG(new QPixmap(qembed_findImage("doublebg")));
|
||||
|
||||
setSingleSize(WIDTH, HEIGHT);
|
||||
setDoubleSize(WIDTH, HEIGHT);
|
||||
|
||||
setMargin(LEFTMARGIN, TOPMARGIN, RIGHTMARGIN, BOTTOMMARGIN);
|
||||
setPadding(PADDING);
|
||||
setIconSize(ICONSIZE);
|
||||
}
|
||||
|
||||
GlassDisplay::~GlassDisplay()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
#include "glassdisplay.moc"
|
@ -0,0 +1,36 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Bastian Holst *
|
||||
* bastianholst@gmx.de *
|
||||
* *
|
||||
* 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 GLASSDISPLAY_H
|
||||
#define GLASSDISPLAY_H
|
||||
|
||||
#include <imagedisplay.h>
|
||||
|
||||
/**
|
||||
@author Bastian Holst
|
||||
*/
|
||||
class GlassDisplay : public ImageDisplay
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
GlassDisplay(QObject *, const char *, const QStringList&);
|
||||
virtual ~GlassDisplay();
|
||||
};
|
||||
|
||||
#endif
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -0,0 +1,15 @@
|
||||
# set the include path for X, qt and KDE
|
||||
INCLUDES = -I$(top_srcdir)/katapult/common $(all_includes)
|
||||
|
||||
# header files
|
||||
noinst_HEADERS = o2display.h
|
||||
|
||||
# use automoc
|
||||
METASOURCES = AUTO
|
||||
|
||||
# our plugin
|
||||
kde_module_LTLIBRARIES = katapult_o2display.la
|
||||
katapult_o2display_la_SOURCES = o2display.cpp
|
||||
katapult_o2display_la_LDFLAGS = -module $(KDE_RPATH) $(KDE_PLUGIN) $(all_libraries)
|
||||
katapult_o2display_la_LIBADD = $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(top_builddir)/katapult/common/libkatapult.la
|
||||
kde_services_DATA = katapult_o2display.desktop
|
Binary file not shown.
@ -0,0 +1,14 @@
|
||||
[Desktop Entry]
|
||||
Name=o2 Display
|
||||
Name[bg]=Показване на o2
|
||||
Name[da]=o2-skærm
|
||||
Name[de]=o2-Anzeige
|
||||
Name[es]=Mostrar o2
|
||||
Name[nl]=o2-display
|
||||
Name[pt]=Visualização o2
|
||||
Name[pt_BR]=Visualização o2
|
||||
Name[sv]=o2-skärm
|
||||
ServiceTypes=Katapult/Display
|
||||
Type=Service
|
||||
X-KDE-Library=katapult_o2display
|
||||
X-Katapult-ID=o2 Display
|
@ -0,0 +1,63 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2006 by Martin Meredith *
|
||||
* mez@thekatapult.org.uk *
|
||||
* *
|
||||
* 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 <kiconloader.h>
|
||||
#include <kgenericfactory.h>
|
||||
#include <qpixmap.h>
|
||||
|
||||
#include "o2display.h"
|
||||
#include "qembed_images.h"
|
||||
|
||||
K_EXPORT_COMPONENT_FACTORY( katapult_o2display,
|
||||
KGenericFactory<o2Display>( "katapult_o2display" ) )
|
||||
|
||||
#define WIDTH_SINGLE 228
|
||||
#define HEIGHT_SINGLE 220
|
||||
#define WIDTH_DOUBLE 392
|
||||
#define HEIGHT_DOUBLE 220
|
||||
|
||||
#define PADDING 7
|
||||
#define ICONSIZE 128
|
||||
|
||||
#define LEFTMARGIN 10
|
||||
#define TOPMARGIN 6
|
||||
#define RIGHTMARGIN 25
|
||||
#define BOTTOMMARGIN 40
|
||||
|
||||
o2Display::o2Display(QObject *parent, const char *name, const QStringList& list)
|
||||
: ImageDisplay(parent, name, list)
|
||||
{
|
||||
setSingleBG(new QPixmap(qembed_findImage("singlebg")));
|
||||
setDoubleBG(new QPixmap(qembed_findImage("doublebg")));
|
||||
|
||||
setSingleSize(WIDTH_SINGLE, HEIGHT_SINGLE);
|
||||
setDoubleSize(WIDTH_DOUBLE, HEIGHT_DOUBLE);
|
||||
|
||||
setMargin(LEFTMARGIN, TOPMARGIN, RIGHTMARGIN, BOTTOMMARGIN);
|
||||
setPadding(PADDING);
|
||||
setIconSize(ICONSIZE);
|
||||
}
|
||||
|
||||
o2Display::~o2Display()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
#include "o2display.moc"
|
@ -0,0 +1,36 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2006 Martin Meredith *
|
||||
* mez@thekatapult.org.uk *
|
||||
* *
|
||||
* 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 O2DISPLAY_H
|
||||
#define O2DISPLAY_H
|
||||
|
||||
#include <imagedisplay.h>
|
||||
|
||||
/**
|
||||
@author Bastian Holst
|
||||
*/
|
||||
class o2Display : public ImageDisplay
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
o2Display(QObject *, const char *, const QStringList&);
|
||||
virtual ~o2Display();
|
||||
};
|
||||
|
||||
#endif
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -0,0 +1,15 @@
|
||||
# set the include path for X, qt and KDE
|
||||
INCLUDES = -I$(top_srcdir)/katapult/common $(all_includes)
|
||||
|
||||
# header files
|
||||
noinst_HEADERS = puredisplay.h
|
||||
|
||||
# use automoc
|
||||
METASOURCES = AUTO
|
||||
|
||||
# our plugin
|
||||
kde_module_LTLIBRARIES = katapult_puredisplay.la
|
||||
katapult_puredisplay_la_SOURCES = puredisplay.cpp
|
||||
katapult_puredisplay_la_LDFLAGS = -module $(KDE_RPATH) $(KDE_PLUGIN) $(all_libraries)
|
||||
katapult_puredisplay_la_LIBADD = $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) $(top_builddir)/katapult/common/libkatapult.la
|
||||
kde_services_DATA = katapult_puredisplay.desktop
|
Binary file not shown.
@ -0,0 +1,63 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Bastian Holst *
|
||||
* bastianholst@gmx.de *
|
||||
* *
|
||||
* 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 <kiconloader.h>
|
||||
#include <kgenericfactory.h>
|
||||
#include <qpixmap.h>
|
||||
|
||||
#include "puredisplay.h"
|
||||
#include "qembed_images.h"
|
||||
|
||||
K_EXPORT_COMPONENT_FACTORY( katapult_puredisplay,
|
||||
KGenericFactory<PureDisplay>( "katapult_puredisplay" ) )
|
||||
|
||||
#define WIDTH_SINGLE 228
|
||||
#define HEIGHT_SINGLE 220
|
||||
#define WIDTH_DOUBLE 392
|
||||
#define HEIGHT_DOUBLE 220
|
||||
|
||||
#define PADDING 7
|
||||
#define ICONSIZE 128
|
||||
|
||||
#define LEFTMARGIN 10
|
||||
#define TOPMARGIN 6
|
||||
#define RIGHTMARGIN 25
|
||||
#define BOTTOMMARGIN 40
|
||||
|
||||
PureDisplay::PureDisplay(QObject *parent, const char *name, const QStringList& list)
|
||||
: ImageDisplay(parent, name, list)
|
||||
{
|
||||
setSingleBG(new QPixmap(qembed_findImage("singlebg")));
|
||||
setDoubleBG(new QPixmap(qembed_findImage("doublebg")));
|
||||
|
||||
setSingleSize(WIDTH_SINGLE, HEIGHT_SINGLE);
|
||||
setDoubleSize(WIDTH_DOUBLE, HEIGHT_DOUBLE);
|
||||
|
||||
setMargin(LEFTMARGIN, TOPMARGIN, RIGHTMARGIN, BOTTOMMARGIN);
|
||||
setPadding(PADDING);
|
||||
setIconSize(ICONSIZE);
|
||||
}
|
||||
|
||||
PureDisplay::~PureDisplay()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
#include "puredisplay.moc"
|
@ -0,0 +1,36 @@
|
||||
/***************************************************************************
|
||||
* Copyright (C) 2005 by Bastian Holst *
|
||||
* bastianholst@gmx.de *
|
||||
* *
|
||||
* 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 PUREDISPLAY_H
|
||||
#define PUREDISPLAY_H
|
||||
|
||||
#include <imagedisplay.h>
|
||||
|
||||
/**
|
||||
@author Bastian Holst
|
||||
*/
|
||||
class PureDisplay : public ImageDisplay
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
PureDisplay(QObject *, const char *, const QStringList&);
|
||||
virtual ~PureDisplay();
|
||||
};
|
||||
|
||||
#endif
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -0,0 +1 @@
|
||||
SUBDIRS = $(AUTODIRS)
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = ar
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
@ -0,0 +1,479 @@
|
||||
# translation of katapult.po to Arabic
|
||||
#
|
||||
# محمد سعد Mohamed SAAD <metehyi@free.fr>, 2006.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: katapult\n"
|
||||
"POT-Creation-Date: 2006-06-08 11:22+0200\n"
|
||||
"PO-Revision-Date: 2006-09-04 19:48+0200\n"
|
||||
"Last-Translator: محمد سعد Mohamed SAAD <metehyi@free.fr>\n"
|
||||
"Language-Team: Arabic <ar@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: KBabel 1.11.2\n"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:50 rc.cpp:3
|
||||
#, no-c-format
|
||||
msgid "General Settings"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confcatalogs.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:67 katapult/katapultconfigdlg.cpp:157
|
||||
#: rc.cpp:62
|
||||
#, no-c-format
|
||||
msgid "Catalogs"
|
||||
msgstr ""
|
||||
|
||||
#: katapult/katapultconfigdlg.cpp:67
|
||||
msgid "Enabled Catalogs"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confdisplay.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:87 rc.cpp:59
|
||||
#, no-c-format
|
||||
msgid "Display"
|
||||
msgstr ""
|
||||
|
||||
#: katapult/main.cpp:31
|
||||
msgid ""
|
||||
"A plugin-driven utility that can launch applications, bookmarks, or anything "
|
||||
"else that you can find a plugin for."
|
||||
msgstr ""
|
||||
|
||||
#: katapult/main.cpp:42
|
||||
msgid "Katapult"
|
||||
msgstr "Katapult"
|
||||
|
||||
#: katapult/main.cpp:43
|
||||
msgid ""
|
||||
"(C) until 2005, Joe Ferris\n"
|
||||
"(C) 2005, the Katapult development team"
|
||||
msgstr ""
|
||||
"(C) until 2005, Joe Ferris\n"
|
||||
"(C) 2005, the Katapult development team"
|
||||
|
||||
#: katapult/main.cpp:44
|
||||
msgid "Project Manager"
|
||||
msgstr ""
|
||||
|
||||
#: katapult/main.cpp:45
|
||||
msgid "Lead Developer"
|
||||
msgstr ""
|
||||
|
||||
#: katapult/main.cpp:46
|
||||
msgid "Developer"
|
||||
msgstr ""
|
||||
|
||||
#: katapult/main.cpp:47
|
||||
msgid "Graphics"
|
||||
msgstr ""
|
||||
|
||||
#: katapult/main.cpp:50
|
||||
msgid "Original Author"
|
||||
msgstr "المؤلف الأصلي"
|
||||
|
||||
#: katapult/settings.cpp:93
|
||||
msgid "MyDialog1"
|
||||
msgstr ""
|
||||
|
||||
#: katapult/settings.cpp:95
|
||||
msgid "New Item"
|
||||
msgstr "بند جديد"
|
||||
|
||||
#: katapult/settings.cpp:96 katapult/settings.cpp:97
|
||||
msgid "Tab"
|
||||
msgstr "لسان"
|
||||
|
||||
#: katapult/settings.cpp:99
|
||||
msgid "F1"
|
||||
msgstr "F1"
|
||||
|
||||
#: katapult/katapult.cpp:83
|
||||
msgid ""
|
||||
"Application successfully started !\n"
|
||||
"Press %1 to use it..."
|
||||
msgstr ""
|
||||
|
||||
#: katapult/katapult.cpp:85
|
||||
msgid "Katapult Notification"
|
||||
msgstr ""
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Show Launcher"
|
||||
msgstr ""
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Shows the Katapult launcher"
|
||||
msgstr ""
|
||||
|
||||
#: katapult/katapult.cpp:129
|
||||
msgid "Execute"
|
||||
msgstr "نفًذ"
|
||||
|
||||
#: katapult/katapult.cpp:132
|
||||
msgid "Complete Query"
|
||||
msgstr ""
|
||||
|
||||
#: katapult/katapult.cpp:133
|
||||
msgid "Show Context Menu"
|
||||
msgstr ""
|
||||
|
||||
#: katapult/katapult.cpp:136
|
||||
msgid "Configure &Global Shortcuts..."
|
||||
msgstr ""
|
||||
|
||||
#: _translatorinfo.cpp:1
|
||||
msgid ""
|
||||
"_: NAME OF TRANSLATORS\n"
|
||||
"Your names"
|
||||
msgstr "محمد سعد Mohamed SAAD"
|
||||
|
||||
#: _translatorinfo.cpp:3
|
||||
msgid ""
|
||||
"_: EMAIL OF TRANSLATORS\n"
|
||||
"Your emails"
|
||||
msgstr "metehyi@free.fr"
|
||||
|
||||
#: common/imagedisplay.cpp:272
|
||||
msgid "No items matched."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 35
|
||||
#: rc.cpp:6
|
||||
#, no-c-format
|
||||
msgid "Executing Actions"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 46
|
||||
#: rc.cpp:9
|
||||
#, no-c-format
|
||||
msgid "Delay before hiding &launcher:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 52
|
||||
#: rc.cpp:12
|
||||
#, no-c-format
|
||||
msgid "How long Katapult waits before hiding the launcher"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 57
|
||||
#: rc.cpp:15
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"After an action is performed or no results were found, the Katapult launcher "
|
||||
"will be hidden.\n"
|
||||
"\n"
|
||||
"This sets how long Katapult will wait before hiding the launcher."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 88
|
||||
#: rc.cpp:20
|
||||
#, no-c-format
|
||||
msgid "Automatically perform &default action"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 91
|
||||
#: rc.cpp:23
|
||||
#, no-c-format
|
||||
msgid "Whether to wait for confirmation or automatically execute actions"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 94
|
||||
#: rc.cpp:26
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically perform the default action once all "
|
||||
"items but one have been eliminated. This avoids the extra keystroke after there "
|
||||
"is only one possibility."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 112
|
||||
#: rc.cpp:29
|
||||
#, no-c-format
|
||||
msgid "No Results"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 126
|
||||
#: rc.cpp:32
|
||||
#, no-c-format
|
||||
msgid "When there are no results:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 134
|
||||
#: rc.cpp:35
|
||||
#, no-c-format
|
||||
msgid "&Clear the query after a delay"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 142
|
||||
#: rc.cpp:38
|
||||
#, no-c-format
|
||||
msgid "&Hide the display after a delay"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 150
|
||||
#: rc.cpp:41
|
||||
#, no-c-format
|
||||
msgid "Do ¬hing"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 158
|
||||
#: rc.cpp:44
|
||||
#, no-c-format
|
||||
msgid "&Delay before clearing or hiding:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 202
|
||||
#: rc.cpp:47
|
||||
#, no-c-format
|
||||
msgid "System Tray"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 220
|
||||
#: rc.cpp:50
|
||||
#, no-c-format
|
||||
msgid "&Show an icon in the systray"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 223
|
||||
#: rc.cpp:53
|
||||
#, no-c-format
|
||||
msgid "If activated, katapult shows an icon in the System Tray when running"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 226
|
||||
#: rc.cpp:56
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically show an Icon in the System Tray."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 16
|
||||
#: rc.cpp:65 rc.cpp:83 rc.cpp:101 rc.cpp:113 rc.cpp:122 rc.cpp:131 rc.cpp:178
|
||||
#, no-c-format
|
||||
msgid "Settings"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 27
|
||||
#: rc.cpp:68
|
||||
#, no-c-format
|
||||
msgid "Length of fade-in/fade-out:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 58
|
||||
#: rc.cpp:71
|
||||
#, no-c-format
|
||||
msgid "Display Font"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 80
|
||||
#: rc.cpp:74
|
||||
#, no-c-format
|
||||
msgid "Font face:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 120
|
||||
#: rc.cpp:77
|
||||
#, no-c-format
|
||||
msgid "Minimum font size:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 160
|
||||
#: rc.cpp:80
|
||||
#, no-c-format
|
||||
msgid "Maximum font size:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 35
|
||||
#: rc.cpp:86 rc.cpp:104 rc.cpp:116 rc.cpp:181
|
||||
#, no-c-format
|
||||
msgid "Number of characters before searching:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 49
|
||||
#: rc.cpp:89 rc.cpp:107 rc.cpp:119 rc.cpp:184
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Katapult will not search for programs until you have typed at least this many "
|
||||
"characters in the Katapult launcher."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 59
|
||||
#: rc.cpp:92
|
||||
#, no-c-format
|
||||
msgid "Import Mozilla bookmarks"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 73
|
||||
#: rc.cpp:95
|
||||
#, no-c-format
|
||||
msgid "Automatically detect bookmark file"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 81
|
||||
#: rc.cpp:98
|
||||
#, no-c-format
|
||||
msgid "Use the following file:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/documentcatalog/settings.ui line 56
|
||||
#: rc.cpp:110
|
||||
#, no-c-format
|
||||
msgid "Show Preview for Documents?"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 32
|
||||
#: rc.cpp:125
|
||||
#, no-c-format
|
||||
msgid "Trigger Word:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 40
|
||||
#: rc.cpp:128
|
||||
#, no-c-format
|
||||
msgid "Use with: \"spell myword\""
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 35
|
||||
#: rc.cpp:134
|
||||
#, no-c-format
|
||||
msgid "Number of fractional digits:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 55
|
||||
#: rc.cpp:137
|
||||
#, no-c-format
|
||||
msgid "Katapult will show this number of fractional digits."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 84
|
||||
#: rc.cpp:141
|
||||
#, no-c-format
|
||||
msgid "Normal"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 87
|
||||
#: rc.cpp:144
|
||||
#, no-c-format
|
||||
msgid "In normal mode, katapult will never show an exponent on a number."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 95
|
||||
#: rc.cpp:147
|
||||
#, no-c-format
|
||||
msgid "Scientific"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 98
|
||||
#: rc.cpp:150
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"In scientific mode, katapult will show an exponent on very large or very small "
|
||||
"numbers."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 119
|
||||
#: rc.cpp:154
|
||||
#, no-c-format
|
||||
msgid "Radians"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 122
|
||||
#: rc.cpp:157
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in radians (2 pi radians is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 130
|
||||
#: rc.cpp:160
|
||||
#, no-c-format
|
||||
msgid "Degrees"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 133
|
||||
#: rc.cpp:163
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in degrees (360 degrees is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 145
|
||||
#: rc.cpp:166
|
||||
#, no-c-format
|
||||
msgid "Copy to clipboard on execute"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 151
|
||||
#: rc.cpp:169
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"katapult can copy the expression or the result of the expression to the "
|
||||
"clipboard if you press the key assigned to \"execute action\" (by default, this "
|
||||
"is Enter)."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 170
|
||||
#: rc.cpp:172
|
||||
#, no-c-format
|
||||
msgid "Copied text:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 188
|
||||
#: rc.cpp:175
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"<i>Hint:</i> %1 is replaced by the expression, %2 is replaced by the result"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 59
|
||||
#: rc.cpp:187
|
||||
#, no-c-format
|
||||
msgid "Ignore applications without icons"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 67
|
||||
#: rc.cpp:190
|
||||
#, no-c-format
|
||||
msgid "Ignore terminal applications"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 75
|
||||
#: rc.cpp:193
|
||||
#, no-c-format
|
||||
msgid "Catalog applications by executable name"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/bookmarkcatalog/actionopenbookmark.cpp:43
|
||||
msgid "Open Bookmark"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/amarokcatalog/actionplaysong.cpp:43
|
||||
msgid "Play Song"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/spellcatalog/actioncopyspelling.cpp:48
|
||||
msgid "Parse Error"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:87
|
||||
msgid ""
|
||||
"_: Should be short, easy and quick to type\n"
|
||||
"spell"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:102
|
||||
msgid "Use with \"%1 myword\""
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/calculatorcatalog/actionevalexpr.cpp:109
|
||||
msgid "Evaluate Expression"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/programcatalog/actionrunprogram.cpp:43
|
||||
msgid "Run Program"
|
||||
msgstr ""
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = bg
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = br
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = ca
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
@ -0,0 +1,479 @@
|
||||
# translation of katapult.po to Catalan
|
||||
#
|
||||
# Albert Astals Cid <aacid@kde.org>, 2006.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: katapult\n"
|
||||
"POT-Creation-Date: 2006-06-08 11:22+0200\n"
|
||||
"PO-Revision-Date: 2006-05-28 23:18+0200\n"
|
||||
"Last-Translator: Albert Astals Cid <aacid@kde.org>\n"
|
||||
"Language-Team: Catalan <kde-i18n-ca@kde.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: KBabel 1.11.2\n"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:50 rc.cpp:3
|
||||
#, no-c-format
|
||||
msgid "General Settings"
|
||||
msgstr "Paràmetres generals"
|
||||
|
||||
#. i18n: file ./katapult/confcatalogs.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:67 katapult/katapultconfigdlg.cpp:157
|
||||
#: rc.cpp:62
|
||||
#, no-c-format
|
||||
msgid "Catalogs"
|
||||
msgstr "Catàlegs"
|
||||
|
||||
#: katapult/katapultconfigdlg.cpp:67
|
||||
msgid "Enabled Catalogs"
|
||||
msgstr "Catàlegs habilitats"
|
||||
|
||||
#. i18n: file ./katapult/confdisplay.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:87 rc.cpp:59
|
||||
#, no-c-format
|
||||
msgid "Display"
|
||||
msgstr "Visor"
|
||||
|
||||
#: katapult/main.cpp:31
|
||||
msgid ""
|
||||
"A plugin-driven utility that can launch applications, bookmarks, or anything "
|
||||
"else that you can find a plugin for."
|
||||
msgstr ""
|
||||
|
||||
#: katapult/main.cpp:42
|
||||
msgid "Katapult"
|
||||
msgstr "Katapult"
|
||||
|
||||
#: katapult/main.cpp:43
|
||||
msgid ""
|
||||
"(C) until 2005, Joe Ferris\n"
|
||||
"(C) 2005, the Katapult development team"
|
||||
msgstr ""
|
||||
"(C) fins el 2005, Joe Ferris\n"
|
||||
"(C) 2005, l'equip de desenvolupament de Katapult"
|
||||
|
||||
#: katapult/main.cpp:44
|
||||
msgid "Project Manager"
|
||||
msgstr "Director del projecte"
|
||||
|
||||
#: katapult/main.cpp:45
|
||||
msgid "Lead Developer"
|
||||
msgstr "Desenvolupador líder"
|
||||
|
||||
#: katapult/main.cpp:46
|
||||
msgid "Developer"
|
||||
msgstr "Desenvolupador"
|
||||
|
||||
#: katapult/main.cpp:47
|
||||
msgid "Graphics"
|
||||
msgstr "Gràfics"
|
||||
|
||||
#: katapult/main.cpp:50
|
||||
msgid "Original Author"
|
||||
msgstr "Autor original"
|
||||
|
||||
#: katapult/settings.cpp:93
|
||||
msgid "MyDialog1"
|
||||
msgstr "MyDialog1"
|
||||
|
||||
#: katapult/settings.cpp:95
|
||||
msgid "New Item"
|
||||
msgstr "Ítem nou"
|
||||
|
||||
#: katapult/settings.cpp:96 katapult/settings.cpp:97
|
||||
msgid "Tab"
|
||||
msgstr "Tabulador"
|
||||
|
||||
#: katapult/settings.cpp:99
|
||||
msgid "F1"
|
||||
msgstr "F1"
|
||||
|
||||
#: katapult/katapult.cpp:83
|
||||
msgid ""
|
||||
"Application successfully started !\n"
|
||||
"Press %1 to use it..."
|
||||
msgstr ""
|
||||
|
||||
#: katapult/katapult.cpp:85
|
||||
msgid "Katapult Notification"
|
||||
msgstr ""
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Show Launcher"
|
||||
msgstr ""
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Shows the Katapult launcher"
|
||||
msgstr ""
|
||||
|
||||
#: katapult/katapult.cpp:129
|
||||
msgid "Execute"
|
||||
msgstr "Executa"
|
||||
|
||||
#: katapult/katapult.cpp:132
|
||||
msgid "Complete Query"
|
||||
msgstr ""
|
||||
|
||||
#: katapult/katapult.cpp:133
|
||||
msgid "Show Context Menu"
|
||||
msgstr "Mostra menú de context"
|
||||
|
||||
#: katapult/katapult.cpp:136
|
||||
msgid "Configure &Global Shortcuts..."
|
||||
msgstr "Configura dreceres &globals..."
|
||||
|
||||
#: _translatorinfo.cpp:1
|
||||
msgid ""
|
||||
"_: NAME OF TRANSLATORS\n"
|
||||
"Your names"
|
||||
msgstr "Albert Astals Cid"
|
||||
|
||||
#: _translatorinfo.cpp:3
|
||||
msgid ""
|
||||
"_: EMAIL OF TRANSLATORS\n"
|
||||
"Your emails"
|
||||
msgstr "aacid@kde.org"
|
||||
|
||||
#: common/imagedisplay.cpp:272
|
||||
msgid "No items matched."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 35
|
||||
#: rc.cpp:6
|
||||
#, no-c-format
|
||||
msgid "Executing Actions"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 46
|
||||
#: rc.cpp:9
|
||||
#, no-c-format
|
||||
msgid "Delay before hiding &launcher:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 52
|
||||
#: rc.cpp:12
|
||||
#, no-c-format
|
||||
msgid "How long Katapult waits before hiding the launcher"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 57
|
||||
#: rc.cpp:15
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"After an action is performed or no results were found, the Katapult launcher "
|
||||
"will be hidden.\n"
|
||||
"\n"
|
||||
"This sets how long Katapult will wait before hiding the launcher."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 88
|
||||
#: rc.cpp:20
|
||||
#, no-c-format
|
||||
msgid "Automatically perform &default action"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 91
|
||||
#: rc.cpp:23
|
||||
#, no-c-format
|
||||
msgid "Whether to wait for confirmation or automatically execute actions"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 94
|
||||
#: rc.cpp:26
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically perform the default action once all "
|
||||
"items but one have been eliminated. This avoids the extra keystroke after there "
|
||||
"is only one possibility."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 112
|
||||
#: rc.cpp:29
|
||||
#, no-c-format
|
||||
msgid "No Results"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 126
|
||||
#: rc.cpp:32
|
||||
#, no-c-format
|
||||
msgid "When there are no results:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 134
|
||||
#: rc.cpp:35
|
||||
#, no-c-format
|
||||
msgid "&Clear the query after a delay"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 142
|
||||
#: rc.cpp:38
|
||||
#, no-c-format
|
||||
msgid "&Hide the display after a delay"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 150
|
||||
#: rc.cpp:41
|
||||
#, no-c-format
|
||||
msgid "Do ¬hing"
|
||||
msgstr "&No facis res"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 158
|
||||
#: rc.cpp:44
|
||||
#, no-c-format
|
||||
msgid "&Delay before clearing or hiding:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 202
|
||||
#: rc.cpp:47
|
||||
#, no-c-format
|
||||
msgid "System Tray"
|
||||
msgstr "Safata del sistema"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 220
|
||||
#: rc.cpp:50
|
||||
#, no-c-format
|
||||
msgid "&Show an icon in the systray"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 223
|
||||
#: rc.cpp:53
|
||||
#, no-c-format
|
||||
msgid "If activated, katapult shows an icon in the System Tray when running"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 226
|
||||
#: rc.cpp:56
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically show an Icon in the System Tray."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 16
|
||||
#: rc.cpp:65 rc.cpp:83 rc.cpp:101 rc.cpp:113 rc.cpp:122 rc.cpp:131 rc.cpp:178
|
||||
#, no-c-format
|
||||
msgid "Settings"
|
||||
msgstr "Arranjament"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 27
|
||||
#: rc.cpp:68
|
||||
#, no-c-format
|
||||
msgid "Length of fade-in/fade-out:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 58
|
||||
#: rc.cpp:71
|
||||
#, no-c-format
|
||||
msgid "Display Font"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 80
|
||||
#: rc.cpp:74
|
||||
#, no-c-format
|
||||
msgid "Font face:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 120
|
||||
#: rc.cpp:77
|
||||
#, no-c-format
|
||||
msgid "Minimum font size:"
|
||||
msgstr "Mida de font mínima:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 160
|
||||
#: rc.cpp:80
|
||||
#, no-c-format
|
||||
msgid "Maximum font size:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 35
|
||||
#: rc.cpp:86 rc.cpp:104 rc.cpp:116 rc.cpp:181
|
||||
#, no-c-format
|
||||
msgid "Number of characters before searching:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 49
|
||||
#: rc.cpp:89 rc.cpp:107 rc.cpp:119 rc.cpp:184
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Katapult will not search for programs until you have typed at least this many "
|
||||
"characters in the Katapult launcher."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 59
|
||||
#: rc.cpp:92
|
||||
#, no-c-format
|
||||
msgid "Import Mozilla bookmarks"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 73
|
||||
#: rc.cpp:95
|
||||
#, no-c-format
|
||||
msgid "Automatically detect bookmark file"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 81
|
||||
#: rc.cpp:98
|
||||
#, no-c-format
|
||||
msgid "Use the following file:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/documentcatalog/settings.ui line 56
|
||||
#: rc.cpp:110
|
||||
#, no-c-format
|
||||
msgid "Show Preview for Documents?"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 32
|
||||
#: rc.cpp:125
|
||||
#, no-c-format
|
||||
msgid "Trigger Word:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 40
|
||||
#: rc.cpp:128
|
||||
#, no-c-format
|
||||
msgid "Use with: \"spell myword\""
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 35
|
||||
#: rc.cpp:134
|
||||
#, no-c-format
|
||||
msgid "Number of fractional digits:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 55
|
||||
#: rc.cpp:137
|
||||
#, no-c-format
|
||||
msgid "Katapult will show this number of fractional digits."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 84
|
||||
#: rc.cpp:141
|
||||
#, no-c-format
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 87
|
||||
#: rc.cpp:144
|
||||
#, no-c-format
|
||||
msgid "In normal mode, katapult will never show an exponent on a number."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 95
|
||||
#: rc.cpp:147
|
||||
#, no-c-format
|
||||
msgid "Scientific"
|
||||
msgstr "Científica"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 98
|
||||
#: rc.cpp:150
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"In scientific mode, katapult will show an exponent on very large or very small "
|
||||
"numbers."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 119
|
||||
#: rc.cpp:154
|
||||
#, no-c-format
|
||||
msgid "Radians"
|
||||
msgstr "Radians"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 122
|
||||
#: rc.cpp:157
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in radians (2 pi radians is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 130
|
||||
#: rc.cpp:160
|
||||
#, no-c-format
|
||||
msgid "Degrees"
|
||||
msgstr "Graus"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 133
|
||||
#: rc.cpp:163
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in degrees (360 degrees is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 145
|
||||
#: rc.cpp:166
|
||||
#, no-c-format
|
||||
msgid "Copy to clipboard on execute"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 151
|
||||
#: rc.cpp:169
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"katapult can copy the expression or the result of the expression to the "
|
||||
"clipboard if you press the key assigned to \"execute action\" (by default, this "
|
||||
"is Enter)."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 170
|
||||
#: rc.cpp:172
|
||||
#, no-c-format
|
||||
msgid "Copied text:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 188
|
||||
#: rc.cpp:175
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"<i>Hint:</i> %1 is replaced by the expression, %2 is replaced by the result"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 59
|
||||
#: rc.cpp:187
|
||||
#, no-c-format
|
||||
msgid "Ignore applications without icons"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 67
|
||||
#: rc.cpp:190
|
||||
#, no-c-format
|
||||
msgid "Ignore terminal applications"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 75
|
||||
#: rc.cpp:193
|
||||
#, no-c-format
|
||||
msgid "Catalog applications by executable name"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/bookmarkcatalog/actionopenbookmark.cpp:43
|
||||
msgid "Open Bookmark"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/amarokcatalog/actionplaysong.cpp:43
|
||||
msgid "Play Song"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/spellcatalog/actioncopyspelling.cpp:48
|
||||
msgid "Parse Error"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:87
|
||||
msgid ""
|
||||
"_: Should be short, easy and quick to type\n"
|
||||
"spell"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:102
|
||||
msgid "Use with \"%1 myword\""
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/calculatorcatalog/actionevalexpr.cpp:109
|
||||
msgid "Evaluate Expression"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/programcatalog/actionrunprogram.cpp:43
|
||||
msgid "Run Program"
|
||||
msgstr ""
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = cs
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
@ -0,0 +1,478 @@
|
||||
# translation of katapult.po to cs_CZ
|
||||
# Klara Cihlarova <koty@seznam.cz>, 2006.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: katapult\n"
|
||||
"POT-Creation-Date: 2006-06-08 11:22+0200\n"
|
||||
"PO-Revision-Date: 2006-04-19 16:38+0200\n"
|
||||
"Last-Translator: Klara Cihlarova <koty@seznam.cz>\n"
|
||||
"Language-Team: cs_CZ <cs@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: KBabel 1.10.2\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:50 rc.cpp:3
|
||||
#, no-c-format
|
||||
msgid "General Settings"
|
||||
msgstr "Obecná nastavení"
|
||||
|
||||
#. i18n: file ./katapult/confcatalogs.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:67 katapult/katapultconfigdlg.cpp:157
|
||||
#: rc.cpp:62
|
||||
#, no-c-format
|
||||
msgid "Catalogs"
|
||||
msgstr "Katalogy"
|
||||
|
||||
#: katapult/katapultconfigdlg.cpp:67
|
||||
msgid "Enabled Catalogs"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confdisplay.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:87 rc.cpp:59
|
||||
#, no-c-format
|
||||
msgid "Display"
|
||||
msgstr "Zobrazení"
|
||||
|
||||
#: katapult/main.cpp:31
|
||||
msgid ""
|
||||
"A plugin-driven utility that can launch applications, bookmarks, or anything "
|
||||
"else that you can find a plugin for."
|
||||
msgstr ""
|
||||
|
||||
#: katapult/main.cpp:42
|
||||
msgid "Katapult"
|
||||
msgstr ""
|
||||
|
||||
#: katapult/main.cpp:43
|
||||
msgid ""
|
||||
"(C) until 2005, Joe Ferris\n"
|
||||
"(C) 2005, the Katapult development team"
|
||||
msgstr ""
|
||||
|
||||
#: katapult/main.cpp:44
|
||||
msgid "Project Manager"
|
||||
msgstr ""
|
||||
|
||||
#: katapult/main.cpp:45
|
||||
msgid "Lead Developer"
|
||||
msgstr "Hlavní vývojář"
|
||||
|
||||
#: katapult/main.cpp:46
|
||||
msgid "Developer"
|
||||
msgstr "Vývojář"
|
||||
|
||||
#: katapult/main.cpp:47
|
||||
msgid "Graphics"
|
||||
msgstr "Grafika"
|
||||
|
||||
#: katapult/main.cpp:50
|
||||
msgid "Original Author"
|
||||
msgstr "Původní autor"
|
||||
|
||||
#: katapult/settings.cpp:93
|
||||
msgid "MyDialog1"
|
||||
msgstr "MyDialog1"
|
||||
|
||||
#: katapult/settings.cpp:95
|
||||
msgid "New Item"
|
||||
msgstr "Nová položka"
|
||||
|
||||
#: katapult/settings.cpp:96 katapult/settings.cpp:97
|
||||
msgid "Tab"
|
||||
msgstr "Tabulátor"
|
||||
|
||||
#: katapult/settings.cpp:99
|
||||
msgid "F1"
|
||||
msgstr "F1"
|
||||
|
||||
#: katapult/katapult.cpp:83
|
||||
msgid ""
|
||||
"Application successfully started !\n"
|
||||
"Press %1 to use it..."
|
||||
msgstr ""
|
||||
|
||||
#: katapult/katapult.cpp:85
|
||||
msgid "Katapult Notification"
|
||||
msgstr ""
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Show Launcher"
|
||||
msgstr ""
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Shows the Katapult launcher"
|
||||
msgstr ""
|
||||
|
||||
#: katapult/katapult.cpp:129
|
||||
msgid "Execute"
|
||||
msgstr "Vykonat"
|
||||
|
||||
#: katapult/katapult.cpp:132
|
||||
msgid "Complete Query"
|
||||
msgstr ""
|
||||
|
||||
#: katapult/katapult.cpp:133
|
||||
msgid "Show Context Menu"
|
||||
msgstr ""
|
||||
|
||||
#: katapult/katapult.cpp:136
|
||||
msgid "Configure &Global Shortcuts..."
|
||||
msgstr "Nastavit &globální zkratky..."
|
||||
|
||||
#: _translatorinfo.cpp:1
|
||||
msgid ""
|
||||
"_: NAME OF TRANSLATORS\n"
|
||||
"Your names"
|
||||
msgstr "Klára Cihlářová"
|
||||
|
||||
#: _translatorinfo.cpp:3
|
||||
msgid ""
|
||||
"_: EMAIL OF TRANSLATORS\n"
|
||||
"Your emails"
|
||||
msgstr "koty@seznam.cz"
|
||||
|
||||
#: common/imagedisplay.cpp:272
|
||||
msgid "No items matched."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 35
|
||||
#: rc.cpp:6
|
||||
#, no-c-format
|
||||
msgid "Executing Actions"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 46
|
||||
#: rc.cpp:9
|
||||
#, no-c-format
|
||||
msgid "Delay before hiding &launcher:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 52
|
||||
#: rc.cpp:12
|
||||
#, no-c-format
|
||||
msgid "How long Katapult waits before hiding the launcher"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 57
|
||||
#: rc.cpp:15
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"After an action is performed or no results were found, the Katapult launcher "
|
||||
"will be hidden.\n"
|
||||
"\n"
|
||||
"This sets how long Katapult will wait before hiding the launcher."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 88
|
||||
#: rc.cpp:20
|
||||
#, no-c-format
|
||||
msgid "Automatically perform &default action"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 91
|
||||
#: rc.cpp:23
|
||||
#, no-c-format
|
||||
msgid "Whether to wait for confirmation or automatically execute actions"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 94
|
||||
#: rc.cpp:26
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically perform the default action once all "
|
||||
"items but one have been eliminated. This avoids the extra keystroke after there "
|
||||
"is only one possibility."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 112
|
||||
#: rc.cpp:29
|
||||
#, no-c-format
|
||||
msgid "No Results"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 126
|
||||
#: rc.cpp:32
|
||||
#, no-c-format
|
||||
msgid "When there are no results:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 134
|
||||
#: rc.cpp:35
|
||||
#, no-c-format
|
||||
msgid "&Clear the query after a delay"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 142
|
||||
#: rc.cpp:38
|
||||
#, no-c-format
|
||||
msgid "&Hide the display after a delay"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 150
|
||||
#: rc.cpp:41
|
||||
#, no-c-format
|
||||
msgid "Do ¬hing"
|
||||
msgstr "&Nedělat nic"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 158
|
||||
#: rc.cpp:44
|
||||
#, no-c-format
|
||||
msgid "&Delay before clearing or hiding:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 202
|
||||
#: rc.cpp:47
|
||||
#, no-c-format
|
||||
msgid "System Tray"
|
||||
msgstr "Systémová část panelu"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 220
|
||||
#: rc.cpp:50
|
||||
#, no-c-format
|
||||
msgid "&Show an icon in the systray"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 223
|
||||
#: rc.cpp:53
|
||||
#, no-c-format
|
||||
msgid "If activated, katapult shows an icon in the System Tray when running"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 226
|
||||
#: rc.cpp:56
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically show an Icon in the System Tray."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 16
|
||||
#: rc.cpp:65 rc.cpp:83 rc.cpp:101 rc.cpp:113 rc.cpp:122 rc.cpp:131 rc.cpp:178
|
||||
#, no-c-format
|
||||
msgid "Settings"
|
||||
msgstr "Nastavení"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 27
|
||||
#: rc.cpp:68
|
||||
#, no-c-format
|
||||
msgid "Length of fade-in/fade-out:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 58
|
||||
#: rc.cpp:71
|
||||
#, no-c-format
|
||||
msgid "Display Font"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 80
|
||||
#: rc.cpp:74
|
||||
#, no-c-format
|
||||
msgid "Font face:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 120
|
||||
#: rc.cpp:77
|
||||
#, no-c-format
|
||||
msgid "Minimum font size:"
|
||||
msgstr "Minimální velikost písma:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 160
|
||||
#: rc.cpp:80
|
||||
#, no-c-format
|
||||
msgid "Maximum font size:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 35
|
||||
#: rc.cpp:86 rc.cpp:104 rc.cpp:116 rc.cpp:181
|
||||
#, no-c-format
|
||||
msgid "Number of characters before searching:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 49
|
||||
#: rc.cpp:89 rc.cpp:107 rc.cpp:119 rc.cpp:184
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Katapult will not search for programs until you have typed at least this many "
|
||||
"characters in the Katapult launcher."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 59
|
||||
#: rc.cpp:92
|
||||
#, no-c-format
|
||||
msgid "Import Mozilla bookmarks"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 73
|
||||
#: rc.cpp:95
|
||||
#, no-c-format
|
||||
msgid "Automatically detect bookmark file"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 81
|
||||
#: rc.cpp:98
|
||||
#, no-c-format
|
||||
msgid "Use the following file:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/documentcatalog/settings.ui line 56
|
||||
#: rc.cpp:110
|
||||
#, no-c-format
|
||||
msgid "Show Preview for Documents?"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 32
|
||||
#: rc.cpp:125
|
||||
#, no-c-format
|
||||
msgid "Trigger Word:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 40
|
||||
#: rc.cpp:128
|
||||
#, no-c-format
|
||||
msgid "Use with: \"spell myword\""
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 35
|
||||
#: rc.cpp:134
|
||||
#, no-c-format
|
||||
msgid "Number of fractional digits:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 55
|
||||
#: rc.cpp:137
|
||||
#, no-c-format
|
||||
msgid "Katapult will show this number of fractional digits."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 84
|
||||
#: rc.cpp:141
|
||||
#, no-c-format
|
||||
msgid "Normal"
|
||||
msgstr "Normální"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 87
|
||||
#: rc.cpp:144
|
||||
#, no-c-format
|
||||
msgid "In normal mode, katapult will never show an exponent on a number."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 95
|
||||
#: rc.cpp:147
|
||||
#, no-c-format
|
||||
msgid "Scientific"
|
||||
msgstr "Vědecký"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 98
|
||||
#: rc.cpp:150
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"In scientific mode, katapult will show an exponent on very large or very small "
|
||||
"numbers."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 119
|
||||
#: rc.cpp:154
|
||||
#, no-c-format
|
||||
msgid "Radians"
|
||||
msgstr "Radiány"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 122
|
||||
#: rc.cpp:157
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in radians (2 pi radians is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 130
|
||||
#: rc.cpp:160
|
||||
#, no-c-format
|
||||
msgid "Degrees"
|
||||
msgstr "Stupně"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 133
|
||||
#: rc.cpp:163
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in degrees (360 degrees is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 145
|
||||
#: rc.cpp:166
|
||||
#, no-c-format
|
||||
msgid "Copy to clipboard on execute"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 151
|
||||
#: rc.cpp:169
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"katapult can copy the expression or the result of the expression to the "
|
||||
"clipboard if you press the key assigned to \"execute action\" (by default, this "
|
||||
"is Enter)."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 170
|
||||
#: rc.cpp:172
|
||||
#, no-c-format
|
||||
msgid "Copied text:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 188
|
||||
#: rc.cpp:175
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"<i>Hint:</i> %1 is replaced by the expression, %2 is replaced by the result"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 59
|
||||
#: rc.cpp:187
|
||||
#, no-c-format
|
||||
msgid "Ignore applications without icons"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 67
|
||||
#: rc.cpp:190
|
||||
#, no-c-format
|
||||
msgid "Ignore terminal applications"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 75
|
||||
#: rc.cpp:193
|
||||
#, no-c-format
|
||||
msgid "Catalog applications by executable name"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/bookmarkcatalog/actionopenbookmark.cpp:43
|
||||
msgid "Open Bookmark"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/amarokcatalog/actionplaysong.cpp:43
|
||||
msgid "Play Song"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/spellcatalog/actioncopyspelling.cpp:48
|
||||
msgid "Parse Error"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:87
|
||||
msgid ""
|
||||
"_: Should be short, easy and quick to type\n"
|
||||
"spell"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:102
|
||||
msgid "Use with \"%1 myword\""
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/calculatorcatalog/actionevalexpr.cpp:109
|
||||
msgid "Evaluate Expression"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/programcatalog/actionrunprogram.cpp:43
|
||||
msgid "Run Program"
|
||||
msgstr ""
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = da
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
@ -0,0 +1,502 @@
|
||||
# Danish translation of katapult
|
||||
#
|
||||
# Erik Kjær Pedersen <erik@binghamton.edu>, 2006.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: katapult\n"
|
||||
"POT-Creation-Date: 2006-06-08 11:22+0200\n"
|
||||
"PO-Revision-Date: 2006-06-09 10:46-0400\n"
|
||||
"Last-Translator: Erik Kjær Pedersen <erik@binghamton.edu>\n"
|
||||
"Language-Team: Danish <dansk@klid.dk>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: KBabel 1.11.2\n"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:50 rc.cpp:3
|
||||
#, no-c-format
|
||||
msgid "General Settings"
|
||||
msgstr "Generel opsætning"
|
||||
|
||||
#. i18n: file ./katapult/confcatalogs.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:67 katapult/katapultconfigdlg.cpp:157
|
||||
#: rc.cpp:62
|
||||
#, no-c-format
|
||||
msgid "Catalogs"
|
||||
msgstr "Kataloger"
|
||||
|
||||
#: katapult/katapultconfigdlg.cpp:67
|
||||
msgid "Enabled Catalogs"
|
||||
msgstr "Aktiverede mapper"
|
||||
|
||||
#. i18n: file ./katapult/confdisplay.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:87 rc.cpp:59
|
||||
#, no-c-format
|
||||
msgid "Display"
|
||||
msgstr "Vis"
|
||||
|
||||
#: katapult/main.cpp:31
|
||||
msgid ""
|
||||
"A plugin-driven utility that can launch applications, bookmarks, or anything "
|
||||
"else that you can find a plugin for."
|
||||
msgstr ""
|
||||
"Et plugin-drevet redskab som kan starte programmer, vise bogmærker eller hvad "
|
||||
"som helst andet som du kan finde et plugin for."
|
||||
|
||||
#: katapult/main.cpp:42
|
||||
msgid "Katapult"
|
||||
msgstr "Katapult"
|
||||
|
||||
#: katapult/main.cpp:43
|
||||
msgid ""
|
||||
"(C) until 2005, Joe Ferris\n"
|
||||
"(C) 2005, the Katapult development team"
|
||||
msgstr ""
|
||||
"© til 2005, Joe Ferris\n"
|
||||
"© 2005, Katapult-udviklingsholdet"
|
||||
|
||||
#: katapult/main.cpp:44
|
||||
msgid "Project Manager"
|
||||
msgstr "Projektleder"
|
||||
|
||||
#: katapult/main.cpp:45
|
||||
msgid "Lead Developer"
|
||||
msgstr "Hovedudvikler"
|
||||
|
||||
#: katapult/main.cpp:46
|
||||
msgid "Developer"
|
||||
msgstr "Udvikler"
|
||||
|
||||
#: katapult/main.cpp:47
|
||||
msgid "Graphics"
|
||||
msgstr "Grafik"
|
||||
|
||||
#: katapult/main.cpp:50
|
||||
msgid "Original Author"
|
||||
msgstr "Oprindelig forfatter"
|
||||
|
||||
#: katapult/settings.cpp:93
|
||||
msgid "MyDialog1"
|
||||
msgstr "MyDialog1"
|
||||
|
||||
#: katapult/settings.cpp:95
|
||||
msgid "New Item"
|
||||
msgstr "Nyt punkt"
|
||||
|
||||
#: katapult/settings.cpp:96 katapult/settings.cpp:97
|
||||
msgid "Tab"
|
||||
msgstr "Faneblad"
|
||||
|
||||
#: katapult/settings.cpp:99
|
||||
msgid "F1"
|
||||
msgstr "F1"
|
||||
|
||||
#: katapult/katapult.cpp:83
|
||||
msgid ""
|
||||
"Application successfully started !\n"
|
||||
"Press %1 to use it..."
|
||||
msgstr ""
|
||||
"Programmet startet med godt resultat.\n"
|
||||
"Tryk på %1 for at bruge det..."
|
||||
|
||||
#: katapult/katapult.cpp:85
|
||||
msgid "Katapult Notification"
|
||||
msgstr "Underretninger fra Katapult"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Show Launcher"
|
||||
msgstr "Vis startværktøj"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Shows the Katapult launcher"
|
||||
msgstr "Viser startværktøjet Katapult"
|
||||
|
||||
#: katapult/katapult.cpp:129
|
||||
msgid "Execute"
|
||||
msgstr "Kør"
|
||||
|
||||
#: katapult/katapult.cpp:132
|
||||
msgid "Complete Query"
|
||||
msgstr "Fuldstændig forespørgsel"
|
||||
|
||||
#: katapult/katapult.cpp:133
|
||||
msgid "Show Context Menu"
|
||||
msgstr "Vis s&ammenhængs menu"
|
||||
|
||||
#: katapult/katapult.cpp:136
|
||||
msgid "Configure &Global Shortcuts..."
|
||||
msgstr "Indstil &globale genveje..."
|
||||
|
||||
#: _translatorinfo.cpp:1
|
||||
msgid ""
|
||||
"_: NAME OF TRANSLATORS\n"
|
||||
"Your names"
|
||||
msgstr "Erik Kjær Pedersen"
|
||||
|
||||
#: _translatorinfo.cpp:3
|
||||
msgid ""
|
||||
"_: EMAIL OF TRANSLATORS\n"
|
||||
"Your emails"
|
||||
msgstr "erik@binghamton.edu"
|
||||
|
||||
#: common/imagedisplay.cpp:272
|
||||
msgid "No items matched."
|
||||
msgstr "Ingen punkter matchede."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 35
|
||||
#: rc.cpp:6
|
||||
#, no-c-format
|
||||
msgid "Executing Actions"
|
||||
msgstr "Udfør handlinger"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 46
|
||||
#: rc.cpp:9
|
||||
#, no-c-format
|
||||
msgid "Delay before hiding &launcher:"
|
||||
msgstr "Forsinkelse inden start&værktøjet skjules:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 52
|
||||
#: rc.cpp:12
|
||||
#, no-c-format
|
||||
msgid "How long Katapult waits before hiding the launcher"
|
||||
msgstr "Hvor længe Katapult venter inden startværktøjet skjules"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 57
|
||||
#: rc.cpp:15
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"After an action is performed or no results were found, the Katapult launcher "
|
||||
"will be hidden.\n"
|
||||
"\n"
|
||||
"This sets how long Katapult will wait before hiding the launcher."
|
||||
msgstr ""
|
||||
"Efter en handling er udført eller ingen resultater blev fundet, skjules "
|
||||
"startværktøjet Katapult.\n"
|
||||
"\n"
|
||||
"Dette angiver hvor længe Katapult venter inden startværktøjet skjules."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 88
|
||||
#: rc.cpp:20
|
||||
#, no-c-format
|
||||
msgid "Automatically perform &default action"
|
||||
msgstr "Udfør s&tandardhandling automatisk"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 91
|
||||
#: rc.cpp:23
|
||||
#, no-c-format
|
||||
msgid "Whether to wait for confirmation or automatically execute actions"
|
||||
msgstr ""
|
||||
"Om der skal ventes på bekræftelse eller handlinger automatisk skal udføres"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 94
|
||||
#: rc.cpp:26
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically perform the default action once all "
|
||||
"items but one have been eliminated. This avoids the extra keystroke after there "
|
||||
"is only one possibility."
|
||||
msgstr ""
|
||||
"Hvis aktiveret, udfører Katapult automatisk standardhandlingen når alle punkter "
|
||||
"undtagen et er elimineret. Dette undgår et ekstra tastetryk når der kun er én "
|
||||
"mulighed."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 112
|
||||
#: rc.cpp:29
|
||||
#, no-c-format
|
||||
msgid "No Results"
|
||||
msgstr "Ingen resultater"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 126
|
||||
#: rc.cpp:32
|
||||
#, no-c-format
|
||||
msgid "When there are no results:"
|
||||
msgstr "Når der ikke er nogen resultater:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 134
|
||||
#: rc.cpp:35
|
||||
#, no-c-format
|
||||
msgid "&Clear the query after a delay"
|
||||
msgstr "&Ryd forespørgsel efter en forsinkelse"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 142
|
||||
#: rc.cpp:38
|
||||
#, no-c-format
|
||||
msgid "&Hide the display after a delay"
|
||||
msgstr "S&kjul skærmen efter en forsinkelse"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 150
|
||||
#: rc.cpp:41
|
||||
#, no-c-format
|
||||
msgid "Do ¬hing"
|
||||
msgstr "Gør &ingenting"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 158
|
||||
#: rc.cpp:44
|
||||
#, no-c-format
|
||||
msgid "&Delay before clearing or hiding:"
|
||||
msgstr "&Forsinkelse inden der ryddes eller skjules:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 202
|
||||
#: rc.cpp:47
|
||||
#, no-c-format
|
||||
msgid "System Tray"
|
||||
msgstr "Statusfelt"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 220
|
||||
#: rc.cpp:50
|
||||
#, no-c-format
|
||||
msgid "&Show an icon in the systray"
|
||||
msgstr "&Vis en ikon i statusfeltet"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 223
|
||||
#: rc.cpp:53
|
||||
#, no-c-format
|
||||
msgid "If activated, katapult shows an icon in the System Tray when running"
|
||||
msgstr "Hvis aktiveret, viser Katapult en ikon i statusfeltet når det kører"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 226
|
||||
#: rc.cpp:56
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically show an Icon in the System Tray."
|
||||
msgstr "Hvis aktiveret, viser Katapult automatisk en ikon i statusfeltet."
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 16
|
||||
#: rc.cpp:65 rc.cpp:83 rc.cpp:101 rc.cpp:113 rc.cpp:122 rc.cpp:131 rc.cpp:178
|
||||
#, no-c-format
|
||||
msgid "Settings"
|
||||
msgstr "Opsætning"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 27
|
||||
#: rc.cpp:68
|
||||
#, no-c-format
|
||||
msgid "Length of fade-in/fade-out:"
|
||||
msgstr "Længde for tone ind og ud:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 58
|
||||
#: rc.cpp:71
|
||||
#, no-c-format
|
||||
msgid "Display Font"
|
||||
msgstr "Vis skrifttype"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 80
|
||||
#: rc.cpp:74
|
||||
#, no-c-format
|
||||
msgid "Font face:"
|
||||
msgstr "Skrifttypestil:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 120
|
||||
#: rc.cpp:77
|
||||
#, no-c-format
|
||||
msgid "Minimum font size:"
|
||||
msgstr "Minimal tegnstørrelse:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 160
|
||||
#: rc.cpp:80
|
||||
#, no-c-format
|
||||
msgid "Maximum font size:"
|
||||
msgstr "Maksimal tegnstørrelse:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 35
|
||||
#: rc.cpp:86 rc.cpp:104 rc.cpp:116 rc.cpp:181
|
||||
#, no-c-format
|
||||
msgid "Number of characters before searching:"
|
||||
msgstr "Antal tegn inden søgning:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 49
|
||||
#: rc.cpp:89 rc.cpp:107 rc.cpp:119 rc.cpp:184
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Katapult will not search for programs until you have typed at least this many "
|
||||
"characters in the Katapult launcher."
|
||||
msgstr ""
|
||||
"Katapult søger ikke efter programmer før du har skrevet mindst så mange tegn i "
|
||||
"Katapults startværktøj."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 59
|
||||
#: rc.cpp:92
|
||||
#, no-c-format
|
||||
msgid "Import Mozilla bookmarks"
|
||||
msgstr "Importér bogmærker fra Mozilla"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 73
|
||||
#: rc.cpp:95
|
||||
#, no-c-format
|
||||
msgid "Automatically detect bookmark file"
|
||||
msgstr "Detektér bogmærkesfil automatisk"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 81
|
||||
#: rc.cpp:98
|
||||
#, no-c-format
|
||||
msgid "Use the following file:"
|
||||
msgstr "Brug følgende fil:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/documentcatalog/settings.ui line 56
|
||||
#: rc.cpp:110
|
||||
#, no-c-format
|
||||
msgid "Show Preview for Documents?"
|
||||
msgstr "Vis forhåndsvisning af dokument?"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 32
|
||||
#: rc.cpp:125
|
||||
#, no-c-format
|
||||
msgid "Trigger Word:"
|
||||
msgstr "Udløsende ord:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 40
|
||||
#: rc.cpp:128
|
||||
#, no-c-format
|
||||
msgid "Use with: \"spell myword\""
|
||||
msgstr "Brug med: \"stav mit-ord\""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 35
|
||||
#: rc.cpp:134
|
||||
#, no-c-format
|
||||
msgid "Number of fractional digits:"
|
||||
msgstr "Antal decimalcifre:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 55
|
||||
#: rc.cpp:137
|
||||
#, no-c-format
|
||||
msgid "Katapult will show this number of fractional digits."
|
||||
msgstr "Katapult viser så mange decimale cifre."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 84
|
||||
#: rc.cpp:141
|
||||
#, no-c-format
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 87
|
||||
#: rc.cpp:144
|
||||
#, no-c-format
|
||||
msgid "In normal mode, katapult will never show an exponent on a number."
|
||||
msgstr "I normaltilstand viser Katapult aldrig en eksponent for et tal."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 95
|
||||
#: rc.cpp:147
|
||||
#, no-c-format
|
||||
msgid "Scientific"
|
||||
msgstr "Videnskabelig"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 98
|
||||
#: rc.cpp:150
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"In scientific mode, katapult will show an exponent on very large or very small "
|
||||
"numbers."
|
||||
msgstr ""
|
||||
"I videnskabelig tilstand, viser Katapult en eksponent for meget store eller "
|
||||
"meget små tal."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 119
|
||||
#: rc.cpp:154
|
||||
#, no-c-format
|
||||
msgid "Radians"
|
||||
msgstr "Radianer"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 122
|
||||
#: rc.cpp:157
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in radians (2 pi radians is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
"Trigonometriske funktioner forventer og returnerer vinkler i radianer (2 pi "
|
||||
"radianer er en hel cirkel)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 130
|
||||
#: rc.cpp:160
|
||||
#, no-c-format
|
||||
msgid "Degrees"
|
||||
msgstr "Grader"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 133
|
||||
#: rc.cpp:163
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in degrees (360 degrees is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
"Trigonometriske funktioner forventer og returnerer vinkler i grader (360 grader "
|
||||
"er en hel cirkel)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 145
|
||||
#: rc.cpp:166
|
||||
#, no-c-format
|
||||
msgid "Copy to clipboard on execute"
|
||||
msgstr "Kopiér til klippebordet ved kørsel"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 151
|
||||
#: rc.cpp:169
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"katapult can copy the expression or the result of the expression to the "
|
||||
"clipboard if you press the key assigned to \"execute action\" (by default, this "
|
||||
"is Enter)."
|
||||
msgstr ""
|
||||
"Katapult kan kopiere udtryk eller udtrykkenes resultat til klippebordet hvis du "
|
||||
"trykker på tasten som er tildelt \"udfør handling\" (normalt er det "
|
||||
"returtasten)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 170
|
||||
#: rc.cpp:172
|
||||
#, no-c-format
|
||||
msgid "Copied text:"
|
||||
msgstr "Kopieret tekst:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 188
|
||||
#: rc.cpp:175
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"<i>Hint:</i> %1 is replaced by the expression, %2 is replaced by the result"
|
||||
msgstr "<i>Vink:</i> %1 erstattes af udtrykket, %2 erstattes af resultatet"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 59
|
||||
#: rc.cpp:187
|
||||
#, no-c-format
|
||||
msgid "Ignore applications without icons"
|
||||
msgstr "Ignorér programmer uden ikoner"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 67
|
||||
#: rc.cpp:190
|
||||
#, no-c-format
|
||||
msgid "Ignore terminal applications"
|
||||
msgstr "Ignorér terminalprogrammer"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 75
|
||||
#: rc.cpp:193
|
||||
#, no-c-format
|
||||
msgid "Catalog applications by executable name"
|
||||
msgstr "Katalogisér program ifølge kørbart navn"
|
||||
|
||||
#: plugins/catalogs/bookmarkcatalog/actionopenbookmark.cpp:43
|
||||
msgid "Open Bookmark"
|
||||
msgstr "Åbn bogmærke"
|
||||
|
||||
#: plugins/catalogs/amarokcatalog/actionplaysong.cpp:43
|
||||
msgid "Play Song"
|
||||
msgstr "Spil sang"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/actioncopyspelling.cpp:48
|
||||
msgid "Parse Error"
|
||||
msgstr "Tolkningsfejl"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:87
|
||||
msgid ""
|
||||
"_: Should be short, easy and quick to type\n"
|
||||
"spell"
|
||||
msgstr "stav"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:102
|
||||
msgid "Use with \"%1 myword\""
|
||||
msgstr "Brug med \"%1 mit-ord\""
|
||||
|
||||
#: plugins/catalogs/calculatorcatalog/actionevalexpr.cpp:109
|
||||
msgid "Evaluate Expression"
|
||||
msgstr "Evaluér udtryk"
|
||||
|
||||
#: plugins/catalogs/programcatalog/actionrunprogram.cpp:43
|
||||
msgid "Run Program"
|
||||
msgstr "Kør program"
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = de
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
@ -0,0 +1,511 @@
|
||||
# translation of katapult.po to German
|
||||
#
|
||||
# Bastian Holst <bastianholst@gmx.de>, 2006.
|
||||
# Jannick Kuhr <jakuhr-linux@gmx.de>, 2006.
|
||||
# Thomas Reitelbach <tr@erdfunkstelle.de>, 2006.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: katapult\n"
|
||||
"POT-Creation-Date: 2006-06-08 11:22+0200\n"
|
||||
"PO-Revision-Date: 2006-07-09 10:25+0200\n"
|
||||
"Last-Translator: Thomas Reitelbach <tr@erdfunkstelle.de>\n"
|
||||
"Language-Team: German <kde-i18n-de@kde.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: KBabel 1.11.2\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:50 rc.cpp:3
|
||||
#, no-c-format
|
||||
msgid "General Settings"
|
||||
msgstr "Allgemeine Einstellungen"
|
||||
|
||||
#. i18n: file ./katapult/confcatalogs.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:67 katapult/katapultconfigdlg.cpp:157
|
||||
#: rc.cpp:62
|
||||
#, no-c-format
|
||||
msgid "Catalogs"
|
||||
msgstr "Kataloge"
|
||||
|
||||
#: katapult/katapultconfigdlg.cpp:67
|
||||
msgid "Enabled Catalogs"
|
||||
msgstr "Kataloge aktivieren"
|
||||
|
||||
#. i18n: file ./katapult/confdisplay.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:87 rc.cpp:59
|
||||
#, no-c-format
|
||||
msgid "Display"
|
||||
msgstr "Anzeige"
|
||||
|
||||
#: katapult/main.cpp:31
|
||||
msgid ""
|
||||
"A plugin-driven utility that can launch applications, bookmarks, or anything "
|
||||
"else that you can find a plugin for."
|
||||
msgstr ""
|
||||
"Ein modulares Programm, um Anwendungen, Lesezeichen oder alles wofür man sonst "
|
||||
"ein Modul finden kann, zu starten."
|
||||
|
||||
#: katapult/main.cpp:42
|
||||
msgid "Katapult"
|
||||
msgstr "Katapult"
|
||||
|
||||
#: katapult/main.cpp:43
|
||||
msgid ""
|
||||
"(C) until 2005, Joe Ferris\n"
|
||||
"(C) 2005, the Katapult development team"
|
||||
msgstr ""
|
||||
"(C) bis 2005, Joe Ferris\n"
|
||||
"(C) 2005, die Entwickler von Katapult"
|
||||
|
||||
#: katapult/main.cpp:44
|
||||
msgid "Project Manager"
|
||||
msgstr "Projektmanager"
|
||||
|
||||
#: katapult/main.cpp:45
|
||||
msgid "Lead Developer"
|
||||
msgstr "Leitender Entwickler"
|
||||
|
||||
#: katapult/main.cpp:46
|
||||
msgid "Developer"
|
||||
msgstr "Entwickler"
|
||||
|
||||
#: katapult/main.cpp:47
|
||||
msgid "Graphics"
|
||||
msgstr "Graphiken"
|
||||
|
||||
#: katapult/main.cpp:50
|
||||
msgid "Original Author"
|
||||
msgstr "Ursprünglicher Autor"
|
||||
|
||||
#: katapult/settings.cpp:93
|
||||
msgid "MyDialog1"
|
||||
msgstr "MyDialog1"
|
||||
|
||||
#: katapult/settings.cpp:95
|
||||
msgid "New Item"
|
||||
msgstr "Neues Element"
|
||||
|
||||
#: katapult/settings.cpp:96 katapult/settings.cpp:97
|
||||
msgid "Tab"
|
||||
msgstr "Tabulator"
|
||||
|
||||
#: katapult/settings.cpp:99
|
||||
msgid "F1"
|
||||
msgstr "F1"
|
||||
|
||||
#: katapult/katapult.cpp:83
|
||||
msgid ""
|
||||
"Application successfully started !\n"
|
||||
"Press %1 to use it..."
|
||||
msgstr ""
|
||||
"Katapult wurde erfolgreich gestartet. "
|
||||
"<br>Drücken Sie %1, um es zu verwenden ..."
|
||||
|
||||
#: katapult/katapult.cpp:85
|
||||
msgid "Katapult Notification"
|
||||
msgstr "Katapult-Benachrichtigung"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Show Launcher"
|
||||
msgstr "Starter anzeigen"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Shows the Katapult launcher"
|
||||
msgstr "Zeigt den Katapult-Starter an"
|
||||
|
||||
#: katapult/katapult.cpp:129
|
||||
msgid "Execute"
|
||||
msgstr "Ausführen"
|
||||
|
||||
#: katapult/katapult.cpp:132
|
||||
msgid "Complete Query"
|
||||
msgstr "Abfrage vervollständigen"
|
||||
|
||||
#: katapult/katapult.cpp:133
|
||||
msgid "Show Context Menu"
|
||||
msgstr "Kontextmenü anzeigen"
|
||||
|
||||
#: katapult/katapult.cpp:136
|
||||
msgid "Configure &Global Shortcuts..."
|
||||
msgstr "&Globale Kurzbefehle einrichten ..."
|
||||
|
||||
#: _translatorinfo.cpp:1
|
||||
msgid ""
|
||||
"_: NAME OF TRANSLATORS\n"
|
||||
"Your names"
|
||||
msgstr "Bastian Holst, Jannick Kuhr, Laura Ohrndorf"
|
||||
|
||||
#: _translatorinfo.cpp:3
|
||||
msgid ""
|
||||
"_: EMAIL OF TRANSLATORS\n"
|
||||
"Your emails"
|
||||
msgstr "bastianholst@gmx.de, jakuhr-linux@gmx.de, ubuntu@moosmilbe.de"
|
||||
|
||||
#: common/imagedisplay.cpp:272
|
||||
msgid "No items matched."
|
||||
msgstr "Keine passenden Elemente."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 35
|
||||
#: rc.cpp:6
|
||||
#, no-c-format
|
||||
msgid "Executing Actions"
|
||||
msgstr "Aktionen ausführen"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 46
|
||||
#: rc.cpp:9
|
||||
#, no-c-format
|
||||
msgid "Delay before hiding &launcher:"
|
||||
msgstr "Verzögerung, bevor der Starter &ausgeblendet wird:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 52
|
||||
#: rc.cpp:12
|
||||
#, no-c-format
|
||||
msgid "How long Katapult waits before hiding the launcher"
|
||||
msgstr "Die Wartezeit, bevor der Starter ausgeblendet wird"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 57
|
||||
#: rc.cpp:15
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"After an action is performed or no results were found, the Katapult launcher "
|
||||
"will be hidden.\n"
|
||||
"\n"
|
||||
"This sets how long Katapult will wait before hiding the launcher."
|
||||
msgstr ""
|
||||
"Nachdem eine Aktion ausgeführt wurde oder keine Ergebnisse gefunden werden "
|
||||
"konnten, wird der Katapult-Starter wieder ausgeblendet.\n"
|
||||
"\n"
|
||||
"Diese Einstellung legt fest, wie lange Katapult wartet, bevor der Starter "
|
||||
"ausgeblendet wird."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 88
|
||||
#: rc.cpp:20
|
||||
#, no-c-format
|
||||
msgid "Automatically perform &default action"
|
||||
msgstr "Automatisch &Standardaktion ausführen"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 91
|
||||
#: rc.cpp:23
|
||||
#, no-c-format
|
||||
msgid "Whether to wait for confirmation or automatically execute actions"
|
||||
msgstr "Auf eine Bestätigung warten oder automatisch Aktionen ausführen"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 94
|
||||
#: rc.cpp:26
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically perform the default action once all "
|
||||
"items but one have been eliminated. This avoids the extra keystroke after there "
|
||||
"is only one possibility."
|
||||
msgstr ""
|
||||
"Wenn diese Einstellung aktiviert ist, startet Katapult automatisch die "
|
||||
"Standardaktion, wenn alle Elemente bis auf eines entfernt wurden. Dies "
|
||||
"vermeidet einen unnötigen Tastendruck, wenn nur eine Möglichkeit besteht."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 112
|
||||
#: rc.cpp:29
|
||||
#, no-c-format
|
||||
msgid "No Results"
|
||||
msgstr "Keine Ergebnisse"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 126
|
||||
#: rc.cpp:32
|
||||
#, no-c-format
|
||||
msgid "When there are no results:"
|
||||
msgstr "Wenn es keine Ergebnisse gibt:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 134
|
||||
#: rc.cpp:35
|
||||
#, no-c-format
|
||||
msgid "&Clear the query after a delay"
|
||||
msgstr "Abfrage nach definierter Verzögerung &löschen"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 142
|
||||
#: rc.cpp:38
|
||||
#, no-c-format
|
||||
msgid "&Hide the display after a delay"
|
||||
msgstr "Anzeige nach definierter Verzögerung &ausblenden"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 150
|
||||
#: rc.cpp:41
|
||||
#, no-c-format
|
||||
msgid "Do ¬hing"
|
||||
msgstr "&Nichts tun"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 158
|
||||
#: rc.cpp:44
|
||||
#, no-c-format
|
||||
msgid "&Delay before clearing or hiding:"
|
||||
msgstr "&Verzögerung vor dem Löschen oder Ausblenden"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 202
|
||||
#: rc.cpp:47
|
||||
#, no-c-format
|
||||
msgid "System Tray"
|
||||
msgstr "Systembereich der Kontrollleiste"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 220
|
||||
#: rc.cpp:50
|
||||
#, no-c-format
|
||||
msgid "&Show an icon in the systray"
|
||||
msgstr "&Symbol im Systembereich der Kontrollleiste anzeigen"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 223
|
||||
#: rc.cpp:53
|
||||
#, no-c-format
|
||||
msgid "If activated, katapult shows an icon in the System Tray when running"
|
||||
msgstr ""
|
||||
"Wenn diese Einstellung aktiviert ist, zeigt Katapult ein Symbol im "
|
||||
"Systembereich der Kontrollleiste an."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 226
|
||||
#: rc.cpp:56
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically show an Icon in the System Tray."
|
||||
msgstr ""
|
||||
"Wenn diese Einstellung aktiviert ist, zeigt Katapult automatisch ein Symbol im "
|
||||
"Systembereich der Kontrollleiste an."
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 16
|
||||
#: rc.cpp:65 rc.cpp:83 rc.cpp:101 rc.cpp:113 rc.cpp:122 rc.cpp:131 rc.cpp:178
|
||||
#, no-c-format
|
||||
msgid "Settings"
|
||||
msgstr "Einstellungen"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 27
|
||||
#: rc.cpp:68
|
||||
#, no-c-format
|
||||
msgid "Length of fade-in/fade-out:"
|
||||
msgstr "Dauer des Ein-/Ausblendens:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 58
|
||||
#: rc.cpp:71
|
||||
#, no-c-format
|
||||
msgid "Display Font"
|
||||
msgstr "Anzeigeschrift"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 80
|
||||
#: rc.cpp:74
|
||||
#, no-c-format
|
||||
msgid "Font face:"
|
||||
msgstr "Schriftart:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 120
|
||||
#: rc.cpp:77
|
||||
#, no-c-format
|
||||
msgid "Minimum font size:"
|
||||
msgstr "Minimale Schriftgröße:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 160
|
||||
#: rc.cpp:80
|
||||
#, no-c-format
|
||||
msgid "Maximum font size:"
|
||||
msgstr "Maximale Schriftgröße:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 35
|
||||
#: rc.cpp:86 rc.cpp:104 rc.cpp:116 rc.cpp:181
|
||||
#, no-c-format
|
||||
msgid "Number of characters before searching:"
|
||||
msgstr "Mindestanzahl an Zeichen vor dem Suchen:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 49
|
||||
#: rc.cpp:89 rc.cpp:107 rc.cpp:119 rc.cpp:184
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Katapult will not search for programs until you have typed at least this many "
|
||||
"characters in the Katapult launcher."
|
||||
msgstr ""
|
||||
"Katapult wird nicht nach Programmen suchen, bevor nicht mindestens diese Anzahl "
|
||||
"an Zeichen eingegeben wurde."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 59
|
||||
#: rc.cpp:92
|
||||
#, no-c-format
|
||||
msgid "Import Mozilla bookmarks"
|
||||
msgstr "Mozilla-Lesezeichen importieren"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 73
|
||||
#: rc.cpp:95
|
||||
#, no-c-format
|
||||
msgid "Automatically detect bookmark file"
|
||||
msgstr "Lesezeichen-Datei automatisch erkennen"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 81
|
||||
#: rc.cpp:98
|
||||
#, no-c-format
|
||||
msgid "Use the following file:"
|
||||
msgstr "Folgende Datei verwenden:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/documentcatalog/settings.ui line 56
|
||||
#: rc.cpp:110
|
||||
#, no-c-format
|
||||
msgid "Show Preview for Documents?"
|
||||
msgstr "Vorschau für Dokumente anzeigen?"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 32
|
||||
#: rc.cpp:125
|
||||
#, no-c-format
|
||||
msgid "Trigger Word:"
|
||||
msgstr "Auslösewort:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 40
|
||||
#: rc.cpp:128
|
||||
#, no-c-format
|
||||
msgid "Use with: \"spell myword\""
|
||||
msgstr "Zu verwenden mit: \"spell meinwort\""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 35
|
||||
#: rc.cpp:134
|
||||
#, no-c-format
|
||||
msgid "Number of fractional digits:"
|
||||
msgstr "Anzahl der Nachkommastellen:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 55
|
||||
#: rc.cpp:137
|
||||
#, no-c-format
|
||||
msgid "Katapult will show this number of fractional digits."
|
||||
msgstr "Katapult zeigt diese Anzahl an Nachkommastellen an."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 84
|
||||
#: rc.cpp:141
|
||||
#, no-c-format
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 87
|
||||
#: rc.cpp:144
|
||||
#, no-c-format
|
||||
msgid "In normal mode, katapult will never show an exponent on a number."
|
||||
msgstr ""
|
||||
"Im normalen Modus wird Katapult nie Exponenten bei den Ergebnissen anzeigen."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 95
|
||||
#: rc.cpp:147
|
||||
#, no-c-format
|
||||
msgid "Scientific"
|
||||
msgstr "Wissenschaftlich"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 98
|
||||
#: rc.cpp:150
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"In scientific mode, katapult will show an exponent on very large or very small "
|
||||
"numbers."
|
||||
msgstr ""
|
||||
"Im wissenschaftlichen Modus wird Katapult Exponenten benutzen, sobald die Zahl "
|
||||
"sehr groß oder klein ist."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 119
|
||||
#: rc.cpp:154
|
||||
#, no-c-format
|
||||
msgid "Radians"
|
||||
msgstr "Bogenmaß"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 122
|
||||
#: rc.cpp:157
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in radians (2 pi radians is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
"Trigonometrische Funktionen erwarten Winkel im Bogenmaß und geben sie auch im "
|
||||
"Bogenmaß aus (2 pi im Bogenmaß entsprechen einem ganzen Kreis)"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 130
|
||||
#: rc.cpp:160
|
||||
#, no-c-format
|
||||
msgid "Degrees"
|
||||
msgstr "Grad"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 133
|
||||
#: rc.cpp:163
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in degrees (360 degrees is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
"Trigonometrische Funktionen erwarten Winkel in Grad und geben sie auch in Grad "
|
||||
"aus (360 Grad entsprechen einem ganzen Kreis)"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 145
|
||||
#: rc.cpp:166
|
||||
#, no-c-format
|
||||
msgid "Copy to clipboard on execute"
|
||||
msgstr "Beim Ausführen in die Zwischenablage kopieren"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 151
|
||||
#: rc.cpp:169
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"katapult can copy the expression or the result of the expression to the "
|
||||
"clipboard if you press the key assigned to \"execute action\" (by default, this "
|
||||
"is Enter)."
|
||||
msgstr ""
|
||||
"Katapult kann die Rechnung oder das Ergebnis der Rechnung in die Zwischenablage "
|
||||
"kopieren, wenn man die Taste \" Aktion ausführen\" drückt (standardmäßig ist "
|
||||
"dies die Eingabetaste)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 170
|
||||
#: rc.cpp:172
|
||||
#, no-c-format
|
||||
msgid "Copied text:"
|
||||
msgstr "Zu kopierender Text:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 188
|
||||
#: rc.cpp:175
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"<i>Hint:</i> %1 is replaced by the expression, %2 is replaced by the result"
|
||||
msgstr ""
|
||||
"<i>Hinweis:</i> %1 wird durch die Rechnung und %2 durch das Ergebnis ersetzt"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 59
|
||||
#: rc.cpp:187
|
||||
#, no-c-format
|
||||
msgid "Ignore applications without icons"
|
||||
msgstr "Anwendungen ohne Symbol ignorieren"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 67
|
||||
#: rc.cpp:190
|
||||
#, no-c-format
|
||||
msgid "Ignore terminal applications"
|
||||
msgstr "Terminal-Anwendungen ignorieren"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 75
|
||||
#: rc.cpp:193
|
||||
#, no-c-format
|
||||
msgid "Catalog applications by executable name"
|
||||
msgstr "Anwendungen nach dem Befehlsnamen auflisten"
|
||||
|
||||
#: plugins/catalogs/bookmarkcatalog/actionopenbookmark.cpp:43
|
||||
msgid "Open Bookmark"
|
||||
msgstr "Lesezeichen öffnen"
|
||||
|
||||
#: plugins/catalogs/amarokcatalog/actionplaysong.cpp:43
|
||||
msgid "Play Song"
|
||||
msgstr "Lied abspielen"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/actioncopyspelling.cpp:48
|
||||
msgid "Parse Error"
|
||||
msgstr "Verarbeitungsfehler"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:87
|
||||
msgid ""
|
||||
"_: Should be short, easy and quick to type\n"
|
||||
"spell"
|
||||
msgstr "spell"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:102
|
||||
msgid "Use with \"%1 myword\""
|
||||
msgstr "Zu verwenden mit \"%1 meinwort\""
|
||||
|
||||
#: plugins/catalogs/calculatorcatalog/actionevalexpr.cpp:109
|
||||
msgid "Evaluate Expression"
|
||||
msgstr "Ausdruck auswerten"
|
||||
|
||||
#: plugins/catalogs/programcatalog/actionrunprogram.cpp:43
|
||||
msgid "Run Program"
|
||||
msgstr "Programm starten"
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = el
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = es
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
@ -0,0 +1,509 @@
|
||||
# translation of katapult.po to Español
|
||||
#
|
||||
# santi <santi@kde-es.org>, 2006.
|
||||
# santi <santi@est.unileon.es>, 2006.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: katapult\n"
|
||||
"POT-Creation-Date: 2006-06-08 11:22+0200\n"
|
||||
"PO-Revision-Date: 2006-06-12 18:58+0200\n"
|
||||
"Last-Translator: santi <santi@est.unileon.es>\n"
|
||||
"Language-Team: Español <kde-es@kybs.de>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: KBabel 1.11.2\n"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:50 rc.cpp:3
|
||||
#, no-c-format
|
||||
msgid "General Settings"
|
||||
msgstr "Preferencias generales"
|
||||
|
||||
#. i18n: file ./katapult/confcatalogs.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:67 katapult/katapultconfigdlg.cpp:157
|
||||
#: rc.cpp:62
|
||||
#, no-c-format
|
||||
msgid "Catalogs"
|
||||
msgstr "Catálogos"
|
||||
|
||||
#: katapult/katapultconfigdlg.cpp:67
|
||||
msgid "Enabled Catalogs"
|
||||
msgstr "Catálogos disponibles"
|
||||
|
||||
#. i18n: file ./katapult/confdisplay.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:87 rc.cpp:59
|
||||
#, no-c-format
|
||||
msgid "Display"
|
||||
msgstr "Pantalla"
|
||||
|
||||
#: katapult/main.cpp:31
|
||||
msgid ""
|
||||
"A plugin-driven utility that can launch applications, bookmarks, or anything "
|
||||
"else that you can find a plugin for."
|
||||
msgstr ""
|
||||
"Una extensión que le permite iniciar aplicaciones, marcadores, o cualquier otra "
|
||||
"cosa para la que pueda encontrar una estensión."
|
||||
|
||||
#: katapult/main.cpp:42
|
||||
msgid "Katapult"
|
||||
msgstr "Katapult"
|
||||
|
||||
#: katapult/main.cpp:43
|
||||
msgid ""
|
||||
"(C) until 2005, Joe Ferris\n"
|
||||
"(C) 2005, the Katapult development team"
|
||||
msgstr ""
|
||||
"(C) hasta 2005, Joe Ferris\n"
|
||||
"(C) 2005, el equipo de desarrollo de Katapult"
|
||||
|
||||
#: katapult/main.cpp:44
|
||||
msgid "Project Manager"
|
||||
msgstr "Administrador del proyecto"
|
||||
|
||||
#: katapult/main.cpp:45
|
||||
msgid "Lead Developer"
|
||||
msgstr "Dirección del desarrollo"
|
||||
|
||||
#: katapult/main.cpp:46
|
||||
msgid "Developer"
|
||||
msgstr "Desarrollador"
|
||||
|
||||
#: katapult/main.cpp:47
|
||||
msgid "Graphics"
|
||||
msgstr "Gráficos"
|
||||
|
||||
#: katapult/main.cpp:50
|
||||
msgid "Original Author"
|
||||
msgstr "Autor original"
|
||||
|
||||
#: katapult/settings.cpp:93
|
||||
msgid "MyDialog1"
|
||||
msgstr "MiDiálogo1"
|
||||
|
||||
#: katapult/settings.cpp:95
|
||||
msgid "New Item"
|
||||
msgstr "Nuevo elemento"
|
||||
|
||||
#: katapult/settings.cpp:96 katapult/settings.cpp:97
|
||||
msgid "Tab"
|
||||
msgstr "Pestaña"
|
||||
|
||||
#: katapult/settings.cpp:99
|
||||
msgid "F1"
|
||||
msgstr "F1"
|
||||
|
||||
#: katapult/katapult.cpp:83
|
||||
msgid ""
|
||||
"Application successfully started !\n"
|
||||
"Press %1 to use it..."
|
||||
msgstr ""
|
||||
"¡Aplicación iniciada correctamente!\n"
|
||||
"Pulse %1 para utilizarla..."
|
||||
|
||||
#: katapult/katapult.cpp:85
|
||||
msgid "Katapult Notification"
|
||||
msgstr "Notificación de Katapult"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Show Launcher"
|
||||
msgstr "Mostrar iniciador"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Shows the Katapult launcher"
|
||||
msgstr "Muestra el iniciador de Katapult"
|
||||
|
||||
#: katapult/katapult.cpp:129
|
||||
msgid "Execute"
|
||||
msgstr "Ejecutar"
|
||||
|
||||
#: katapult/katapult.cpp:132
|
||||
msgid "Complete Query"
|
||||
msgstr "Consulta completa"
|
||||
|
||||
#: katapult/katapult.cpp:133
|
||||
msgid "Show Context Menu"
|
||||
msgstr "Mostrar menú contextual"
|
||||
|
||||
#: katapult/katapult.cpp:136
|
||||
msgid "Configure &Global Shortcuts..."
|
||||
msgstr "Configurar accesos rápidos &globales..."
|
||||
|
||||
#: _translatorinfo.cpp:1
|
||||
msgid ""
|
||||
"_: NAME OF TRANSLATORS\n"
|
||||
"Your names"
|
||||
msgstr "Santiago Fernández Sancho"
|
||||
|
||||
#: _translatorinfo.cpp:3
|
||||
msgid ""
|
||||
"_: EMAIL OF TRANSLATORS\n"
|
||||
"Your emails"
|
||||
msgstr "santi@kde-es.org"
|
||||
|
||||
#: common/imagedisplay.cpp:272
|
||||
msgid "No items matched."
|
||||
msgstr "No hay elementos coincidentes."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 35
|
||||
#: rc.cpp:6
|
||||
#, no-c-format
|
||||
msgid "Executing Actions"
|
||||
msgstr "Ejecutando acciones"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 46
|
||||
#: rc.cpp:9
|
||||
#, no-c-format
|
||||
msgid "Delay before hiding &launcher:"
|
||||
msgstr "Retardo antes de ocultar e&l iniciador:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 52
|
||||
#: rc.cpp:12
|
||||
#, no-c-format
|
||||
msgid "How long Katapult waits before hiding the launcher"
|
||||
msgstr "Cuánto esperar antes de ocultar el iniciador"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 57
|
||||
#: rc.cpp:15
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"After an action is performed or no results were found, the Katapult launcher "
|
||||
"will be hidden.\n"
|
||||
"\n"
|
||||
"This sets how long Katapult will wait before hiding the launcher."
|
||||
msgstr ""
|
||||
"Después de que se realice una acción o si no se encontraron resultados, el "
|
||||
"iniciador de Katapult se ocultará.\n"
|
||||
"\n"
|
||||
"Establece el tiempo que transcurrirá hasta que Katapult oculte el iniciador."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 88
|
||||
#: rc.cpp:20
|
||||
#, no-c-format
|
||||
msgid "Automatically perform &default action"
|
||||
msgstr "Realizar automáticamente la acción pre&determinada"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 91
|
||||
#: rc.cpp:23
|
||||
#, no-c-format
|
||||
msgid "Whether to wait for confirmation or automatically execute actions"
|
||||
msgstr "Indica si esperar confirmación o ejecutar las acciones automáticamente"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 94
|
||||
#: rc.cpp:26
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically perform the default action once all "
|
||||
"items but one have been eliminated. This avoids the extra keystroke after there "
|
||||
"is only one possibility."
|
||||
msgstr ""
|
||||
"Si está activado, Katapult realizará automáticamente la acción predeterminada "
|
||||
"una vez que todos los elementos, excepto uno, se hayan eliminado. Ésto evita "
|
||||
"las pulsaciones adicionales de teclas después de que solo quede una "
|
||||
"posibilidad."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 112
|
||||
#: rc.cpp:29
|
||||
#, no-c-format
|
||||
msgid "No Results"
|
||||
msgstr "Sin resultados"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 126
|
||||
#: rc.cpp:32
|
||||
#, no-c-format
|
||||
msgid "When there are no results:"
|
||||
msgstr "Cuando no haya resultados:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 134
|
||||
#: rc.cpp:35
|
||||
#, no-c-format
|
||||
msgid "&Clear the query after a delay"
|
||||
msgstr "Borrar la peti&ción después del retardo"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 142
|
||||
#: rc.cpp:38
|
||||
#, no-c-format
|
||||
msgid "&Hide the display after a delay"
|
||||
msgstr "&Ocultar la pantalla después de un retardo"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 150
|
||||
#: rc.cpp:41
|
||||
#, no-c-format
|
||||
msgid "Do ¬hing"
|
||||
msgstr "No hacer &nada"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 158
|
||||
#: rc.cpp:44
|
||||
#, no-c-format
|
||||
msgid "&Delay before clearing or hiding:"
|
||||
msgstr "Retar&do antes de borrar u ocultar:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 202
|
||||
#: rc.cpp:47
|
||||
#, no-c-format
|
||||
msgid "System Tray"
|
||||
msgstr "Bandeja del sistema"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 220
|
||||
#: rc.cpp:50
|
||||
#, no-c-format
|
||||
msgid "&Show an icon in the systray"
|
||||
msgstr "Mo&strar un icono en la bandeja del sistema"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 223
|
||||
#: rc.cpp:53
|
||||
#, no-c-format
|
||||
msgid "If activated, katapult shows an icon in the System Tray when running"
|
||||
msgstr ""
|
||||
"Si está activada, katapult muestra un icono en la bandeja del sistema durante "
|
||||
"la ejecución"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 226
|
||||
#: rc.cpp:56
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically show an Icon in the System Tray."
|
||||
msgstr ""
|
||||
"Si está activado, Katapult mostrará automáticamente un icono en la bandeja del "
|
||||
"sistema."
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 16
|
||||
#: rc.cpp:65 rc.cpp:83 rc.cpp:101 rc.cpp:113 rc.cpp:122 rc.cpp:131 rc.cpp:178
|
||||
#, no-c-format
|
||||
msgid "Settings"
|
||||
msgstr "Preferencias"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 27
|
||||
#: rc.cpp:68
|
||||
#, no-c-format
|
||||
msgid "Length of fade-in/fade-out:"
|
||||
msgstr "Duración del fundido de entrada/salida:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 58
|
||||
#: rc.cpp:71
|
||||
#, no-c-format
|
||||
msgid "Display Font"
|
||||
msgstr "Mostrar letra"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 80
|
||||
#: rc.cpp:74
|
||||
#, no-c-format
|
||||
msgid "Font face:"
|
||||
msgstr "Tipo de letra:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 120
|
||||
#: rc.cpp:77
|
||||
#, no-c-format
|
||||
msgid "Minimum font size:"
|
||||
msgstr "Tamaño de letra mínimo:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 160
|
||||
#: rc.cpp:80
|
||||
#, no-c-format
|
||||
msgid "Maximum font size:"
|
||||
msgstr "Tamaño de letra máximo:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 35
|
||||
#: rc.cpp:86 rc.cpp:104 rc.cpp:116 rc.cpp:181
|
||||
#, no-c-format
|
||||
msgid "Number of characters before searching:"
|
||||
msgstr "Número de caracteres antes de la búsqueda:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 49
|
||||
#: rc.cpp:89 rc.cpp:107 rc.cpp:119 rc.cpp:184
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Katapult will not search for programs until you have typed at least this many "
|
||||
"characters in the Katapult launcher."
|
||||
msgstr ""
|
||||
"Katapult no buscará programas hasta que no haya tecleado al menos esta cantidad "
|
||||
"de caracteres en el iniciador Katapult."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 59
|
||||
#: rc.cpp:92
|
||||
#, no-c-format
|
||||
msgid "Import Mozilla bookmarks"
|
||||
msgstr "Importar marcadores de Mozilla"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 73
|
||||
#: rc.cpp:95
|
||||
#, no-c-format
|
||||
msgid "Automatically detect bookmark file"
|
||||
msgstr "Detectar automáticamente archivo de marcadores"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 81
|
||||
#: rc.cpp:98
|
||||
#, no-c-format
|
||||
msgid "Use the following file:"
|
||||
msgstr "Utilizar el siguiente archivo:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/documentcatalog/settings.ui line 56
|
||||
#: rc.cpp:110
|
||||
#, no-c-format
|
||||
msgid "Show Preview for Documents?"
|
||||
msgstr "¿Mostrar vista previa para los documentos?"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 32
|
||||
#: rc.cpp:125
|
||||
#, no-c-format
|
||||
msgid "Trigger Word:"
|
||||
msgstr "Palabra desencadenante:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 40
|
||||
#: rc.cpp:128
|
||||
#, no-c-format
|
||||
msgid "Use with: \"spell myword\""
|
||||
msgstr "Usar con: «ortografía de mi palabra»"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 35
|
||||
#: rc.cpp:134
|
||||
#, no-c-format
|
||||
msgid "Number of fractional digits:"
|
||||
msgstr "Número de dígitos fraccionarios:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 55
|
||||
#: rc.cpp:137
|
||||
#, no-c-format
|
||||
msgid "Katapult will show this number of fractional digits."
|
||||
msgstr "Katapult mostrará este número de dígitos fraccionarios."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 84
|
||||
#: rc.cpp:141
|
||||
#, no-c-format
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 87
|
||||
#: rc.cpp:144
|
||||
#, no-c-format
|
||||
msgid "In normal mode, katapult will never show an exponent on a number."
|
||||
msgstr "En modo normal, katapult no mostrará nunca un exponente en un número."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 95
|
||||
#: rc.cpp:147
|
||||
#, no-c-format
|
||||
msgid "Scientific"
|
||||
msgstr "Científico"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 98
|
||||
#: rc.cpp:150
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"In scientific mode, katapult will show an exponent on very large or very small "
|
||||
"numbers."
|
||||
msgstr ""
|
||||
"En modo científico, katapult mostrará un exponente en los números muy grandes o "
|
||||
"muy pequeños."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 119
|
||||
#: rc.cpp:154
|
||||
#, no-c-format
|
||||
msgid "Radians"
|
||||
msgstr "Radianes"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 122
|
||||
#: rc.cpp:157
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in radians (2 pi radians is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
"Las funciones trigonométricas esperan y devuelven ángulos en radianes (2 pi "
|
||||
"radianes en una círculo completo)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 130
|
||||
#: rc.cpp:160
|
||||
#, no-c-format
|
||||
msgid "Degrees"
|
||||
msgstr "Grados"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 133
|
||||
#: rc.cpp:163
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in degrees (360 degrees is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
"Las funciones trigonométricas esperan y devuelven ángulos en grados (360 grados "
|
||||
"en una círculo completo)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 145
|
||||
#: rc.cpp:166
|
||||
#, no-c-format
|
||||
msgid "Copy to clipboard on execute"
|
||||
msgstr "Copiar al portapapeles al ejecutar"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 151
|
||||
#: rc.cpp:169
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"katapult can copy the expression or the result of the expression to the "
|
||||
"clipboard if you press the key assigned to \"execute action\" (by default, this "
|
||||
"is Enter)."
|
||||
msgstr ""
|
||||
"katapult puede copiar la expresión o el resultado de la expresión al "
|
||||
"portapapeles si pulsa la tecla asignada a «ejecutar acción» (de forma "
|
||||
"predeterminada, la tecla Entrar)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 170
|
||||
#: rc.cpp:172
|
||||
#, no-c-format
|
||||
msgid "Copied text:"
|
||||
msgstr "Texto copiado:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 188
|
||||
#: rc.cpp:175
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"<i>Hint:</i> %1 is replaced by the expression, %2 is replaced by the result"
|
||||
msgstr ""
|
||||
"<i>Pista:</i> %1 se reemplaza por la expresión, %2 se reemplaza por el "
|
||||
"resultado"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 59
|
||||
#: rc.cpp:187
|
||||
#, no-c-format
|
||||
msgid "Ignore applications without icons"
|
||||
msgstr "Ignorar aplicaciones sin iconos"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 67
|
||||
#: rc.cpp:190
|
||||
#, no-c-format
|
||||
msgid "Ignore terminal applications"
|
||||
msgstr "Ignorar aplicaciones de terminal"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 75
|
||||
#: rc.cpp:193
|
||||
#, no-c-format
|
||||
msgid "Catalog applications by executable name"
|
||||
msgstr "Catalogar aplicaciones por el nombre del ejecutable"
|
||||
|
||||
#: plugins/catalogs/bookmarkcatalog/actionopenbookmark.cpp:43
|
||||
msgid "Open Bookmark"
|
||||
msgstr "Abrir marcador"
|
||||
|
||||
#: plugins/catalogs/amarokcatalog/actionplaysong.cpp:43
|
||||
msgid "Play Song"
|
||||
msgstr "Reproducir canción"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/actioncopyspelling.cpp:48
|
||||
msgid "Parse Error"
|
||||
msgstr "Error de análisis"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:87
|
||||
msgid ""
|
||||
"_: Should be short, easy and quick to type\n"
|
||||
"spell"
|
||||
msgstr "ortografía"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:102
|
||||
msgid "Use with \"%1 myword\""
|
||||
msgstr "Utilizar con «%1 mipalabra»"
|
||||
|
||||
#: plugins/catalogs/calculatorcatalog/actionevalexpr.cpp:109
|
||||
msgid "Evaluate Expression"
|
||||
msgstr "Evaluar expresión"
|
||||
|
||||
#: plugins/catalogs/programcatalog/actionrunprogram.cpp:43
|
||||
msgid "Run Program"
|
||||
msgstr "Ejecutar programa"
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = et
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
@ -0,0 +1,503 @@
|
||||
# translation of katapult.po to
|
||||
#
|
||||
# Marek Laane <bald@starman.ee>, 2006.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: katapult\n"
|
||||
"POT-Creation-Date: 2006-06-08 11:22+0200\n"
|
||||
"PO-Revision-Date: 2006-07-15 20:14+0300\n"
|
||||
"Last-Translator: Marek Laane <bald@starman.ee>\n"
|
||||
"Language-Team: <kde-et@linux.ee>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: KBabel 1.11.2\n"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:50 rc.cpp:3
|
||||
#, no-c-format
|
||||
msgid "General Settings"
|
||||
msgstr "Üldised seadistused"
|
||||
|
||||
#. i18n: file ./katapult/confcatalogs.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:67 katapult/katapultconfigdlg.cpp:157
|
||||
#: rc.cpp:62
|
||||
#, no-c-format
|
||||
msgid "Catalogs"
|
||||
msgstr "Kataloogid"
|
||||
|
||||
#: katapult/katapultconfigdlg.cpp:67
|
||||
msgid "Enabled Catalogs"
|
||||
msgstr "Lubatud kataloogid"
|
||||
|
||||
#. i18n: file ./katapult/confdisplay.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:87 rc.cpp:59
|
||||
#, no-c-format
|
||||
msgid "Display"
|
||||
msgstr "Vaade"
|
||||
|
||||
#: katapult/main.cpp:31
|
||||
msgid ""
|
||||
"A plugin-driven utility that can launch applications, bookmarks, or anything "
|
||||
"else that you can find a plugin for."
|
||||
msgstr ""
|
||||
"Pluginapõhine tööriist rakenduste, järjehoidjate või mille tahes käivitamiseks, "
|
||||
"mille jaoks on vaid plugin olemas."
|
||||
|
||||
#: katapult/main.cpp:42
|
||||
msgid "Katapult"
|
||||
msgstr "Katapult"
|
||||
|
||||
#: katapult/main.cpp:43
|
||||
msgid ""
|
||||
"(C) until 2005, Joe Ferris\n"
|
||||
"(C) 2005, the Katapult development team"
|
||||
msgstr ""
|
||||
"(C) kuni 2005: Joe Ferris\n"
|
||||
"(C) 2005: Katapulti arendusmeeskond"
|
||||
|
||||
#: katapult/main.cpp:44
|
||||
msgid "Project Manager"
|
||||
msgstr "Projekti haldur"
|
||||
|
||||
#: katapult/main.cpp:45
|
||||
msgid "Lead Developer"
|
||||
msgstr "Põhiarendaja"
|
||||
|
||||
#: katapult/main.cpp:46
|
||||
msgid "Developer"
|
||||
msgstr "Arendaja"
|
||||
|
||||
#: katapult/main.cpp:47
|
||||
msgid "Graphics"
|
||||
msgstr "Graafika"
|
||||
|
||||
#: katapult/main.cpp:50
|
||||
msgid "Original Author"
|
||||
msgstr "Originaali autor"
|
||||
|
||||
#: katapult/settings.cpp:93
|
||||
msgid "MyDialog1"
|
||||
msgstr "MyDialog1"
|
||||
|
||||
#: katapult/settings.cpp:95
|
||||
msgid "New Item"
|
||||
msgstr "Uus element"
|
||||
|
||||
#: katapult/settings.cpp:96 katapult/settings.cpp:97
|
||||
msgid "Tab"
|
||||
msgstr "Tab"
|
||||
|
||||
#: katapult/settings.cpp:99
|
||||
msgid "F1"
|
||||
msgstr "F1"
|
||||
|
||||
#: katapult/katapult.cpp:83
|
||||
msgid ""
|
||||
"Application successfully started !\n"
|
||||
"Press %1 to use it..."
|
||||
msgstr ""
|
||||
"!Rakendus on edukalt käivitatud!\n"
|
||||
"Vajuta %1 selle kasutamiseks..."
|
||||
|
||||
#: katapult/katapult.cpp:85
|
||||
msgid "Katapult Notification"
|
||||
msgstr "Katapulti märguanne"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Show Launcher"
|
||||
msgstr "Käivitaja näitamine"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Shows the Katapult launcher"
|
||||
msgstr "Näitab Katapilti käivitajat"
|
||||
|
||||
#: katapult/katapult.cpp:129
|
||||
msgid "Execute"
|
||||
msgstr "Käivita"
|
||||
|
||||
#: katapult/katapult.cpp:132
|
||||
msgid "Complete Query"
|
||||
msgstr "Täielik päring"
|
||||
|
||||
#: katapult/katapult.cpp:133
|
||||
msgid "Show Context Menu"
|
||||
msgstr "Kontekstimenüü näitamine"
|
||||
|
||||
#: katapult/katapult.cpp:136
|
||||
msgid "Configure &Global Shortcuts..."
|
||||
msgstr "&Globaalsete kiirklahvide seadistamine..."
|
||||
|
||||
#: _translatorinfo.cpp:1
|
||||
msgid ""
|
||||
"_: NAME OF TRANSLATORS\n"
|
||||
"Your names"
|
||||
msgstr "Marek Laane"
|
||||
|
||||
#: _translatorinfo.cpp:3
|
||||
msgid ""
|
||||
"_: EMAIL OF TRANSLATORS\n"
|
||||
"Your emails"
|
||||
msgstr "bald@starman.ee"
|
||||
|
||||
#: common/imagedisplay.cpp:272
|
||||
msgid "No items matched."
|
||||
msgstr "Ühtegi sobivat vastet ei leitud."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 35
|
||||
#: rc.cpp:6
|
||||
#, no-c-format
|
||||
msgid "Executing Actions"
|
||||
msgstr "Toimingute käivitamine"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 46
|
||||
#: rc.cpp:9
|
||||
#, no-c-format
|
||||
msgid "Delay before hiding &launcher:"
|
||||
msgstr "&Viivitus enne käivitaja peitmist:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 52
|
||||
#: rc.cpp:12
|
||||
#, no-c-format
|
||||
msgid "How long Katapult waits before hiding the launcher"
|
||||
msgstr "Kui kaua Katapult enne käivitaja peitmist ootab"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 57
|
||||
#: rc.cpp:15
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"After an action is performed or no results were found, the Katapult launcher "
|
||||
"will be hidden.\n"
|
||||
"\n"
|
||||
"This sets how long Katapult will wait before hiding the launcher."
|
||||
msgstr ""
|
||||
"Kui toiming on teostatud või tulemust ei leitud, peidetakse Katapulti "
|
||||
"käivitaja.\n"
|
||||
"\n"
|
||||
"Siin saab määrata, kui kaua Katapult enne käivitaja peitmist ootab."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 88
|
||||
#: rc.cpp:20
|
||||
#, no-c-format
|
||||
msgid "Automatically perform &default action"
|
||||
msgstr "Va&iketoimingu automaatne teostamine"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 91
|
||||
#: rc.cpp:23
|
||||
#, no-c-format
|
||||
msgid "Whether to wait for confirmation or automatically execute actions"
|
||||
msgstr "Kas oodata kinnitust või käivitada toiming automaatselt"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 94
|
||||
#: rc.cpp:26
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically perform the default action once all "
|
||||
"items but one have been eliminated. This avoids the extra keystroke after there "
|
||||
"is only one possibility."
|
||||
msgstr ""
|
||||
"Sisselülitamise korral sooritab Katapult automaatselt vaikimisi toimingu, kui "
|
||||
"järele on jäänud ainult üks element. See lubab ainult ühe võimaluse korral ühe "
|
||||
"liigutuse võrra kiiremini tegutseda."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 112
|
||||
#: rc.cpp:29
|
||||
#, no-c-format
|
||||
msgid "No Results"
|
||||
msgstr "Tulemused puuduvad"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 126
|
||||
#: rc.cpp:32
|
||||
#, no-c-format
|
||||
msgid "When there are no results:"
|
||||
msgstr "Kui tulemused puuduvad:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 134
|
||||
#: rc.cpp:35
|
||||
#, no-c-format
|
||||
msgid "&Clear the query after a delay"
|
||||
msgstr "&Päring puhastatakse päarst viivitust"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 142
|
||||
#: rc.cpp:38
|
||||
#, no-c-format
|
||||
msgid "&Hide the display after a delay"
|
||||
msgstr "&Vaade peidetakse pärast viivitust"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 150
|
||||
#: rc.cpp:41
|
||||
#, no-c-format
|
||||
msgid "Do ¬hing"
|
||||
msgstr "Ei tehta &midagi"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 158
|
||||
#: rc.cpp:44
|
||||
#, no-c-format
|
||||
msgid "&Delay before clearing or hiding:"
|
||||
msgstr "V&iivitus enne puhastamist või peitmist:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 202
|
||||
#: rc.cpp:47
|
||||
#, no-c-format
|
||||
msgid "System Tray"
|
||||
msgstr "Süsteemne salv"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 220
|
||||
#: rc.cpp:50
|
||||
#, no-c-format
|
||||
msgid "&Show an icon in the systray"
|
||||
msgstr "Ikooni näitamine &süsteemses salves"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 223
|
||||
#: rc.cpp:53
|
||||
#, no-c-format
|
||||
msgid "If activated, katapult shows an icon in the System Tray when running"
|
||||
msgstr ""
|
||||
"Sisselülitamise korral näitab Katapult töötamise ajal ikooni süsteemses salves"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 226
|
||||
#: rc.cpp:56
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically show an Icon in the System Tray."
|
||||
msgstr ""
|
||||
"Sisselülitamise korral näitab Katapult automaatselt ikooni süsteemses salves."
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 16
|
||||
#: rc.cpp:65 rc.cpp:83 rc.cpp:101 rc.cpp:113 rc.cpp:122 rc.cpp:131 rc.cpp:178
|
||||
#, no-c-format
|
||||
msgid "Settings"
|
||||
msgstr "Seadistused"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 27
|
||||
#: rc.cpp:68
|
||||
#, no-c-format
|
||||
msgid "Length of fade-in/fade-out:"
|
||||
msgstr "Ilmumise/hääbumise kestvus:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 58
|
||||
#: rc.cpp:71
|
||||
#, no-c-format
|
||||
msgid "Display Font"
|
||||
msgstr "Vaate font"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 80
|
||||
#: rc.cpp:74
|
||||
#, no-c-format
|
||||
msgid "Font face:"
|
||||
msgstr "Kirjatüüp:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 120
|
||||
#: rc.cpp:77
|
||||
#, no-c-format
|
||||
msgid "Minimum font size:"
|
||||
msgstr "Minimaalne fondisuurus:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 160
|
||||
#: rc.cpp:80
|
||||
#, no-c-format
|
||||
msgid "Maximum font size:"
|
||||
msgstr "Maksimaalne fondisuurus:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 35
|
||||
#: rc.cpp:86 rc.cpp:104 rc.cpp:116 rc.cpp:181
|
||||
#, no-c-format
|
||||
msgid "Number of characters before searching:"
|
||||
msgstr "Märkide arv enne otsimise alustamist:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 49
|
||||
#: rc.cpp:89 rc.cpp:107 rc.cpp:119 rc.cpp:184
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Katapult will not search for programs until you have typed at least this many "
|
||||
"characters in the Katapult launcher."
|
||||
msgstr ""
|
||||
"Katapult ei asu programme otsima, enne kui sa pole kirjutajud Katapulti "
|
||||
"käivitajasse vähemalt määratud arv märke."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 59
|
||||
#: rc.cpp:92
|
||||
#, no-c-format
|
||||
msgid "Import Mozilla bookmarks"
|
||||
msgstr "Mozilla järjehoidjate import"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 73
|
||||
#: rc.cpp:95
|
||||
#, no-c-format
|
||||
msgid "Automatically detect bookmark file"
|
||||
msgstr "Järjehoidjafaili automaatne tuvastamine"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 81
|
||||
#: rc.cpp:98
|
||||
#, no-c-format
|
||||
msgid "Use the following file:"
|
||||
msgstr "Kasutatakse faili:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/documentcatalog/settings.ui line 56
|
||||
#: rc.cpp:110
|
||||
#, no-c-format
|
||||
msgid "Show Preview for Documents?"
|
||||
msgstr "Dokumentide eelvaatluse näitamine"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 32
|
||||
#: rc.cpp:125
|
||||
#, no-c-format
|
||||
msgid "Trigger Word:"
|
||||
msgstr "Käivitav sõna:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 40
|
||||
#: rc.cpp:128
|
||||
#, no-c-format
|
||||
msgid "Use with: \"spell myword\""
|
||||
msgstr "Kasutatakse: \"uuri minusõna\""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 35
|
||||
#: rc.cpp:134
|
||||
#, no-c-format
|
||||
msgid "Number of fractional digits:"
|
||||
msgstr "Komakohtade arv:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 55
|
||||
#: rc.cpp:137
|
||||
#, no-c-format
|
||||
msgid "Katapult will show this number of fractional digits."
|
||||
msgstr "Katapult näitab määratud hulgal komakohti."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 84
|
||||
#: rc.cpp:141
|
||||
#, no-c-format
|
||||
msgid "Normal"
|
||||
msgstr "Normaalne"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 87
|
||||
#: rc.cpp:144
|
||||
#, no-c-format
|
||||
msgid "In normal mode, katapult will never show an exponent on a number."
|
||||
msgstr "Normaalses režiimis ei näita Katapult arvude astmeid."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 95
|
||||
#: rc.cpp:147
|
||||
#, no-c-format
|
||||
msgid "Scientific"
|
||||
msgstr "Teaduslik"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 98
|
||||
#: rc.cpp:150
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"In scientific mode, katapult will show an exponent on very large or very small "
|
||||
"numbers."
|
||||
msgstr ""
|
||||
"Teaduslikus režiimis näitab Katapult astmeid väga suurte või väga väikeste "
|
||||
"arvude korral."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 119
|
||||
#: rc.cpp:154
|
||||
#, no-c-format
|
||||
msgid "Radians"
|
||||
msgstr "Radiaanid"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 122
|
||||
#: rc.cpp:157
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in radians (2 pi radians is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
"Trigonomeetrilised funktsioonid eeldavad sisendina ja väljastavad nurgad "
|
||||
"radiaanides (2 pii radiaani on täisring)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 130
|
||||
#: rc.cpp:160
|
||||
#, no-c-format
|
||||
msgid "Degrees"
|
||||
msgstr "Kraadid"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 133
|
||||
#: rc.cpp:163
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in degrees (360 degrees is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
"Trigonomeetrilised funktsioonid eeldavad sisendina ja väljastavad nurgad "
|
||||
"kraadides (360 kraadi on täisring)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 145
|
||||
#: rc.cpp:166
|
||||
#, no-c-format
|
||||
msgid "Copy to clipboard on execute"
|
||||
msgstr "Käivitamisel kopeeritakse lõikepuhvrisse"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 151
|
||||
#: rc.cpp:169
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"katapult can copy the expression or the result of the expression to the "
|
||||
"clipboard if you press the key assigned to \"execute action\" (by default, this "
|
||||
"is Enter)."
|
||||
msgstr ""
|
||||
"Katapult võib kopeerida avaldise või selle tulemuse lõikepuhvrisse, kui vajutad "
|
||||
"klahvi, mis on omistatud \"toimingu käivitamisele\" (vaikimisi on selleks "
|
||||
"Enter)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 170
|
||||
#: rc.cpp:172
|
||||
#, no-c-format
|
||||
msgid "Copied text:"
|
||||
msgstr "Kopeeritud tekst:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 188
|
||||
#: rc.cpp:175
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"<i>Hint:</i> %1 is replaced by the expression, %2 is replaced by the result"
|
||||
msgstr "<i>Vihje</i>: %1 asendatakse avaldisega, %2 tulemusega"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 59
|
||||
#: rc.cpp:187
|
||||
#, no-c-format
|
||||
msgid "Ignore applications without icons"
|
||||
msgstr "Ikoonideta rakendusi ignoreeritakse"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 67
|
||||
#: rc.cpp:190
|
||||
#, no-c-format
|
||||
msgid "Ignore terminal applications"
|
||||
msgstr "Terminalirakendusi ignoreeritakse"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 75
|
||||
#: rc.cpp:193
|
||||
#, no-c-format
|
||||
msgid "Catalog applications by executable name"
|
||||
msgstr "Rakendused kataloogitakse käivitatava faili nime järgi"
|
||||
|
||||
#: plugins/catalogs/bookmarkcatalog/actionopenbookmark.cpp:43
|
||||
msgid "Open Bookmark"
|
||||
msgstr "Ava järjehoidja"
|
||||
|
||||
#: plugins/catalogs/amarokcatalog/actionplaysong.cpp:43
|
||||
msgid "Play Song"
|
||||
msgstr "Esita laul"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/actioncopyspelling.cpp:48
|
||||
msgid "Parse Error"
|
||||
msgstr "Parsimisviga"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:87
|
||||
msgid ""
|
||||
"_: Should be short, easy and quick to type\n"
|
||||
"spell"
|
||||
msgstr "uuri"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:102
|
||||
msgid "Use with \"%1 myword\""
|
||||
msgstr "Kasutatakse \"%1 minusõna\""
|
||||
|
||||
#: plugins/catalogs/calculatorcatalog/actionevalexpr.cpp:109
|
||||
msgid "Evaluate Expression"
|
||||
msgstr "Hinda avaldist"
|
||||
|
||||
#: plugins/catalogs/programcatalog/actionrunprogram.cpp:43
|
||||
msgid "Run Program"
|
||||
msgstr "Käivita programm"
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = fr
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = ga
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
@ -0,0 +1,473 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: playground-utils/katapult.po\n"
|
||||
"POT-Creation-Date: 2006-06-08 11:22+0200\n"
|
||||
"PO-Revision-Date: 2006-02-23 09:36-0500\n"
|
||||
"Last-Translator: Kevin Patrick Scannell <scannell@SLU.EDU>\n"
|
||||
"Language-Team: Irish <gaeilge-gnulinux@lists.sourceforge.net>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:50 rc.cpp:3
|
||||
#, no-c-format
|
||||
msgid "General Settings"
|
||||
msgstr "Socruithe Ghinearálta"
|
||||
|
||||
#. i18n: file ./katapult/confcatalogs.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:67 katapult/katapultconfigdlg.cpp:157
|
||||
#: rc.cpp:62
|
||||
#, no-c-format
|
||||
msgid "Catalogs"
|
||||
msgstr "Catalóga"
|
||||
|
||||
#: katapult/katapultconfigdlg.cpp:67
|
||||
msgid "Enabled Catalogs"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confdisplay.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:87 rc.cpp:59
|
||||
#, no-c-format
|
||||
msgid "Display"
|
||||
msgstr "Taispeáin"
|
||||
|
||||
#: katapult/main.cpp:31
|
||||
msgid ""
|
||||
"A plugin-driven utility that can launch applications, bookmarks, or anything "
|
||||
"else that you can find a plugin for."
|
||||
msgstr ""
|
||||
|
||||
#: katapult/main.cpp:42
|
||||
msgid "Katapult"
|
||||
msgstr "Katapult"
|
||||
|
||||
#: katapult/main.cpp:43
|
||||
msgid ""
|
||||
"(C) until 2005, Joe Ferris\n"
|
||||
"(C) 2005, the Katapult development team"
|
||||
msgstr ""
|
||||
|
||||
#: katapult/main.cpp:44
|
||||
msgid "Project Manager"
|
||||
msgstr "Bainisteoir an Tionscadail"
|
||||
|
||||
#: katapult/main.cpp:45
|
||||
msgid "Lead Developer"
|
||||
msgstr "Príomhfhorbróir"
|
||||
|
||||
#: katapult/main.cpp:46
|
||||
msgid "Developer"
|
||||
msgstr "Forbróir"
|
||||
|
||||
#: katapult/main.cpp:47
|
||||
msgid "Graphics"
|
||||
msgstr "Grafaic"
|
||||
|
||||
#: katapult/main.cpp:50
|
||||
msgid "Original Author"
|
||||
msgstr "An Chéad Údar"
|
||||
|
||||
#: katapult/settings.cpp:93
|
||||
msgid "MyDialog1"
|
||||
msgstr "MoDhialóg1"
|
||||
|
||||
#: katapult/settings.cpp:95
|
||||
msgid "New Item"
|
||||
msgstr "Mír Nua"
|
||||
|
||||
#: katapult/settings.cpp:96 katapult/settings.cpp:97
|
||||
msgid "Tab"
|
||||
msgstr "Táb"
|
||||
|
||||
#: katapult/settings.cpp:99
|
||||
msgid "F1"
|
||||
msgstr "F1"
|
||||
|
||||
#: katapult/katapult.cpp:83
|
||||
msgid ""
|
||||
"Application successfully started !\n"
|
||||
"Press %1 to use it..."
|
||||
msgstr ""
|
||||
|
||||
#: katapult/katapult.cpp:85
|
||||
msgid "Katapult Notification"
|
||||
msgstr "Fógairt Katapult"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Show Launcher"
|
||||
msgstr "Taispeáin an Tosaitheoir"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Shows the Katapult launcher"
|
||||
msgstr "Taispeáin an Tosaitheoir Katapult"
|
||||
|
||||
#: katapult/katapult.cpp:129
|
||||
msgid "Execute"
|
||||
msgstr "Rith"
|
||||
|
||||
#: katapult/katapult.cpp:132
|
||||
msgid "Complete Query"
|
||||
msgstr "Cuir an tIarratas i gCrích"
|
||||
|
||||
#: katapult/katapult.cpp:133
|
||||
msgid "Show Context Menu"
|
||||
msgstr "Taispeáin Roghchlár Comhthéacs"
|
||||
|
||||
#: katapult/katapult.cpp:136
|
||||
msgid "Configure &Global Shortcuts..."
|
||||
msgstr "Cumraigh Aicearraí &Comhchoiteanna..."
|
||||
|
||||
#: _translatorinfo.cpp:1
|
||||
msgid ""
|
||||
"_: NAME OF TRANSLATORS\n"
|
||||
"Your names"
|
||||
msgstr "Kevin Scannell"
|
||||
|
||||
#: _translatorinfo.cpp:3
|
||||
msgid ""
|
||||
"_: EMAIL OF TRANSLATORS\n"
|
||||
"Your emails"
|
||||
msgstr "scannell at slu dot edu"
|
||||
|
||||
#: common/imagedisplay.cpp:272
|
||||
msgid "No items matched."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 35
|
||||
#: rc.cpp:6
|
||||
#, no-c-format
|
||||
msgid "Executing Actions"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 46
|
||||
#: rc.cpp:9
|
||||
#, no-c-format
|
||||
msgid "Delay before hiding &launcher:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 52
|
||||
#: rc.cpp:12
|
||||
#, no-c-format
|
||||
msgid "How long Katapult waits before hiding the launcher"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 57
|
||||
#: rc.cpp:15
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"After an action is performed or no results were found, the Katapult launcher "
|
||||
"will be hidden.\n"
|
||||
"\n"
|
||||
"This sets how long Katapult will wait before hiding the launcher."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 88
|
||||
#: rc.cpp:20
|
||||
#, no-c-format
|
||||
msgid "Automatically perform &default action"
|
||||
msgstr "&Déan an gníomh réamhshocraithe go huathoibríoch"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 91
|
||||
#: rc.cpp:23
|
||||
#, no-c-format
|
||||
msgid "Whether to wait for confirmation or automatically execute actions"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 94
|
||||
#: rc.cpp:26
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically perform the default action once all "
|
||||
"items but one have been eliminated. This avoids the extra keystroke after there "
|
||||
"is only one possibility."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 112
|
||||
#: rc.cpp:29
|
||||
#, no-c-format
|
||||
msgid "No Results"
|
||||
msgstr "Gan Torthaí"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 126
|
||||
#: rc.cpp:32
|
||||
#, no-c-format
|
||||
msgid "When there are no results:"
|
||||
msgstr "Nuair nach bhfuil torthaí ann:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 134
|
||||
#: rc.cpp:35
|
||||
#, no-c-format
|
||||
msgid "&Clear the query after a delay"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 142
|
||||
#: rc.cpp:38
|
||||
#, no-c-format
|
||||
msgid "&Hide the display after a delay"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 150
|
||||
#: rc.cpp:41
|
||||
#, no-c-format
|
||||
msgid "Do ¬hing"
|
||||
msgstr "Ná déa&n faic"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 158
|
||||
#: rc.cpp:44
|
||||
#, no-c-format
|
||||
msgid "&Delay before clearing or hiding:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 202
|
||||
#: rc.cpp:47
|
||||
#, no-c-format
|
||||
msgid "System Tray"
|
||||
msgstr "Tráidire an Chórais"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 220
|
||||
#: rc.cpp:50
|
||||
#, no-c-format
|
||||
msgid "&Show an icon in the systray"
|
||||
msgstr "Tai&speáin deilbhín i dtráidire an chórais"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 223
|
||||
#: rc.cpp:53
|
||||
#, no-c-format
|
||||
msgid "If activated, katapult shows an icon in the System Tray when running"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 226
|
||||
#: rc.cpp:56
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically show an Icon in the System Tray."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 16
|
||||
#: rc.cpp:65 rc.cpp:83 rc.cpp:101 rc.cpp:113 rc.cpp:122 rc.cpp:131 rc.cpp:178
|
||||
#, no-c-format
|
||||
msgid "Settings"
|
||||
msgstr "Socruithe"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 27
|
||||
#: rc.cpp:68
|
||||
#, no-c-format
|
||||
msgid "Length of fade-in/fade-out:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 58
|
||||
#: rc.cpp:71
|
||||
#, no-c-format
|
||||
msgid "Display Font"
|
||||
msgstr "Cló Taispeána"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 80
|
||||
#: rc.cpp:74
|
||||
#, no-c-format
|
||||
msgid "Font face:"
|
||||
msgstr "Cló-aghaidh:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 120
|
||||
#: rc.cpp:77
|
||||
#, no-c-format
|
||||
msgid "Minimum font size:"
|
||||
msgstr "Clómhéid is lú:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 160
|
||||
#: rc.cpp:80
|
||||
#, no-c-format
|
||||
msgid "Maximum font size:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 35
|
||||
#: rc.cpp:86 rc.cpp:104 rc.cpp:116 rc.cpp:181
|
||||
#, no-c-format
|
||||
msgid "Number of characters before searching:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 49
|
||||
#: rc.cpp:89 rc.cpp:107 rc.cpp:119 rc.cpp:184
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Katapult will not search for programs until you have typed at least this many "
|
||||
"characters in the Katapult launcher."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 59
|
||||
#: rc.cpp:92
|
||||
#, no-c-format
|
||||
msgid "Import Mozilla bookmarks"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 73
|
||||
#: rc.cpp:95
|
||||
#, no-c-format
|
||||
msgid "Automatically detect bookmark file"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 81
|
||||
#: rc.cpp:98
|
||||
#, no-c-format
|
||||
msgid "Use the following file:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/documentcatalog/settings.ui line 56
|
||||
#: rc.cpp:110
|
||||
#, no-c-format
|
||||
msgid "Show Preview for Documents?"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 32
|
||||
#: rc.cpp:125
|
||||
#, no-c-format
|
||||
msgid "Trigger Word:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 40
|
||||
#: rc.cpp:128
|
||||
#, no-c-format
|
||||
msgid "Use with: \"spell myword\""
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 35
|
||||
#: rc.cpp:134
|
||||
#, no-c-format
|
||||
msgid "Number of fractional digits:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 55
|
||||
#: rc.cpp:137
|
||||
#, no-c-format
|
||||
msgid "Katapult will show this number of fractional digits."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 84
|
||||
#: rc.cpp:141
|
||||
#, no-c-format
|
||||
msgid "Normal"
|
||||
msgstr "Gnách"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 87
|
||||
#: rc.cpp:144
|
||||
#, no-c-format
|
||||
msgid "In normal mode, katapult will never show an exponent on a number."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 95
|
||||
#: rc.cpp:147
|
||||
#, no-c-format
|
||||
msgid "Scientific"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 98
|
||||
#: rc.cpp:150
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"In scientific mode, katapult will show an exponent on very large or very small "
|
||||
"numbers."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 119
|
||||
#: rc.cpp:154
|
||||
#, no-c-format
|
||||
msgid "Radians"
|
||||
msgstr "Raidiain"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 122
|
||||
#: rc.cpp:157
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in radians (2 pi radians is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 130
|
||||
#: rc.cpp:160
|
||||
#, no-c-format
|
||||
msgid "Degrees"
|
||||
msgstr "Céimeanna"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 133
|
||||
#: rc.cpp:163
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in degrees (360 degrees is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 145
|
||||
#: rc.cpp:166
|
||||
#, no-c-format
|
||||
msgid "Copy to clipboard on execute"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 151
|
||||
#: rc.cpp:169
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"katapult can copy the expression or the result of the expression to the "
|
||||
"clipboard if you press the key assigned to \"execute action\" (by default, this "
|
||||
"is Enter)."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 170
|
||||
#: rc.cpp:172
|
||||
#, no-c-format
|
||||
msgid "Copied text:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 188
|
||||
#: rc.cpp:175
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"<i>Hint:</i> %1 is replaced by the expression, %2 is replaced by the result"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 59
|
||||
#: rc.cpp:187
|
||||
#, no-c-format
|
||||
msgid "Ignore applications without icons"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 67
|
||||
#: rc.cpp:190
|
||||
#, no-c-format
|
||||
msgid "Ignore terminal applications"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 75
|
||||
#: rc.cpp:193
|
||||
#, no-c-format
|
||||
msgid "Catalog applications by executable name"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/bookmarkcatalog/actionopenbookmark.cpp:43
|
||||
msgid "Open Bookmark"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/amarokcatalog/actionplaysong.cpp:43
|
||||
msgid "Play Song"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/spellcatalog/actioncopyspelling.cpp:48
|
||||
msgid "Parse Error"
|
||||
msgstr "Earráid Pharsála"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:87
|
||||
msgid ""
|
||||
"_: Should be short, easy and quick to type\n"
|
||||
"spell"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:102
|
||||
msgid "Use with \"%1 myword\""
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/calculatorcatalog/actionevalexpr.cpp:109
|
||||
msgid "Evaluate Expression"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/programcatalog/actionrunprogram.cpp:43
|
||||
msgid "Run Program"
|
||||
msgstr "Rith Clár"
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = gl
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
@ -0,0 +1,506 @@
|
||||
# translation of katapult.po to Galician
|
||||
#
|
||||
# mvillarino <mvillarino@users.sourceforge.net>, 2006.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: katapult\n"
|
||||
"POT-Creation-Date: 2006-06-08 11:22+0200\n"
|
||||
"PO-Revision-Date: 2006-08-05 13:14+0200\n"
|
||||
"Last-Translator: mvillarino <mvillarino@users.sourceforge.net>\n"
|
||||
"Language-Team: Galician <trasno@ceu.fi.udc.es>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: KBabel 1.11.2\n"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:50 rc.cpp:3
|
||||
#, no-c-format
|
||||
msgid "General Settings"
|
||||
msgstr "Configurazón xeral"
|
||||
|
||||
#. i18n: file ./katapult/confcatalogs.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:67 katapult/katapultconfigdlg.cpp:157
|
||||
#: rc.cpp:62
|
||||
#, no-c-format
|
||||
msgid "Catalogs"
|
||||
msgstr "Catálogos"
|
||||
|
||||
#: katapult/katapultconfigdlg.cpp:67
|
||||
msgid "Enabled Catalogs"
|
||||
msgstr "Catálogos Habilitados"
|
||||
|
||||
#. i18n: file ./katapult/confdisplay.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:87 rc.cpp:59
|
||||
#, no-c-format
|
||||
msgid "Display"
|
||||
msgstr "Visualizazón"
|
||||
|
||||
#: katapult/main.cpp:31
|
||||
msgid ""
|
||||
"A plugin-driven utility that can launch applications, bookmarks, or anything "
|
||||
"else that you can find a plugin for."
|
||||
msgstr ""
|
||||
"Unha utilidade baseada en plugins que pode lanzar aplicazóns, marcadores, ou "
|
||||
"calquer cousa para a que poda atopar un plugin."
|
||||
|
||||
#: katapult/main.cpp:42
|
||||
msgid "Katapult"
|
||||
msgstr "Katapult"
|
||||
|
||||
#: katapult/main.cpp:43
|
||||
msgid ""
|
||||
"(C) until 2005, Joe Ferris\n"
|
||||
"(C) 2005, the Katapult development team"
|
||||
msgstr ""
|
||||
"(C) até 2005, Joe Ferris\n"
|
||||
"(C) 2005, a equipa de desenvolvimento de Katapult"
|
||||
|
||||
#: katapult/main.cpp:44
|
||||
msgid "Project Manager"
|
||||
msgstr "Xestor do Proxecto"
|
||||
|
||||
#: katapult/main.cpp:45
|
||||
msgid "Lead Developer"
|
||||
msgstr "Líder do Desenvolvimento"
|
||||
|
||||
#: katapult/main.cpp:46
|
||||
msgid "Developer"
|
||||
msgstr "Desenvolvente"
|
||||
|
||||
#: katapult/main.cpp:47
|
||||
msgid "Graphics"
|
||||
msgstr "Gráficos"
|
||||
|
||||
#: katapult/main.cpp:50
|
||||
msgid "Original Author"
|
||||
msgstr "Autor Orixinal"
|
||||
|
||||
#: katapult/settings.cpp:93
|
||||
msgid "MyDialog1"
|
||||
msgstr "MyDialog1"
|
||||
|
||||
#: katapult/settings.cpp:95
|
||||
msgid "New Item"
|
||||
msgstr "Novo Ítem"
|
||||
|
||||
#: katapult/settings.cpp:96 katapult/settings.cpp:97
|
||||
msgid "Tab"
|
||||
msgstr "Tab"
|
||||
|
||||
#: katapult/settings.cpp:99
|
||||
msgid "F1"
|
||||
msgstr "F1"
|
||||
|
||||
#: katapult/katapult.cpp:83
|
||||
msgid ""
|
||||
"Application successfully started !\n"
|
||||
"Press %1 to use it..."
|
||||
msgstr ""
|
||||
"A aplicazón foi iniciada con éxito!\n"
|
||||
"Prema %1 para usá-la..."
|
||||
|
||||
#: katapult/katapult.cpp:85
|
||||
msgid "Katapult Notification"
|
||||
msgstr "Notificazón de Katapult"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Show Launcher"
|
||||
msgstr "Mostrar Lanzador"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Shows the Katapult launcher"
|
||||
msgstr "Mostra o lanzador de Katapult"
|
||||
|
||||
#: katapult/katapult.cpp:129
|
||||
msgid "Execute"
|
||||
msgstr "Executar"
|
||||
|
||||
#: katapult/katapult.cpp:132
|
||||
msgid "Complete Query"
|
||||
msgstr "Completar Pesquisa"
|
||||
|
||||
#: katapult/katapult.cpp:133
|
||||
msgid "Show Context Menu"
|
||||
msgstr "Mostrar Menu de Contexto"
|
||||
|
||||
#: katapult/katapult.cpp:136
|
||||
msgid "Configure &Global Shortcuts..."
|
||||
msgstr "Configurar Atallos &Globais..."
|
||||
|
||||
#: _translatorinfo.cpp:1
|
||||
msgid ""
|
||||
"_: NAME OF TRANSLATORS\n"
|
||||
"Your names"
|
||||
msgstr "mvillarino"
|
||||
|
||||
#: _translatorinfo.cpp:3
|
||||
msgid ""
|
||||
"_: EMAIL OF TRANSLATORS\n"
|
||||
"Your emails"
|
||||
msgstr "mvillarino@users.sourceforge.net"
|
||||
|
||||
#: common/imagedisplay.cpp:272
|
||||
msgid "No items matched."
|
||||
msgstr "Non coincideu nengun ítem."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 35
|
||||
#: rc.cpp:6
|
||||
#, no-c-format
|
||||
msgid "Executing Actions"
|
||||
msgstr "A Executar as Aczóns"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 46
|
||||
#: rc.cpp:9
|
||||
#, no-c-format
|
||||
msgid "Delay before hiding &launcher:"
|
||||
msgstr "Demora antes de ocultar o &lanzador:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 52
|
||||
#: rc.cpp:12
|
||||
#, no-c-format
|
||||
msgid "How long Katapult waits before hiding the launcher"
|
||||
msgstr "Canto aguarda Katapult antes de ocultar o lanzador"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 57
|
||||
#: rc.cpp:15
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"After an action is performed or no results were found, the Katapult launcher "
|
||||
"will be hidden.\n"
|
||||
"\n"
|
||||
"This sets how long Katapult will wait before hiding the launcher."
|
||||
msgstr ""
|
||||
"Após que se realize unha aczón ou que non se atopen resultados, o lanzador de "
|
||||
"Katapult será ocultado.\n"
|
||||
"\n"
|
||||
"Isto configura o tempo que Katapult aguardará antes de ocultar o lanzador."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 88
|
||||
#: rc.cpp:20
|
||||
#, no-c-format
|
||||
msgid "Automatically perform &default action"
|
||||
msgstr "Realizar automaticamente a aczón por &omisión"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 91
|
||||
#: rc.cpp:23
|
||||
#, no-c-format
|
||||
msgid "Whether to wait for confirmation or automatically execute actions"
|
||||
msgstr ""
|
||||
"Indica se debe aguardar por unha confirmazón ou executar automaticamente as "
|
||||
"aczóns"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 94
|
||||
#: rc.cpp:26
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically perform the default action once all "
|
||||
"items but one have been eliminated. This avoids the extra keystroke after there "
|
||||
"is only one possibility."
|
||||
msgstr ""
|
||||
"Se habilita esta opzón, Katapult executará automaticamente a aczón por omisión "
|
||||
"cando só quede un ítem. Isto aforra-lle calcar unha tecla cando só quede unha "
|
||||
"posibilidade."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 112
|
||||
#: rc.cpp:29
|
||||
#, no-c-format
|
||||
msgid "No Results"
|
||||
msgstr "Sen Resultados"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 126
|
||||
#: rc.cpp:32
|
||||
#, no-c-format
|
||||
msgid "When there are no results:"
|
||||
msgstr "Cando non haxa resultados:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 134
|
||||
#: rc.cpp:35
|
||||
#, no-c-format
|
||||
msgid "&Clear the query after a delay"
|
||||
msgstr "&Limpar a pesquisa após un tempo"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 142
|
||||
#: rc.cpp:38
|
||||
#, no-c-format
|
||||
msgid "&Hide the display after a delay"
|
||||
msgstr "&Acochar a visualizazón tras un tempo"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 150
|
||||
#: rc.cpp:41
|
||||
#, no-c-format
|
||||
msgid "Do ¬hing"
|
||||
msgstr "Non facer &nada"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 158
|
||||
#: rc.cpp:44
|
||||
#, no-c-format
|
||||
msgid "&Delay before clearing or hiding:"
|
||||
msgstr "A&traso antes de limpar ou acochar:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 202
|
||||
#: rc.cpp:47
|
||||
#, no-c-format
|
||||
msgid "System Tray"
|
||||
msgstr "Bandexa do Sistema"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 220
|
||||
#: rc.cpp:50
|
||||
#, no-c-format
|
||||
msgid "&Show an icon in the systray"
|
||||
msgstr "&Mostrar un ícone na bandexa do sistema"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 223
|
||||
#: rc.cpp:53
|
||||
#, no-c-format
|
||||
msgid "If activated, katapult shows an icon in the System Tray when running"
|
||||
msgstr ""
|
||||
"Se o habilita, katapult mostrará un ícone na Bandexa do Sistema cando o execute"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 226
|
||||
#: rc.cpp:56
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically show an Icon in the System Tray."
|
||||
msgstr ""
|
||||
"Se o habilita, Katapult mostrará automaticamente un ícone na Bandexa do "
|
||||
"Sistema."
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 16
|
||||
#: rc.cpp:65 rc.cpp:83 rc.cpp:101 rc.cpp:113 rc.cpp:122 rc.cpp:131 rc.cpp:178
|
||||
#, no-c-format
|
||||
msgid "Settings"
|
||||
msgstr "Configurazón"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 27
|
||||
#: rc.cpp:68
|
||||
#, no-c-format
|
||||
msgid "Length of fade-in/fade-out:"
|
||||
msgstr "Durazón da aparizón/desaparizón:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 58
|
||||
#: rc.cpp:71
|
||||
#, no-c-format
|
||||
msgid "Display Font"
|
||||
msgstr "Tipos de Letra"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 80
|
||||
#: rc.cpp:74
|
||||
#, no-c-format
|
||||
msgid "Font face:"
|
||||
msgstr "Nome da tipografia:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 120
|
||||
#: rc.cpp:77
|
||||
#, no-c-format
|
||||
msgid "Minimum font size:"
|
||||
msgstr "Tamaño mínimo:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 160
|
||||
#: rc.cpp:80
|
||||
#, no-c-format
|
||||
msgid "Maximum font size:"
|
||||
msgstr "Tamaño máximo:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 35
|
||||
#: rc.cpp:86 rc.cpp:104 rc.cpp:116 rc.cpp:181
|
||||
#, no-c-format
|
||||
msgid "Number of characters before searching:"
|
||||
msgstr "Número de carácteres antes de procurar:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 49
|
||||
#: rc.cpp:89 rc.cpp:107 rc.cpp:119 rc.cpp:184
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Katapult will not search for programs until you have typed at least this many "
|
||||
"characters in the Katapult launcher."
|
||||
msgstr ""
|
||||
"Katapult non comezará a procura de programas até que non teña escrito polo "
|
||||
"menos esta cantidade de carácteres no lanzador de Katapult."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 59
|
||||
#: rc.cpp:92
|
||||
#, no-c-format
|
||||
msgid "Import Mozilla bookmarks"
|
||||
msgstr "Importar marcadores de Mozilla"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 73
|
||||
#: rc.cpp:95
|
||||
#, no-c-format
|
||||
msgid "Automatically detect bookmark file"
|
||||
msgstr "Detectar automaticamente o ficheiro dos marcadores"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 81
|
||||
#: rc.cpp:98
|
||||
#, no-c-format
|
||||
msgid "Use the following file:"
|
||||
msgstr "Usar o seguinte ficheiro:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/documentcatalog/settings.ui line 56
|
||||
#: rc.cpp:110
|
||||
#, no-c-format
|
||||
msgid "Show Preview for Documents?"
|
||||
msgstr "Mostrar Antevisión dos Documentos?"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 32
|
||||
#: rc.cpp:125
|
||||
#, no-c-format
|
||||
msgid "Trigger Word:"
|
||||
msgstr "Palabra Iniciadora:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 40
|
||||
#: rc.cpp:128
|
||||
#, no-c-format
|
||||
msgid "Use with: \"spell myword\""
|
||||
msgstr "Usar con: \"spell palabra\""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 35
|
||||
#: rc.cpp:134
|
||||
#, no-c-format
|
||||
msgid "Number of fractional digits:"
|
||||
msgstr "Número de díxitos decimais:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 55
|
||||
#: rc.cpp:137
|
||||
#, no-c-format
|
||||
msgid "Katapult will show this number of fractional digits."
|
||||
msgstr "Katapult mostrará esta cantidade de díxitos decimais."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 84
|
||||
#: rc.cpp:141
|
||||
#, no-c-format
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 87
|
||||
#: rc.cpp:144
|
||||
#, no-c-format
|
||||
msgid "In normal mode, katapult will never show an exponent on a number."
|
||||
msgstr "No modo normal, katapult nunca mostrará un exponente nun número."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 95
|
||||
#: rc.cpp:147
|
||||
#, no-c-format
|
||||
msgid "Scientific"
|
||||
msgstr "Científico"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 98
|
||||
#: rc.cpp:150
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"In scientific mode, katapult will show an exponent on very large or very small "
|
||||
"numbers."
|
||||
msgstr ""
|
||||
"No modo científico, katapult mostrará un exponente para os números moi grandes "
|
||||
"ou moi pequenos."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 119
|
||||
#: rc.cpp:154
|
||||
#, no-c-format
|
||||
msgid "Radians"
|
||||
msgstr "Radiáns"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 122
|
||||
#: rc.cpp:157
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in radians (2 pi radians is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
"As funzóns trigonométricas toman e devolven ángulos en radiáns (un círculo ten "
|
||||
"2*pi radiáns)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 130
|
||||
#: rc.cpp:160
|
||||
#, no-c-format
|
||||
msgid "Degrees"
|
||||
msgstr "Graus"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 133
|
||||
#: rc.cpp:163
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in degrees (360 degrees is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
"As funzóns trigonométricas toman e devolven ángulos en graus (un círculo ten "
|
||||
"360 graus)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 145
|
||||
#: rc.cpp:166
|
||||
#, no-c-format
|
||||
msgid "Copy to clipboard on execute"
|
||||
msgstr "Copiar para o porta-retallos ao executar"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 151
|
||||
#: rc.cpp:169
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"katapult can copy the expression or the result of the expression to the "
|
||||
"clipboard if you press the key assigned to \"execute action\" (by default, this "
|
||||
"is Enter)."
|
||||
msgstr ""
|
||||
"Katapult pode copiar a expresión ou o seu resultado para o porta-retallos se "
|
||||
"preme a tecla asinada a \"executar aczón\" (por omisión, Enter)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 170
|
||||
#: rc.cpp:172
|
||||
#, no-c-format
|
||||
msgid "Copied text:"
|
||||
msgstr "Texto copiado:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 188
|
||||
#: rc.cpp:175
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"<i>Hint:</i> %1 is replaced by the expression, %2 is replaced by the result"
|
||||
msgstr ""
|
||||
"<i>Axuda:</i> %1 é reemprazado pola expresión, %2 é reemprazado polo resultado"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 59
|
||||
#: rc.cpp:187
|
||||
#, no-c-format
|
||||
msgid "Ignore applications without icons"
|
||||
msgstr "Ignorar as aplicazóns sen ícones"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 67
|
||||
#: rc.cpp:190
|
||||
#, no-c-format
|
||||
msgid "Ignore terminal applications"
|
||||
msgstr "Ignorar as aplicazóns de terminal"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 75
|
||||
#: rc.cpp:193
|
||||
#, no-c-format
|
||||
msgid "Catalog applications by executable name"
|
||||
msgstr "Catalogar as aplicazóns segundo o nome do executábel"
|
||||
|
||||
#: plugins/catalogs/bookmarkcatalog/actionopenbookmark.cpp:43
|
||||
msgid "Open Bookmark"
|
||||
msgstr "Abrir Marcador"
|
||||
|
||||
#: plugins/catalogs/amarokcatalog/actionplaysong.cpp:43
|
||||
msgid "Play Song"
|
||||
msgstr "Reproducir Canzón"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/actioncopyspelling.cpp:48
|
||||
msgid "Parse Error"
|
||||
msgstr "Erro de Procesamento"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:87
|
||||
msgid ""
|
||||
"_: Should be short, easy and quick to type\n"
|
||||
"spell"
|
||||
msgstr "verificar"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:102
|
||||
msgid "Use with \"%1 myword\""
|
||||
msgstr "Usar con \"%1 palabra\""
|
||||
|
||||
#: plugins/catalogs/calculatorcatalog/actionevalexpr.cpp:109
|
||||
msgid "Evaluate Expression"
|
||||
msgstr "Avaliar Expresión"
|
||||
|
||||
#: plugins/catalogs/programcatalog/actionrunprogram.cpp:43
|
||||
msgid "Run Program"
|
||||
msgstr "Lanzar Programa"
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = hu
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
@ -0,0 +1,501 @@
|
||||
# Katapult Hungarian translation
|
||||
# Tamas Szanto <tszanto(at)interware(dot)hu>, 2006.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Katapult 0.3.1.3\n"
|
||||
"POT-Creation-Date: 2006-06-08 11:22+0200\n"
|
||||
"PO-Revision-Date: 2006-07-14 11:11+0100\n"
|
||||
"Last-Translator: Tamas Szanto <tszanto(at)interware(dot)hu>\n"
|
||||
"Language-Team: Hungarian <kde-i18n-doc@kde.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:50 rc.cpp:3
|
||||
#, no-c-format
|
||||
msgid "General Settings"
|
||||
msgstr "Általános beállítások"
|
||||
|
||||
#. i18n: file ./katapult/confcatalogs.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:67 katapult/katapultconfigdlg.cpp:157
|
||||
#: rc.cpp:62
|
||||
#, no-c-format
|
||||
msgid "Catalogs"
|
||||
msgstr "Katalógusok"
|
||||
|
||||
#: katapult/katapultconfigdlg.cpp:67
|
||||
msgid "Enabled Catalogs"
|
||||
msgstr "Bekapcsolt katalógusok"
|
||||
|
||||
#. i18n: file ./katapult/confdisplay.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:87 rc.cpp:59
|
||||
#, no-c-format
|
||||
msgid "Display"
|
||||
msgstr "Megjelenítés"
|
||||
|
||||
#: katapult/main.cpp:31
|
||||
msgid ""
|
||||
"A plugin-driven utility that can launch applications, bookmarks, or anything "
|
||||
"else that you can find a plugin for."
|
||||
msgstr "Moduláris segédprogram alkalmazások, könyvjelzők stb. indítására."
|
||||
|
||||
#: katapult/main.cpp:42
|
||||
msgid "Katapult"
|
||||
msgstr "Katapult"
|
||||
|
||||
#: katapult/main.cpp:43
|
||||
msgid ""
|
||||
"(C) until 2005, Joe Ferris\n"
|
||||
"(C) 2005, the Katapult development team"
|
||||
msgstr ""
|
||||
"(C) Joe Ferris, 2005-ig\n"
|
||||
"(C) A Katapult fejlesztői, 2005."
|
||||
|
||||
#: katapult/main.cpp:44
|
||||
msgid "Project Manager"
|
||||
msgstr "Projektvezető"
|
||||
|
||||
#: katapult/main.cpp:45
|
||||
msgid "Lead Developer"
|
||||
msgstr "Vezető fejlesztő"
|
||||
|
||||
#: katapult/main.cpp:46
|
||||
msgid "Developer"
|
||||
msgstr "Fejlesztő"
|
||||
|
||||
#: katapult/main.cpp:47
|
||||
msgid "Graphics"
|
||||
msgstr "Grafika"
|
||||
|
||||
#: katapult/main.cpp:50
|
||||
msgid "Original Author"
|
||||
msgstr "Eredeti szerző"
|
||||
|
||||
#: katapult/settings.cpp:93
|
||||
msgid "MyDialog1"
|
||||
msgstr "MyDialog1"
|
||||
|
||||
#: katapult/settings.cpp:95
|
||||
msgid "New Item"
|
||||
msgstr "Új elem"
|
||||
|
||||
#: katapult/settings.cpp:96 katapult/settings.cpp:97
|
||||
msgid "Tab"
|
||||
msgstr "Tab"
|
||||
|
||||
#: katapult/settings.cpp:99
|
||||
msgid "F1"
|
||||
msgstr "F1"
|
||||
|
||||
#: katapult/katapult.cpp:83
|
||||
msgid ""
|
||||
"Application successfully started !\n"
|
||||
"Press %1 to use it..."
|
||||
msgstr ""
|
||||
"Az alkalmazás elindult.\n"
|
||||
"Használat: %1 megnyomására..."
|
||||
|
||||
#: katapult/katapult.cpp:85
|
||||
msgid "Katapult Notification"
|
||||
msgstr "Katapult - Értesítés"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Show Launcher"
|
||||
msgstr "Az indító megjelenítése"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Shows the Katapult launcher"
|
||||
msgstr "Megjeleníti a Katapult indítóját"
|
||||
|
||||
#: katapult/katapult.cpp:129
|
||||
msgid "Execute"
|
||||
msgstr "Végrehajtás"
|
||||
|
||||
#: katapult/katapult.cpp:132
|
||||
msgid "Complete Query"
|
||||
msgstr "Teljes lekérdezés"
|
||||
|
||||
#: katapult/katapult.cpp:133
|
||||
msgid "Show Context Menu"
|
||||
msgstr "Kontextusmenü megjelenítése"
|
||||
|
||||
#: katapult/katapult.cpp:136
|
||||
msgid "Configure &Global Shortcuts..."
|
||||
msgstr "A &globális billentyűparancsok beállítása..."
|
||||
|
||||
#: _translatorinfo.cpp:1
|
||||
msgid ""
|
||||
"_: NAME OF TRANSLATORS\n"
|
||||
"Your names"
|
||||
msgstr "Szántó Tamás"
|
||||
|
||||
#: _translatorinfo.cpp:3
|
||||
msgid ""
|
||||
"_: EMAIL OF TRANSLATORS\n"
|
||||
"Your emails"
|
||||
msgstr "tszanto(at)interware(dot)hu"
|
||||
|
||||
#: common/imagedisplay.cpp:272
|
||||
msgid "No items matched."
|
||||
msgstr "Nincs illeszkedő elem."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 35
|
||||
#: rc.cpp:6
|
||||
#, no-c-format
|
||||
msgid "Executing Actions"
|
||||
msgstr "Műveletek végrehajtása"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 46
|
||||
#: rc.cpp:9
|
||||
#, no-c-format
|
||||
msgid "Delay before hiding &launcher:"
|
||||
msgstr "Késleltetés az indító &elrejtéséig:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 52
|
||||
#: rc.cpp:12
|
||||
#, no-c-format
|
||||
msgid "How long Katapult waits before hiding the launcher"
|
||||
msgstr "Ennyi ideig vár a Katapult az indító elrejtése előtt"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 57
|
||||
#: rc.cpp:15
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"After an action is performed or no results were found, the Katapult launcher "
|
||||
"will be hidden.\n"
|
||||
"\n"
|
||||
"This sets how long Katapult will wait before hiding the launcher."
|
||||
msgstr ""
|
||||
"Művelet végrehajtása után, ha nincs találat, a Katapult indítója automatikusan "
|
||||
"eltűnik.\n"
|
||||
"\n"
|
||||
"Itt lehet megadni, mennyi idő után történjen meg az elrejtés."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 88
|
||||
#: rc.cpp:20
|
||||
#, no-c-format
|
||||
msgid "Automatically perform &default action"
|
||||
msgstr "Az alapértelmezett műv&elet automatikus végrehajtása"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 91
|
||||
#: rc.cpp:23
|
||||
#, no-c-format
|
||||
msgid "Whether to wait for confirmation or automatically execute actions"
|
||||
msgstr "Kérjen-e a program megerősítést műveletek végrehajtása előtt"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 94
|
||||
#: rc.cpp:26
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically perform the default action once all "
|
||||
"items but one have been eliminated. This avoids the extra keystroke after there "
|
||||
"is only one possibility."
|
||||
msgstr ""
|
||||
"Ha be van jelölve, a Katapult automatikus elvégzi a műveletet, ha már csak egy "
|
||||
"elem jöhet számításba. Így meg lehet takarítani egy billentyűleütést."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 112
|
||||
#: rc.cpp:29
|
||||
#, no-c-format
|
||||
msgid "No Results"
|
||||
msgstr "Nincs találat"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 126
|
||||
#: rc.cpp:32
|
||||
#, no-c-format
|
||||
msgid "When there are no results:"
|
||||
msgstr "Ha nincs találat:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 134
|
||||
#: rc.cpp:35
|
||||
#, no-c-format
|
||||
msgid "&Clear the query after a delay"
|
||||
msgstr "A keresőme&ző törlése ennyi idő után"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 142
|
||||
#: rc.cpp:38
|
||||
#, no-c-format
|
||||
msgid "&Hide the display after a delay"
|
||||
msgstr "Elrejtés ennyi idő &után"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 150
|
||||
#: rc.cpp:41
|
||||
#, no-c-format
|
||||
msgid "Do ¬hing"
|
||||
msgstr "Nem kell &tenni semmit"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 158
|
||||
#: rc.cpp:44
|
||||
#, no-c-format
|
||||
msgid "&Delay before clearing or hiding:"
|
||||
msgstr "Törlés ill. elrejtés előtti &várakozási idő:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 202
|
||||
#: rc.cpp:47
|
||||
#, no-c-format
|
||||
msgid "System Tray"
|
||||
msgstr "Paneltálca"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 220
|
||||
#: rc.cpp:50
|
||||
#, no-c-format
|
||||
msgid "&Show an icon in the systray"
|
||||
msgstr "Ikon mutatása a &paneltálcán"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 223
|
||||
#: rc.cpp:53
|
||||
#, no-c-format
|
||||
msgid "If activated, katapult shows an icon in the System Tray when running"
|
||||
msgstr ""
|
||||
"Ha be van jelölve, egy Katapult ikon jelenik meg a paneltálcán futáskor"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 226
|
||||
#: rc.cpp:56
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically show an Icon in the System Tray."
|
||||
msgstr ""
|
||||
"Ha be van jelölve, automatikusan egy Katapult ikon jelenik meg a paneltálcán."
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 16
|
||||
#: rc.cpp:65 rc.cpp:83 rc.cpp:101 rc.cpp:113 rc.cpp:122 rc.cpp:131 rc.cpp:178
|
||||
#, no-c-format
|
||||
msgid "Settings"
|
||||
msgstr "Beállítások"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 27
|
||||
#: rc.cpp:68
|
||||
#, no-c-format
|
||||
msgid "Length of fade-in/fade-out:"
|
||||
msgstr "Az elhalványodás időtartama:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 58
|
||||
#: rc.cpp:71
|
||||
#, no-c-format
|
||||
msgid "Display Font"
|
||||
msgstr "Betűtípus"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 80
|
||||
#: rc.cpp:74
|
||||
#, no-c-format
|
||||
msgid "Font face:"
|
||||
msgstr "Betűcsalád:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 120
|
||||
#: rc.cpp:77
|
||||
#, no-c-format
|
||||
msgid "Minimum font size:"
|
||||
msgstr "Minimális betűméret:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 160
|
||||
#: rc.cpp:80
|
||||
#, no-c-format
|
||||
msgid "Maximum font size:"
|
||||
msgstr "Maximális betűméret:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 35
|
||||
#: rc.cpp:86 rc.cpp:104 rc.cpp:116 rc.cpp:181
|
||||
#, no-c-format
|
||||
msgid "Number of characters before searching:"
|
||||
msgstr "Minimális karakterszám kereséshez:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 49
|
||||
#: rc.cpp:89 rc.cpp:107 rc.cpp:119 rc.cpp:184
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Katapult will not search for programs until you have typed at least this many "
|
||||
"characters in the Katapult launcher."
|
||||
msgstr ""
|
||||
"A Katapult csak akkor fog illeszkedő programokat keresni, ha legalább ennyi "
|
||||
"karaktert visz be az indítóba."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 59
|
||||
#: rc.cpp:92
|
||||
#, no-c-format
|
||||
msgid "Import Mozilla bookmarks"
|
||||
msgstr "A Mozilla-könyvjelzők importálása"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 73
|
||||
#: rc.cpp:95
|
||||
#, no-c-format
|
||||
msgid "Automatically detect bookmark file"
|
||||
msgstr "A könyvjelzőfájlok automatikus felismerése"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 81
|
||||
#: rc.cpp:98
|
||||
#, no-c-format
|
||||
msgid "Use the following file:"
|
||||
msgstr "A következő fájl használata:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/documentcatalog/settings.ui line 56
|
||||
#: rc.cpp:110
|
||||
#, no-c-format
|
||||
msgid "Show Preview for Documents?"
|
||||
msgstr "Kér előnézetet dokumentumoknál?"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 32
|
||||
#: rc.cpp:125
|
||||
#, no-c-format
|
||||
msgid "Trigger Word:"
|
||||
msgstr "Kulcsszó:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 40
|
||||
#: rc.cpp:128
|
||||
#, no-c-format
|
||||
msgid "Use with: \"spell myword\""
|
||||
msgstr "Használat: \"he szó\""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 35
|
||||
#: rc.cpp:134
|
||||
#, no-c-format
|
||||
msgid "Number of fractional digits:"
|
||||
msgstr "A tizedesjegyek száma:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 55
|
||||
#: rc.cpp:137
|
||||
#, no-c-format
|
||||
msgid "Katapult will show this number of fractional digits."
|
||||
msgstr "A Katapult ennyi tizedesjeggyel mutatja a számokat."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 84
|
||||
#: rc.cpp:141
|
||||
#, no-c-format
|
||||
msgid "Normal"
|
||||
msgstr "Normál"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 87
|
||||
#: rc.cpp:144
|
||||
#, no-c-format
|
||||
msgid "In normal mode, katapult will never show an exponent on a number."
|
||||
msgstr ""
|
||||
"Normál módban a számok szokványos módon, nem exponenciális formában jelennek "
|
||||
"meg."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 95
|
||||
#: rc.cpp:147
|
||||
#, no-c-format
|
||||
msgid "Scientific"
|
||||
msgstr "Tudományos"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 98
|
||||
#: rc.cpp:150
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"In scientific mode, katapult will show an exponent on very large or very small "
|
||||
"numbers."
|
||||
msgstr ""
|
||||
"Tudományos módban a nagyon nagy és kicsi számok exponenciális formában jelennek "
|
||||
"meg."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 119
|
||||
#: rc.cpp:154
|
||||
#, no-c-format
|
||||
msgid "Radians"
|
||||
msgstr "Radián"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 122
|
||||
#: rc.cpp:157
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in radians (2 pi radians is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
"A trigonometriai függvények radiánban várják és adják vissza az eredményt (2 pi "
|
||||
"= teljes szög)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 130
|
||||
#: rc.cpp:160
|
||||
#, no-c-format
|
||||
msgid "Degrees"
|
||||
msgstr "Fokok"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 133
|
||||
#: rc.cpp:163
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in degrees (360 degrees is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
"A trigonometriai függvények fokban várják és adják vissza az eredményt (360 fok "
|
||||
"= teljes szög)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 145
|
||||
#: rc.cpp:166
|
||||
#, no-c-format
|
||||
msgid "Copy to clipboard on execute"
|
||||
msgstr "Másolás a vágólapra végrehajtáskor"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 151
|
||||
#: rc.cpp:169
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"katapult can copy the expression or the result of the expression to the "
|
||||
"clipboard if you press the key assigned to \"execute action\" (by default, this "
|
||||
"is Enter)."
|
||||
msgstr ""
|
||||
"A Katapult a kifejezést vagy annak kiértékelt eredményét a vágólapra másolja, "
|
||||
"ha megnyomja a \"Művelet végrehajtása\" funkcióhoz rendelt billentyűt (ez "
|
||||
"alapértelmezésben az Enter)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 170
|
||||
#: rc.cpp:172
|
||||
#, no-c-format
|
||||
msgid "Copied text:"
|
||||
msgstr "A kimásolt szöveg:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 188
|
||||
#: rc.cpp:175
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"<i>Hint:</i> %1 is replaced by the expression, %2 is replaced by the result"
|
||||
msgstr "<i>Tipp:</i> %1 helyére a kifejezés, %2 helyére az eredmény kerül"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 59
|
||||
#: rc.cpp:187
|
||||
#, no-c-format
|
||||
msgid "Ignore applications without icons"
|
||||
msgstr "Az ikon nélküli alkalmazások kihagyása"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 67
|
||||
#: rc.cpp:190
|
||||
#, no-c-format
|
||||
msgid "Ignore terminal applications"
|
||||
msgstr "A karakteres módú alkalmazások kihagyása"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 75
|
||||
#: rc.cpp:193
|
||||
#, no-c-format
|
||||
msgid "Catalog applications by executable name"
|
||||
msgstr "Az alkalmazások listázása programnév szerint"
|
||||
|
||||
#: plugins/catalogs/bookmarkcatalog/actionopenbookmark.cpp:43
|
||||
msgid "Open Bookmark"
|
||||
msgstr "Könyvjelző megnyitása"
|
||||
|
||||
#: plugins/catalogs/amarokcatalog/actionplaysong.cpp:43
|
||||
msgid "Play Song"
|
||||
msgstr "Szám lejátszása"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/actioncopyspelling.cpp:48
|
||||
msgid "Parse Error"
|
||||
msgstr "Feldolgozási hiba"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:87
|
||||
msgid ""
|
||||
"_: Should be short, easy and quick to type\n"
|
||||
"spell"
|
||||
msgstr "he"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:102
|
||||
msgid "Use with \"%1 myword\""
|
||||
msgstr "Használat: \"%1 myword\""
|
||||
|
||||
#: plugins/catalogs/calculatorcatalog/actionevalexpr.cpp:109
|
||||
msgid "Evaluate Expression"
|
||||
msgstr "Kifejezés kiértékelése"
|
||||
|
||||
#: plugins/catalogs/programcatalog/actionrunprogram.cpp:43
|
||||
msgid "Run Program"
|
||||
msgstr "Program futtatása"
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = it
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
@ -0,0 +1,509 @@
|
||||
# translation of katapult.po to italian
|
||||
#
|
||||
# Andrea Di Menna <a.dimenna@libero.it>, 2006.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: katapult\n"
|
||||
"POT-Creation-Date: 2006-06-08 11:22+0200\n"
|
||||
"PO-Revision-Date: 2006-09-23 13:25+0200\n"
|
||||
"Last-Translator: Andrea Di Menna <a.dimenna@libero.it>\n"
|
||||
"Language-Team: italian <kde-i18n-it@kde.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: KBabel 1.11.2\n"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:50 rc.cpp:3
|
||||
#, no-c-format
|
||||
msgid "General Settings"
|
||||
msgstr "Impostazioni generali"
|
||||
|
||||
#. i18n: file ./katapult/confcatalogs.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:67 katapult/katapultconfigdlg.cpp:157
|
||||
#: rc.cpp:62
|
||||
#, no-c-format
|
||||
msgid "Catalogs"
|
||||
msgstr "Cataloghi"
|
||||
|
||||
#: katapult/katapultconfigdlg.cpp:67
|
||||
msgid "Enabled Catalogs"
|
||||
msgstr "Cataloghi abilitati"
|
||||
|
||||
#. i18n: file ./katapult/confdisplay.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:87 rc.cpp:59
|
||||
#, no-c-format
|
||||
msgid "Display"
|
||||
msgstr "Display"
|
||||
|
||||
#: katapult/main.cpp:31
|
||||
msgid ""
|
||||
"A plugin-driven utility that can launch applications, bookmarks, or anything "
|
||||
"else that you can find a plugin for."
|
||||
msgstr ""
|
||||
"Un programma di utilità che fa uso di plugin per avviare applicazioni, "
|
||||
"segnalibri o qualsiasi altra cosa per le quali si può trovare un plugin."
|
||||
|
||||
#: katapult/main.cpp:42
|
||||
msgid "Katapult"
|
||||
msgstr "Katapult"
|
||||
|
||||
#: katapult/main.cpp:43
|
||||
msgid ""
|
||||
"(C) until 2005, Joe Ferris\n"
|
||||
"(C) 2005, the Katapult development team"
|
||||
msgstr ""
|
||||
"(C) fino al 2005, Joe Ferris\n"
|
||||
"(C) 2005, la squadra degli sviluppatori di Katapult"
|
||||
|
||||
#: katapult/main.cpp:44
|
||||
msgid "Project Manager"
|
||||
msgstr "Gestore progetto"
|
||||
|
||||
#: katapult/main.cpp:45
|
||||
msgid "Lead Developer"
|
||||
msgstr "Principale sviluppatore"
|
||||
|
||||
#: katapult/main.cpp:46
|
||||
msgid "Developer"
|
||||
msgstr "Sviluppatore"
|
||||
|
||||
#: katapult/main.cpp:47
|
||||
msgid "Graphics"
|
||||
msgstr "Grafica"
|
||||
|
||||
#: katapult/main.cpp:50
|
||||
msgid "Original Author"
|
||||
msgstr "Autore originale"
|
||||
|
||||
#: katapult/settings.cpp:93
|
||||
msgid "MyDialog1"
|
||||
msgstr "MiaFinestra1"
|
||||
|
||||
#: katapult/settings.cpp:95
|
||||
msgid "New Item"
|
||||
msgstr "Nuovo elemento"
|
||||
|
||||
#: katapult/settings.cpp:96 katapult/settings.cpp:97
|
||||
msgid "Tab"
|
||||
msgstr "Scheda"
|
||||
|
||||
#: katapult/settings.cpp:99
|
||||
msgid "F1"
|
||||
msgstr "F1"
|
||||
|
||||
#: katapult/katapult.cpp:83
|
||||
msgid ""
|
||||
"Application successfully started !\n"
|
||||
"Press %1 to use it..."
|
||||
msgstr ""
|
||||
"Applicazione avviata correttamente!\n"
|
||||
"Premi %1 per usarla..."
|
||||
|
||||
#: katapult/katapult.cpp:85
|
||||
msgid "Katapult Notification"
|
||||
msgstr "Notifiche di Katapult"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Show Launcher"
|
||||
msgstr "Mostra avviatore"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Shows the Katapult launcher"
|
||||
msgstr "Mostra l'avviatore Katapult"
|
||||
|
||||
#: katapult/katapult.cpp:129
|
||||
msgid "Execute"
|
||||
msgstr "Esegui"
|
||||
|
||||
#: katapult/katapult.cpp:132
|
||||
msgid "Complete Query"
|
||||
msgstr "Completa la query"
|
||||
|
||||
#: katapult/katapult.cpp:133
|
||||
msgid "Show Context Menu"
|
||||
msgstr "Mostra menu contestuale"
|
||||
|
||||
#: katapult/katapult.cpp:136
|
||||
msgid "Configure &Global Shortcuts..."
|
||||
msgstr "Configura le scorciatoie &globali..."
|
||||
|
||||
#: _translatorinfo.cpp:1
|
||||
msgid ""
|
||||
"_: NAME OF TRANSLATORS\n"
|
||||
"Your names"
|
||||
msgstr "Andrea Di Menna"
|
||||
|
||||
#: _translatorinfo.cpp:3
|
||||
msgid ""
|
||||
"_: EMAIL OF TRANSLATORS\n"
|
||||
"Your emails"
|
||||
msgstr "a.dimenna@libero.it"
|
||||
|
||||
#: common/imagedisplay.cpp:272
|
||||
msgid "No items matched."
|
||||
msgstr "Nessun elemento corrispondente."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 35
|
||||
#: rc.cpp:6
|
||||
#, no-c-format
|
||||
msgid "Executing Actions"
|
||||
msgstr "Esecuzione azioni"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 46
|
||||
#: rc.cpp:9
|
||||
#, no-c-format
|
||||
msgid "Delay before hiding &launcher:"
|
||||
msgstr "Attesa prima di nascondere l'&avviatore:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 52
|
||||
#: rc.cpp:12
|
||||
#, no-c-format
|
||||
msgid "How long Katapult waits before hiding the launcher"
|
||||
msgstr "Quanto attende Katapult prima di nascondere l'avviatore"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 57
|
||||
#: rc.cpp:15
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"After an action is performed or no results were found, the Katapult launcher "
|
||||
"will be hidden.\n"
|
||||
"\n"
|
||||
"This sets how long Katapult will wait before hiding the launcher."
|
||||
msgstr ""
|
||||
"Dopo aver eseguito un'azione o non aver trovato risultati, l'avviatore Katapult "
|
||||
"verrà nascosto.\n"
|
||||
"\n"
|
||||
"Questo serve ad impostare quanto tempo dovrà attendere Katapult prima di "
|
||||
"nascondere l'avviatore."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 88
|
||||
#: rc.cpp:20
|
||||
#, no-c-format
|
||||
msgid "Automatically perform &default action"
|
||||
msgstr "Esegui automaticamente l'azione pre&definita"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 91
|
||||
#: rc.cpp:23
|
||||
#, no-c-format
|
||||
msgid "Whether to wait for confirmation or automatically execute actions"
|
||||
msgstr "Attendere una conferma o eseguire le azioni automaticamente"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 94
|
||||
#: rc.cpp:26
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically perform the default action once all "
|
||||
"items but one have been eliminated. This avoids the extra keystroke after there "
|
||||
"is only one possibility."
|
||||
msgstr ""
|
||||
"Se abilitata, Katapult eseguirà automaticamente l'azione predefinita una volta "
|
||||
"che tutti gli elementi sono stati scartati, tranne uno. Questo evita di premere "
|
||||
"un tasto in più una volta che è rimasta una sola possibilità."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 112
|
||||
#: rc.cpp:29
|
||||
#, no-c-format
|
||||
msgid "No Results"
|
||||
msgstr "Nessun risultato"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 126
|
||||
#: rc.cpp:32
|
||||
#, no-c-format
|
||||
msgid "When there are no results:"
|
||||
msgstr "Quando non ci sono risultati:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 134
|
||||
#: rc.cpp:35
|
||||
#, no-c-format
|
||||
msgid "&Clear the query after a delay"
|
||||
msgstr "&Cancella query dopo intervallo di tempo"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 142
|
||||
#: rc.cpp:38
|
||||
#, no-c-format
|
||||
msgid "&Hide the display after a delay"
|
||||
msgstr "&Nascondi display dopo intervallo di tempo"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 150
|
||||
#: rc.cpp:41
|
||||
#, no-c-format
|
||||
msgid "Do ¬hing"
|
||||
msgstr "Non fare &niente"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 158
|
||||
#: rc.cpp:44
|
||||
#, no-c-format
|
||||
msgid "&Delay before clearing or hiding:"
|
||||
msgstr "Attesa prima &di cancellare o nascondere:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 202
|
||||
#: rc.cpp:47
|
||||
#, no-c-format
|
||||
msgid "System Tray"
|
||||
msgstr "Pannello di sistema"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 220
|
||||
#: rc.cpp:50
|
||||
#, no-c-format
|
||||
msgid "&Show an icon in the systray"
|
||||
msgstr "Mo&stra icona nel pannello di sistema"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 223
|
||||
#: rc.cpp:53
|
||||
#, no-c-format
|
||||
msgid "If activated, katapult shows an icon in the System Tray when running"
|
||||
msgstr ""
|
||||
"Se attivata, Katapult mostra un'icona nel pannello di sistema quando è in "
|
||||
"esecuzione"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 226
|
||||
#: rc.cpp:56
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically show an Icon in the System Tray."
|
||||
msgstr ""
|
||||
"Se abilitata, Katapult mostrerà automaticamente un'icona nel pannello di "
|
||||
"sistema."
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 16
|
||||
#: rc.cpp:65 rc.cpp:83 rc.cpp:101 rc.cpp:113 rc.cpp:122 rc.cpp:131 rc.cpp:178
|
||||
#, no-c-format
|
||||
msgid "Settings"
|
||||
msgstr "Impostazioni"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 27
|
||||
#: rc.cpp:68
|
||||
#, no-c-format
|
||||
msgid "Length of fade-in/fade-out:"
|
||||
msgstr "Durata della comparsa/scomparsa:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 58
|
||||
#: rc.cpp:71
|
||||
#, no-c-format
|
||||
msgid "Display Font"
|
||||
msgstr "Tipo di carattere del display"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 80
|
||||
#: rc.cpp:74
|
||||
#, no-c-format
|
||||
msgid "Font face:"
|
||||
msgstr "Carattere:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 120
|
||||
#: rc.cpp:77
|
||||
#, no-c-format
|
||||
msgid "Minimum font size:"
|
||||
msgstr "Dimensione minima carattere:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 160
|
||||
#: rc.cpp:80
|
||||
#, no-c-format
|
||||
msgid "Maximum font size:"
|
||||
msgstr "Dimensione massima carattere:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 35
|
||||
#: rc.cpp:86 rc.cpp:104 rc.cpp:116 rc.cpp:181
|
||||
#, no-c-format
|
||||
msgid "Number of characters before searching:"
|
||||
msgstr "Numero di caratteri prima di cercare:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 49
|
||||
#: rc.cpp:89 rc.cpp:107 rc.cpp:119 rc.cpp:184
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Katapult will not search for programs until you have typed at least this many "
|
||||
"characters in the Katapult launcher."
|
||||
msgstr ""
|
||||
"Katapult non avvierà la ricerca dei programmi finché non hai inserito almeno "
|
||||
"questo numero di caratteri nell'avviatore."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 59
|
||||
#: rc.cpp:92
|
||||
#, no-c-format
|
||||
msgid "Import Mozilla bookmarks"
|
||||
msgstr "Importa segnalibri di Mozilla"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 73
|
||||
#: rc.cpp:95
|
||||
#, no-c-format
|
||||
msgid "Automatically detect bookmark file"
|
||||
msgstr "Rileva automaticamente il file dei segnalibri"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 81
|
||||
#: rc.cpp:98
|
||||
#, no-c-format
|
||||
msgid "Use the following file:"
|
||||
msgstr "Usa il file seguente:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/documentcatalog/settings.ui line 56
|
||||
#: rc.cpp:110
|
||||
#, no-c-format
|
||||
msgid "Show Preview for Documents?"
|
||||
msgstr "Mostra anteprima per i documenti?"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 32
|
||||
#: rc.cpp:125
|
||||
#, no-c-format
|
||||
msgid "Trigger Word:"
|
||||
msgstr "Parola di attivazione:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 40
|
||||
#: rc.cpp:128
|
||||
#, no-c-format
|
||||
msgid "Use with: \"spell myword\""
|
||||
msgstr "Usa con: \"spell miaparola\""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 35
|
||||
#: rc.cpp:134
|
||||
#, no-c-format
|
||||
msgid "Number of fractional digits:"
|
||||
msgstr "Numero di cifre decimali:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 55
|
||||
#: rc.cpp:137
|
||||
#, no-c-format
|
||||
msgid "Katapult will show this number of fractional digits."
|
||||
msgstr "Katapult mostrerà questo numero di cifre decimali."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 84
|
||||
#: rc.cpp:141
|
||||
#, no-c-format
|
||||
msgid "Normal"
|
||||
msgstr "Normale"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 87
|
||||
#: rc.cpp:144
|
||||
#, no-c-format
|
||||
msgid "In normal mode, katapult will never show an exponent on a number."
|
||||
msgstr ""
|
||||
"In modalità normale, katapult non mostrerà mai un'esponente sul numero."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 95
|
||||
#: rc.cpp:147
|
||||
#, no-c-format
|
||||
msgid "Scientific"
|
||||
msgstr "Scientifica"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 98
|
||||
#: rc.cpp:150
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"In scientific mode, katapult will show an exponent on very large or very small "
|
||||
"numbers."
|
||||
msgstr ""
|
||||
"In modalità scientifica, katapult mostrerà un esponente sui numeri molto grandi "
|
||||
"o molto piccoli."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 119
|
||||
#: rc.cpp:154
|
||||
#, no-c-format
|
||||
msgid "Radians"
|
||||
msgstr "Radianti"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 122
|
||||
#: rc.cpp:157
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in radians (2 pi radians is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
"Le funzioni trigonometriche si aspettano e restituiscono angoli in radianti (2 "
|
||||
"pi radianti è un cerchio completo)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 130
|
||||
#: rc.cpp:160
|
||||
#, no-c-format
|
||||
msgid "Degrees"
|
||||
msgstr "Gradi"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 133
|
||||
#: rc.cpp:163
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in degrees (360 degrees is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
"Le funzioni trigonometriche si aspettano e restituiscono angoli in gradi (360 "
|
||||
"gradi è un cerchio completo)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 145
|
||||
#: rc.cpp:166
|
||||
#, no-c-format
|
||||
msgid "Copy to clipboard on execute"
|
||||
msgstr "Copia negli appunti all'esecuzione"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 151
|
||||
#: rc.cpp:169
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"katapult can copy the expression or the result of the expression to the "
|
||||
"clipboard if you press the key assigned to \"execute action\" (by default, this "
|
||||
"is Enter)."
|
||||
msgstr ""
|
||||
"katapult può copiare l'espressione o il risultato dell'espressione negli "
|
||||
"appunti se premi il tasto associato all'\"azione di esecuzione\" (il valore "
|
||||
"predefinito è Invio)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 170
|
||||
#: rc.cpp:172
|
||||
#, no-c-format
|
||||
msgid "Copied text:"
|
||||
msgstr "Testo copiato:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 188
|
||||
#: rc.cpp:175
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"<i>Hint:</i> %1 is replaced by the expression, %2 is replaced by the result"
|
||||
msgstr ""
|
||||
"<i>Suggerimento:</i> %1 è sostituito con l'espressione, %2 è sostituito con il "
|
||||
"risultato"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 59
|
||||
#: rc.cpp:187
|
||||
#, no-c-format
|
||||
msgid "Ignore applications without icons"
|
||||
msgstr "Ignora applicazioni senza icone"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 67
|
||||
#: rc.cpp:190
|
||||
#, no-c-format
|
||||
msgid "Ignore terminal applications"
|
||||
msgstr "Ignora applicazioni del terminale"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 75
|
||||
#: rc.cpp:193
|
||||
#, no-c-format
|
||||
msgid "Catalog applications by executable name"
|
||||
msgstr "Applicazioni del catalogo tramite nome eseguibile"
|
||||
|
||||
#: plugins/catalogs/bookmarkcatalog/actionopenbookmark.cpp:43
|
||||
msgid "Open Bookmark"
|
||||
msgstr "Apri segnalibro"
|
||||
|
||||
#: plugins/catalogs/amarokcatalog/actionplaysong.cpp:43
|
||||
msgid "Play Song"
|
||||
msgstr "Riproduci canzone"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/actioncopyspelling.cpp:48
|
||||
msgid "Parse Error"
|
||||
msgstr "Errore di elaborazione"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:87
|
||||
msgid ""
|
||||
"_: Should be short, easy and quick to type\n"
|
||||
"spell"
|
||||
msgstr "controlla"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:102
|
||||
msgid "Use with \"%1 myword\""
|
||||
msgstr "Usa con \"%1 miaparola\""
|
||||
|
||||
#: plugins/catalogs/calculatorcatalog/actionevalexpr.cpp:109
|
||||
msgid "Evaluate Expression"
|
||||
msgstr "Valuta espressione"
|
||||
|
||||
#: plugins/catalogs/programcatalog/actionrunprogram.cpp:43
|
||||
msgid "Run Program"
|
||||
msgstr "Avvia programma"
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = ja
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
@ -0,0 +1,488 @@
|
||||
# translation of katapult.po to Japanese.
|
||||
# Yukiko Bando <ybando@k6.dion.ne.jp>, 2006.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: katapult\n"
|
||||
"POT-Creation-Date: 2006-06-08 11:22+0200\n"
|
||||
"PO-Revision-Date: 2006-10-20 23:00+0900\n"
|
||||
"Last-Translator: Yukiko Bando <ybando@k6.dion.ne.jp>\n"
|
||||
"Language-Team: Japanese <Kdeveloper@kde.gr.jp>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:50 rc.cpp:3
|
||||
#, no-c-format
|
||||
msgid "General Settings"
|
||||
msgstr "全般設定"
|
||||
|
||||
#. i18n: file ./katapult/confcatalogs.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:67 katapult/katapultconfigdlg.cpp:157
|
||||
#: rc.cpp:62
|
||||
#, no-c-format
|
||||
msgid "Catalogs"
|
||||
msgstr "カタログ"
|
||||
|
||||
#: katapult/katapultconfigdlg.cpp:67
|
||||
msgid "Enabled Catalogs"
|
||||
msgstr "有効なカタログ"
|
||||
|
||||
#. i18n: file ./katapult/confdisplay.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:87 rc.cpp:59
|
||||
#, no-c-format
|
||||
msgid "Display"
|
||||
msgstr "表示"
|
||||
|
||||
#: katapult/main.cpp:31
|
||||
msgid ""
|
||||
"A plugin-driven utility that can launch applications, bookmarks, or anything "
|
||||
"else that you can find a plugin for."
|
||||
msgstr "アプリケーションを起動したり、ブックマークを開いたりするためのプラグインベースのユーティリティ。"
|
||||
|
||||
#: katapult/main.cpp:42
|
||||
msgid "Katapult"
|
||||
msgstr "Katapult"
|
||||
|
||||
#: katapult/main.cpp:43
|
||||
msgid ""
|
||||
"(C) until 2005, Joe Ferris\n"
|
||||
"(C) 2005, the Katapult development team"
|
||||
msgstr ""
|
||||
"(C) 2005まで, Joe Ferris\n"
|
||||
"(C) 2005, Katapult 開発チーム"
|
||||
|
||||
#: katapult/main.cpp:44
|
||||
msgid "Project Manager"
|
||||
msgstr "プロジェクトマネージャ"
|
||||
|
||||
#: katapult/main.cpp:45
|
||||
msgid "Lead Developer"
|
||||
msgstr "主要開発者"
|
||||
|
||||
#: katapult/main.cpp:46
|
||||
msgid "Developer"
|
||||
msgstr "開発者"
|
||||
|
||||
#: katapult/main.cpp:47
|
||||
msgid "Graphics"
|
||||
msgstr "グラフィックス"
|
||||
|
||||
#: katapult/main.cpp:50
|
||||
msgid "Original Author"
|
||||
msgstr "オリジナル作者"
|
||||
|
||||
#: katapult/settings.cpp:93
|
||||
msgid "MyDialog1"
|
||||
msgstr "MyDialog1"
|
||||
|
||||
#: katapult/settings.cpp:95
|
||||
msgid "New Item"
|
||||
msgstr "新規アイテム"
|
||||
|
||||
#: katapult/settings.cpp:96 katapult/settings.cpp:97
|
||||
msgid "Tab"
|
||||
msgstr "Tab"
|
||||
|
||||
#: katapult/settings.cpp:99
|
||||
msgid "F1"
|
||||
msgstr "F1"
|
||||
|
||||
#: katapult/katapult.cpp:83
|
||||
msgid ""
|
||||
"Application successfully started !\n"
|
||||
"Press %1 to use it..."
|
||||
msgstr ""
|
||||
"アプリケーションを開始しました。\n"
|
||||
"使用するには %1 を押してください。"
|
||||
|
||||
#: katapult/katapult.cpp:85
|
||||
msgid "Katapult Notification"
|
||||
msgstr "Katapult 通知"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Show Launcher"
|
||||
msgstr "ランチャーを表示"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Shows the Katapult launcher"
|
||||
msgstr "Katapult ランチャーを表示"
|
||||
|
||||
#: katapult/katapult.cpp:129
|
||||
msgid "Execute"
|
||||
msgstr "アクションを実行"
|
||||
|
||||
#: katapult/katapult.cpp:132
|
||||
msgid "Complete Query"
|
||||
msgstr "検索語を補完"
|
||||
|
||||
#: katapult/katapult.cpp:133
|
||||
msgid "Show Context Menu"
|
||||
msgstr "コンテキストメニューを表示"
|
||||
|
||||
#: katapult/katapult.cpp:136
|
||||
msgid "Configure &Global Shortcuts..."
|
||||
msgstr "全体のショートカットを設定(&G)..."
|
||||
|
||||
#: _translatorinfo.cpp:1
|
||||
msgid ""
|
||||
"_: NAME OF TRANSLATORS\n"
|
||||
"Your names"
|
||||
msgstr "Yukiko Bando"
|
||||
|
||||
#: _translatorinfo.cpp:3
|
||||
msgid ""
|
||||
"_: EMAIL OF TRANSLATORS\n"
|
||||
"Your emails"
|
||||
msgstr "ybando@k6.dion.ne.jp"
|
||||
|
||||
#: common/imagedisplay.cpp:272
|
||||
msgid "No items matched."
|
||||
msgstr "一致するものがありません。"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 35
|
||||
#: rc.cpp:6
|
||||
#, no-c-format
|
||||
msgid "Executing Actions"
|
||||
msgstr "アクション実行時"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 46
|
||||
#: rc.cpp:9
|
||||
#, no-c-format
|
||||
msgid "Delay before hiding &launcher:"
|
||||
msgstr "ランチャーを隠すまでの遅延時間(&L):"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 52
|
||||
#: rc.cpp:12
|
||||
#, no-c-format
|
||||
msgid "How long Katapult waits before hiding the launcher"
|
||||
msgstr "Katapult がランチャーを隠すまでの遅延時間"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 57
|
||||
#: rc.cpp:15
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"After an action is performed or no results were found, the Katapult launcher "
|
||||
"will be hidden.\n"
|
||||
"\n"
|
||||
"This sets how long Katapult will wait before hiding the launcher."
|
||||
msgstr ""
|
||||
"アクションが実行された後、または結果が見つからなかった場合、Katapult ランチャーは画面から消えます。\n"
|
||||
"\n"
|
||||
"ランチャーを隠すまでに Katapult がどれだけ待つべきかをここで設定します。"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 88
|
||||
#: rc.cpp:20
|
||||
#, no-c-format
|
||||
msgid "Automatically perform &default action"
|
||||
msgstr "自動的に標準のアクションを実行する(&D)"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 91
|
||||
#: rc.cpp:23
|
||||
#, no-c-format
|
||||
msgid "Whether to wait for confirmation or automatically execute actions"
|
||||
msgstr "ユーザの確認を待つか、自動的にアクションを実行するか"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 94
|
||||
#: rc.cpp:26
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically perform the default action once all "
|
||||
"items but one have been eliminated. This avoids the extra keystroke after there "
|
||||
"is only one possibility."
|
||||
msgstr ""
|
||||
"このオプションを有効にすると、検索に対する結果が一つに絞り込まれた時点で自動的に標準のアクションを実行します。これによって、選択肢が一つしか残されていないときに"
|
||||
"キーを押す手間が省けます。"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 112
|
||||
#: rc.cpp:29
|
||||
#, no-c-format
|
||||
msgid "No Results"
|
||||
msgstr "結果なし"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 126
|
||||
#: rc.cpp:32
|
||||
#, no-c-format
|
||||
msgid "When there are no results:"
|
||||
msgstr "検索結果がない場合:"
|
||||
|
||||
# ACCELERATOR changed by translator
|
||||
#. i18n: file ./katapult/confgeneral.ui line 134
|
||||
#: rc.cpp:35
|
||||
#, no-c-format
|
||||
msgid "&Clear the query after a delay"
|
||||
msgstr "遅延して検索語をクリア(&L)"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 142
|
||||
#: rc.cpp:38
|
||||
#, no-c-format
|
||||
msgid "&Hide the display after a delay"
|
||||
msgstr "遅延してランチャーを隠す(&H)"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 150
|
||||
#: rc.cpp:41
|
||||
#, no-c-format
|
||||
msgid "Do ¬hing"
|
||||
msgstr "何もしない(&N)"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 158
|
||||
#: rc.cpp:44
|
||||
#, no-c-format
|
||||
msgid "&Delay before clearing or hiding:"
|
||||
msgstr "クリアまたは隠すまでの遅延時間(&D):"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 202
|
||||
#: rc.cpp:47
|
||||
#, no-c-format
|
||||
msgid "System Tray"
|
||||
msgstr "システムトレイ"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 220
|
||||
#: rc.cpp:50
|
||||
#, no-c-format
|
||||
msgid "&Show an icon in the systray"
|
||||
msgstr "システムトレイにアイコンを表示(&S)"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 223
|
||||
#: rc.cpp:53
|
||||
#, no-c-format
|
||||
msgid "If activated, katapult shows an icon in the System Tray when running"
|
||||
msgstr "Katapult の実行中にシステムトレイにアイコンを表示"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 226
|
||||
#: rc.cpp:56
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically show an Icon in the System Tray."
|
||||
msgstr "このオプションを有効にすると、システムトレイに自動的に Katapult のアイコンが表示されます。"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 16
|
||||
#: rc.cpp:65 rc.cpp:83 rc.cpp:101 rc.cpp:113 rc.cpp:122 rc.cpp:131 rc.cpp:178
|
||||
#, no-c-format
|
||||
msgid "Settings"
|
||||
msgstr "設定"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 27
|
||||
#: rc.cpp:68
|
||||
#, no-c-format
|
||||
msgid "Length of fade-in/fade-out:"
|
||||
msgstr "フェードイン / フェードアウトの長さ:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 58
|
||||
#: rc.cpp:71
|
||||
#, no-c-format
|
||||
msgid "Display Font"
|
||||
msgstr "ランチャーのフォント"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 80
|
||||
#: rc.cpp:74
|
||||
#, no-c-format
|
||||
msgid "Font face:"
|
||||
msgstr "フォント:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 120
|
||||
#: rc.cpp:77
|
||||
#, no-c-format
|
||||
msgid "Minimum font size:"
|
||||
msgstr "最小フォントサイズ:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 160
|
||||
#: rc.cpp:80
|
||||
#, no-c-format
|
||||
msgid "Maximum font size:"
|
||||
msgstr "最大フォントサイズ:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 35
|
||||
#: rc.cpp:86 rc.cpp:104 rc.cpp:116 rc.cpp:181
|
||||
#, no-c-format
|
||||
msgid "Number of characters before searching:"
|
||||
msgstr "検索を開始する文字数:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 49
|
||||
#: rc.cpp:89 rc.cpp:107 rc.cpp:119 rc.cpp:184
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Katapult will not search for programs until you have typed at least this many "
|
||||
"characters in the Katapult launcher."
|
||||
msgstr "ここで指定された数の文字がランチャーに入力されるまで、 Katapult は検索を開始しません。"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 59
|
||||
#: rc.cpp:92
|
||||
#, no-c-format
|
||||
msgid "Import Mozilla bookmarks"
|
||||
msgstr "Mozilla のブックマークをインポート"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 73
|
||||
#: rc.cpp:95
|
||||
#, no-c-format
|
||||
msgid "Automatically detect bookmark file"
|
||||
msgstr "ブックマークファイルを自動検出"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 81
|
||||
#: rc.cpp:98
|
||||
#, no-c-format
|
||||
msgid "Use the following file:"
|
||||
msgstr "以下のファイルを使う:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/documentcatalog/settings.ui line 56
|
||||
#: rc.cpp:110
|
||||
#, no-c-format
|
||||
msgid "Show Preview for Documents?"
|
||||
msgstr "ドキュメントのプレビューを表示"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 32
|
||||
#: rc.cpp:125
|
||||
#, no-c-format
|
||||
msgid "Trigger Word:"
|
||||
msgstr "開始する単語:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 40
|
||||
#: rc.cpp:128
|
||||
#, no-c-format
|
||||
msgid "Use with: \"spell myword\""
|
||||
msgstr "\"spell myword\" で使用"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 35
|
||||
#: rc.cpp:134
|
||||
#, no-c-format
|
||||
msgid "Number of fractional digits:"
|
||||
msgstr "小数点以下の桁数:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 55
|
||||
#: rc.cpp:137
|
||||
#, no-c-format
|
||||
msgid "Katapult will show this number of fractional digits."
|
||||
msgstr "Katapult はここで指定された桁数を小数点以下に表示します。"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 84
|
||||
#: rc.cpp:141
|
||||
#, no-c-format
|
||||
msgid "Normal"
|
||||
msgstr "標準"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 87
|
||||
#: rc.cpp:144
|
||||
#, no-c-format
|
||||
msgid "In normal mode, katapult will never show an exponent on a number."
|
||||
msgstr "標準モードでは、数に指数を使いません。"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 95
|
||||
#: rc.cpp:147
|
||||
#, no-c-format
|
||||
msgid "Scientific"
|
||||
msgstr "サイエンス"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 98
|
||||
#: rc.cpp:150
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"In scientific mode, katapult will show an exponent on very large or very small "
|
||||
"numbers."
|
||||
msgstr "サイエンスモードでは、非常に大きい数や小さい数には指数を使います。"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 119
|
||||
#: rc.cpp:154
|
||||
#, no-c-format
|
||||
msgid "Radians"
|
||||
msgstr "弧度"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 122
|
||||
#: rc.cpp:157
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in radians (2 pi radians is a "
|
||||
"full circle)."
|
||||
msgstr "これを選択すると、三角関数は角度を弧度で表します。 2 パイが円になります。"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 130
|
||||
#: rc.cpp:160
|
||||
#, no-c-format
|
||||
msgid "Degrees"
|
||||
msgstr "度"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 133
|
||||
#: rc.cpp:163
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in degrees (360 degrees is a "
|
||||
"full circle)."
|
||||
msgstr "これを選択すると、三角関数は角度を度で表します。 360 度が円になります。"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 145
|
||||
#: rc.cpp:166
|
||||
#, no-c-format
|
||||
msgid "Copy to clipboard on execute"
|
||||
msgstr "実行時にクリップボードにコピーする"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 151
|
||||
#: rc.cpp:169
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"katapult can copy the expression or the result of the expression to the "
|
||||
"clipboard if you press the key assigned to \"execute action\" (by default, this "
|
||||
"is Enter)."
|
||||
msgstr ""
|
||||
"「アクションを実行」に割り当てられたキー (標準設定では Enter) を押したときに、式とその結果をクリップボードにコピーすることができます。"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 170
|
||||
#: rc.cpp:172
|
||||
#, no-c-format
|
||||
msgid "Copied text:"
|
||||
msgstr "コピーするテキスト:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 188
|
||||
#: rc.cpp:175
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"<i>Hint:</i> %1 is replaced by the expression, %2 is replaced by the result"
|
||||
msgstr "ヒント: %1 は式に、%2 は結果に置き換えられます。"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 59
|
||||
#: rc.cpp:187
|
||||
#, no-c-format
|
||||
msgid "Ignore applications without icons"
|
||||
msgstr "アイコンのないアプリケーションを無視する"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 67
|
||||
#: rc.cpp:190
|
||||
#, no-c-format
|
||||
msgid "Ignore terminal applications"
|
||||
msgstr "ターミナルアプリケーションを無視する"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 75
|
||||
#: rc.cpp:193
|
||||
#, no-c-format
|
||||
msgid "Catalog applications by executable name"
|
||||
msgstr "実行ファイル名でアプリケーションのカタログを作成する"
|
||||
|
||||
#: plugins/catalogs/bookmarkcatalog/actionopenbookmark.cpp:43
|
||||
msgid "Open Bookmark"
|
||||
msgstr "ブックマークを開く"
|
||||
|
||||
#: plugins/catalogs/amarokcatalog/actionplaysong.cpp:43
|
||||
msgid "Play Song"
|
||||
msgstr "曲を再生"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/actioncopyspelling.cpp:48
|
||||
msgid "Parse Error"
|
||||
msgstr "パースエラー"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:87
|
||||
msgid ""
|
||||
"_: Should be short, easy and quick to type\n"
|
||||
"spell"
|
||||
msgstr "spell"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:102
|
||||
msgid "Use with \"%1 myword\""
|
||||
msgstr "\"%1 myword\" で使用"
|
||||
|
||||
#: plugins/catalogs/calculatorcatalog/actionevalexpr.cpp:109
|
||||
msgid "Evaluate Expression"
|
||||
msgstr "式を検証してください"
|
||||
|
||||
#: plugins/catalogs/programcatalog/actionrunprogram.cpp:43
|
||||
msgid "Run Program"
|
||||
msgstr "プログラムを実行"
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = nb
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
@ -0,0 +1,502 @@
|
||||
# translation of katapult.po to Norwegian Bokmål
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: katapult\n"
|
||||
"POT-Creation-Date: 2006-06-08 11:22+0200\n"
|
||||
"PO-Revision-Date: 2006-08-09 14:14+0200\n"
|
||||
"Last-Translator: Bjørn Steensrud <bjornst@powertech.no>\n"
|
||||
"Language-Team: Norwegian Bokmål <i18n-no@lister.ping.uio.no>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: KBabel 1.11.2\n"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:50 rc.cpp:3
|
||||
#, no-c-format
|
||||
msgid "General Settings"
|
||||
msgstr "Generelle innstillinger"
|
||||
|
||||
#. i18n: file ./katapult/confcatalogs.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:67 katapult/katapultconfigdlg.cpp:157
|
||||
#: rc.cpp:62
|
||||
#, no-c-format
|
||||
msgid "Catalogs"
|
||||
msgstr "Kataloger"
|
||||
|
||||
#: katapult/katapultconfigdlg.cpp:67
|
||||
msgid "Enabled Catalogs"
|
||||
msgstr "Aktiverte kataloger"
|
||||
|
||||
#. i18n: file ./katapult/confdisplay.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:87 rc.cpp:59
|
||||
#, no-c-format
|
||||
msgid "Display"
|
||||
msgstr "Vis"
|
||||
|
||||
#: katapult/main.cpp:31
|
||||
msgid ""
|
||||
"A plugin-driven utility that can launch applications, bookmarks, or anything "
|
||||
"else that you can find a plugin for."
|
||||
msgstr ""
|
||||
"Et verktøy basert på programtillegg, som kan starte programmer, bokmerker eller "
|
||||
"alt annet som det finnes programtillegg for."
|
||||
|
||||
#: katapult/main.cpp:42
|
||||
msgid "Katapult"
|
||||
msgstr "Katapult"
|
||||
|
||||
#: katapult/main.cpp:43
|
||||
msgid ""
|
||||
"(C) until 2005, Joe Ferris\n"
|
||||
"(C) 2005, the Katapult development team"
|
||||
msgstr ""
|
||||
"(C) til 2005, Joe Ferris\n"
|
||||
"(C) 2005, Katapult utviklingslag"
|
||||
|
||||
#: katapult/main.cpp:44
|
||||
msgid "Project Manager"
|
||||
msgstr "Prosjektleder"
|
||||
|
||||
#: katapult/main.cpp:45
|
||||
msgid "Lead Developer"
|
||||
msgstr "Hovedutvikler"
|
||||
|
||||
#: katapult/main.cpp:46
|
||||
msgid "Developer"
|
||||
msgstr "Utvikler"
|
||||
|
||||
#: katapult/main.cpp:47
|
||||
msgid "Graphics"
|
||||
msgstr "Grafikk"
|
||||
|
||||
#: katapult/main.cpp:50
|
||||
msgid "Original Author"
|
||||
msgstr "Opprinnelig forfatter"
|
||||
|
||||
#: katapult/settings.cpp:93
|
||||
msgid "MyDialog1"
|
||||
msgstr "MyDialog1"
|
||||
|
||||
#: katapult/settings.cpp:95
|
||||
msgid "New Item"
|
||||
msgstr " Ny oppføring"
|
||||
|
||||
#: katapult/settings.cpp:96 katapult/settings.cpp:97
|
||||
msgid "Tab"
|
||||
msgstr "Tab"
|
||||
|
||||
#: katapult/settings.cpp:99
|
||||
msgid "F1"
|
||||
msgstr "F1"
|
||||
|
||||
#: katapult/katapult.cpp:83
|
||||
msgid ""
|
||||
"Application successfully started !\n"
|
||||
"Press %1 to use it..."
|
||||
msgstr ""
|
||||
"Programmet startet!\n"
|
||||
"Trykk %1 for å bruke det ..."
|
||||
|
||||
#: katapult/katapult.cpp:85
|
||||
msgid "Katapult Notification"
|
||||
msgstr "Katapult-varslilng"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Show Launcher"
|
||||
msgstr "Vis oppstarter"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Shows the Katapult launcher"
|
||||
msgstr "Viser Katapult-oppstarteren"
|
||||
|
||||
#: katapult/katapult.cpp:129
|
||||
msgid "Execute"
|
||||
msgstr "Kjør"
|
||||
|
||||
#: katapult/katapult.cpp:132
|
||||
msgid "Complete Query"
|
||||
msgstr "Fullstendig forespørsel"
|
||||
|
||||
#: katapult/katapult.cpp:133
|
||||
msgid "Show Context Menu"
|
||||
msgstr "Vis kontekstmeny"
|
||||
|
||||
#: katapult/katapult.cpp:136
|
||||
msgid "Configure &Global Shortcuts..."
|
||||
msgstr "Sett opp &Globale snarveier ..."
|
||||
|
||||
#: _translatorinfo.cpp:1
|
||||
msgid ""
|
||||
"_: NAME OF TRANSLATORS\n"
|
||||
"Your names"
|
||||
msgstr "Bjørn Steensrud"
|
||||
|
||||
#: _translatorinfo.cpp:3
|
||||
msgid ""
|
||||
"_: EMAIL OF TRANSLATORS\n"
|
||||
"Your emails"
|
||||
msgstr "bjornst@skogkatt.homelinux.org"
|
||||
|
||||
#: common/imagedisplay.cpp:272
|
||||
msgid "No items matched."
|
||||
msgstr "Fant ingen treff."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 35
|
||||
#: rc.cpp:6
|
||||
#, no-c-format
|
||||
msgid "Executing Actions"
|
||||
msgstr "Handlinger utføres"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 46
|
||||
#: rc.cpp:9
|
||||
#, no-c-format
|
||||
msgid "Delay before hiding &launcher:"
|
||||
msgstr "Forsinkelse før &oppstarter skjules:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 52
|
||||
#: rc.cpp:12
|
||||
#, no-c-format
|
||||
msgid "How long Katapult waits before hiding the launcher"
|
||||
msgstr "Hvor lenge Katapult venter for den skjuler oppstarteren"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 57
|
||||
#: rc.cpp:15
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"After an action is performed or no results were found, the Katapult launcher "
|
||||
"will be hidden.\n"
|
||||
"\n"
|
||||
"This sets how long Katapult will wait before hiding the launcher."
|
||||
msgstr ""
|
||||
"Når en handling er utført, eller ingen resultater ble funnet, så blir "
|
||||
"Katapult-starteren skjult.\n"
|
||||
"\n"
|
||||
"Dette bestemmer hvor lenge Katapult venter før starteren skjules."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 88
|
||||
#: rc.cpp:20
|
||||
#, no-c-format
|
||||
msgid "Automatically perform &default action"
|
||||
msgstr "Utfør stan&dardhandling automatisk"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 91
|
||||
#: rc.cpp:23
|
||||
#, no-c-format
|
||||
msgid "Whether to wait for confirmation or automatically execute actions"
|
||||
msgstr "Om handlinger skal utføres automatisk eller vente på bekreftelse"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 94
|
||||
#: rc.cpp:26
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically perform the default action once all "
|
||||
"items but one have been eliminated. This avoids the extra keystroke after there "
|
||||
"is only one possibility."
|
||||
msgstr ""
|
||||
"Hvis dette er slått på vil Katapult automatisk utføre standardhandlingen når "
|
||||
"det bare er ett element igjen. Dette sparer et ekstra tastetrykk når det bare "
|
||||
"er én mulighet."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 112
|
||||
#: rc.cpp:29
|
||||
#, no-c-format
|
||||
msgid "No Results"
|
||||
msgstr "Ingen resultater"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 126
|
||||
#: rc.cpp:32
|
||||
#, no-c-format
|
||||
msgid "When there are no results:"
|
||||
msgstr "Når det ikke er noen resultater:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 134
|
||||
#: rc.cpp:35
|
||||
#, no-c-format
|
||||
msgid "&Clear the query after a delay"
|
||||
msgstr "&Tøm forespørselen etter en pause"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 142
|
||||
#: rc.cpp:38
|
||||
#, no-c-format
|
||||
msgid "&Hide the display after a delay"
|
||||
msgstr "&Skjul visningen etter en pause"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 150
|
||||
#: rc.cpp:41
|
||||
#, no-c-format
|
||||
msgid "Do ¬hing"
|
||||
msgstr "Ikke gjør &noe"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 158
|
||||
#: rc.cpp:44
|
||||
#, no-c-format
|
||||
msgid "&Delay before clearing or hiding:"
|
||||
msgstr "&Pause før tømming eller skjuling:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 202
|
||||
#: rc.cpp:47
|
||||
#, no-c-format
|
||||
msgid "System Tray"
|
||||
msgstr "Systemkurv"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 220
|
||||
#: rc.cpp:50
|
||||
#, no-c-format
|
||||
msgid "&Show an icon in the systray"
|
||||
msgstr "Vi&s et ikon i systemkurven"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 223
|
||||
#: rc.cpp:53
|
||||
#, no-c-format
|
||||
msgid "If activated, katapult shows an icon in the System Tray when running"
|
||||
msgstr ""
|
||||
"Hvis dette er slått på viser Katapult et ikon i systemkurven når det kjører"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 226
|
||||
#: rc.cpp:56
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically show an Icon in the System Tray."
|
||||
msgstr "Hvis dette er på vil Katapult automatisk vise et ikon i systemkurven."
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 16
|
||||
#: rc.cpp:65 rc.cpp:83 rc.cpp:101 rc.cpp:113 rc.cpp:122 rc.cpp:131 rc.cpp:178
|
||||
#, no-c-format
|
||||
msgid "Settings"
|
||||
msgstr "Innstillinger"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 27
|
||||
#: rc.cpp:68
|
||||
#, no-c-format
|
||||
msgid "Length of fade-in/fade-out:"
|
||||
msgstr "Lengde på inn/utblending:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 58
|
||||
#: rc.cpp:71
|
||||
#, no-c-format
|
||||
msgid "Display Font"
|
||||
msgstr "Skrift for visning"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 80
|
||||
#: rc.cpp:74
|
||||
#, no-c-format
|
||||
msgid "Font face:"
|
||||
msgstr "Skrift:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 120
|
||||
#: rc.cpp:77
|
||||
#, no-c-format
|
||||
msgid "Minimum font size:"
|
||||
msgstr "Minste skriftstørrelse:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 160
|
||||
#: rc.cpp:80
|
||||
#, no-c-format
|
||||
msgid "Maximum font size:"
|
||||
msgstr "Største skriftstørrelse:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 35
|
||||
#: rc.cpp:86 rc.cpp:104 rc.cpp:116 rc.cpp:181
|
||||
#, no-c-format
|
||||
msgid "Number of characters before searching:"
|
||||
msgstr "Antall tegn før det søkes:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 49
|
||||
#: rc.cpp:89 rc.cpp:107 rc.cpp:119 rc.cpp:184
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Katapult will not search for programs until you have typed at least this many "
|
||||
"characters in the Katapult launcher."
|
||||
msgstr ""
|
||||
"Katapult leter ikke etter programmer før du har tastet minst så mange tegn i "
|
||||
"Katapult-starteren."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 59
|
||||
#: rc.cpp:92
|
||||
#, no-c-format
|
||||
msgid "Import Mozilla bookmarks"
|
||||
msgstr "Importer Mozilla-bokmerker"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 73
|
||||
#: rc.cpp:95
|
||||
#, no-c-format
|
||||
msgid "Automatically detect bookmark file"
|
||||
msgstr "Oppdag bokmerkefil automatisk"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 81
|
||||
#: rc.cpp:98
|
||||
#, no-c-format
|
||||
msgid "Use the following file:"
|
||||
msgstr "Bruk følgende fil:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/documentcatalog/settings.ui line 56
|
||||
#: rc.cpp:110
|
||||
#, no-c-format
|
||||
msgid "Show Preview for Documents?"
|
||||
msgstr "Forhåndsvis dokumenter?"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 32
|
||||
#: rc.cpp:125
|
||||
#, no-c-format
|
||||
msgid "Trigger Word:"
|
||||
msgstr "Utløserord:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 40
|
||||
#: rc.cpp:128
|
||||
#, no-c-format
|
||||
msgid "Use with: \"spell myword\""
|
||||
msgstr "Bruk med: «spell mitt_ord»"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 35
|
||||
#: rc.cpp:134
|
||||
#, no-c-format
|
||||
msgid "Number of fractional digits:"
|
||||
msgstr "Antall desimalsifre:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 55
|
||||
#: rc.cpp:137
|
||||
#, no-c-format
|
||||
msgid "Katapult will show this number of fractional digits."
|
||||
msgstr "Katapult viser så mange sifre etter desimalkomma."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 84
|
||||
#: rc.cpp:141
|
||||
#, no-c-format
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 87
|
||||
#: rc.cpp:144
|
||||
#, no-c-format
|
||||
msgid "In normal mode, katapult will never show an exponent on a number."
|
||||
msgstr "I normal visning viser Katapult aldri en eksponent for et tall."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 95
|
||||
#: rc.cpp:147
|
||||
#, no-c-format
|
||||
msgid "Scientific"
|
||||
msgstr "Vitenskapelig"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 98
|
||||
#: rc.cpp:150
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"In scientific mode, katapult will show an exponent on very large or very small "
|
||||
"numbers."
|
||||
msgstr ""
|
||||
"I vitenskapelig visning vil Katapult vise eksponent på svært store eller svært "
|
||||
"små tall."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 119
|
||||
#: rc.cpp:154
|
||||
#, no-c-format
|
||||
msgid "Radians"
|
||||
msgstr "Radianer"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 122
|
||||
#: rc.cpp:157
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in radians (2 pi radians is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
"Trigonometriske funksjoner forventer og returnerer vinkler i radianer (2 pi "
|
||||
"radianer er en hel sirkel)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 130
|
||||
#: rc.cpp:160
|
||||
#, no-c-format
|
||||
msgid "Degrees"
|
||||
msgstr "Grader"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 133
|
||||
#: rc.cpp:163
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in degrees (360 degrees is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
"Trigonometriske funksjoner forventer og returnerer vinkler i grader (360 grader "
|
||||
"er en hel sirkel)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 145
|
||||
#: rc.cpp:166
|
||||
#, no-c-format
|
||||
msgid "Copy to clipboard on execute"
|
||||
msgstr "Kopier til utklippstavle ved kjøring"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 151
|
||||
#: rc.cpp:169
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"katapult can copy the expression or the result of the expression to the "
|
||||
"clipboard if you press the key assigned to \"execute action\" (by default, this "
|
||||
"is Enter)."
|
||||
msgstr ""
|
||||
"Katapult kan kopiere uttrykket eller resultatet av uttrykket til utklippstavla "
|
||||
"hvis du trykker tasten som er tilordnet «utfør handling» (som standard er dette "
|
||||
"Enter)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 170
|
||||
#: rc.cpp:172
|
||||
#, no-c-format
|
||||
msgid "Copied text:"
|
||||
msgstr "Kopiert tekst:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 188
|
||||
#: rc.cpp:175
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"<i>Hint:</i> %1 is replaced by the expression, %2 is replaced by the result"
|
||||
msgstr "<i>Hint:</i> %1 erstattes av uttrykket, %2 erstattes av resultatet"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 59
|
||||
#: rc.cpp:187
|
||||
#, no-c-format
|
||||
msgid "Ignore applications without icons"
|
||||
msgstr "Ignorer programmer uten ikoner"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 67
|
||||
#: rc.cpp:190
|
||||
#, no-c-format
|
||||
msgid "Ignore terminal applications"
|
||||
msgstr "Ignorer terminalprogrammer"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 75
|
||||
#: rc.cpp:193
|
||||
#, no-c-format
|
||||
msgid "Catalog applications by executable name"
|
||||
msgstr "Katalogiser programmer etter navnet på programfila"
|
||||
|
||||
#: plugins/catalogs/bookmarkcatalog/actionopenbookmark.cpp:43
|
||||
msgid "Open Bookmark"
|
||||
msgstr "Åpne bokmerke"
|
||||
|
||||
#: plugins/catalogs/amarokcatalog/actionplaysong.cpp:43
|
||||
msgid "Play Song"
|
||||
msgstr "Spill melodi"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/actioncopyspelling.cpp:48
|
||||
msgid "Parse Error"
|
||||
msgstr "Tolkingsfeil"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:87
|
||||
msgid ""
|
||||
"_: Should be short, easy and quick to type\n"
|
||||
"spell"
|
||||
msgstr "stav"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:102
|
||||
msgid "Use with \"%1 myword\""
|
||||
msgstr "Bruk med «%1 mitt_ord»"
|
||||
|
||||
#: plugins/catalogs/calculatorcatalog/actionevalexpr.cpp:109
|
||||
msgid "Evaluate Expression"
|
||||
msgstr "Evaluer uttrykket"
|
||||
|
||||
#: plugins/catalogs/programcatalog/actionrunprogram.cpp:43
|
||||
msgid "Run Program"
|
||||
msgstr "Kjør program"
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = nl
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
@ -0,0 +1,513 @@
|
||||
# translation of katapult.po to Dutch
|
||||
# translation of katapult.po to
|
||||
#
|
||||
# Rinse de Vries <RinseDeVries@home.nl>, 2006.
|
||||
# Jaap Woldringh <jjh.woldringh@planet.nl>, 2006.
|
||||
# Rinse de Vries <rinsedevries@kde.nl>, 2006.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: katapult\n"
|
||||
"POT-Creation-Date: 2006-06-08 11:22+0200\n"
|
||||
"PO-Revision-Date: 2006-06-09 23:57+0200\n"
|
||||
"Last-Translator: Rinse de Vries <rinsedevries@kde.nl>\n"
|
||||
"Language-Team: Dutch <kde-i18n-nl@kde.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: KBabel 1.11.2\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:50 rc.cpp:3
|
||||
#, no-c-format
|
||||
msgid "General Settings"
|
||||
msgstr "Algemene instellingen"
|
||||
|
||||
#. i18n: file ./katapult/confcatalogs.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:67 katapult/katapultconfigdlg.cpp:157
|
||||
#: rc.cpp:62
|
||||
#, no-c-format
|
||||
msgid "Catalogs"
|
||||
msgstr "Catalogi"
|
||||
|
||||
#: katapult/katapultconfigdlg.cpp:67
|
||||
msgid "Enabled Catalogs"
|
||||
msgstr "Geactiveerde catalogi"
|
||||
|
||||
#. i18n: file ./katapult/confdisplay.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:87 rc.cpp:59
|
||||
#, no-c-format
|
||||
msgid "Display"
|
||||
msgstr "Weergave"
|
||||
|
||||
#: katapult/main.cpp:31
|
||||
msgid ""
|
||||
"A plugin-driven utility that can launch applications, bookmarks, or anything "
|
||||
"else that you can find a plugin for."
|
||||
msgstr ""
|
||||
"Een plugin-gestuurd programma dat programma's, bladwijzers en al het andere "
|
||||
"waarvoor u een plugin kunt vinden kan opstarten."
|
||||
|
||||
#: katapult/main.cpp:42
|
||||
msgid "Katapult"
|
||||
msgstr "Katapult"
|
||||
|
||||
#: katapult/main.cpp:43
|
||||
msgid ""
|
||||
"(C) until 2005, Joe Ferris\n"
|
||||
"(C) 2005, the Katapult development team"
|
||||
msgstr ""
|
||||
"(C) tot 2005, Joe Ferris\n"
|
||||
"(C) 2005, het ontwikkelingsteam van Katapult"
|
||||
|
||||
#: katapult/main.cpp:44
|
||||
msgid "Project Manager"
|
||||
msgstr "Projectbeheerder"
|
||||
|
||||
#: katapult/main.cpp:45
|
||||
msgid "Lead Developer"
|
||||
msgstr "Hoofdontwikkelaar"
|
||||
|
||||
#: katapult/main.cpp:46
|
||||
msgid "Developer"
|
||||
msgstr "Ontwikkelaar"
|
||||
|
||||
#: katapult/main.cpp:47
|
||||
msgid "Graphics"
|
||||
msgstr "Illustraties"
|
||||
|
||||
#: katapult/main.cpp:50
|
||||
msgid "Original Author"
|
||||
msgstr "Oorspronkelijke auteur"
|
||||
|
||||
#: katapult/settings.cpp:93
|
||||
msgid "MyDialog1"
|
||||
msgstr "Mijndialoog1"
|
||||
|
||||
#: katapult/settings.cpp:95
|
||||
msgid "New Item"
|
||||
msgstr "Nieuw item"
|
||||
|
||||
#: katapult/settings.cpp:96 katapult/settings.cpp:97
|
||||
msgid "Tab"
|
||||
msgstr "Tab"
|
||||
|
||||
#: katapult/settings.cpp:99
|
||||
msgid "F1"
|
||||
msgstr "F1"
|
||||
|
||||
#: katapult/katapult.cpp:83
|
||||
msgid ""
|
||||
"Application successfully started !\n"
|
||||
"Press %1 to use it..."
|
||||
msgstr ""
|
||||
"Programma met succes gestart!\n"
|
||||
"Druk op %1 om het te gebruiken..."
|
||||
|
||||
#: katapult/katapult.cpp:85
|
||||
msgid "Katapult Notification"
|
||||
msgstr "Katapultmelding"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Show Launcher"
|
||||
msgstr "Starter tonen"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Shows the Katapult launcher"
|
||||
msgstr "Opent de Katapult-starter"
|
||||
|
||||
#: katapult/katapult.cpp:129
|
||||
msgid "Execute"
|
||||
msgstr "Uitvoeren"
|
||||
|
||||
#: katapult/katapult.cpp:132
|
||||
msgid "Complete Query"
|
||||
msgstr "Zoekopdracht voltooid"
|
||||
|
||||
#: katapult/katapult.cpp:133
|
||||
msgid "Show Context Menu"
|
||||
msgstr "Contextmenu tonen"
|
||||
|
||||
#: katapult/katapult.cpp:136
|
||||
msgid "Configure &Global Shortcuts..."
|
||||
msgstr "&Globale sneltoetsen instellen"
|
||||
|
||||
#: _translatorinfo.cpp:1
|
||||
msgid ""
|
||||
"_: NAME OF TRANSLATORS\n"
|
||||
"Your names"
|
||||
msgstr "Rinse de Vries"
|
||||
|
||||
#: _translatorinfo.cpp:3
|
||||
msgid ""
|
||||
"_: EMAIL OF TRANSLATORS\n"
|
||||
"Your emails"
|
||||
msgstr "rinsedevries@kde.nl"
|
||||
|
||||
#: common/imagedisplay.cpp:272
|
||||
msgid "No items matched."
|
||||
msgstr "Geen overeenkomsten."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 35
|
||||
#: rc.cpp:6
|
||||
#, no-c-format
|
||||
msgid "Executing Actions"
|
||||
msgstr "Uitvoeracties"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 46
|
||||
#: rc.cpp:9
|
||||
#, no-c-format
|
||||
msgid "Delay before hiding &launcher:"
|
||||
msgstr "Vertraging voordat &starter wordt verborgen:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 52
|
||||
#: rc.cpp:12
|
||||
#, no-c-format
|
||||
msgid "How long Katapult waits before hiding the launcher"
|
||||
msgstr "Hoe lang Katapult wacht voordat de starter wordt verborgen"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 57
|
||||
#: rc.cpp:15
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"After an action is performed or no results were found, the Katapult launcher "
|
||||
"will be hidden.\n"
|
||||
"\n"
|
||||
"This sets how long Katapult will wait before hiding the launcher."
|
||||
msgstr ""
|
||||
"Nadat een actie is uitgevoerd, of als er geen resultaten zijn gevonden, zal de "
|
||||
"starter worden verborgen.\n"
|
||||
"\n"
|
||||
"Dit bepaalt hoelang Katapult zal wachten voordat de starter wordt verborgen."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 88
|
||||
#: rc.cpp:20
|
||||
#, no-c-format
|
||||
msgid "Automatically perform &default action"
|
||||
msgstr "Stan&daardactie automatisch uitvoeren"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 91
|
||||
#: rc.cpp:23
|
||||
#, no-c-format
|
||||
msgid "Whether to wait for confirmation or automatically execute actions"
|
||||
msgstr ""
|
||||
"Of er wordt gewacht op een bevestiging, of dat programma's automatisch worden "
|
||||
"uitgevoerd"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 94
|
||||
#: rc.cpp:26
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically perform the default action once all "
|
||||
"items but one have been eliminated. This avoids the extra keystroke after there "
|
||||
"is only one possibility."
|
||||
msgstr ""
|
||||
"Indien ingeschakeld zal Katapult automatisch de standaardactie uitvoeren nadat "
|
||||
"alle overeenkomsten op één na zijn geëlimineerd. Dit vermijdt de extra "
|
||||
"toetsaanslag nadat er slechts 1 mogelijkheid over is."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 112
|
||||
#: rc.cpp:29
|
||||
#, no-c-format
|
||||
msgid "No Results"
|
||||
msgstr "Geen resultaten"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 126
|
||||
#: rc.cpp:32
|
||||
#, no-c-format
|
||||
msgid "When there are no results:"
|
||||
msgstr "Wanneer er geen resultaten zijn:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 134
|
||||
#: rc.cpp:35
|
||||
#, no-c-format
|
||||
msgid "&Clear the query after a delay"
|
||||
msgstr "Zoekopdracht &wissen na een vertraging"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 142
|
||||
#: rc.cpp:38
|
||||
#, no-c-format
|
||||
msgid "&Hide the display after a delay"
|
||||
msgstr "Weergave &verbergen na een vertraging"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 150
|
||||
#: rc.cpp:41
|
||||
#, no-c-format
|
||||
msgid "Do ¬hing"
|
||||
msgstr "&Niets doen"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 158
|
||||
#: rc.cpp:44
|
||||
#, no-c-format
|
||||
msgid "&Delay before clearing or hiding:"
|
||||
msgstr "Ver&traging voor het wissen of verbergen:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 202
|
||||
#: rc.cpp:47
|
||||
#, no-c-format
|
||||
msgid "System Tray"
|
||||
msgstr "Systeemvak"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 220
|
||||
#: rc.cpp:50
|
||||
#, no-c-format
|
||||
msgid "&Show an icon in the systray"
|
||||
msgstr "Pictogram in het systeemvak plaat&sen"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 223
|
||||
#: rc.cpp:53
|
||||
#, no-c-format
|
||||
msgid "If activated, katapult shows an icon in the System Tray when running"
|
||||
msgstr ""
|
||||
"Indien ingeschakeld zal Katapult een pictogram in het systeemvak plaatsen als "
|
||||
"het programma draait"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 226
|
||||
#: rc.cpp:56
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically show an Icon in the System Tray."
|
||||
msgstr ""
|
||||
"Indien ingeschakeld zal Katapult automatisch een pictogram tonen in het "
|
||||
"systeemvak."
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 16
|
||||
#: rc.cpp:65 rc.cpp:83 rc.cpp:101 rc.cpp:113 rc.cpp:122 rc.cpp:131 rc.cpp:178
|
||||
#, no-c-format
|
||||
msgid "Settings"
|
||||
msgstr "Instellingen"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 27
|
||||
#: rc.cpp:68
|
||||
#, no-c-format
|
||||
msgid "Length of fade-in/fade-out:"
|
||||
msgstr "Duur van verschijnen/verdwijnen:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 58
|
||||
#: rc.cpp:71
|
||||
#, no-c-format
|
||||
msgid "Display Font"
|
||||
msgstr "Lettertype voor weergave"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 80
|
||||
#: rc.cpp:74
|
||||
#, no-c-format
|
||||
msgid "Font face:"
|
||||
msgstr "Lettertype:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 120
|
||||
#: rc.cpp:77
|
||||
#, no-c-format
|
||||
msgid "Minimum font size:"
|
||||
msgstr "Minimale tekengrootte:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 160
|
||||
#: rc.cpp:80
|
||||
#, no-c-format
|
||||
msgid "Maximum font size:"
|
||||
msgstr "Maximale tekengrootte:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 35
|
||||
#: rc.cpp:86 rc.cpp:104 rc.cpp:116 rc.cpp:181
|
||||
#, no-c-format
|
||||
msgid "Number of characters before searching:"
|
||||
msgstr "Aantal tekens voordat gezocht wordt:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 49
|
||||
#: rc.cpp:89 rc.cpp:107 rc.cpp:119 rc.cpp:184
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Katapult will not search for programs until you have typed at least this many "
|
||||
"characters in the Katapult launcher."
|
||||
msgstr ""
|
||||
"Katapult zal niet eerder naar programma's zoeken totdat u tenminste dit aantal "
|
||||
"lettertekens hebt ingetypt in de starter."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 59
|
||||
#: rc.cpp:92
|
||||
#, no-c-format
|
||||
msgid "Import Mozilla bookmarks"
|
||||
msgstr "Bladwijzers van Mozilla importeren"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 73
|
||||
#: rc.cpp:95
|
||||
#, no-c-format
|
||||
msgid "Automatically detect bookmark file"
|
||||
msgstr "Bladwijzerbestand automatisch detecteren"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 81
|
||||
#: rc.cpp:98
|
||||
#, no-c-format
|
||||
msgid "Use the following file:"
|
||||
msgstr "Gebruik het volgende bestand:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/documentcatalog/settings.ui line 56
|
||||
#: rc.cpp:110
|
||||
#, no-c-format
|
||||
msgid "Show Preview for Documents?"
|
||||
msgstr "Voorbeeld van documenten tonen?"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 32
|
||||
#: rc.cpp:125
|
||||
#, no-c-format
|
||||
msgid "Trigger Word:"
|
||||
msgstr "Sleutelwoord:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 40
|
||||
#: rc.cpp:128
|
||||
#, no-c-format
|
||||
msgid "Use with: \"spell myword\""
|
||||
msgstr "Gebruik met: \"spell mijnwoord\""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 35
|
||||
#: rc.cpp:134
|
||||
#, no-c-format
|
||||
msgid "Number of fractional digits:"
|
||||
msgstr "Aantal decimalen:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 55
|
||||
#: rc.cpp:137
|
||||
#, no-c-format
|
||||
msgid "Katapult will show this number of fractional digits."
|
||||
msgstr "Katapult toont dit aantal cijfers achter de komma."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 84
|
||||
#: rc.cpp:141
|
||||
#, no-c-format
|
||||
msgid "Normal"
|
||||
msgstr "Normaal"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 87
|
||||
#: rc.cpp:144
|
||||
#, no-c-format
|
||||
msgid "In normal mode, katapult will never show an exponent on a number."
|
||||
msgstr "Standaard toont Katapult getallen niet in exponentiële notatie."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 95
|
||||
#: rc.cpp:147
|
||||
#, no-c-format
|
||||
msgid "Scientific"
|
||||
msgstr "Wetenschappelijk"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 98
|
||||
#: rc.cpp:150
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"In scientific mode, katapult will show an exponent on very large or very small "
|
||||
"numbers."
|
||||
msgstr ""
|
||||
"In wetenschappelijke modus toont Katapult zeer grote en zeer kleine getallen in "
|
||||
"exponentiële notatie."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 119
|
||||
#: rc.cpp:154
|
||||
#, no-c-format
|
||||
msgid "Radians"
|
||||
msgstr "Radialen"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 122
|
||||
#: rc.cpp:157
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in radians (2 pi radians is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
"Goniometrische functies verwachten en geven hoeken terug in radialen (2 pi "
|
||||
"radialen in een volledige cirkel)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 130
|
||||
#: rc.cpp:160
|
||||
#, no-c-format
|
||||
msgid "Degrees"
|
||||
msgstr "Graden"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 133
|
||||
#: rc.cpp:163
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in degrees (360 degrees is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
"Goniometrische functies verwachten en geven hoeken terug in graden (360 graden "
|
||||
"in een volledige cirkel)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 145
|
||||
#: rc.cpp:166
|
||||
#, no-c-format
|
||||
msgid "Copy to clipboard on execute"
|
||||
msgstr "Naar klembord kopiëren bij uitvoeren"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 151
|
||||
#: rc.cpp:169
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"katapult can copy the expression or the result of the expression to the "
|
||||
"clipboard if you press the key assigned to \"execute action\" (by default, this "
|
||||
"is Enter)."
|
||||
msgstr ""
|
||||
"Katapult kan de expressie of het resultaat van de expressie kopiëren naar het "
|
||||
"klembord als u op de knop drukt die is toegewezen aan de actie \"uitvoeren\". "
|
||||
"Standaard is dit de toets Enter."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 170
|
||||
#: rc.cpp:172
|
||||
#, no-c-format
|
||||
msgid "Copied text:"
|
||||
msgstr "Gekopieerde tekst:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 188
|
||||
#: rc.cpp:175
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"<i>Hint:</i> %1 is replaced by the expression, %2 is replaced by the result"
|
||||
msgstr ""
|
||||
"<i>tip</i> %1 wordt vervangen door de expressie, %2 wordt vervangen door het "
|
||||
"resultaat."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 59
|
||||
#: rc.cpp:187
|
||||
#, no-c-format
|
||||
msgid "Ignore applications without icons"
|
||||
msgstr "Programma's zonder pictogrammen negeren"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 67
|
||||
#: rc.cpp:190
|
||||
#, no-c-format
|
||||
msgid "Ignore terminal applications"
|
||||
msgstr "Terminalprogramma's negeren"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 75
|
||||
#: rc.cpp:193
|
||||
#, no-c-format
|
||||
msgid "Catalog applications by executable name"
|
||||
msgstr "Programma's catalogiseren op naam van uitvoerbaar bestand"
|
||||
|
||||
#: plugins/catalogs/bookmarkcatalog/actionopenbookmark.cpp:43
|
||||
msgid "Open Bookmark"
|
||||
msgstr "Bladwijzer openen"
|
||||
|
||||
#: plugins/catalogs/amarokcatalog/actionplaysong.cpp:43
|
||||
msgid "Play Song"
|
||||
msgstr "Track afspelen"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/actioncopyspelling.cpp:48
|
||||
msgid "Parse Error"
|
||||
msgstr "Ontleedfout"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:87
|
||||
msgid ""
|
||||
"_: Should be short, easy and quick to type\n"
|
||||
"spell"
|
||||
msgstr "spel"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:102
|
||||
msgid "Use with \"%1 myword\""
|
||||
msgstr "Gebruik met \"%1 mijnwoord\""
|
||||
|
||||
#: plugins/catalogs/calculatorcatalog/actionevalexpr.cpp:109
|
||||
msgid "Evaluate Expression"
|
||||
msgstr "Expressie evalueren"
|
||||
|
||||
#: plugins/catalogs/programcatalog/actionrunprogram.cpp:43
|
||||
msgid "Run Program"
|
||||
msgstr "Programma starten"
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = pl
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
@ -0,0 +1,497 @@
|
||||
# translation of katapult.po to Polish
|
||||
#
|
||||
# Dawid Bednarczyk <bedi@poczta.fm>, 2006.
|
||||
# Krzysztof Lichota <lichota@mimuw.edu.pl>, 2006.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: katapult\n"
|
||||
"POT-Creation-Date: 2006-06-08 11:22+0200\n"
|
||||
"PO-Revision-Date: 2006-03-18 19:02+0100\n"
|
||||
"Last-Translator: Krzysztof Lichota <lichota@mimuw.edu.pl>\n"
|
||||
"Language-Team: Polish <pl@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: KBabel 1.11.2\n"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:50 rc.cpp:3
|
||||
#, no-c-format
|
||||
msgid "General Settings"
|
||||
msgstr "Ustawienia ogólne"
|
||||
|
||||
#. i18n: file ./katapult/confcatalogs.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:67 katapult/katapultconfigdlg.cpp:157
|
||||
#: rc.cpp:62
|
||||
#, no-c-format
|
||||
msgid "Catalogs"
|
||||
msgstr "Wtyczki"
|
||||
|
||||
#: katapult/katapultconfigdlg.cpp:67
|
||||
msgid "Enabled Catalogs"
|
||||
msgstr "Włączone wtyczki"
|
||||
|
||||
#. i18n: file ./katapult/confdisplay.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:87 rc.cpp:59
|
||||
#, no-c-format
|
||||
msgid "Display"
|
||||
msgstr "Wyświetlanie"
|
||||
|
||||
#: katapult/main.cpp:31
|
||||
msgid ""
|
||||
"A plugin-driven utility that can launch applications, bookmarks, or anything "
|
||||
"else that you can find a plugin for."
|
||||
msgstr ""
|
||||
"Narzędzie oparte na wtyczkach, za pomocą którego można uruchamiać programy, "
|
||||
"zakładki, lub też cokolwiek innego, dla czego można znaleźć wtyczkę."
|
||||
|
||||
#: katapult/main.cpp:42
|
||||
msgid "Katapult"
|
||||
msgstr "Katapulta"
|
||||
|
||||
#: katapult/main.cpp:43
|
||||
msgid ""
|
||||
"(C) until 2005, Joe Ferris\n"
|
||||
"(C) 2005, the Katapult development team"
|
||||
msgstr ""
|
||||
"(C) do 2005 Joe Ferris\n"
|
||||
"(C) 2005 Zespół programistów Katapulty"
|
||||
|
||||
#: katapult/main.cpp:44
|
||||
msgid "Project Manager"
|
||||
msgstr "Menedżer projektu"
|
||||
|
||||
#: katapult/main.cpp:45
|
||||
msgid "Lead Developer"
|
||||
msgstr "Główny programista"
|
||||
|
||||
#: katapult/main.cpp:46
|
||||
msgid "Developer"
|
||||
msgstr "Programista"
|
||||
|
||||
#: katapult/main.cpp:47
|
||||
msgid "Graphics"
|
||||
msgstr "Grafika"
|
||||
|
||||
#: katapult/main.cpp:50
|
||||
msgid "Original Author"
|
||||
msgstr "Pierwotny autor"
|
||||
|
||||
#: katapult/settings.cpp:93
|
||||
msgid "MyDialog1"
|
||||
msgstr "MyDialog1"
|
||||
|
||||
#: katapult/settings.cpp:95
|
||||
msgid "New Item"
|
||||
msgstr "Nowa pozycja"
|
||||
|
||||
#: katapult/settings.cpp:96 katapult/settings.cpp:97
|
||||
msgid "Tab"
|
||||
msgstr "Tab"
|
||||
|
||||
#: katapult/settings.cpp:99
|
||||
msgid "F1"
|
||||
msgstr "F1"
|
||||
|
||||
#: katapult/katapult.cpp:83
|
||||
msgid ""
|
||||
"Application successfully started !\n"
|
||||
"Press %1 to use it..."
|
||||
msgstr ""
|
||||
"Program został uruchomiony!\n"
|
||||
"Naciśnij %1, by go uruchomić..."
|
||||
|
||||
#: katapult/katapult.cpp:85
|
||||
msgid "Katapult Notification"
|
||||
msgstr "Powiadomienia Katapulty"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Show Launcher"
|
||||
msgstr "Pokaż program uruchamiający"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Shows the Katapult launcher"
|
||||
msgstr "Pokazuje program uruchamiający Katapulty"
|
||||
|
||||
#: katapult/katapult.cpp:129
|
||||
msgid "Execute"
|
||||
msgstr "Wykonaj"
|
||||
|
||||
#: katapult/katapult.cpp:132
|
||||
msgid "Complete Query"
|
||||
msgstr "Dokończ zapytanie"
|
||||
|
||||
#: katapult/katapult.cpp:133
|
||||
msgid "Show Context Menu"
|
||||
msgstr "Pokaż menu kontekstowe"
|
||||
|
||||
#: katapult/katapult.cpp:136
|
||||
msgid "Configure &Global Shortcuts..."
|
||||
msgstr "Konfuguracja &globalnych skrótów..."
|
||||
|
||||
#: _translatorinfo.cpp:1
|
||||
msgid ""
|
||||
"_: NAME OF TRANSLATORS\n"
|
||||
"Your names"
|
||||
msgstr "Dawid Bednarczyk"
|
||||
|
||||
#: _translatorinfo.cpp:3
|
||||
msgid ""
|
||||
"_: EMAIL OF TRANSLATORS\n"
|
||||
"Your emails"
|
||||
msgstr "bedi@poczta.fm"
|
||||
|
||||
#: common/imagedisplay.cpp:272
|
||||
msgid "No items matched."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 35
|
||||
#: rc.cpp:6
|
||||
#, no-c-format
|
||||
msgid "Executing Actions"
|
||||
msgstr "Wykonywanie działań"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 46
|
||||
#: rc.cpp:9
|
||||
#, fuzzy, no-c-format
|
||||
msgid "Delay before hiding &launcher:"
|
||||
msgstr "Opóźnienie ukrycia programu uruchamiającego:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 52
|
||||
#: rc.cpp:12
|
||||
#, no-c-format
|
||||
msgid "How long Katapult waits before hiding the launcher"
|
||||
msgstr "Jak długo Katapulta czeka przed ukryciem programu uruchamiającego"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 57
|
||||
#: rc.cpp:15
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"After an action is performed or no results were found, the Katapult launcher "
|
||||
"will be hidden.\n"
|
||||
"\n"
|
||||
"This sets how long Katapult will wait before hiding the launcher."
|
||||
msgstr ""
|
||||
"Po zakończeniu wykonywania działania lub jeśli nie znaleziono żadnych "
|
||||
"rezultatów, program uruchamiający Katapulty zostanie ukryty.\n"
|
||||
"\n"
|
||||
"To ustawienie określa jak długo Katapulta będzie czekała przed ukryciem "
|
||||
"programu uruchamiającego."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 88
|
||||
#: rc.cpp:20
|
||||
#, fuzzy, no-c-format
|
||||
msgid "Automatically perform &default action"
|
||||
msgstr "Automatycznie wykonaj działanie domyślne"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 91
|
||||
#: rc.cpp:23
|
||||
#, no-c-format
|
||||
msgid "Whether to wait for confirmation or automatically execute actions"
|
||||
msgstr ""
|
||||
"Określa, czy czekać na potwierdzenie czy też automatycznie uruchamiać działanie"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 94
|
||||
#: rc.cpp:26
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically perform the default action once all "
|
||||
"items but one have been eliminated. This avoids the extra keystroke after there "
|
||||
"is only one possibility."
|
||||
msgstr ""
|
||||
"Jeśli ta opcja jest włączona, Katapulta wykona operację domyślną wtedy, gdy "
|
||||
"pozostała już tylko jedna możliwość. Poprzez to unika się dodatkowego "
|
||||
"naciskania klawiszy, gdy pozostała tylko jedna możliwość."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 112
|
||||
#: rc.cpp:29
|
||||
#, no-c-format
|
||||
msgid "No Results"
|
||||
msgstr "Brak wyników"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 126
|
||||
#: rc.cpp:32
|
||||
#, no-c-format
|
||||
msgid "When there are no results:"
|
||||
msgstr "W przypadku braku wyników:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 134
|
||||
#: rc.cpp:35
|
||||
#, fuzzy, no-c-format
|
||||
msgid "&Clear the query after a delay"
|
||||
msgstr "Wyczyść zapytanie po opóźnieniu"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 142
|
||||
#: rc.cpp:38
|
||||
#, fuzzy, no-c-format
|
||||
msgid "&Hide the display after a delay"
|
||||
msgstr "Ukryj program uruchamiający po opóźnieniu"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 150
|
||||
#: rc.cpp:41
|
||||
#, fuzzy, no-c-format
|
||||
msgid "Do ¬hing"
|
||||
msgstr "Nic nie rób"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 158
|
||||
#: rc.cpp:44
|
||||
#, fuzzy, no-c-format
|
||||
msgid "&Delay before clearing or hiding:"
|
||||
msgstr "Opóźnienie przed wyczyszczeniem lub ukryciem:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 202
|
||||
#: rc.cpp:47
|
||||
#, no-c-format
|
||||
msgid "System Tray"
|
||||
msgstr "Tacka systemowa"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 220
|
||||
#: rc.cpp:50
|
||||
#, fuzzy, no-c-format
|
||||
msgid "&Show an icon in the systray"
|
||||
msgstr "Pokaż ikonę w tacce systemowej"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 223
|
||||
#: rc.cpp:53
|
||||
#, no-c-format
|
||||
msgid "If activated, katapult shows an icon in the System Tray when running"
|
||||
msgstr ""
|
||||
"Jeśli ta opcja jest włączona, Katapulta pokazuje ikonę w tacce systemowej jeśli "
|
||||
"jest uruchomiona"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 226
|
||||
#: rc.cpp:56
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically show an Icon in the System Tray."
|
||||
msgstr ""
|
||||
"Jeśli ta opcja jest włączona, Katapulta będzie automatycznie pokazywać ikonę w "
|
||||
"tacce systemowej."
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 16
|
||||
#: rc.cpp:65 rc.cpp:83 rc.cpp:101 rc.cpp:113 rc.cpp:122 rc.cpp:131 rc.cpp:178
|
||||
#, fuzzy, no-c-format
|
||||
msgid "Settings"
|
||||
msgstr "Ustawienia ogólne"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 27
|
||||
#: rc.cpp:68
|
||||
#, no-c-format
|
||||
msgid "Length of fade-in/fade-out:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 58
|
||||
#: rc.cpp:71
|
||||
#, fuzzy, no-c-format
|
||||
msgid "Display Font"
|
||||
msgstr "Wyświetlanie"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 80
|
||||
#: rc.cpp:74
|
||||
#, no-c-format
|
||||
msgid "Font face:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 120
|
||||
#: rc.cpp:77
|
||||
#, no-c-format
|
||||
msgid "Minimum font size:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 160
|
||||
#: rc.cpp:80
|
||||
#, no-c-format
|
||||
msgid "Maximum font size:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 35
|
||||
#: rc.cpp:86 rc.cpp:104 rc.cpp:116 rc.cpp:181
|
||||
#, no-c-format
|
||||
msgid "Number of characters before searching:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 49
|
||||
#: rc.cpp:89 rc.cpp:107 rc.cpp:119 rc.cpp:184
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Katapult will not search for programs until you have typed at least this many "
|
||||
"characters in the Katapult launcher."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 59
|
||||
#: rc.cpp:92
|
||||
#, no-c-format
|
||||
msgid "Import Mozilla bookmarks"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 73
|
||||
#: rc.cpp:95
|
||||
#, no-c-format
|
||||
msgid "Automatically detect bookmark file"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 81
|
||||
#: rc.cpp:98
|
||||
#, no-c-format
|
||||
msgid "Use the following file:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/documentcatalog/settings.ui line 56
|
||||
#: rc.cpp:110
|
||||
#, no-c-format
|
||||
msgid "Show Preview for Documents?"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 32
|
||||
#: rc.cpp:125
|
||||
#, no-c-format
|
||||
msgid "Trigger Word:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 40
|
||||
#: rc.cpp:128
|
||||
#, no-c-format
|
||||
msgid "Use with: \"spell myword\""
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 35
|
||||
#: rc.cpp:134
|
||||
#, no-c-format
|
||||
msgid "Number of fractional digits:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 55
|
||||
#: rc.cpp:137
|
||||
#, no-c-format
|
||||
msgid "Katapult will show this number of fractional digits."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 84
|
||||
#: rc.cpp:141
|
||||
#, no-c-format
|
||||
msgid "Normal"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 87
|
||||
#: rc.cpp:144
|
||||
#, no-c-format
|
||||
msgid "In normal mode, katapult will never show an exponent on a number."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 95
|
||||
#: rc.cpp:147
|
||||
#, no-c-format
|
||||
msgid "Scientific"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 98
|
||||
#: rc.cpp:150
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"In scientific mode, katapult will show an exponent on very large or very small "
|
||||
"numbers."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 119
|
||||
#: rc.cpp:154
|
||||
#, no-c-format
|
||||
msgid "Radians"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 122
|
||||
#: rc.cpp:157
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in radians (2 pi radians is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 130
|
||||
#: rc.cpp:160
|
||||
#, no-c-format
|
||||
msgid "Degrees"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 133
|
||||
#: rc.cpp:163
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in degrees (360 degrees is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 145
|
||||
#: rc.cpp:166
|
||||
#, no-c-format
|
||||
msgid "Copy to clipboard on execute"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 151
|
||||
#: rc.cpp:169
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"katapult can copy the expression or the result of the expression to the "
|
||||
"clipboard if you press the key assigned to \"execute action\" (by default, this "
|
||||
"is Enter)."
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 170
|
||||
#: rc.cpp:172
|
||||
#, no-c-format
|
||||
msgid "Copied text:"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 188
|
||||
#: rc.cpp:175
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"<i>Hint:</i> %1 is replaced by the expression, %2 is replaced by the result"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 59
|
||||
#: rc.cpp:187
|
||||
#, no-c-format
|
||||
msgid "Ignore applications without icons"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 67
|
||||
#: rc.cpp:190
|
||||
#, no-c-format
|
||||
msgid "Ignore terminal applications"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 75
|
||||
#: rc.cpp:193
|
||||
#, no-c-format
|
||||
msgid "Catalog applications by executable name"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/bookmarkcatalog/actionopenbookmark.cpp:43
|
||||
msgid "Open Bookmark"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/amarokcatalog/actionplaysong.cpp:43
|
||||
msgid "Play Song"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/spellcatalog/actioncopyspelling.cpp:48
|
||||
msgid "Parse Error"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:87
|
||||
msgid ""
|
||||
"_: Should be short, easy and quick to type\n"
|
||||
"spell"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:102
|
||||
msgid "Use with \"%1 myword\""
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/calculatorcatalog/actionevalexpr.cpp:109
|
||||
msgid "Evaluate Expression"
|
||||
msgstr ""
|
||||
|
||||
#: plugins/catalogs/programcatalog/actionrunprogram.cpp:43
|
||||
msgid "Run Program"
|
||||
msgstr ""
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = pt
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
@ -0,0 +1,504 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: katapult\n"
|
||||
"POT-Creation-Date: 2006-06-08 11:22+0200\n"
|
||||
"PO-Revision-Date: 2006-06-08 15:55+0100\n"
|
||||
"Last-Translator: Jos Nuno Coelho Sanarra Pires <jncp@rnl.ist.utl.pt>\n"
|
||||
"Language-Team: LANGUAGE <kde-i18n-doc@kde.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-POFile-SpellExtra: Katapult Ferris Joe Enter desvanescimento\n"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:50 rc.cpp:3
|
||||
#, no-c-format
|
||||
msgid "General Settings"
|
||||
msgstr "Configuração Geral"
|
||||
|
||||
#. i18n: file ./katapult/confcatalogs.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:67 katapult/katapultconfigdlg.cpp:157
|
||||
#: rc.cpp:62
|
||||
#, no-c-format
|
||||
msgid "Catalogs"
|
||||
msgstr "Catálogos"
|
||||
|
||||
#: katapult/katapultconfigdlg.cpp:67
|
||||
msgid "Enabled Catalogs"
|
||||
msgstr "Catálogos Activos"
|
||||
|
||||
#. i18n: file ./katapult/confdisplay.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:87 rc.cpp:59
|
||||
#, no-c-format
|
||||
msgid "Display"
|
||||
msgstr "Visualização"
|
||||
|
||||
#: katapult/main.cpp:31
|
||||
msgid ""
|
||||
"A plugin-driven utility that can launch applications, bookmarks, or anything "
|
||||
"else that you can find a plugin for."
|
||||
msgstr ""
|
||||
"Um utilitário baseado em 'plugins' que poderá lançar aplicações, favoritos ou "
|
||||
"tudo o que possa ter um 'plugin'."
|
||||
|
||||
#: katapult/main.cpp:42
|
||||
msgid "Katapult"
|
||||
msgstr "Katapult"
|
||||
|
||||
#: katapult/main.cpp:43
|
||||
msgid ""
|
||||
"(C) until 2005, Joe Ferris\n"
|
||||
"(C) 2005, the Katapult development team"
|
||||
msgstr ""
|
||||
"(C) até 2005, Joe Ferris\n"
|
||||
"(C) 2005, a equipa de desenvolvimento do Katapult"
|
||||
|
||||
#: katapult/main.cpp:44
|
||||
msgid "Project Manager"
|
||||
msgstr "Gestor do Projecto"
|
||||
|
||||
#: katapult/main.cpp:45
|
||||
msgid "Lead Developer"
|
||||
msgstr "Programador Principal"
|
||||
|
||||
#: katapult/main.cpp:46
|
||||
msgid "Developer"
|
||||
msgstr "Desenvolvimento"
|
||||
|
||||
#: katapult/main.cpp:47
|
||||
msgid "Graphics"
|
||||
msgstr "Gráficos"
|
||||
|
||||
#: katapult/main.cpp:50
|
||||
msgid "Original Author"
|
||||
msgstr "Autor Original"
|
||||
|
||||
#: katapult/settings.cpp:93
|
||||
msgid "MyDialog1"
|
||||
msgstr "Janela1"
|
||||
|
||||
#: katapult/settings.cpp:95
|
||||
msgid "New Item"
|
||||
msgstr "Novo Item"
|
||||
|
||||
#: katapult/settings.cpp:96 katapult/settings.cpp:97
|
||||
msgid "Tab"
|
||||
msgstr "Tabulação"
|
||||
|
||||
#: katapult/settings.cpp:99
|
||||
msgid "F1"
|
||||
msgstr "F1"
|
||||
|
||||
#: katapult/katapult.cpp:83
|
||||
msgid ""
|
||||
"Application successfully started !\n"
|
||||
"Press %1 to use it..."
|
||||
msgstr ""
|
||||
"A aplicação foi iniciada com sucesso !\n"
|
||||
"Carregue em %1 para usá-la..."
|
||||
|
||||
#: katapult/katapult.cpp:85
|
||||
msgid "Katapult Notification"
|
||||
msgstr "Notificação do Katapult"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Show Launcher"
|
||||
msgstr "Mostrar o Lançador"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Shows the Katapult launcher"
|
||||
msgstr "Mostra o lançador Katapult"
|
||||
|
||||
#: katapult/katapult.cpp:129
|
||||
msgid "Execute"
|
||||
msgstr "Executar"
|
||||
|
||||
#: katapult/katapult.cpp:132
|
||||
msgid "Complete Query"
|
||||
msgstr "Completar a Pesquisa"
|
||||
|
||||
#: katapult/katapult.cpp:133
|
||||
msgid "Show Context Menu"
|
||||
msgstr "Mostrar o Menu de Contexto"
|
||||
|
||||
#: katapult/katapult.cpp:136
|
||||
msgid "Configure &Global Shortcuts..."
|
||||
msgstr "Configurar os Atalhos &Globais..."
|
||||
|
||||
#: _translatorinfo.cpp:1
|
||||
msgid ""
|
||||
"_: NAME OF TRANSLATORS\n"
|
||||
"Your names"
|
||||
msgstr "José Nuno Pires,Pedro Morais"
|
||||
|
||||
#: _translatorinfo.cpp:3
|
||||
msgid ""
|
||||
"_: EMAIL OF TRANSLATORS\n"
|
||||
"Your emails"
|
||||
msgstr "jncp@netcabo.pt,morais@kde.org"
|
||||
|
||||
#: common/imagedisplay.cpp:272
|
||||
msgid "No items matched."
|
||||
msgstr "Não existem itens correspondentes."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 35
|
||||
#: rc.cpp:6
|
||||
#, no-c-format
|
||||
msgid "Executing Actions"
|
||||
msgstr "A Executar as Acções"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 46
|
||||
#: rc.cpp:9
|
||||
#, no-c-format
|
||||
msgid "Delay before hiding &launcher:"
|
||||
msgstr "Atraso até esconder o &lançador:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 52
|
||||
#: rc.cpp:12
|
||||
#, no-c-format
|
||||
msgid "How long Katapult waits before hiding the launcher"
|
||||
msgstr "Quanto tempo o Katapult fica à espera antes de esconder o lançador"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 57
|
||||
#: rc.cpp:15
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"After an action is performed or no results were found, the Katapult launcher "
|
||||
"will be hidden.\n"
|
||||
"\n"
|
||||
"This sets how long Katapult will wait before hiding the launcher."
|
||||
msgstr ""
|
||||
"Após ser efectuada uma acção ou, se não forem encontrados resultados, o "
|
||||
"lançador Katapult será escondido.\n"
|
||||
"\n"
|
||||
"Isto define o tempo que o Katapult irá esperar, antes de esconder o lançador."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 88
|
||||
#: rc.cpp:20
|
||||
#, no-c-format
|
||||
msgid "Automatically perform &default action"
|
||||
msgstr "Efectuar automaticamente a acção pre&definida"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 91
|
||||
#: rc.cpp:23
|
||||
#, no-c-format
|
||||
msgid "Whether to wait for confirmation or automatically execute actions"
|
||||
msgstr "Se deve esperar uma confirmação ou executar automaticamente as acções"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 94
|
||||
#: rc.cpp:26
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically perform the default action once all "
|
||||
"items but one have been eliminated. This avoids the extra keystroke after there "
|
||||
"is only one possibility."
|
||||
msgstr ""
|
||||
"Se estiver activo, o Katapult irá executar automaticamente a acção predefinida, "
|
||||
"logo que todos os itens tenham sido eliminados. Isto evita a combinação de "
|
||||
"teclas extra, quando só existir uma possibilidade."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 112
|
||||
#: rc.cpp:29
|
||||
#, no-c-format
|
||||
msgid "No Results"
|
||||
msgstr "Sem Resultados"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 126
|
||||
#: rc.cpp:32
|
||||
#, no-c-format
|
||||
msgid "When there are no results:"
|
||||
msgstr "Quando não existirem resultados:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 134
|
||||
#: rc.cpp:35
|
||||
#, no-c-format
|
||||
msgid "&Clear the query after a delay"
|
||||
msgstr "&Limpar a pesquisa após algum tempo"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 142
|
||||
#: rc.cpp:38
|
||||
#, no-c-format
|
||||
msgid "&Hide the display after a delay"
|
||||
msgstr "Esconder a &visualização após algum tempo"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 150
|
||||
#: rc.cpp:41
|
||||
#, no-c-format
|
||||
msgid "Do ¬hing"
|
||||
msgstr "Não fazer &nada"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 158
|
||||
#: rc.cpp:44
|
||||
#, no-c-format
|
||||
msgid "&Delay before clearing or hiding:"
|
||||
msgstr "Atraso antes &de limpar ou esconder:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 202
|
||||
#: rc.cpp:47
|
||||
#, no-c-format
|
||||
msgid "System Tray"
|
||||
msgstr "Bandeja do Sistema"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 220
|
||||
#: rc.cpp:50
|
||||
#, no-c-format
|
||||
msgid "&Show an icon in the systray"
|
||||
msgstr "Mo&strar um ícone na bandeja do sistema"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 223
|
||||
#: rc.cpp:53
|
||||
#, no-c-format
|
||||
msgid "If activated, katapult shows an icon in the System Tray when running"
|
||||
msgstr ""
|
||||
"Se estiver activo, o Katapult mostra um ícone na Bandeja do Sistema durante a "
|
||||
"execução"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 226
|
||||
#: rc.cpp:56
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically show an Icon in the System Tray."
|
||||
msgstr ""
|
||||
"Se estiver activo, o Katapult irá mostrar automaticamente um ícone na Bandeja "
|
||||
"do Sistema."
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 16
|
||||
#: rc.cpp:65 rc.cpp:83 rc.cpp:101 rc.cpp:113 rc.cpp:122 rc.cpp:131 rc.cpp:178
|
||||
#, no-c-format
|
||||
msgid "Settings"
|
||||
msgstr "Configuração"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 27
|
||||
#: rc.cpp:68
|
||||
#, no-c-format
|
||||
msgid "Length of fade-in/fade-out:"
|
||||
msgstr "Duração do desvanescimento:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 58
|
||||
#: rc.cpp:71
|
||||
#, no-c-format
|
||||
msgid "Display Font"
|
||||
msgstr "Tipo de Letra do Ecrã"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 80
|
||||
#: rc.cpp:74
|
||||
#, no-c-format
|
||||
msgid "Font face:"
|
||||
msgstr "Tipo de letra:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 120
|
||||
#: rc.cpp:77
|
||||
#, no-c-format
|
||||
msgid "Minimum font size:"
|
||||
msgstr "Tamanho de letra mínimo:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 160
|
||||
#: rc.cpp:80
|
||||
#, no-c-format
|
||||
msgid "Maximum font size:"
|
||||
msgstr "Tamanho máximo da letra:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 35
|
||||
#: rc.cpp:86 rc.cpp:104 rc.cpp:116 rc.cpp:181
|
||||
#, no-c-format
|
||||
msgid "Number of characters before searching:"
|
||||
msgstr "Número de caracteres antes da procura:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 49
|
||||
#: rc.cpp:89 rc.cpp:107 rc.cpp:119 rc.cpp:184
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Katapult will not search for programs until you have typed at least this many "
|
||||
"characters in the Katapult launcher."
|
||||
msgstr ""
|
||||
"O Katapult não irá procurar programas até que tenha escrito este número de "
|
||||
"caracteres no lançador do Katapult."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 59
|
||||
#: rc.cpp:92
|
||||
#, no-c-format
|
||||
msgid "Import Mozilla bookmarks"
|
||||
msgstr "Importar os favoritos do Mozilla"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 73
|
||||
#: rc.cpp:95
|
||||
#, no-c-format
|
||||
msgid "Automatically detect bookmark file"
|
||||
msgstr "Detectar automaticamente o ficheiro de favoritos"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 81
|
||||
#: rc.cpp:98
|
||||
#, no-c-format
|
||||
msgid "Use the following file:"
|
||||
msgstr "Usar o seguinte ficheiro:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/documentcatalog/settings.ui line 56
|
||||
#: rc.cpp:110
|
||||
#, no-c-format
|
||||
msgid "Show Preview for Documents?"
|
||||
msgstr "Mostrar a Antevisão dos Documentos?"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 32
|
||||
#: rc.cpp:125
|
||||
#, no-c-format
|
||||
msgid "Trigger Word:"
|
||||
msgstr "Palavra de Activação:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 40
|
||||
#: rc.cpp:128
|
||||
#, no-c-format
|
||||
msgid "Use with: \"spell myword\""
|
||||
msgstr "Usar com: \"ortografia a-minha-palavra\""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 35
|
||||
#: rc.cpp:134
|
||||
#, no-c-format
|
||||
msgid "Number of fractional digits:"
|
||||
msgstr "Número de casas decimais:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 55
|
||||
#: rc.cpp:137
|
||||
#, no-c-format
|
||||
msgid "Katapult will show this number of fractional digits."
|
||||
msgstr "O Katapult irá mostrar este número de casas decimais."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 84
|
||||
#: rc.cpp:141
|
||||
#, no-c-format
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 87
|
||||
#: rc.cpp:144
|
||||
#, no-c-format
|
||||
msgid "In normal mode, katapult will never show an exponent on a number."
|
||||
msgstr "No modo normal, o Katapult nunca irá mostrar um expoente num número."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 95
|
||||
#: rc.cpp:147
|
||||
#, no-c-format
|
||||
msgid "Scientific"
|
||||
msgstr "Notação Científica"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 98
|
||||
#: rc.cpp:150
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"In scientific mode, katapult will show an exponent on very large or very small "
|
||||
"numbers."
|
||||
msgstr ""
|
||||
"No modo científico, o Katapult irá mostrar um expoente nos números muito "
|
||||
"pequenos ou muito grandes."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 119
|
||||
#: rc.cpp:154
|
||||
#, no-c-format
|
||||
msgid "Radians"
|
||||
msgstr "Radianos"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 122
|
||||
#: rc.cpp:157
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in radians (2 pi radians is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
"As funções trigonométricas esperam e devolvem ângulos em radianos (2 PI "
|
||||
"radianos é uma circunferência completa)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 130
|
||||
#: rc.cpp:160
|
||||
#, no-c-format
|
||||
msgid "Degrees"
|
||||
msgstr "Graus"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 133
|
||||
#: rc.cpp:163
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in degrees (360 degrees is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
"As funções trigonométricas esperam e devolvem ângulos em graus (360 graus é uma "
|
||||
"circunferência completa)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 145
|
||||
#: rc.cpp:166
|
||||
#, no-c-format
|
||||
msgid "Copy to clipboard on execute"
|
||||
msgstr "Copiar para a área de transferência ao executar"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 151
|
||||
#: rc.cpp:169
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"katapult can copy the expression or the result of the expression to the "
|
||||
"clipboard if you press the key assigned to \"execute action\" (by default, this "
|
||||
"is Enter)."
|
||||
msgstr ""
|
||||
"O Katapult poderá copiar a expressão ou o resultado da expressão para a área de "
|
||||
"transferência, se carregar na tecla associada a \"executar uma acção\" (por "
|
||||
"omissão, é o Enter)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 170
|
||||
#: rc.cpp:172
|
||||
#, no-c-format
|
||||
msgid "Copied text:"
|
||||
msgstr "Texto copiado:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 188
|
||||
#: rc.cpp:175
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"<i>Hint:</i> %1 is replaced by the expression, %2 is replaced by the result"
|
||||
msgstr ""
|
||||
"<i>Sugestão:</i> O %1 é substituído pela expressão, o %2 é substituído pelo "
|
||||
"resultado"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 59
|
||||
#: rc.cpp:187
|
||||
#, no-c-format
|
||||
msgid "Ignore applications without icons"
|
||||
msgstr "Ignorar as aplicações sem ícones"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 67
|
||||
#: rc.cpp:190
|
||||
#, no-c-format
|
||||
msgid "Ignore terminal applications"
|
||||
msgstr "Ignorar as aplicações de terminal"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 75
|
||||
#: rc.cpp:193
|
||||
#, no-c-format
|
||||
msgid "Catalog applications by executable name"
|
||||
msgstr "Catalogar as aplicações pelo nome do executável"
|
||||
|
||||
#: plugins/catalogs/bookmarkcatalog/actionopenbookmark.cpp:43
|
||||
msgid "Open Bookmark"
|
||||
msgstr "Abrir o Favorito"
|
||||
|
||||
#: plugins/catalogs/amarokcatalog/actionplaysong.cpp:43
|
||||
msgid "Play Song"
|
||||
msgstr "Tocar a Música"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/actioncopyspelling.cpp:48
|
||||
msgid "Parse Error"
|
||||
msgstr "Erro de Processamento"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:87
|
||||
msgid ""
|
||||
"_: Should be short, easy and quick to type\n"
|
||||
"spell"
|
||||
msgstr "ortografia"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:102
|
||||
msgid "Use with \"%1 myword\""
|
||||
msgstr "Usar com \"%1 a-minha-palavra\""
|
||||
|
||||
#: plugins/catalogs/calculatorcatalog/actionevalexpr.cpp:109
|
||||
msgid "Evaluate Expression"
|
||||
msgstr "Avaliar a Expressão"
|
||||
|
||||
#: plugins/catalogs/programcatalog/actionrunprogram.cpp:43
|
||||
msgid "Run Program"
|
||||
msgstr "Executar o Programa"
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = pt_BR
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
@ -0,0 +1,508 @@
|
||||
# translation of katapult.po to Brazilian Portuguese
|
||||
#
|
||||
# Diniz Fernando Bortolotto Ferreira <diniz.bb@gmail.com>, 2006.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: katapult\n"
|
||||
"POT-Creation-Date: 2006-06-08 11:22+0200\n"
|
||||
"PO-Revision-Date: 2006-07-09 00:25-0300\n"
|
||||
"Last-Translator: Diniz Fernando Bortolotto Ferreira <diniz.bb@gmail.com>\n"
|
||||
"Language-Team: Brazilian Portuguese <kde-i18n-pt_br@kde.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: KBabel 1.11.2\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:50 rc.cpp:3
|
||||
#, no-c-format
|
||||
msgid "General Settings"
|
||||
msgstr "Configuração Geral"
|
||||
|
||||
#. i18n: file ./katapult/confcatalogs.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:67 katapult/katapultconfigdlg.cpp:157
|
||||
#: rc.cpp:62
|
||||
#, no-c-format
|
||||
msgid "Catalogs"
|
||||
msgstr "Catálogos"
|
||||
|
||||
#: katapult/katapultconfigdlg.cpp:67
|
||||
msgid "Enabled Catalogs"
|
||||
msgstr "Catálogos Ativos"
|
||||
|
||||
#. i18n: file ./katapult/confdisplay.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:87 rc.cpp:59
|
||||
#, no-c-format
|
||||
msgid "Display"
|
||||
msgstr "Visualização"
|
||||
|
||||
#: katapult/main.cpp:31
|
||||
msgid ""
|
||||
"A plugin-driven utility that can launch applications, bookmarks, or anything "
|
||||
"else that you can find a plugin for."
|
||||
msgstr ""
|
||||
"Um utilitário baseado em 'plugins' que poderá executar aplicativos, favoritos "
|
||||
"ou tudo o que possa ter um 'plugin'."
|
||||
|
||||
#: katapult/main.cpp:42
|
||||
msgid "Katapult"
|
||||
msgstr "Katapult"
|
||||
|
||||
#: katapult/main.cpp:43
|
||||
msgid ""
|
||||
"(C) until 2005, Joe Ferris\n"
|
||||
"(C) 2005, the Katapult development team"
|
||||
msgstr ""
|
||||
"(C) até 2005, Joe Ferris\n"
|
||||
"(C) 2005, a equipe de desenvolvimento do Katapult"
|
||||
|
||||
#: katapult/main.cpp:44
|
||||
msgid "Project Manager"
|
||||
msgstr "Gerente do Projeto"
|
||||
|
||||
#: katapult/main.cpp:45
|
||||
msgid "Lead Developer"
|
||||
msgstr "Programador Principal"
|
||||
|
||||
#: katapult/main.cpp:46
|
||||
msgid "Developer"
|
||||
msgstr "Desenvolvimento"
|
||||
|
||||
#: katapult/main.cpp:47
|
||||
msgid "Graphics"
|
||||
msgstr "Gráficos"
|
||||
|
||||
#: katapult/main.cpp:50
|
||||
msgid "Original Author"
|
||||
msgstr "Autor Original"
|
||||
|
||||
#: katapult/settings.cpp:93
|
||||
msgid "MyDialog1"
|
||||
msgstr "Janela1"
|
||||
|
||||
#: katapult/settings.cpp:95
|
||||
msgid "New Item"
|
||||
msgstr "Novo Item"
|
||||
|
||||
#: katapult/settings.cpp:96 katapult/settings.cpp:97
|
||||
msgid "Tab"
|
||||
msgstr "Tab"
|
||||
|
||||
#: katapult/settings.cpp:99
|
||||
msgid "F1"
|
||||
msgstr "F1"
|
||||
|
||||
#: katapult/katapult.cpp:83
|
||||
msgid ""
|
||||
"Application successfully started !\n"
|
||||
"Press %1 to use it..."
|
||||
msgstr ""
|
||||
"O aplicativo foi iniciado com sucesso !\n"
|
||||
"Pressione %1 para usá-lo..."
|
||||
|
||||
#: katapult/katapult.cpp:85
|
||||
msgid "Katapult Notification"
|
||||
msgstr "Notificação do Katapult"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Show Launcher"
|
||||
msgstr "Mostrar o Lançador"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Shows the Katapult launcher"
|
||||
msgstr "Mostra o lançador Katapult"
|
||||
|
||||
#: katapult/katapult.cpp:129
|
||||
msgid "Execute"
|
||||
msgstr "Executar"
|
||||
|
||||
#: katapult/katapult.cpp:132
|
||||
msgid "Complete Query"
|
||||
msgstr "Completar a Pesquisa"
|
||||
|
||||
#: katapult/katapult.cpp:133
|
||||
msgid "Show Context Menu"
|
||||
msgstr "Mostrar o Menu de Contexto"
|
||||
|
||||
#: katapult/katapult.cpp:136
|
||||
msgid "Configure &Global Shortcuts..."
|
||||
msgstr "Configurar os Atalhos &Globais..."
|
||||
|
||||
#: _translatorinfo.cpp:1
|
||||
msgid ""
|
||||
"_: NAME OF TRANSLATORS\n"
|
||||
"Your names"
|
||||
msgstr "Diniz Bortolotto"
|
||||
|
||||
#: _translatorinfo.cpp:3
|
||||
msgid ""
|
||||
"_: EMAIL OF TRANSLATORS\n"
|
||||
"Your emails"
|
||||
msgstr "diniz.bb@gmail.com"
|
||||
|
||||
#: common/imagedisplay.cpp:272
|
||||
msgid "No items matched."
|
||||
msgstr "Não existem itens correspondentes."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 35
|
||||
#: rc.cpp:6
|
||||
#, no-c-format
|
||||
msgid "Executing Actions"
|
||||
msgstr "Executando as Ações"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 46
|
||||
#: rc.cpp:9
|
||||
#, no-c-format
|
||||
msgid "Delay before hiding &launcher:"
|
||||
msgstr "Atraso até esconder o &lançador:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 52
|
||||
#: rc.cpp:12
|
||||
#, no-c-format
|
||||
msgid "How long Katapult waits before hiding the launcher"
|
||||
msgstr "Quanto tempo o Katapult aguarda antes de esconder o lançador"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 57
|
||||
#: rc.cpp:15
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"After an action is performed or no results were found, the Katapult launcher "
|
||||
"will be hidden.\n"
|
||||
"\n"
|
||||
"This sets how long Katapult will wait before hiding the launcher."
|
||||
msgstr ""
|
||||
"Após ser efetuada uma ação ou, se não forem encontrados resultados, o lançador "
|
||||
"Katapult será escondido.\n"
|
||||
"\n"
|
||||
"Isto define o tempo que o Katapult irá esperar, antes de esconder o lançador."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 88
|
||||
#: rc.cpp:20
|
||||
#, no-c-format
|
||||
msgid "Automatically perform &default action"
|
||||
msgstr "Efetuar automaticamente a ação pa&drão"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 91
|
||||
#: rc.cpp:23
|
||||
#, no-c-format
|
||||
msgid "Whether to wait for confirmation or automatically execute actions"
|
||||
msgstr "Se deve esperar uma confirmação ou executar automaticamente as ações"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 94
|
||||
#: rc.cpp:26
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically perform the default action once all "
|
||||
"items but one have been eliminated. This avoids the extra keystroke after there "
|
||||
"is only one possibility."
|
||||
msgstr ""
|
||||
"Se estiver ativo, o Katapult irá executar automaticamente a ação padrão, logo "
|
||||
"que todos os itens tenham sido eliminados. Isto evita a combinação de teclas "
|
||||
"extra, quando só existir uma possibilidade."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 112
|
||||
#: rc.cpp:29
|
||||
#, no-c-format
|
||||
msgid "No Results"
|
||||
msgstr "Sem Resultados"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 126
|
||||
#: rc.cpp:32
|
||||
#, no-c-format
|
||||
msgid "When there are no results:"
|
||||
msgstr "Quando não existirem resultados:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 134
|
||||
#: rc.cpp:35
|
||||
#, no-c-format
|
||||
msgid "&Clear the query after a delay"
|
||||
msgstr "&Limpar a pesquisa após algum tempo"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 142
|
||||
#: rc.cpp:38
|
||||
#, no-c-format
|
||||
msgid "&Hide the display after a delay"
|
||||
msgstr "Esconder a &visualização após algum tempo"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 150
|
||||
#: rc.cpp:41
|
||||
#, no-c-format
|
||||
msgid "Do ¬hing"
|
||||
msgstr "Não fazer &nada"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 158
|
||||
#: rc.cpp:44
|
||||
#, no-c-format
|
||||
msgid "&Delay before clearing or hiding:"
|
||||
msgstr "Atraso antes &de limpar ou esconder:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 202
|
||||
#: rc.cpp:47
|
||||
#, no-c-format
|
||||
msgid "System Tray"
|
||||
msgstr "Bandeja do Sistema"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 220
|
||||
#: rc.cpp:50
|
||||
#, no-c-format
|
||||
msgid "&Show an icon in the systray"
|
||||
msgstr "Mo&strar um ícone na bandeja do sistema"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 223
|
||||
#: rc.cpp:53
|
||||
#, no-c-format
|
||||
msgid "If activated, katapult shows an icon in the System Tray when running"
|
||||
msgstr ""
|
||||
"Se estiver ativo, o Katapult mostra um ícone na Bandeja do Sistema durante a "
|
||||
"execução"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 226
|
||||
#: rc.cpp:56
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically show an Icon in the System Tray."
|
||||
msgstr ""
|
||||
"Se estiver ativo, o Katapult irá mostrar automaticamente um ícone na Bandeja do "
|
||||
"Sistema."
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 16
|
||||
#: rc.cpp:65 rc.cpp:83 rc.cpp:101 rc.cpp:113 rc.cpp:122 rc.cpp:131 rc.cpp:178
|
||||
#, no-c-format
|
||||
msgid "Settings"
|
||||
msgstr "Configuração"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 27
|
||||
#: rc.cpp:68
|
||||
#, no-c-format
|
||||
msgid "Length of fade-in/fade-out:"
|
||||
msgstr "Duração do desvanescimento:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 58
|
||||
#: rc.cpp:71
|
||||
#, no-c-format
|
||||
msgid "Display Font"
|
||||
msgstr "Tipo de Letra da Tela"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 80
|
||||
#: rc.cpp:74
|
||||
#, no-c-format
|
||||
msgid "Font face:"
|
||||
msgstr "Tipo de letra:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 120
|
||||
#: rc.cpp:77
|
||||
#, no-c-format
|
||||
msgid "Minimum font size:"
|
||||
msgstr "Tamanho de letra mínimo:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 160
|
||||
#: rc.cpp:80
|
||||
#, no-c-format
|
||||
msgid "Maximum font size:"
|
||||
msgstr "Tamanho máximo da letra:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 35
|
||||
#: rc.cpp:86 rc.cpp:104 rc.cpp:116 rc.cpp:181
|
||||
#, no-c-format
|
||||
msgid "Number of characters before searching:"
|
||||
msgstr "Número de caracteres antes da procura:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 49
|
||||
#: rc.cpp:89 rc.cpp:107 rc.cpp:119 rc.cpp:184
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Katapult will not search for programs until you have typed at least this many "
|
||||
"characters in the Katapult launcher."
|
||||
msgstr ""
|
||||
"O Katapult não irá procurar programas até que tenha escrito este número de "
|
||||
"caracteres no lançador do Katapult."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 59
|
||||
#: rc.cpp:92
|
||||
#, no-c-format
|
||||
msgid "Import Mozilla bookmarks"
|
||||
msgstr "Importar os favoritos do Mozilla"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 73
|
||||
#: rc.cpp:95
|
||||
#, no-c-format
|
||||
msgid "Automatically detect bookmark file"
|
||||
msgstr "Detectar automaticamente o arquivo de favoritos"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 81
|
||||
#: rc.cpp:98
|
||||
#, no-c-format
|
||||
msgid "Use the following file:"
|
||||
msgstr "Usar o seguinte arquivo:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/documentcatalog/settings.ui line 56
|
||||
#: rc.cpp:110
|
||||
#, no-c-format
|
||||
msgid "Show Preview for Documents?"
|
||||
msgstr "Mostrar 'Preview' dos Documentos?"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 32
|
||||
#: rc.cpp:125
|
||||
#, no-c-format
|
||||
msgid "Trigger Word:"
|
||||
msgstr "Palavra de Ativação:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 40
|
||||
#: rc.cpp:128
|
||||
#, no-c-format
|
||||
msgid "Use with: \"spell myword\""
|
||||
msgstr "Usar com: \"spell myword\""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 35
|
||||
#: rc.cpp:134
|
||||
#, no-c-format
|
||||
msgid "Number of fractional digits:"
|
||||
msgstr "Número de casas decimais:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 55
|
||||
#: rc.cpp:137
|
||||
#, no-c-format
|
||||
msgid "Katapult will show this number of fractional digits."
|
||||
msgstr "O Katapult irá mostrar este número de casas decimais."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 84
|
||||
#: rc.cpp:141
|
||||
#, no-c-format
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 87
|
||||
#: rc.cpp:144
|
||||
#, no-c-format
|
||||
msgid "In normal mode, katapult will never show an exponent on a number."
|
||||
msgstr "No modo normal, o Katapult nunca irá mostrar um expoente num número."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 95
|
||||
#: rc.cpp:147
|
||||
#, no-c-format
|
||||
msgid "Scientific"
|
||||
msgstr "Notação Científica"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 98
|
||||
#: rc.cpp:150
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"In scientific mode, katapult will show an exponent on very large or very small "
|
||||
"numbers."
|
||||
msgstr ""
|
||||
"No modo científico, o Katapult irá mostrar um expoente nos números muito "
|
||||
"pequenos ou muito grandes."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 119
|
||||
#: rc.cpp:154
|
||||
#, no-c-format
|
||||
msgid "Radians"
|
||||
msgstr "Radianos"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 122
|
||||
#: rc.cpp:157
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in radians (2 pi radians is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
"As funções trigonométricas esperam e devolvem ângulos em radianos (2 PI "
|
||||
"radianos é uma circunferência completa)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 130
|
||||
#: rc.cpp:160
|
||||
#, no-c-format
|
||||
msgid "Degrees"
|
||||
msgstr "Graus"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 133
|
||||
#: rc.cpp:163
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in degrees (360 degrees is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
"As funções trigonométricas esperam e devolvem ângulos em graus (360 graus é uma "
|
||||
"circunferência completa)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 145
|
||||
#: rc.cpp:166
|
||||
#, no-c-format
|
||||
msgid "Copy to clipboard on execute"
|
||||
msgstr "Copiar para a área de transferência ao executar"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 151
|
||||
#: rc.cpp:169
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"katapult can copy the expression or the result of the expression to the "
|
||||
"clipboard if you press the key assigned to \"execute action\" (by default, this "
|
||||
"is Enter)."
|
||||
msgstr ""
|
||||
"O Katapult poderá copiar a expressão ou o resultado da expressão para a área de "
|
||||
"transferência, se você pressionar a tecla associada a \"executar uma ação\" "
|
||||
"(por padrão,é o Enter)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 170
|
||||
#: rc.cpp:172
|
||||
#, no-c-format
|
||||
msgid "Copied text:"
|
||||
msgstr "Texto copiado:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 188
|
||||
#: rc.cpp:175
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"<i>Hint:</i> %1 is replaced by the expression, %2 is replaced by the result"
|
||||
msgstr ""
|
||||
"<i>Sugestão:</i> O %1 é substituído pela expressão, o %2 é substituído pelo "
|
||||
"resultado"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 59
|
||||
#: rc.cpp:187
|
||||
#, no-c-format
|
||||
msgid "Ignore applications without icons"
|
||||
msgstr "Ignorar os aplicativos sem ícones"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 67
|
||||
#: rc.cpp:190
|
||||
#, no-c-format
|
||||
msgid "Ignore terminal applications"
|
||||
msgstr "Ignorar os aplicativos de terminal"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 75
|
||||
#: rc.cpp:193
|
||||
#, no-c-format
|
||||
msgid "Catalog applications by executable name"
|
||||
msgstr "Catalogar os aplicativos pelo nome do executável"
|
||||
|
||||
#: plugins/catalogs/bookmarkcatalog/actionopenbookmark.cpp:43
|
||||
msgid "Open Bookmark"
|
||||
msgstr "Abrir Favoritos"
|
||||
|
||||
#: plugins/catalogs/amarokcatalog/actionplaysong.cpp:43
|
||||
msgid "Play Song"
|
||||
msgstr "Tocar Música"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/actioncopyspelling.cpp:48
|
||||
msgid "Parse Error"
|
||||
msgstr "Erro de Processamento"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:87
|
||||
msgid ""
|
||||
"_: Should be short, easy and quick to type\n"
|
||||
"spell"
|
||||
msgstr "ortografia"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:102
|
||||
msgid "Use with \"%1 myword\""
|
||||
msgstr "Usar com \"%1 myword\""
|
||||
|
||||
#: plugins/catalogs/calculatorcatalog/actionevalexpr.cpp:109
|
||||
msgid "Evaluate Expression"
|
||||
msgstr "Avaliar Expressão"
|
||||
|
||||
#: plugins/catalogs/programcatalog/actionrunprogram.cpp:43
|
||||
msgid "Run Program"
|
||||
msgstr "Executar Programa"
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = ru
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = sk
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
@ -0,0 +1,510 @@
|
||||
# translation of katapult.po to Slovak
|
||||
#
|
||||
# Richard Fric <Richard.Fric@kdemail.net>, 2006.
|
||||
# Ivan Masár <helix84@centrum.sk>, 2007.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: katapult\n"
|
||||
"POT-Creation-Date: 2006-06-08 11:22+0200\n"
|
||||
"PO-Revision-Date: 2007-09-10 19:43+0100\n"
|
||||
"Last-Translator: Ivan Masár <helix84@centrum.sk>\n"
|
||||
"Language-Team: Slovak <kde-i18n-doc@kde.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: KBabel 1.11.4\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:50
|
||||
#: rc.cpp:3
|
||||
#, no-c-format
|
||||
msgid "General Settings"
|
||||
msgstr "Všeobecné nastavenia"
|
||||
|
||||
#. i18n: file ./katapult/confcatalogs.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:67
|
||||
#: katapult/katapultconfigdlg.cpp:157
|
||||
#: rc.cpp:62
|
||||
#, no-c-format
|
||||
msgid "Catalogs"
|
||||
msgstr "Katalógy"
|
||||
|
||||
#: katapult/katapultconfigdlg.cpp:67
|
||||
msgid "Enabled Catalogs"
|
||||
msgstr "Povolené katalógy"
|
||||
|
||||
#. i18n: file ./katapult/confdisplay.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:87
|
||||
#: rc.cpp:59
|
||||
#, no-c-format
|
||||
msgid "Display"
|
||||
msgstr "Zobrazenie"
|
||||
|
||||
#: katapult/main.cpp:31
|
||||
msgid "A plugin-driven utility that can launch applications, bookmarks, or anything else that you can find a plugin for."
|
||||
msgstr "Nástroj založený na zásuvných moduloch. Umožňuje spúštať aplikácie, záložky alebo čokoľvek iné, pre čo sa dá nájsť zásuvný modul."
|
||||
|
||||
#: katapult/main.cpp:42
|
||||
msgid "Katapult"
|
||||
msgstr "Katapult"
|
||||
|
||||
#: katapult/main.cpp:43
|
||||
msgid ""
|
||||
"(C) until 2005, Joe Ferris\n"
|
||||
"(C) 2005, the Katapult development team"
|
||||
msgstr ""
|
||||
"(C) do roku 2005, Joe Ferris\n"
|
||||
"(C) 2005, vývojový tím Katapultu"
|
||||
|
||||
#: katapult/main.cpp:44
|
||||
msgid "Project Manager"
|
||||
msgstr "Správca projektu"
|
||||
|
||||
#: katapult/main.cpp:45
|
||||
msgid "Lead Developer"
|
||||
msgstr "Hlavný vývojár"
|
||||
|
||||
#: katapult/main.cpp:46
|
||||
msgid "Developer"
|
||||
msgstr "Vývojár"
|
||||
|
||||
#: katapult/main.cpp:47
|
||||
msgid "Graphics"
|
||||
msgstr "Grafika"
|
||||
|
||||
#: katapult/main.cpp:50
|
||||
msgid "Original Author"
|
||||
msgstr "Pôvodný autor"
|
||||
|
||||
#: katapult/settings.cpp:93
|
||||
msgid "MyDialog1"
|
||||
msgstr "MôjDialóg1"
|
||||
|
||||
#: katapult/settings.cpp:95
|
||||
msgid "New Item"
|
||||
msgstr "Nová položka"
|
||||
|
||||
#: katapult/settings.cpp:96
|
||||
#: katapult/settings.cpp:97
|
||||
msgid "Tab"
|
||||
msgstr "Tabulátor"
|
||||
|
||||
#: katapult/settings.cpp:99
|
||||
msgid "F1"
|
||||
msgstr "F1"
|
||||
|
||||
#: katapult/katapult.cpp:83
|
||||
msgid ""
|
||||
"Application successfully started !\n"
|
||||
"Press %1 to use it..."
|
||||
msgstr ""
|
||||
"Aplikácia bola úspešne spustená!\n"
|
||||
"Stlačením %1 ju použijete..."
|
||||
|
||||
#: katapult/katapult.cpp:85
|
||||
msgid "Katapult Notification"
|
||||
msgstr "Oznámenie Katapultu"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Show Launcher"
|
||||
msgstr "Zobraziť spúštač"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Shows the Katapult launcher"
|
||||
msgstr "Zobrazuje spúšťač Katapultu"
|
||||
|
||||
#: katapult/katapult.cpp:129
|
||||
msgid "Execute"
|
||||
msgstr "Spustiť"
|
||||
|
||||
#: katapult/katapult.cpp:132
|
||||
msgid "Complete Query"
|
||||
msgstr "Dokončiť požiadavku"
|
||||
|
||||
#: katapult/katapult.cpp:133
|
||||
msgid "Show Context Menu"
|
||||
msgstr "Zobraizť kontextovú ponuku"
|
||||
|
||||
#: katapult/katapult.cpp:136
|
||||
msgid "Configure &Global Shortcuts..."
|
||||
msgstr "Nastaviť &globálne skratky..."
|
||||
|
||||
#: _translatorinfo.cpp:1
|
||||
msgid ""
|
||||
"_: NAME OF TRANSLATORS\n"
|
||||
"Your names"
|
||||
msgstr "Patrik Mondok,Radoslav Frankovič,Roman Priesol,helix84"
|
||||
|
||||
#: _translatorinfo.cpp:3
|
||||
msgid ""
|
||||
"_: EMAIL OF TRANSLATORS\n"
|
||||
"Your emails"
|
||||
msgstr "mondi@mail.t-com.sk,,randybb@gmail.com,"
|
||||
|
||||
#: common/imagedisplay.cpp:272
|
||||
msgid "No items matched."
|
||||
msgstr "Nebolo nájdené."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 35
|
||||
#: rc.cpp:6
|
||||
#, no-c-format
|
||||
msgid "Executing Actions"
|
||||
msgstr "Vykonávajú sa činnosti"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 46
|
||||
#: rc.cpp:9
|
||||
#, no-c-format
|
||||
msgid "Delay before hiding &launcher:"
|
||||
msgstr "Oneskorenie predtým, než sa skryje spúšťač"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 52
|
||||
#: rc.cpp:12
|
||||
#, no-c-format
|
||||
msgid "How long Katapult waits before hiding the launcher"
|
||||
msgstr "Ako dlho Katapult čaká pred skrytím spúšťača"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 57
|
||||
#: rc.cpp:15
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"After an action is performed or no results were found, the Katapult launcher will be hidden.\n"
|
||||
"\n"
|
||||
"This sets how long Katapult will wait before hiding the launcher."
|
||||
msgstr ""
|
||||
"Po vykonaní činnosti alebo pokiaľ nie sú nájdené žiadne výsledky, bude spúšťač Katapult skrytý.\n"
|
||||
"\n"
|
||||
"Týmto sa nastavuje, ako dlho bude Katapult čakať pred skrytím."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 88
|
||||
#: rc.cpp:20
|
||||
#, no-c-format
|
||||
msgid "Automatically perform &default action"
|
||||
msgstr "Automaticky vykonať štandar&dnú činnosť"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 91
|
||||
#: rc.cpp:23
|
||||
#, no-c-format
|
||||
msgid "Whether to wait for confirmation or automatically execute actions"
|
||||
msgstr "Či čakať na potvrdenie alebo činnosť vykonať automaticky"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 94
|
||||
#: rc.cpp:26
|
||||
#, no-c-format
|
||||
msgid "If enabled, Katapult will automatically perform the default action once all items but one have been eliminated. This avoids the extra keystroke after there is only one possibility."
|
||||
msgstr "Pokiaľ je voľba zapnutá, Katapult bude automaticky dopĺňať štandardnú činnosť po vymazaní všetkých okrem jednej položky. To ušetrí zbytočné stlačenie klávesu v prípade, kedy už existuje len jedna možnosť."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 112
|
||||
#: rc.cpp:29
|
||||
#, no-c-format
|
||||
msgid "No Results"
|
||||
msgstr "Žiadne výsledky"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 126
|
||||
#: rc.cpp:32
|
||||
#, no-c-format
|
||||
msgid "When there are no results:"
|
||||
msgstr "Poiaľ nie sú žiadne výsledky:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 134
|
||||
#: rc.cpp:35
|
||||
#, no-c-format
|
||||
msgid "&Clear the query after a delay"
|
||||
msgstr "Po pauze &vyčistiť požiadavku"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 142
|
||||
#: rc.cpp:38
|
||||
#, no-c-format
|
||||
msgid "&Hide the display after a delay"
|
||||
msgstr ""
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 150
|
||||
#: rc.cpp:41
|
||||
#, no-c-format
|
||||
msgid "Do ¬hing"
|
||||
msgstr "&Nerobiť nič"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 158
|
||||
#: rc.cpp:44
|
||||
#, no-c-format
|
||||
msgid "&Delay before clearing or hiding:"
|
||||
msgstr "Vyčistiť alebo skryť po &pauze"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 202
|
||||
#: rc.cpp:47
|
||||
#, no-c-format
|
||||
msgid "System Tray"
|
||||
msgstr "Oznamovacia oblasť"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 220
|
||||
#: rc.cpp:50
|
||||
#, no-c-format
|
||||
msgid "&Show an icon in the systray"
|
||||
msgstr "&Zobraziť ikonu v oznamovacej oblasti"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 223
|
||||
#: rc.cpp:53
|
||||
#, no-c-format
|
||||
msgid "If activated, katapult shows an icon in the System Tray when running"
|
||||
msgstr "Pokiaľ je voľba zapnutá, Katapult počas behu zobrazuje ikonu v oznamovacej oblasti"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 226
|
||||
#: rc.cpp:56
|
||||
#, no-c-format
|
||||
msgid "If enabled, Katapult will automatically show an Icon in the System Tray."
|
||||
msgstr "Pokiaľ je voľba zapnutá, Katapult automaticky zobrazí ikonu v sytémovom panely."
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 16
|
||||
#: rc.cpp:65
|
||||
#: rc.cpp:83
|
||||
#: rc.cpp:101
|
||||
#: rc.cpp:113
|
||||
#: rc.cpp:122
|
||||
#: rc.cpp:131
|
||||
#: rc.cpp:178
|
||||
#, no-c-format
|
||||
msgid "Settings"
|
||||
msgstr "Nastavenia"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 27
|
||||
#: rc.cpp:68
|
||||
#, no-c-format
|
||||
msgid "Length of fade-in/fade-out:"
|
||||
msgstr "Dĺžka rozsvecovania/stmievania:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 58
|
||||
#: rc.cpp:71
|
||||
#, no-c-format
|
||||
msgid "Display Font"
|
||||
msgstr "Zobrazené písmo"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 80
|
||||
#: rc.cpp:74
|
||||
#, no-c-format
|
||||
msgid "Font face:"
|
||||
msgstr "Typ písma:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 120
|
||||
#: rc.cpp:77
|
||||
#, no-c-format
|
||||
msgid "Minimum font size:"
|
||||
msgstr "Minimálna veľkosť písma:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 160
|
||||
#: rc.cpp:80
|
||||
#, no-c-format
|
||||
msgid "Maximum font size:"
|
||||
msgstr "Maximálna veľkosť písma:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 35
|
||||
#: rc.cpp:86
|
||||
#: rc.cpp:104
|
||||
#: rc.cpp:116
|
||||
#: rc.cpp:181
|
||||
#, no-c-format
|
||||
msgid "Number of characters before searching:"
|
||||
msgstr "Počet znakov pred hľadaním:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 49
|
||||
#: rc.cpp:89
|
||||
#: rc.cpp:107
|
||||
#: rc.cpp:119
|
||||
#: rc.cpp:184
|
||||
#, no-c-format
|
||||
msgid "Katapult will not search for programs until you have typed at least this many characters in the Katapult launcher."
|
||||
msgstr "Katapult nebude hľadať programy, pokým nenapíšete aspoň toľkoto znakov v spúšťači Katapultu."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 59
|
||||
#: rc.cpp:92
|
||||
#, no-c-format
|
||||
msgid "Import Mozilla bookmarks"
|
||||
msgstr "Importovať záložky Mozilla"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 73
|
||||
#: rc.cpp:95
|
||||
#, no-c-format
|
||||
msgid "Automatically detect bookmark file"
|
||||
msgstr "Automaticky detekovať súbor so záložkami"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 81
|
||||
#: rc.cpp:98
|
||||
#, no-c-format
|
||||
msgid "Use the following file:"
|
||||
msgstr "Použiť nasledujúci súbor:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/documentcatalog/settings.ui line 56
|
||||
#: rc.cpp:110
|
||||
#, no-c-format
|
||||
msgid "Show Preview for Documents?"
|
||||
msgstr "Zobraziť náhľad dokumentov?"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 32
|
||||
#: rc.cpp:125
|
||||
#, no-c-format
|
||||
msgid "Trigger Word:"
|
||||
msgstr "Spúšťacie slovo:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 40
|
||||
#: rc.cpp:128
|
||||
#, no-c-format
|
||||
msgid "Use with: \"spell myword\""
|
||||
msgstr "Použiť s: \"spell mojeslovo\""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 35
|
||||
#: rc.cpp:134
|
||||
#, no-c-format
|
||||
msgid "Number of fractional digits:"
|
||||
msgstr "Počet zlomkových číslic:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 55
|
||||
#: rc.cpp:137
|
||||
#, no-c-format
|
||||
msgid "Katapult will show this number of fractional digits."
|
||||
msgstr "Katapult zobrazí počet zlomkových číslic."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 84
|
||||
#: rc.cpp:141
|
||||
#, no-c-format
|
||||
msgid "Normal"
|
||||
msgstr "Normálny"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 87
|
||||
#: rc.cpp:144
|
||||
#, no-c-format
|
||||
msgid "In normal mode, katapult will never show an exponent on a number."
|
||||
msgstr "V normálnom režime Katapult nezobrazí exponent čísla."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 95
|
||||
#: rc.cpp:147
|
||||
#, no-c-format
|
||||
msgid "Scientific"
|
||||
msgstr "Vedecký"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 98
|
||||
#: rc.cpp:150
|
||||
#, no-c-format
|
||||
msgid "In scientific mode, katapult will show an exponent on very large or very small numbers."
|
||||
msgstr "Vo vedeckom režime Katapult zobrazí exponent veľmi veľkých alebo veľmi malých čísel."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 119
|
||||
#: rc.cpp:154
|
||||
#, no-c-format
|
||||
msgid "Radians"
|
||||
msgstr "Radiány"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 122
|
||||
#: rc.cpp:157
|
||||
#, no-c-format
|
||||
msgid "Trigonometric functions expect and return angles in radians (2 pi radians is a full circle)."
|
||||
msgstr "Trigonometrické funkcie očakávajú a vracajú uhly v radiánoch (2 pí radiánov je plný kruh)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 130
|
||||
#: rc.cpp:160
|
||||
#, no-c-format
|
||||
msgid "Degrees"
|
||||
msgstr "Stupne"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 133
|
||||
#: rc.cpp:163
|
||||
#, no-c-format
|
||||
msgid "Trigonometric functions expect and return angles in degrees (360 degrees is a full circle)."
|
||||
msgstr "Trigonometrické funkcie očakávajú a vracajú uhly v radiánoch (360 stupňov je plný kruh)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 145
|
||||
#: rc.cpp:166
|
||||
#, no-c-format
|
||||
msgid "Copy to clipboard on execute"
|
||||
msgstr "Pri vykonaní skopírovať do schránky"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 151
|
||||
#: rc.cpp:169
|
||||
#, no-c-format
|
||||
msgid "katapult can copy the expression or the result of the expression to the clipboard if you press the key assigned to \"execute action\" (by default, this is Enter)."
|
||||
msgstr "Katapult môže skopírovať vyraz alebo jeho výsledok do schránky po stlačení klávesu „vykonať činnosť“ (štandardne je to Enter)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 170
|
||||
#: rc.cpp:172
|
||||
#, no-c-format
|
||||
msgid "Copied text:"
|
||||
msgstr "Kopírovaný text:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 188
|
||||
#: rc.cpp:175
|
||||
#, no-c-format
|
||||
msgid "<i>Hint:</i> %1 is replaced by the expression, %2 is replaced by the result"
|
||||
msgstr "<i>Rada:</i> %1 sa nahradí výrazom, %2 sa nahradí výsledkom"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 59
|
||||
#: rc.cpp:187
|
||||
#, no-c-format
|
||||
msgid "Ignore applications without icons"
|
||||
msgstr "Ignorovať aplikácie bez ikon"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 67
|
||||
#: rc.cpp:190
|
||||
#, no-c-format
|
||||
msgid "Ignore terminal applications"
|
||||
msgstr "Ignorovať konzolové aplikácie"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 75
|
||||
#: rc.cpp:193
|
||||
#, no-c-format
|
||||
msgid "Catalog applications by executable name"
|
||||
msgstr "Zaradiť aplikácie podľa názvu spustiteľného súboru"
|
||||
|
||||
#: plugins/catalogs/bookmarkcatalog/actionopenbookmark.cpp:43
|
||||
msgid "Open Bookmark"
|
||||
msgstr "Otvoriť záložku"
|
||||
|
||||
#: plugins/catalogs/amarokcatalog/actionplaysong.cpp:43
|
||||
msgid "Play Song"
|
||||
msgstr "Prehrať pieseň"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/actioncopyspelling.cpp:48
|
||||
msgid "Parse Error"
|
||||
msgstr "Chyba syntaktickej analýzy"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:87
|
||||
msgid ""
|
||||
"_: Should be short, easy and quick to type\n"
|
||||
"spell"
|
||||
msgstr ""
|
||||
"_: Malo by byť krátke, ľahké a rýchlo sa dať napísať\n"
|
||||
"spell"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:102
|
||||
msgid "Use with \"%1 myword\""
|
||||
msgstr "Použiť na „%1 mojeslovo“"
|
||||
|
||||
#: plugins/catalogs/calculatorcatalog/actionevalexpr.cpp:109
|
||||
msgid "Evaluate Expression"
|
||||
msgstr "Vyhodnotiť výraz"
|
||||
|
||||
#: plugins/catalogs/programcatalog/actionrunprogram.cpp:43
|
||||
msgid "Run Program"
|
||||
msgstr "Spustiť program"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "_: Should be short, easy and quick to type\n"
|
||||
#~ "google"
|
||||
#~ msgstr ""
|
||||
#~ "_: Malo by byť krátke, ľahké a rýchlo sa dať napísať\n"
|
||||
#~ "google"
|
||||
#~ msgid "Use with \"%1 search query\""
|
||||
#~ msgstr "Použiť na „%1 vyhľadávací reťazec“"
|
||||
#~ msgid "Search Google"
|
||||
#~ msgstr "Vyhľadávať pomocou Google"
|
||||
#~ msgid ""
|
||||
#~ "_: Should be short, easy and quick to type\n"
|
||||
#~ "exec"
|
||||
#~ msgstr ""
|
||||
#~ "_: Malo by byť krátke, ľahké a rýchlo sa dať napísať\n"
|
||||
#~ "exec"
|
||||
#~ msgid "Use with \"%1 exec query\""
|
||||
#~ msgstr "Použiť na „%1 reťazec na spustenie“"
|
||||
#~ msgid "Use with: \"google Search Query\""
|
||||
#~ msgstr "Použiť s: \"google vyhľadávacia požiadavka\""
|
||||
#~ msgid "Use with: \"run command\""
|
||||
#~ msgstr "Použiť so: „spustiť príkaz“"
|
||||
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = sv
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
@ -0,0 +1,501 @@
|
||||
# translation of katapult.po to Swedish
|
||||
#
|
||||
# Stefan Asserhäll <stefan.asserhall@comhem.se>, 2006.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: katapult\n"
|
||||
"POT-Creation-Date: 2006-06-08 11:22+0200\n"
|
||||
"PO-Revision-Date: 2006-06-08 20:06+0200\n"
|
||||
"Last-Translator: Stefan Asserhäll <stefan.asserhall@comhem.se>\n"
|
||||
"Language-Team: Swedish <sv@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: KBabel 1.11.2\n"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:50 rc.cpp:3
|
||||
#, no-c-format
|
||||
msgid "General Settings"
|
||||
msgstr "Allmänna inställningar"
|
||||
|
||||
#. i18n: file ./katapult/confcatalogs.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:67 katapult/katapultconfigdlg.cpp:157
|
||||
#: rc.cpp:62
|
||||
#, no-c-format
|
||||
msgid "Catalogs"
|
||||
msgstr "Kataloger"
|
||||
|
||||
#: katapult/katapultconfigdlg.cpp:67
|
||||
msgid "Enabled Catalogs"
|
||||
msgstr "Aktiverade kataloger"
|
||||
|
||||
#. i18n: file ./katapult/confdisplay.ui line 16
|
||||
#: katapult/katapultconfigdlg.cpp:87 rc.cpp:59
|
||||
#, no-c-format
|
||||
msgid "Display"
|
||||
msgstr "Skärm"
|
||||
|
||||
#: katapult/main.cpp:31
|
||||
msgid ""
|
||||
"A plugin-driven utility that can launch applications, bookmarks, or anything "
|
||||
"else that you can find a plugin for."
|
||||
msgstr ""
|
||||
"Ett verktyg styrt insticksprogram av som kan starta program, visa bokmärken "
|
||||
"eller vad som helst annat som du kan hitta ett insticksprogram för."
|
||||
|
||||
#: katapult/main.cpp:42
|
||||
msgid "Katapult"
|
||||
msgstr "Katapult"
|
||||
|
||||
#: katapult/main.cpp:43
|
||||
msgid ""
|
||||
"(C) until 2005, Joe Ferris\n"
|
||||
"(C) 2005, the Katapult development team"
|
||||
msgstr ""
|
||||
"© till 2005, Joe Ferris\n"
|
||||
"© 2005, Katapult-utvecklingsgruppen"
|
||||
|
||||
#: katapult/main.cpp:44
|
||||
msgid "Project Manager"
|
||||
msgstr "Projektledare"
|
||||
|
||||
#: katapult/main.cpp:45
|
||||
msgid "Lead Developer"
|
||||
msgstr "Huvudutvecklare"
|
||||
|
||||
#: katapult/main.cpp:46
|
||||
msgid "Developer"
|
||||
msgstr "Utvecklare"
|
||||
|
||||
#: katapult/main.cpp:47
|
||||
msgid "Graphics"
|
||||
msgstr "Grafik"
|
||||
|
||||
#: katapult/main.cpp:50
|
||||
msgid "Original Author"
|
||||
msgstr "Ursprunglig upphovsman"
|
||||
|
||||
#: katapult/settings.cpp:93
|
||||
msgid "MyDialog1"
|
||||
msgstr "Mindialogruta1"
|
||||
|
||||
#: katapult/settings.cpp:95
|
||||
msgid "New Item"
|
||||
msgstr "Nytt objekt"
|
||||
|
||||
#: katapult/settings.cpp:96 katapult/settings.cpp:97
|
||||
msgid "Tab"
|
||||
msgstr "Tabulator"
|
||||
|
||||
#: katapult/settings.cpp:99
|
||||
msgid "F1"
|
||||
msgstr "F1"
|
||||
|
||||
#: katapult/katapult.cpp:83
|
||||
msgid ""
|
||||
"Application successfully started !\n"
|
||||
"Press %1 to use it..."
|
||||
msgstr ""
|
||||
"Programmet startat med lyckat resultat.\n"
|
||||
"Tryck på %1 för att använda det..."
|
||||
|
||||
#: katapult/katapult.cpp:85
|
||||
msgid "Katapult Notification"
|
||||
msgstr "Underrättelse från Katapult"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Show Launcher"
|
||||
msgstr "Visa startverktyg"
|
||||
|
||||
#: katapult/katapult.cpp:119
|
||||
msgid "Shows the Katapult launcher"
|
||||
msgstr "Visar Katapults startverktyg"
|
||||
|
||||
#: katapult/katapult.cpp:129
|
||||
msgid "Execute"
|
||||
msgstr "Kör"
|
||||
|
||||
#: katapult/katapult.cpp:132
|
||||
msgid "Complete Query"
|
||||
msgstr "Fullständig förfrågan"
|
||||
|
||||
#: katapult/katapult.cpp:133
|
||||
msgid "Show Context Menu"
|
||||
msgstr "Visa sammanhangsberoende meny"
|
||||
|
||||
#: katapult/katapult.cpp:136
|
||||
msgid "Configure &Global Shortcuts..."
|
||||
msgstr "Anpassa &globala genvägar..."
|
||||
|
||||
#: _translatorinfo.cpp:1
|
||||
msgid ""
|
||||
"_: NAME OF TRANSLATORS\n"
|
||||
"Your names"
|
||||
msgstr "Stefan Asserhäll"
|
||||
|
||||
#: _translatorinfo.cpp:3
|
||||
msgid ""
|
||||
"_: EMAIL OF TRANSLATORS\n"
|
||||
"Your emails"
|
||||
msgstr "stefan.asserhall@comhem.se"
|
||||
|
||||
#: common/imagedisplay.cpp:272
|
||||
msgid "No items matched."
|
||||
msgstr "Inga objekt matchade."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 35
|
||||
#: rc.cpp:6
|
||||
#, no-c-format
|
||||
msgid "Executing Actions"
|
||||
msgstr "Utföra åtgärder"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 46
|
||||
#: rc.cpp:9
|
||||
#, no-c-format
|
||||
msgid "Delay before hiding &launcher:"
|
||||
msgstr "Fördröjning innan start&verktyget döljs:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 52
|
||||
#: rc.cpp:12
|
||||
#, no-c-format
|
||||
msgid "How long Katapult waits before hiding the launcher"
|
||||
msgstr "Hur länge Katapult väntar innan startverktyget döljs"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 57
|
||||
#: rc.cpp:15
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"After an action is performed or no results were found, the Katapult launcher "
|
||||
"will be hidden.\n"
|
||||
"\n"
|
||||
"This sets how long Katapult will wait before hiding the launcher."
|
||||
msgstr ""
|
||||
"När en åtgärd har utförts eller inga resultat hittats, döljs Katapults "
|
||||
"startverktyg.\n"
|
||||
"\n"
|
||||
"Det här anger hur länge Katapult väntar innan startverktyget döljs."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 88
|
||||
#: rc.cpp:20
|
||||
#, no-c-format
|
||||
msgid "Automatically perform &default action"
|
||||
msgstr "Utför automatiskt &standardåtgärd"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 91
|
||||
#: rc.cpp:23
|
||||
#, no-c-format
|
||||
msgid "Whether to wait for confirmation or automatically execute actions"
|
||||
msgstr "Om bekräftelse ska inväntas eller åtgärder automatiskt ska utföras"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 94
|
||||
#: rc.cpp:26
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically perform the default action once all "
|
||||
"items but one have been eliminated. This avoids the extra keystroke after there "
|
||||
"is only one possibility."
|
||||
msgstr ""
|
||||
"Om aktiverat, utför Katapult automatiskt standardåtgärden när alla objekt utom "
|
||||
"ett har eliminerats. Det undviker en extra tangentnedtryckning när det bara "
|
||||
"finns en möjlighet."
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 112
|
||||
#: rc.cpp:29
|
||||
#, no-c-format
|
||||
msgid "No Results"
|
||||
msgstr "Inga resultat"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 126
|
||||
#: rc.cpp:32
|
||||
#, no-c-format
|
||||
msgid "When there are no results:"
|
||||
msgstr "När det inte finns några resultat:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 134
|
||||
#: rc.cpp:35
|
||||
#, no-c-format
|
||||
msgid "&Clear the query after a delay"
|
||||
msgstr "&Rensa frågan efter en fördröjning"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 142
|
||||
#: rc.cpp:38
|
||||
#, no-c-format
|
||||
msgid "&Hide the display after a delay"
|
||||
msgstr "&Dölj skärmen efter en fördröjning"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 150
|
||||
#: rc.cpp:41
|
||||
#, no-c-format
|
||||
msgid "Do ¬hing"
|
||||
msgstr "Gör i&ngenting"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 158
|
||||
#: rc.cpp:44
|
||||
#, no-c-format
|
||||
msgid "&Delay before clearing or hiding:"
|
||||
msgstr "&Fördröjning innan rensning eller döljning:"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 202
|
||||
#: rc.cpp:47
|
||||
#, no-c-format
|
||||
msgid "System Tray"
|
||||
msgstr "Systembrickan"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 220
|
||||
#: rc.cpp:50
|
||||
#, no-c-format
|
||||
msgid "&Show an icon in the systray"
|
||||
msgstr "Vi&sa en ikon i systembrickan"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 223
|
||||
#: rc.cpp:53
|
||||
#, no-c-format
|
||||
msgid "If activated, katapult shows an icon in the System Tray when running"
|
||||
msgstr "Om aktiverat, visar Katapult en ikon i systembrickan när det kör"
|
||||
|
||||
#. i18n: file ./katapult/confgeneral.ui line 226
|
||||
#: rc.cpp:56
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"If enabled, Katapult will automatically show an Icon in the System Tray."
|
||||
msgstr "Om aktiverat, visar Katapult automatiskt en ikon i systembrickan."
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 16
|
||||
#: rc.cpp:65 rc.cpp:83 rc.cpp:101 rc.cpp:113 rc.cpp:122 rc.cpp:131 rc.cpp:178
|
||||
#, no-c-format
|
||||
msgid "Settings"
|
||||
msgstr "Inställningar"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 27
|
||||
#: rc.cpp:68
|
||||
#, no-c-format
|
||||
msgid "Length of fade-in/fade-out:"
|
||||
msgstr "Längd för tona fram och bort:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 58
|
||||
#: rc.cpp:71
|
||||
#, no-c-format
|
||||
msgid "Display Font"
|
||||
msgstr "Skärmteckensnitt"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 80
|
||||
#: rc.cpp:74
|
||||
#, no-c-format
|
||||
msgid "Font face:"
|
||||
msgstr "Teckenstil:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 120
|
||||
#: rc.cpp:77
|
||||
#, no-c-format
|
||||
msgid "Minimum font size:"
|
||||
msgstr "Minimal teckenstorlek:"
|
||||
|
||||
#. i18n: file ./common/imagedisplaysettings.ui line 160
|
||||
#: rc.cpp:80
|
||||
#, no-c-format
|
||||
msgid "Maximum font size:"
|
||||
msgstr "Maximal teckenstorlek:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 35
|
||||
#: rc.cpp:86 rc.cpp:104 rc.cpp:116 rc.cpp:181
|
||||
#, no-c-format
|
||||
msgid "Number of characters before searching:"
|
||||
msgstr "Antal tecken innan sökning:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 49
|
||||
#: rc.cpp:89 rc.cpp:107 rc.cpp:119 rc.cpp:184
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Katapult will not search for programs until you have typed at least this many "
|
||||
"characters in the Katapult launcher."
|
||||
msgstr ""
|
||||
"Katapult söker inte efter program innan du har skrivit minst så många tecken i "
|
||||
"Katapults startverktyg."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 59
|
||||
#: rc.cpp:92
|
||||
#, no-c-format
|
||||
msgid "Import Mozilla bookmarks"
|
||||
msgstr "Importera bokmärken från Mozilla"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 73
|
||||
#: rc.cpp:95
|
||||
#, no-c-format
|
||||
msgid "Automatically detect bookmark file"
|
||||
msgstr "Detektera automatiskt bokmärkesfil"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/bookmarkcatalog/settings.ui line 81
|
||||
#: rc.cpp:98
|
||||
#, no-c-format
|
||||
msgid "Use the following file:"
|
||||
msgstr "Använd följande fil:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/documentcatalog/settings.ui line 56
|
||||
#: rc.cpp:110
|
||||
#, no-c-format
|
||||
msgid "Show Preview for Documents?"
|
||||
msgstr "Visa förhandsgranskning av dokument?"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 32
|
||||
#: rc.cpp:125
|
||||
#, no-c-format
|
||||
msgid "Trigger Word:"
|
||||
msgstr "Utlösande ord:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/spellcatalog/settings.ui line 40
|
||||
#: rc.cpp:128
|
||||
#, no-c-format
|
||||
msgid "Use with: \"spell myword\""
|
||||
msgstr "Använd med: \"stava mitt-ord\""
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 35
|
||||
#: rc.cpp:134
|
||||
#, no-c-format
|
||||
msgid "Number of fractional digits:"
|
||||
msgstr "Antal decimalsiffror:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 55
|
||||
#: rc.cpp:137
|
||||
#, no-c-format
|
||||
msgid "Katapult will show this number of fractional digits."
|
||||
msgstr "Katapult visar så här många decimala siffror."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 84
|
||||
#: rc.cpp:141
|
||||
#, no-c-format
|
||||
msgid "Normal"
|
||||
msgstr "Normal"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 87
|
||||
#: rc.cpp:144
|
||||
#, no-c-format
|
||||
msgid "In normal mode, katapult will never show an exponent on a number."
|
||||
msgstr "I normalläge visar Katapult aldrig en exponent för ett tal."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 95
|
||||
#: rc.cpp:147
|
||||
#, no-c-format
|
||||
msgid "Scientific"
|
||||
msgstr "Vetenskaplig"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 98
|
||||
#: rc.cpp:150
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"In scientific mode, katapult will show an exponent on very large or very small "
|
||||
"numbers."
|
||||
msgstr ""
|
||||
"I vetenskapligt läge, visar Katapult en exponent för mycket stora eller mycket "
|
||||
"små tal."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 119
|
||||
#: rc.cpp:154
|
||||
#, no-c-format
|
||||
msgid "Radians"
|
||||
msgstr "Radianer"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 122
|
||||
#: rc.cpp:157
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in radians (2 pi radians is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
"Trigonometriska funktioner förväntar sig och returnerar vinklar i radianer (2 "
|
||||
"pi radianer är en hel cirkel)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 130
|
||||
#: rc.cpp:160
|
||||
#, no-c-format
|
||||
msgid "Degrees"
|
||||
msgstr "Grader"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 133
|
||||
#: rc.cpp:163
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"Trigonometric functions expect and return angles in degrees (360 degrees is a "
|
||||
"full circle)."
|
||||
msgstr ""
|
||||
"Trigonometriska funktioner förväntar sig och returnerar vinklar i grader (360 "
|
||||
"grader är en hel cirkel)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 145
|
||||
#: rc.cpp:166
|
||||
#, no-c-format
|
||||
msgid "Copy to clipboard on execute"
|
||||
msgstr "Kopiera till klippbordet vid körning"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 151
|
||||
#: rc.cpp:169
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"katapult can copy the expression or the result of the expression to the "
|
||||
"clipboard if you press the key assigned to \"execute action\" (by default, this "
|
||||
"is Enter)."
|
||||
msgstr ""
|
||||
"Katapult kan kopiera uttrycken eller uttryckens resultat till klippbordet om du "
|
||||
"trycker på tangenten som är tilldelad \"utför åtgärd\" (normalt är det "
|
||||
"returtangenten)."
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 170
|
||||
#: rc.cpp:172
|
||||
#, no-c-format
|
||||
msgid "Copied text:"
|
||||
msgstr "Kopierad text:"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/calculatorcatalog/settings.ui line 188
|
||||
#: rc.cpp:175
|
||||
#, no-c-format
|
||||
msgid ""
|
||||
"<i>Hint:</i> %1 is replaced by the expression, %2 is replaced by the result"
|
||||
msgstr "<i>Tips:</i> %1 ersätts av uttrycket, %2 ersätts av resultatet"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 59
|
||||
#: rc.cpp:187
|
||||
#, no-c-format
|
||||
msgid "Ignore applications without icons"
|
||||
msgstr "Ignorera program utan ikoner"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 67
|
||||
#: rc.cpp:190
|
||||
#, no-c-format
|
||||
msgid "Ignore terminal applications"
|
||||
msgstr "Ignorera terminalprogram"
|
||||
|
||||
#. i18n: file ./plugins/catalogs/programcatalog/settings.ui line 75
|
||||
#: rc.cpp:193
|
||||
#, no-c-format
|
||||
msgid "Catalog applications by executable name"
|
||||
msgstr "Katalogisera program enligt körbart namn"
|
||||
|
||||
#: plugins/catalogs/bookmarkcatalog/actionopenbookmark.cpp:43
|
||||
msgid "Open Bookmark"
|
||||
msgstr "Öppna bokmärke"
|
||||
|
||||
#: plugins/catalogs/amarokcatalog/actionplaysong.cpp:43
|
||||
msgid "Play Song"
|
||||
msgstr "Spela sång"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/actioncopyspelling.cpp:48
|
||||
msgid "Parse Error"
|
||||
msgstr "Tolkningsfel"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:87
|
||||
msgid ""
|
||||
"_: Should be short, easy and quick to type\n"
|
||||
"spell"
|
||||
msgstr "stava"
|
||||
|
||||
#: plugins/catalogs/spellcatalog/spellcatalog.cpp:102
|
||||
msgid "Use with \"%1 myword\""
|
||||
msgstr "Använd med \"%1 mitt-ord\""
|
||||
|
||||
#: plugins/catalogs/calculatorcatalog/actionevalexpr.cpp:109
|
||||
msgid "Evaluate Expression"
|
||||
msgstr "Utvärdera uttryck"
|
||||
|
||||
#: plugins/catalogs/programcatalog/actionrunprogram.cpp:43
|
||||
msgid "Run Program"
|
||||
msgstr "Kör program"
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = tr
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
@ -0,0 +1,3 @@
|
||||
KDE_LANG = uk
|
||||
SUBDIRS = $(AUTODIRS)
|
||||
POFILES = AUTO
|
Loading…
Reference in new issue