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

kwin

plugins.cpp
00001 /*****************************************************************
00002  KWin - the KDE window manager
00003  This file is part of the KDE project.
00004 
00005 Copyright (C) 1999, 2000    Daniel M. Duley <mosfet@kde.org>
00006 Copyright (C) 2003 Lubos Lunak <l.lunak@kde.org>
00007 
00008 You can Freely distribute this program under the GNU General Public
00009 License. See the file "COPYING" for the exact licensing terms.
00010 ******************************************************************/
00011 
00012 #include "plugins.h"
00013 
00014 #include <kglobal.h>
00015 #include <klocale.h>
00016 #include <stdlib.h>
00017 #include <tqpixmap.h>
00018 
00019 namespace KWinInternal
00020 {
00021 
00022 PluginMgr::PluginMgr()
00023     : KDecorationPlugins( KGlobal::config())
00024     {
00025     defaultPlugin = (TQPixmap::defaultDepth() > 8) ?
00026             "kwin3_plastik" : "kwin3_quartz";
00027     loadPlugin( "" ); // load the plugin specified in cfg file
00028     }
00029 
00030 void PluginMgr::error( const TQString &error_msg )
00031     {
00032     qWarning( "%s", (i18n("KWin: ") + error_msg +
00033                     i18n("\nKWin will now exit...")).local8Bit().data() );
00034     exit(1);
00035     }
00036 
00037 bool PluginMgr::provides( Requirement )
00038     {
00039     return false;
00040     }
00041 
00042 } // 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.7.6.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |