From 73694c4e0d2656b9d8ed90f6ea8424a877af78db Mon Sep 17 00:00:00 2001
From: Elvio Basello
Date: Thu, 24 Sep 2009 15:37:12 +0000
Subject: removed useless KviTalTextEdit class
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@3520 17fca916-40b9-46aa-a4ea-0a15b648b75c
---
src/kvilib/CMakeLists.txt | 2 --
src/kvilib/config/kvi_sourcesdate.h | 4 ++--
src/kvilib/tal/kvi_tal_textedit.cpp | 31 ------------------------
src/kvilib/tal/kvi_tal_textedit.h | 44 -----------------------------------
src/kvirc/ui/kvi_htmldialog.cpp | 1 -
src/modules/about/aboutdialog.cpp | 8 +++----
src/modules/addon/packaddondialog.cpp | 4 ++--
src/modules/addon/packaddondialog.h | 12 +++++-----
src/modules/editor/scripteditor.cpp | 2 +-
src/modules/editor/scripteditor.h | 3 +--
src/modules/setup/setupwizard.cpp | 4 ++--
src/modules/theme/packthemedialog.cpp | 6 ++---
src/modules/theme/packthemedialog.h | 22 +++++++++---------
src/modules/theme/savethemedialog.cpp | 4 ++--
src/modules/theme/savethemedialog.h | 22 ++++++++----------
15 files changed, 44 insertions(+), 125 deletions(-)
delete mode 100644 src/kvilib/tal/kvi_tal_textedit.cpp
delete mode 100644 src/kvilib/tal/kvi_tal_textedit.h
(limited to 'src')
diff --git a/src/kvilib/CMakeLists.txt b/src/kvilib/CMakeLists.txt
index c8ef96ffd..c1332b8c8 100644
--- a/src/kvilib/CMakeLists.txt
+++ b/src/kvilib/CMakeLists.txt
@@ -36,7 +36,6 @@ SET(kvilib_MOC_HDRS
tal/kvi_tal_splitter.h
tal/kvi_tal_tabdialog.h
tal/kvi_tal_tablewidget.h
- tal/kvi_tal_textedit.h
tal/kvi_tal_toolbar.h
tal/kvi_tal_tooltip.h
tal/kvi_tal_vbox.h
@@ -114,7 +113,6 @@ SET(kvilib_SRCS
tal/kvi_tal_scrollview.cpp
tal/kvi_tal_tabdialog.cpp
tal/kvi_tal_tablewidget.cpp
- tal/kvi_tal_textedit.cpp
tal/kvi_tal_toolbar.cpp
tal/kvi_tal_tooltip.cpp
tal/kvi_tal_vbox.cpp
diff --git a/src/kvilib/config/kvi_sourcesdate.h b/src/kvilib/config/kvi_sourcesdate.h
index 22973e0b4..4a75c57ba 100644
--- a/src/kvilib/config/kvi_sourcesdate.h
+++ b/src/kvilib/config/kvi_sourcesdate.h
@@ -36,8 +36,8 @@
* \def KVI_SOURCES_DATE Defines the sources date
* \def KVI_SOURCES_DATE_NUMERIC Defines the sources date
*/
-#define KVI_SOURCES_DATE "20090907"
-#define KVI_SOURCES_DATE_NUMERIC 0x20090907
+#define KVI_SOURCES_DATE "20090924"
+#define KVI_SOURCES_DATE_NUMERIC 0x20090924
/**
* \brief This is the date of the sources before that we should force a setup
diff --git a/src/kvilib/tal/kvi_tal_textedit.cpp b/src/kvilib/tal/kvi_tal_textedit.cpp
deleted file mode 100644
index fb72284e0..000000000
--- a/src/kvilib/tal/kvi_tal_textedit.cpp
+++ /dev/null
@@ -1,31 +0,0 @@
-//=============================================================================
-//
-// File : kvi_tal_textedit.cpp
-// Creation date : Tue Feb 06 2007 14:35:08 by Szymon Stefanek
-//
-// This file is part of the KVirc irc client distribution
-// Copyright (C) 2007-2008 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
-// as published by the Free Software Foundation; either version 2
-// of the License, or (at your opinion) any later version.
-//
-// This program is distributed in the HOPE that it will be USEFUL,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-// See the GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with this program. If not, write to the Free Software Foundation,
-// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-//
-//=============================================================================
-
-#include "kvi_tal_textedit.h"
-
-
-#ifndef COMPILE_USE_STANDALONE_MOC_SOURCES
- #include "kvi_tal_textedit.moc"
-#endif //!COMPILE_USE_STANDALONE_MOC_SOURCES
-
diff --git a/src/kvilib/tal/kvi_tal_textedit.h b/src/kvilib/tal/kvi_tal_textedit.h
deleted file mode 100644
index a1d280f6d..000000000
--- a/src/kvilib/tal/kvi_tal_textedit.h
+++ /dev/null
@@ -1,44 +0,0 @@
-#ifndef _KVI_TAL_TEXTEDIT_H_
-#define _KVI_TAL_TEXTEDIT_H_
-
-//=============================================================================
-//
-// File : kvi_tal_textedit.h
-// Creation date : Tue Feb 06 2007 14:35:08 by Szymon Stefanek
-//
-// This file is part of the KVirc irc client distribution
-// Copyright (C) 2007-2008 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
-// as published by the Free Software Foundation; either version 2
-// of the License, or (at your opinion) any later version.
-//
-// This program is distributed in the HOPE that it will be USEFUL,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-// See the GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with this program. If not, write to the Free Software Foundation,
-// Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-//
-//=============================================================================
-
-#include "kvi_settings.h"
-
-#include
The \"legalese\" version of the license is shown in the box below.
")); - KviTalTextEdit * ed = new KviTalTextEdit(m_pLicense->m_pVBox); + QTextEdit * ed = new QTextEdit(m_pLicense->m_pVBox); ed->setReadOnly(true); ed->setWordWrapMode(QTextOption::NoWrap); QString szLicense; diff --git a/src/modules/theme/packthemedialog.cpp b/src/modules/theme/packthemedialog.cpp index d28384296..e9cbd1ff6 100644 --- a/src/modules/theme/packthemedialog.cpp +++ b/src/modules/theme/packthemedialog.cpp @@ -39,8 +39,8 @@ #include "kvi_selectors.h" #include "kvi_miscutils.h" #include "kvi_sourcesdate.h" -#include "kvi_tal_textedit.h" +#include