summaryrefslogtreecommitdiffstats
path: root/konversation/src/konsolepanel.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-19 18:29:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-19 18:29:46 +0000
commitee0d2e6e1967294f4a62da1840b0ffdaa3124a2d (patch)
tree5c150db3c91a190b4911f19aeec9b1b2163c0c53 /konversation/src/konsolepanel.h
downloadkonversation-ee0d2e6e1967294f4a62da1840b0ffdaa3124a2d.tar.gz
konversation-ee0d2e6e1967294f4a62da1840b0ffdaa3124a2d.zip
Added old abandoned KDE3 version of Konversation
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/konversation@1092922 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konversation/src/konsolepanel.h')
-rw-r--r--konversation/src/konsolepanel.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/konversation/src/konsolepanel.h b/konversation/src/konsolepanel.h
new file mode 100644
index 0000000..ad9d1c0
--- /dev/null
+++ b/konversation/src/konsolepanel.h
@@ -0,0 +1,47 @@
+/*
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+*/
+
+/*
+ Copyright (C) 2003 Mickael Marchand <marchand@kde.org>
+*/
+
+#ifndef KONSOLE_PANEL_H
+#define KONSOLE_PANEL_H
+
+#include "chatwindow.h"
+
+#include <kparts/part.h>
+
+
+class KonsolePanel : public ChatWindow
+{
+ Q_OBJECT
+
+ public:
+ explicit KonsolePanel(QWidget *p);
+ ~KonsolePanel();
+
+ virtual void setName(const QString& newName) { ChatWindow::setName(newName); }
+
+ QWidget* getWidget();
+
+ signals:
+ void closeView(ChatWindow* view);
+
+ public slots:
+ void partDestroyed();
+
+ /** Called from ChatWindow adjustFocus */
+ virtual void childAdjustFocus();
+
+ protected slots:
+ void konsoleChanged(const QString& data);
+
+ private:
+ KParts::ReadOnlyPart *k_part;
+};
+#endif /* KONSOLE_PANEL_H */