knode
knconfigpages.h
Go to the documentation of this file.00001 /* 00002 KNode, the KDE newsreader 00003 Copyright (c) 2004-2005 Volker Krause <volker.krause@rwth-aachen.de> 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 You should have received a copy of the GNU General Public License 00010 along with this program; if not, write to the Free Software Foundation, 00011 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US 00012 */ 00013 00014 #ifndef KNCONFIGPAGES_H 00015 #define KNCONFIGPAGES_H 00016 00017 #include "knode_export.h" 00018 #include <kcmodule.h> 00019 00020 00021 class QTabWidget; 00022 00023 namespace KNode { 00024 00030 class KCM_KNODE_EXPORT KCMTabContainer : public KCModule 00031 { 00032 public: 00036 KCMTabContainer( const KComponentData &inst, QWidget * parent = 0 ); 00037 00039 virtual void load(); 00041 virtual void save(); 00043 virtual void defaults(); 00044 00045 protected: 00050 void addTab( KCModule* tab, const QString & title ); 00051 00052 private: 00053 QTabWidget *mTabWidget; 00054 00055 }; 00056 00057 00059 class AccountsPage : public KCMTabContainer { 00060 Q_OBJECT 00061 00062 public: 00063 AccountsPage( const KComponentData &inst, QWidget *parent = 0 ); 00064 }; 00065 00066 00068 class KCM_KNODE_EXPORT ReadNewsPage : public KCMTabContainer { 00069 Q_OBJECT 00070 00071 public: 00072 ReadNewsPage( const KComponentData &inst, QWidget *parent = 0 ); 00073 }; 00074 00076 class KCM_KNODE_EXPORT PostNewsPage : public KCMTabContainer { 00077 Q_OBJECT 00078 00079 public: 00080 PostNewsPage( const KComponentData &inst, QWidget *parent = 0 ); 00081 }; 00082 00083 00084 } //KNode 00085 00086 #endif //KNCONFIGPAGES_H
KDE 4.2 API Reference