aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/help
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/help
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/help')
-rw-r--r--src/modules/help/helpwidget.cpp6
-rw-r--r--src/modules/help/helpwidget.h4
-rw-r--r--src/modules/help/helpwindow.cpp10
-rw-r--r--src/modules/help/helpwindow.h8
-rw-r--r--src/modules/help/libkvihelp.cpp6
5 files changed, 17 insertions, 17 deletions
diff --git a/src/modules/help/helpwidget.cpp b/src/modules/help/helpwidget.cpp
index f84405730..02b73f6ed 100644
--- a/src/modules/help/helpwidget.cpp
+++ b/src/modules/help/helpwidget.cpp
@@ -4,7 +4,7 @@
// Creation date : Thu Aug 10 2000 17:42:12 by Szymon Stefanek
//
// This file is part of the KVirc irc client distribution
-// Copyright (C) 2000-2008 Szymon Stefanek (pragma at kvirc dot net)
+// Copyright (C) 2000-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
@@ -27,11 +27,11 @@
#include "kvi_frame.h"
#include "kvi_iconmanager.h"
-#include "kvi_locale.h"
+#include "KviLocale.h"
#include "kvi_app.h"
#include "kvi_msgbox.h"
#include "kvi_module.h"
-#include "kvi_fileutils.h"
+#include "KviFileUtils.h"
#include <QToolButton>
#include <QLineEdit>
diff --git a/src/modules/help/helpwidget.h b/src/modules/help/helpwidget.h
index ce8767a25..956aed4ae 100644
--- a/src/modules/help/helpwidget.h
+++ b/src/modules/help/helpwidget.h
@@ -6,7 +6,7 @@
// Creation date : Thu Aug 10 2000 17:26:20 by Szymon Stefanek
//
// This file is part of the KVirc irc client distribution
-// Copyright (C) 2000-2008 Szymon Stefanek (pragma at kvirc dot net)
+// Copyright (C) 2000-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
@@ -34,7 +34,7 @@
class QToolButton;
class QLineEdit;
class KviFrame;
-//class KviProcess;
+//class QProcess;
class KviHelpWidget : public QWidget
{
diff --git a/src/modules/help/helpwindow.cpp b/src/modules/help/helpwindow.cpp
index 621ba4513..03cb7fc64 100644
--- a/src/modules/help/helpwindow.cpp
+++ b/src/modules/help/helpwindow.cpp
@@ -4,7 +4,7 @@
// Creation date : Tue Aug 11 2000 18:08:22 by Szymon Stefanek
//
// This file is part of the KVirc irc client distribution
-// Copyright (C) 2000-2008 Szymon Stefanek (pragma at kvirc dot net)
+// Copyright (C) 2000-2010 Szymon Stefanek (pragma at kvirc dot net)
//
// This program is FREE software. You can redistribute it and/or
// modify it under the m_terms of the GNU General Public License
@@ -28,9 +28,9 @@
#include "kvi_app.h"
#include "kvi_iconmanager.h"
#include "kvi_options.h"
-#include "kvi_locale.h"
+#include "KviLocale.h"
#include "kvi_module.h"
-#include "kvi_config.h"
+#include "KviConfigurationFile.h"
#include "kvi_sourcesdate.h"
#include <QList>
@@ -162,13 +162,13 @@ void KviHelpWindow::indexingEnd()
m_pBtnRefreshIndex->setEnabled(true);
}
-void KviHelpWindow::saveProperties(KviConfig *cfg)
+void KviHelpWindow::saveProperties(KviConfigurationFile *cfg)
{
KviWindow::saveProperties(cfg);
cfg->writeEntry("Splitter",m_pSplitter->sizes());
}
-void KviHelpWindow::loadProperties(KviConfig *cfg)
+void KviHelpWindow::loadProperties(KviConfigurationFile *cfg)
{
QList<int> def;
int w = width();
diff --git a/src/modules/help/helpwindow.h b/src/modules/help/helpwindow.h
index 38fd895a5..7852e99d0 100644
--- a/src/modules/help/helpwindow.h
+++ b/src/modules/help/helpwindow.h
@@ -6,7 +6,7 @@
// Creation date : Fri Aug 11 2000 18:05:59 by Szymon Stefanek
//
// This file is part of the KVirc irc client distribution
-// Copyright (C) 2000-2008 Szymon Stefanek (pragma at kvirc dot net)
+// Copyright (C) 2000-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 "kvi_window.h"
-#include "kvi_string.h"
+#include "KviCString.h"
#include "kvi_tal_vbox.h"
#include "kvi_tal_listwidget.h"
@@ -66,8 +66,8 @@ protected:
virtual QPixmap * myIconPtr();
virtual void fillCaptionBuffers();
virtual void resizeEvent(QResizeEvent *e);
- virtual void saveProperties(KviConfig * cfg);
- virtual void loadProperties(KviConfig * cfg);
+ virtual void saveProperties(KviConfigurationFile * cfg);
+ virtual void loadProperties(KviConfigurationFile * cfg);
public:
QTextBrowser * textBrowser();
public slots:
diff --git a/src/modules/help/libkvihelp.cpp b/src/modules/help/libkvihelp.cpp
index c58a92897..67a9cc1cc 100644
--- a/src/modules/help/libkvihelp.cpp
+++ b/src/modules/help/libkvihelp.cpp
@@ -4,7 +4,7 @@
// Creation date : Sun Aug 13 2000 03:00:00 by Szymon Stefanek
//
// This file is part of the KVirc irc client distribution
-// Copyright (C) 2000-2008 Szymon Stefanek (pragma at kvirc dot net)
+// Copyright (C) 2000-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,9 +25,9 @@
#include "helpwidget.h"
#include "helpwindow.h"
#include "index.h"
-#include "kvi_locale.h"
+#include "KviLocale.h"
#include "kvi_module.h"
-#include "kvi_fileutils.h"
+#include "KviFileUtils.h"
#include "kvi_sourcesdate.h"
#include "kvi_app.h"
#include "kvi_frame.h"