KDevelop API Documentation

grepviewpart.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 1999-2001 by Bernd Gehrmann                             *
00003  *   bernd@kdevelop.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 
00012 #ifndef _GREPVIEWPART_H_
00013 #define _GREPVIEWPART_H_
00014 
00015 #include <qguardedptr.h>
00016 //#include <kgenericfactory.h>
00017 #include <kdevgenericfactory.h>
00018 #include "kdevplugin.h"
00019 
00020 class KDialogBase;
00021 class QPopupMenu;
00022 class Context;
00023 class GrepViewWidget;
00024 
00025 
00026 class GrepViewPart : public KDevPlugin
00027 {
00028     Q_OBJECT
00029 
00030 public:
00031     GrepViewPart( QObject *parent, const char *name, const QStringList & );
00032     ~GrepViewPart();
00033 
00034 private slots:
00035     void stopButtonClicked(KDevPlugin *which);
00036     void projectOpened();
00037     void projectClosed();
00038     void contextMenu(QPopupMenu *popup, const Context *context);
00039 
00040     void slotGrep();
00041     void slotContextGrep();
00042 
00043 private:
00044     QGuardedPtr<GrepViewWidget> m_widget;
00045     QString m_popupstr;
00046     friend class GrepViewWidget;
00047 };
00048 
00049 //typedef KGenericFactory<GrepViewPart> GrepViewFactory;
00050 typedef KDevGenericFactory<GrepViewPart> GrepViewFactory;
00051 
00052 #endif
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:57 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003