[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: Fwd: Re: class KWin for win32
From: JarosÅaw_Staniek <js () iidea ! pl>
Date: 2006-07-22 18:52:52
Message-ID: 200607222052.52150.js () iidea ! pl
[Download RAW message or body]
Thiago Macieira wrote:
> Jarosław Staniek wrote:
>>Inheritance:
>>
>>KWin (interface, only common methods here)
>>
>> : KX11Win (X11-specific methods are added here)
>> : KWindowsWin (stupid name, win32-specific can be added here)
>> : KMacWin (...)
>>
>>What do you think?
>
> Why inherit at all? One single class should do.
>
> If there are platform-specific methods, make sure they are properly
> described as such, so that people won't try to call them when not needed.
>
> I don't have to say we should keep the number of such methods to a
> minimum.
1. Should use "X11" within name of a X11-related method? E.g. as in Qt's
virtual bool QWidget::x11Event ( XEvent * )
2. Still, is KWin meaningful name? "Win" means something else for quite a few
devs... What about KWindowManager or KWM?
--
regards / pozdrawiam,
Jaroslaw Staniek / OpenOffice Polska
Sponsored by OpenOffice Polska to work on
* Kexi & KOffice: http://www.kexi-project.org | http://koffice.org/kexi
* KDE3 & KDE4 Libraries For Developing MS Windows Applications:
http://www.kdelibs.com
See also:
* Kexi For MS Windows: http://kexi.pl/wiki/index.php/Kexi_for_MS_Windows
* Kexi Support: http://www.kexi-project.org/support.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic