KDevelop API Documentation

phphtmlview.cpp

Go to the documentation of this file.
00001 /***************************************************************************
00002                           phphtmlview.cpp  -  description
00003                              -------------------
00004     begin                : Sat May 26 2001
00005     copyright            : (C) 2001 by 
00006     email                : 
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #include "phphtmlview.h"
00019 
00020 #include "phpsupportpart.h"
00021 #include "kdevpartcontroller.h"
00022 
00023 PHPHTMLView::PHPHTMLView(PHPSupportPart *part):m_part(part){
00024     setOptions(CanOpenInNewWindow);
00025 }
00026 PHPHTMLView::~PHPHTMLView(){
00027 }
00028 
00029 void PHPHTMLView::slotDuplicate( )
00030 {
00031     m_part->partController()->showDocument(url(), true);
00032 }
00033 
00034 void PHPHTMLView::slotOpenInNewWindow( const KURL & url )
00035 {
00036     m_part->partController()->showDocument(url, true);
00037 }
00038 
00039 #include "phphtmlview.moc"
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 23 00:03:50 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003