[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: From QT4 to KDE4
From:       "John Tapsell" <johnflux () gmail ! com>
Date:       2008-10-10 16:34:27
Message-ID: 43d8ce650810100934p25db4e99s92868adcedbb2cc7 () mail ! gmail ! com
[Download RAW message or body]

2008/10/10 Michael Howell <mhowell123@gmail.com>:
> Even better (and it will help maintainance and consistency), replace
> QMainWindow with KXmlGuiWindow and make an XmlGui rc file.
>
> On 10/9/08, David Boosalis <david.boosalis@gmail.com> wrote:
>>
>> Hi Paul.
>> It really isn't to hard to transition from Qt to KDE. Things that will
>> take you a long way are:
>>
>> 1) Using KApplication
>> 2) Switching to KMainWindow
>> 3) If you are using QActions for standard things such as exit, cut, paste,
>> etc, you may want to use KStandardActions, they will simplify your code and
>> also provide consistent look and feel with respect to Icons and text for
>> these kind of actions. If you are not using Actions at least load standard
>> KDE Icons with KIcon.
>> 4) Switch to i18() as opposed to tr()
>> 5) Use KDialogs where ever possible (File, Warning, Messages). This will

6) Use KIO instead of QFile  when you in files.  This will allow
network transparency, allowing users to read/write files across ftp
etc.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic