aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/eventeditor
diff options
context:
space:
mode:
authorGravatar Szymon Tomasz Stefanek2010-12-25 05:28:46 +0000
committerGravatar Szymon Tomasz Stefanek2010-12-25 05:28:46 +0000
commitf2f47c5eaa7d284abad1f693d7c75c85c42565df (patch)
tree2dd141a4ae4911ef3a1abf4d1910d3f7ba071c27 /src/modules/eventeditor
parentMore work on the window popup (diff)
downloadKVIrc-f2f47c5eaa7d284abad1f693d7c75c85c42565df.tar.gz
KVIrc-f2f47c5eaa7d284abad1f693d7c75c85c42565df.tar.bz2
KVIrc-f2f47c5eaa7d284abad1f693d7c75c85c42565df.zip
Beginning of 'the big rename & cleanup'. File names should match class names, when possible. Move classes to one per file. Move C functions to namespaces, if possible. Kill some abbreviations...
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5229 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/eventeditor')
-rw-r--r--src/modules/eventeditor/eventeditor.cpp18
-rw-r--r--src/modules/eventeditor/eventeditor.h8
-rw-r--r--src/modules/eventeditor/libkvieventeditor.cpp4
3 files changed, 15 insertions, 15 deletions
diff --git a/src/modules/eventeditor/eventeditor.cpp b/src/modules/eventeditor/eventeditor.cpp
index 7f6b37f8e..00f15aefa 100644
--- a/src/modules/eventeditor/eventeditor.cpp
+++ b/src/modules/eventeditor/eventeditor.cpp
@@ -4,7 +4,7 @@
// Creation date : Mon Dec 23 2002 20:28:18 by Szymon Stefanek
//
// This file is part of the KVirc irc client distribution
-// Copyright (C) 2002-2008 Szymon Stefanek (pragma at kvirc dot net)
+// Copyright (C) 2002-2010 Szymon Stefanek (pragma at kvirc dot net)
//
// This program is FREE software. You can redistribute it and/or
// modify it under the linkss of the GNU General Public License
@@ -26,17 +26,17 @@
#include "kvi_iconmanager.h"
#include "kvi_options.h"
-#include "kvi_locale.h"
+#include "KviLocale.h"
#include "kvi_imagedialog.h"
-#include "kvi_config.h"
+#include "KviConfigurationFile.h"
#include "kvi_filedialog.h"
-#include "kvi_fileutils.h"
+#include "KviFileUtils.h"
#include "kvi_scripteditor.h"
#include "kvi_debug.h"
#include "kvi_app.h"
-#include "kvi_cmdformatter.h"
+#include "KviCommandFormatter.h"
#include "kvi_fileextensions.h"
-#include "kvi_qstring.h"
+#include "KviQString.h"
#include "kvi_filedialog.h"
#include "kvi_kvs_eventmanager.h"
#include "kvi_tal_vbox.h"
@@ -578,7 +578,7 @@ void KviEventEditorWindow::getConfigGroupName(QString &szName)
szName = "eventeditor";
}
-void KviEventEditorWindow::saveProperties(KviConfig *) //cfg
+void KviEventEditorWindow::saveProperties(KviConfigurationFile *) //cfg
{
/*
#ifdef COMPILE_SCRIPTTOOLBAR
@@ -589,7 +589,7 @@ void KviEventEditorWindow::saveProperties(KviConfig *) //cfg
*/
}
-void KviEventEditorWindow::loadProperties(KviConfig *) //cfg
+void KviEventEditorWindow::loadProperties(KviConfigurationFile *) //cfg
{
/*
#ifdef COMPILE_SCRIPTTOOLBAR
@@ -597,7 +597,7 @@ void KviEventEditorWindow::loadProperties(KviConfig *) //cfg
def.append(20);
def.append(80);
m_pEditor->setSizes(cfg->readIntListEntry("Sizes",def));
- KviStr tmp = cfg->readEntry("LastEvent","");
+ KviCString tmp = cfg->readEntry("LastEvent","");
m_pEditor->editEvent(tmp);
//qDebug("LAST EDITED WAS %s",tmp.ptr());
#endif // COMPILE_SCRIPTTOOLBAR
diff --git a/src/modules/eventeditor/eventeditor.h b/src/modules/eventeditor/eventeditor.h
index 7b4d921f1..eadd127ba 100644
--- a/src/modules/eventeditor/eventeditor.h
+++ b/src/modules/eventeditor/eventeditor.h
@@ -6,7 +6,7 @@
// Creation date : Mon Dec 23 2002 20:24:55 CEST by Szymon Stefanek
//
// This file is part of the KVirc irc client distribution
-// Copyright (C) 2002-2008 Szymon Stefanek (pragma at kvirc dot net)
+// Copyright (C) 2002-2010 Szymon Stefanek (pragma at kvirc dot net)
//
// This program is FREE software. You can redistribute it and/or
// modify it under the linkss of the GNU General Public License
@@ -25,7 +25,7 @@
//=============================================================================
#include "kvi_window.h"
-#include "kvi_string.h"
+#include "KviCString.h"
#include "kvi_tal_popupmenu.h"
#include <QWidget>
@@ -125,8 +125,8 @@ protected:
virtual QPixmap * myIconPtr();
virtual void fillCaptionBuffers();
virtual void getConfigGroupName(QString &szName);
- virtual void saveProperties(KviConfig *);
- virtual void loadProperties(KviConfig *);
+ virtual void saveProperties(KviConfigurationFile *);
+ virtual void loadProperties(KviConfigurationFile *);
protected slots:
void cancelClicked();
void okClicked();
diff --git a/src/modules/eventeditor/libkvieventeditor.cpp b/src/modules/eventeditor/libkvieventeditor.cpp
index a7e3b423a..a51c5420e 100644
--- a/src/modules/eventeditor/libkvieventeditor.cpp
+++ b/src/modules/eventeditor/libkvieventeditor.cpp
@@ -4,7 +4,7 @@
// Creation date : Mon 23 Dec 2002 20:23:59 2002 GMT by Szymon Stefanek
//
// This toolbar is part of the KVirc irc client distribution
-// Copyright (C) 2002-2008 Szymon Stefanek (pragma at kvirc dot net)
+// Copyright (C) 2002-2010 Szymon Stefanek (pragma at kvirc dot net)
//
// This program is FREE software. You can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -25,7 +25,7 @@
#include "eventeditor.h"
#include "kvi_module.h"
-#include "kvi_locale.h"
+#include "KviLocale.h"
#include "kvi_frame.h"
KviEventEditorWindow * g_pEventEditorWindow = 0;