diff options
| author | 2008-04-04 00:48:52 +0000 | |
|---|---|---|
| committer | 2008-04-04 00:48:52 +0000 | |
| commit | 3d14bfd7b140d24b021d8c5b8b64582b64a9496a (patch) | |
| tree | 2d4f9781f7a8b544d88b04c95e531f667a8e890b /src/modules/eventeditor | |
| parent | More fixes for cmake on Mac OS X (diff) | |
| download | KVIrc-3d14bfd7b140d24b021d8c5b8b64582b64a9496a.tar.gz KVIrc-3d14bfd7b140d24b021d8c5b8b64582b64a9496a.tar.bz2 KVIrc-3d14bfd7b140d24b021d8c5b8b64582b64a9496a.zip | |
more code clean
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1388 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/eventeditor')
| -rw-r--r-- | src/modules/eventeditor/eventeditor.cpp | 23 | ||||
| -rw-r--r-- | src/modules/eventeditor/eventeditor.h | 9 | ||||
| -rw-r--r-- | src/modules/eventeditor/libkvieventeditor.cpp | 6 |
3 files changed, 14 insertions, 24 deletions
diff --git a/src/modules/eventeditor/eventeditor.cpp b/src/modules/eventeditor/eventeditor.cpp index a9d78c093..e04114122 100644 --- a/src/modules/eventeditor/eventeditor.cpp +++ b/src/modules/eventeditor/eventeditor.cpp @@ -36,21 +36,18 @@ //#include "kvi_eventhandler.h" #include "kvi_qstring.h" #include "kvi_filedialog.h" - #include "kvi_kvs_eventmanager.h" - -#include <qmessagebox.h> - -#include <qsplitter.h> -#include <qlayout.h> #include "kvi_tal_vbox.h" #include "kvi_tal_popupmenu.h" -#include <qtooltip.h> -#include <qpushbutton.h> -#include <qevent.h> -extern KviEventEditorWindow * g_pEventEditorWindow; +#include <QMessageBox> +#include <QSplitter> +#include <QLayout> +#include <QToolTip> +#include <QPushButton> +#include <QEvent> +extern KviEventEditorWindow * g_pEventEditorWindow; const QPixmap * KviEventListViewItem::pixmap(int col) const @@ -64,7 +61,6 @@ const QPixmap * KviEventHandlerListViewItem::pixmap(int col) const } - KviEventEditor::KviEventEditor(QWidget * par) : QWidget(par,"event_editor") { @@ -327,7 +323,6 @@ void KviEventEditor::showEvent(QShowEvent *e) QWidget::showEvent(e); } - void KviEventEditor::getExportEventBuffer(QString &buffer,KviEventHandlerListViewItem * it) { if(!it->parent())return; @@ -417,8 +412,6 @@ void KviEventEditor::exportAllEvents() } - - KviEventEditorWindow::KviEventEditorWindow(KviFrame * lpFrm) : KviWindow(KVI_WINDOW_TYPE_SCRIPTEDITOR,lpFrm,"eventeditor",0) { @@ -502,13 +495,11 @@ void KviEventEditorWindow::fillCaptionBuffers() m_szHtmlInactiveCaption += p3; } - void KviEventEditorWindow::getConfigGroupName(KviStr &szName) { szName = "eventeditor"; } - void KviEventEditorWindow::saveProperties(KviConfig *cfg) { /* diff --git a/src/modules/eventeditor/eventeditor.h b/src/modules/eventeditor/eventeditor.h index e9f94ff4d..682386854 100644 --- a/src/modules/eventeditor/eventeditor.h +++ b/src/modules/eventeditor/eventeditor.h @@ -24,12 +24,13 @@ #include "kvi_window.h" #include "kvi_string.h" - -#include <qwidget.h> #include "kvi_tal_listview.h" -#include <qlineedit.h> + +#include <QWidget> +#include <QLineEdit> class KviScriptEditor; +class KviTalPopupMenu; class KviEventListViewItem : public KviTalListViewItem { @@ -61,8 +62,6 @@ public: virtual const QPixmap * pixmap(int col) const; }; -class KviTalPopupMenu; - class KviEventEditor : public QWidget { Q_OBJECT diff --git a/src/modules/eventeditor/libkvieventeditor.cpp b/src/modules/eventeditor/libkvieventeditor.cpp index 9113c791f..44ef8e068 100644 --- a/src/modules/eventeditor/libkvieventeditor.cpp +++ b/src/modules/eventeditor/libkvieventeditor.cpp @@ -20,12 +20,12 @@ // Inc. ,59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. // +#include "eventeditor.h" + #include "kvi_module.h" #include "kvi_locale.h" #include "kvi_frame.h" -#include "eventeditor.h" - KviEventEditorWindow * g_pEventEditorWindow = 0; @@ -78,7 +78,7 @@ static bool eventeditor_module_cleanup(KviModule *m) KVIRC_MODULE( "EventEditor", // module name - "1.0.0", // module version + "4.0.0", // module version "Copyright (C) 2002 Szymon Stefanek (pragma at kvirc dot net)", // author & (C) "Editor for the script events", eventeditor_module_init, |
