Use KCmdLineArgs, KApplication and KMainWindow
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 24 Dec 2008 23:39:35 +0000 (00:39 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Fri, 26 Dec 2008 00:08:42 +0000 (01:08 +0100)
commit965183188ee726036685fcba379c2559bd183247
tree6780d1ce98c0e762e710c8cc5cec456b8ff1d29e
parent60021fef0c9644e022095043a9072d5ad99c89e4
Use KCmdLineArgs, KApplication and KMainWindow

This makes the main classes use KDE if available. Since KApplication requires all
cli options to be defined before instantiation, we have to move CliParser init
into main(). CliParser fully abstracts KCmdLineArgs away, such that we won't need to
change anything for accessing options elsewhere.
src/common/cliparser.cpp
src/common/cliparser.h
src/common/main.cpp
src/common/quassel.cpp
src/common/quassel.h
src/core/coreapplication.cpp
src/core/coreapplication.h
src/qtui/mainwin.cpp
src/qtui/mainwin.h
src/qtui/qtuiapplication.cpp
src/qtui/qtuiapplication.h