• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • twin
 

twin

  • twin
plugins.cpp
1/*****************************************************************
2 KWin - the KDE window manager
3 This file is part of the KDE project.
4
5Copyright (C) 1999, 2000 Daniel M. Duley <mosfet@kde.org>
6Copyright (C) 2003 Lubos Lunak <l.lunak@kde.org>
7
8You can Freely distribute this program under the GNU General Public
9License. See the file "COPYING" for the exact licensing terms.
10******************************************************************/
11
12#include "plugins.h"
13
14#include <tdeglobal.h>
15#include <tdelocale.h>
16#include <stdlib.h>
17#include <tqpixmap.h>
18
19namespace KWinInternal
20{
21
22PluginMgr::PluginMgr()
23 : KDecorationPlugins( TDEGlobal::config())
24 {
25 defaultPlugin = (TQPixmap::defaultDepth() > 8) ?
26 "twin_plastik" : "twin_quartz";
27 loadPlugin( "" ); // load the plugin specified in cfg file
28 }
29
30void PluginMgr::error( const TQString &error_msg )
31 {
32 tqWarning( "%s", (i18n("TWin: ") + error_msg +
33 i18n("\nTWin will now exit…")).local8Bit().data() );
34 exit(1);
35 }
36
37bool PluginMgr::provides( Requirement )
38 {
39 return false;
40 }
41
42} // namespace

twin

Skip menu "twin"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members

twin

Skip menu "twin"
  • kate
  • libkonq
  • twin
  •   lib
Generated for twin by doxygen 1.9.4
This website is maintained by Timothy Pearson.