icnview.h

00001 /***************************************************************************
00002  *   Copyright (C) 2005 by David Saxton                                    *
00003  *   david@bluehaze.org                                                    *
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 
00011 #ifndef ICNVIEW_H
00012 #define ICNVIEW_H
00013 
00014 #include <itemview.h>
00015 
00016 class ICNDocument;
00017 class KRadioAction;
00018 class KToolBarPopupAction;
00019 
00023 class ICNView : public ItemView
00024 {
00025         Q_OBJECT
00026         public:
00027                 ICNView( ICNDocument * icnDocument, ViewContainer *viewContainer, uint viewAreaId, const char * name = 0 );
00028                 ~ICNView();
00029                 
00030         protected slots:
00031                 void slotSetRoutingMode( int mode ); // 0 = auto, 1 = manual
00032                 void slotSetRoutingAuto();
00033                 void slotSetRoutingManual();
00034                 void slotUpdateRoutingMode( bool manualRouting );
00035                 void slotUpdateRoutingToggles( bool manualRouting );
00036                 
00037         protected:
00038                 KToolBarPopupAction * m_pRoutingModeToolbarPopup;
00039                 KRadioAction * m_pManualRoutingAction;
00040                 KRadioAction * m_pAutoRoutingAction;
00041 };
00042 
00043 #endif

Generated on Tue May 8 17:05:30 2007 for KTechLab by  doxygen 1.5.1