sublime
example1main.h
00001 /*************************************************************************** 00002 * Copyright 2006-2007 Alexander Dymo <adymo@kdevelop.org> * 00003 * * 00004 * This program is free software; you can redistribute it and/or modify * 00005 * it under the terms of the GNU Library General Public License as * 00006 * published by the Free Software Foundation; either version 2 of the * 00007 * License, or (at your option) any later version. * 00008 * * 00009 * This program is distributed in the hope that it will be useful, * 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00012 * GNU General Public License for more details. * 00013 * * 00014 * You should have received a copy of the GNU Library General Public * 00015 * License along with this program; if not, write to the * 00016 * Free Software Foundation, Inc., * 00017 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * 00018 ***************************************************************************/ 00019 #ifndef EXAMPLE1MAIN_H 00020 #define EXAMPLE1MAIN_H 00021 00022 #include <kxmlguiwindow.h> 00023 00024 namespace Sublime { 00025 class Area; 00026 class Controller; 00027 } 00028 00029 class Example1Main: public KXmlGuiWindow { 00030 Q_OBJECT 00031 public: 00032 Example1Main(); 00033 00034 public slots: 00035 void selectArea1(); 00036 void selectArea2(); 00037 00038 private slots: 00039 void updateTitle(Sublime::Area *area); 00040 00041 private: 00042 Sublime::Controller *m_controller; 00043 00044 Sublime::Area *m_area1; 00045 Sublime::Area *m_area2; 00046 00047 }; 00048 00049 #endif 00050
KDE 4.2 API Reference