File indexing completed on 2024-04-28 04:38:55
0001 /* 0002 SPDX-FileCopyrightText: 2003, 2006 Adam Treat <treat@kde.org> 0003 SPDX-FileCopyrightText: 2007 Andreas Pakulat <apaku@gmx.de> 0004 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 #ifndef KDEVPLATFORM_PLUGIN_KDEVKONSOLEVIEW_H 0009 #define KDEVPLATFORM_PLUGIN_KDEVKONSOLEVIEW_H 0010 0011 #include <QWidget> 0012 #include <QUrl> 0013 0014 class KDevKonsoleViewPlugin; 0015 0016 0017 class KDevKonsoleView : public QWidget 0018 { 0019 Q_OBJECT 0020 public: 0021 explicit KDevKonsoleView( KDevKonsoleViewPlugin* plugin, QWidget *parent = nullptr ); 0022 ~KDevKonsoleView() override; 0023 0024 public Q_SLOTS: 0025 void setDirectory( const QUrl &dirUrl ); 0026 0027 protected: 0028 bool eventFilter( QObject *obj, QEvent *e ) override; 0029 0030 private : 0031 class KDevKonsoleViewPrivate* const d; 0032 }; 0033 0034 #endif 0035