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

kwin

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

kwin

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

kwin

Skip menu "kwin"
  • kate
  • kwin
  •   lib
  • libkonq
Generated for kwin by doxygen 1.8.3.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |