Kconsole and tabs

Hi Guys

i current use Kcosole i have this liitle code that changes the tilte to the current directory that i am in

# Set the terminal title to pwd
case $TERM in
        xterm*)
                precmd() {print -Pn "\e]0;%~ [%n@%m]\a"}
                ;;
esac

in Kconsole you can have many tabs, is there a way i can change the tabs to be more current direcoty not Shell, Shell1, Shell2 etc

thanks
a