aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Elvio Basello2008-05-02 15:14:48 +0000
committerGravatar Elvio Basello2008-05-02 15:14:48 +0000
commit76cae0283f4a095ef8522f7157a1e207357ccc24 (patch)
tree218231cf5296d27625f8c9395928bde593d7940d
parentqt4 port for theme module (diff)
downloadKVIrc-76cae0283f4a095ef8522f7157a1e207357ccc24.tar.gz
KVIrc-76cae0283f4a095ef8522f7157a1e207357ccc24.tar.bz2
KVIrc-76cae0283f4a095ef8522f7157a1e207357ccc24.zip
more work on theme modules
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1651 17fca916-40b9-46aa-a4ea-0a15b648b75c
-rw-r--r--src/modules/theme/managementdialog.cpp4
-rw-r--r--src/modules/theme/packthemedialog.cpp4
-rw-r--r--src/modules/theme/packthemedialog.h4
-rw-r--r--src/modules/theme/savethemedialog.cpp4
-rw-r--r--src/modules/theme/savethemedialog.h4
-rw-r--r--src/modules/theme/themefunctions.cpp2
6 files changed, 11 insertions, 11 deletions
diff --git a/src/modules/theme/managementdialog.cpp b/src/modules/theme/managementdialog.cpp
index e9a816367..3c51ce375 100644
--- a/src/modules/theme/managementdialog.cpp
+++ b/src/modules/theme/managementdialog.cpp
@@ -138,8 +138,9 @@ KviThemeManagementDialog * KviThemeManagementDialog::m_pInstance = 0;
KviThemeManagementDialog::KviThemeManagementDialog(QWidget * parent)
-: QDialog(parent,"theme_options_widget")
+: QDialog(parent)
{
+ setObjectName("theme_options_widget");
setWindowTitle(__tr2qs_ctx("Manage Themes - KVIrc","theme"));
setIcon(*(g_pIconManager->getSmallIcon(KVI_SMALLICON_THEME)));
@@ -412,7 +413,6 @@ bool KviThemeManagementDialog::hasSelectedItems()
return false;
}
-
void KviThemeManagementDialog::enableDisableButtons()
{
bool b = hasSelectedItems();
diff --git a/src/modules/theme/packthemedialog.cpp b/src/modules/theme/packthemedialog.cpp
index ccf44505f..eed14bbda 100644
--- a/src/modules/theme/packthemedialog.cpp
+++ b/src/modules/theme/packthemedialog.cpp
@@ -40,7 +40,7 @@
#include "kvi_selectors.h"
#include "kvi_miscutils.h"
#include "kvi_sourcesdate.h"
-#include <kvi_tal_textedit.h>
+#include "kvi_tal_textedit.h"
#include <QLayout>
#include <QPushButton>
@@ -56,7 +56,7 @@
#include <QBuffer>
#include <QLabel>
-#include <q3multilineedit.h>
+//#include <q3multilineedit.h>
KviPackThemeDialog::KviPackThemeDialog(QWidget * pParent,KviPointerList<KviThemeInfo> * pThemeInfoList)
diff --git a/src/modules/theme/packthemedialog.h b/src/modules/theme/packthemedialog.h
index e28b96c41..bedaae8ec 100644
--- a/src/modules/theme/packthemedialog.h
+++ b/src/modules/theme/packthemedialog.h
@@ -27,13 +27,13 @@
#include "kvi_settings.h"
#include "kvi_pointerlist.h"
#include "kvi_theme.h"
-#include <kvi_tal_wizard.h>
+#include "kvi_tal_wizard.h"
#include <QDialog>
class QLineEdit;
class QLabel;
-class Q3MultiLineEdit;
+//class Q3MultiLineEdit;
class KviTalTextEdit;
class KviFileSelector;
diff --git a/src/modules/theme/savethemedialog.cpp b/src/modules/theme/savethemedialog.cpp
index 97a5c5ccf..37a70f652 100644
--- a/src/modules/theme/savethemedialog.cpp
+++ b/src/modules/theme/savethemedialog.cpp
@@ -40,7 +40,7 @@
#include "kvi_selectors.h"
#include "kvi_miscutils.h"
#include "kvi_sourcesdate.h"
-#include <kvi_tal_textedit.h>
+#include "kvi_tal_textedit.h"
#include <QLayout>
#include <QPushButton>
@@ -56,7 +56,7 @@
#include <QBuffer>
#include <QLabel>
-#include <q3multilineedit.h>
+//#include <q3multilineedit.h>
KviSaveThemeDialog::KviSaveThemeDialog(QWidget * pParent)
diff --git a/src/modules/theme/savethemedialog.h b/src/modules/theme/savethemedialog.h
index 120c0f3ba..e7d693b04 100644
--- a/src/modules/theme/savethemedialog.h
+++ b/src/modules/theme/savethemedialog.h
@@ -27,7 +27,7 @@
#include "kvi_settings.h"
#include "kvi_pointerlist.h"
#include "kvi_theme.h"
-#include <kvi_tal_wizard.h>
+#include "kvi_tal_wizard.h"
#include <QDialog>
@@ -35,7 +35,7 @@ class QLineEdit;
class QPushButton;
class QCheckBox;
class QLabel;
-class Q3MultiLineEdit;
+//class Q3MultiLineEdit;
class KviTalTextEdit;
class KviFileSelector;
diff --git a/src/modules/theme/themefunctions.cpp b/src/modules/theme/themefunctions.cpp
index f19fd8360..c70195c1a 100644
--- a/src/modules/theme/themefunctions.cpp
+++ b/src/modules/theme/themefunctions.cpp
@@ -35,7 +35,7 @@
#include "kvi_theme.h"
#include "kvi_frame.h"
-#include <qmime.h>
+//#include <qmime.h>
#include <q3mimefactory.h>
#define KviTalMimeSourceFactory Q3MimeSourceFactory