diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 4aed2c8219774f5d797760606b8489a92ddc5163 (patch) | |
tree | 3f8c130f7d269626bf6a9447407ef6c35954426a /kdialog/progressdemo | |
download | tdebase-4aed2c8219774f5d797760606b8489a92ddc5163.tar.gz tdebase-4aed2c8219774f5d797760606b8489a92ddc5163.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdialog/progressdemo')
-rwxr-xr-x | kdialog/progressdemo | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/kdialog/progressdemo b/kdialog/progressdemo new file mode 100755 index 000000000..e6f4bb48c --- /dev/null +++ b/kdialog/progressdemo @@ -0,0 +1,18 @@ +#!/bin/sh +dcopRef=`./kdialog --geometry 300x200+100-100 --progressbar "Initialising" 6` +dcop $dcopRef setProgress 1 +dcop $dcopRef setLabel "Thinking really hard" +sleep 2 +dcop $dcopRef setProgress 2 +sleep 2 +dcop $dcopRef setLabel "Thinking some more" +dcop $dcopRef setProgress 3 +sleep 2 +dcop $dcopRef setProgress 4 +sleep 2 +dcop $dcopRef setLabel "Finishing up" +dcop $dcopRef setProgress 5 +sleep 1 +dcop $dcopRef setProgress 6 +sleep 1 +dcop $dcopRef close |