• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kviewshell

empty_multipage.cpp

Go to the documentation of this file.
00001 // ***************************************************************************
00002 //
00003 // Copyright (C) 2005 by Wilfried Huss <Wilfried.Huss@gmx.at>
00004 //
00005 // This program is free software; you can redistribute it and/or modify
00006 // it under the terms of the GNU General Public License as published by
00007 // the Free Software Foundation; either version 2 of the License, or
00008 // (at your option) any later version.
00009 //
00010 // This program is distributed in the hope that it will be useful,
00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013 // GNU General Public License for more details.
00014 //
00015 // You should have received a copy of the GNU General Public License
00016 // along with this program; if not, write to the Free Software 
00017 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
00018 // ***************************************************************************
00019 
00020 #include <config.h>
00021 
00022 #include <kglobal.h>
00023 #include <klocale.h>
00024 
00025 #include "empty_multipage.h"
00026 
00027 K_EXPORT_COMPONENT_FACTORY(emptymultipagepart, EmptyMultiPageFactory)
00028 
00029 EmptyMultiPage::EmptyMultiPage(QWidget* parentWidget, const char* widgetName, QObject* parent, const char* name,
00030                                const QStringList& args)
00031   : KMultiPage(parentWidget, widgetName, parent, name), emptyRenderer(parentWidget)
00032 {
00033   Q_UNUSED(args);
00034   setInstance(EmptyMultiPageFactory::instance());
00035 
00036   emptyRenderer.setName("Empty renderer");
00037   setRenderer(&emptyRenderer);
00038 }
00039 
00040 KAboutData* EmptyMultiPage::createAboutData()
00041 {
00042   return new KAboutData("emptymultipage", I18N_NOOP("Empty Multipage"),
00043   "1.0", I18N_NOOP(""),
00044   KAboutData::License_GPL,
00045   I18N_NOOP("Copyright (c) 2005 Wilfried Huss"));
00046 }
00047 
00048 #include "empty_multipage.moc"

kviewshell

Skip menu "kviewshell"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • kviewshell
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal