Files
konsole/src/WindowSystemInfo.h
Jekyll Wu b400690c5d Make WindowSystemInfo::HAVE_TRANSPARENCY const and initialize implicitly
This avoids the explicit assignment in Application and Part. The result
might look a little strange, but that is basicaly what the old code does
and what that variable intends to be (all capitalized letter)
2012-02-25 21:47:29 +08:00

40 lines
1.1 KiB
C++

/*
Copyright 2012 Jekyll Wu <adaptee@gmail.com>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of
the License or (at your option) version 3 or any later version
accepted by the membership of KDE e.V. (or its successor appro-
ved by the membership of KDE e.V.), which shall act as a proxy
defined in Section 14 of version 3 of the license.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see http://www.gnu.org/licenses/.
*/
#ifndef WINDOWSYSTEMINFO_H
#define WINDOWSYSTEMINFO_H
#include "konsole_export.h"
namespace Konsole
{
class KONSOLEPRIVATE_EXPORT WindowSystemInfo
{
public:
const static bool HAVE_TRANSPARENCY;
};
}
#endif // WINDOWSYSTEMINFO_H