KPrayertime4

Various KDE Stuff

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

1
Score 50.0%
Description:

An islamic prayer times plasmoid with an innovative look
C

ahaq

9 years ago

I've added the adhan and notifications.

Report

mnurolcay

9 years ago

Thanks, just compiled and installed ;)

Two opinions:

1.It's allways better to use generic folder names in source tarball. i.e "kprayertime4-0.1" is the expected name for packaging stuff etc, instead of just "src"

2.An including ChangeLog file would be nice to see what's going on.

Report

C

ahaq

9 years ago

thanks for the comments, yes I'll use better folder name next time. Let me know if you experience any problems with it.

Report

Amine27

9 years ago

Hi, thank you for this plasmoid,

The settings doesn't save here too, you used QSettings in your code, but you can use KConfigGroup from KDE API, also it's better to include a data-base file containing the countries with there latitudes (I have one if you want).

Good luck

Report

C

ahaq

9 years ago

Thanks for the feedback. The reason I used QSettings is because it also works under Windows. I'll investigate the bug.

Report

C

ahaq

9 years ago

salaam Salem

as I said in another thread, I've updated the software to give an error message if it can't save the configuration. Perhaps if you get some spare time you wouldn't mind downloading the new version and trying again? If you do so, please delete the AbdulhaqSoftware directory before starting.
Thanks

Report

mnurolcay

9 years ago

Compiled and installed with Qt4.5.3 and KDE4.3.4.

Did the right latitude/notify etc settings and closed settings. Then reopened Settings windows and just saw that it hasn't saved them, all the fields are blank again ?

Report

C

ahaq

9 years ago

sorry I obviously didn't read your message so well!

I'm running KDE 4.3.2 and am using QSettings to save the details, which saves into a file

~/.config/AbdulhaqSoftware/KPrayertime.conf

The format is:

[location]
latitude=51.0
longitude=-2.1
elevation=0
time_zone=0
dst=false

[method]
itl_method=2

[corrections]
atmos=1
clock=1
zawaal=5

[language]
arabic_numerals=false

Report

mnurolcay

9 years ago

there's configuration file, in same place. but doesn't save settings

Report

C

ahaq

9 years ago

if you manually enter the settings into the file, does it pick them up when it starts?

Report

mnurolcay

9 years ago

yes, it does.

Report

C

ahaq

9 years ago

I've updated the software to give an error message if it can't save the configuration. Perhaps if you get some spare time you wouldn't mind downloading the new version and trying again? If you do so, please delete the AbdulhaqSoftware directory before starting.
Thanks

Report

C

ahaq

9 years ago

If you tell me which distro you're using I'll try to duplicate the problem over the holidays. I've tried it on two Ubuntu installs and there are no problems.

Report

mnurolcay

9 years ago

Same here, still doesn't save. Also no error message

Report

C

ahaq

9 years ago

I haven't finished the notification system in the plasmoid yet, it's only available in the KDE3 applet at the moment. I should complete the notification system soon, is this a feature you really need?

Report

C

ahaq

9 years ago

Salatinoid looks nice but I don't get enough time to update my own projects, never mind anyone elses ;-)

I'll add the adhaan feature soon in shaa' allaah.

Report

mnurolcay

9 years ago

it's a must be feature, i think. Especially something like notifying let's say 30mins(better to be configurable) before a prayer time.

[Off Topic]: There's another really good prayer plasmoid, but has no development for a long time. It would be nice if u can contribute that one and make it alive.

http://code.google.com/p/salatinoid/

Report

C

ahaq

9 years ago

The settings are saved (in theory!) when you click OK on the settings dialog. I'm wondering if somehow the plasmoid is running twice and one instance is overwriting the configuration of the other. Can you try updating the settings, click OK on the dialog, and then see if the settings have been updated (without closing the plasmoid).

Report

mnurolcay

9 years ago

Odd, after editing manually, it saves latitude/longitude settings now but notification settings are broken, yet.
Also theresn't any releated part in config file, where does it look for notifes ?

Report

C

ahaq

9 years ago

well it's working here... which version of KDE are you on?

Report

Kirilo

9 years ago

Hi,

you should add KPrayerTime to the "plasmoids" section on kde-look.org, because here no one will probably look for plasmoids.

Report

C

ahaq

9 years ago

Hi thanks for the advice - I'll do that.

Report

12345678910
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
Details
license
version
4.01
updated Dec 26 2009
added Dec 20 2009
downloads 24h
0
page views 24h 2