aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/theme/managementdialog.cpp
diff options
context:
space:
mode:
authorGravatar Noldor2007-02-28 16:27:12 +0000
committerGravatar Noldor2007-02-28 16:27:12 +0000
commit2f5fc762ecde1b4c97006aa4343ccf447297cbfc (patch)
tree7288b13b904a6eea4d5ccaeab5dd9df33dca99f6 /src/modules/theme/managementdialog.cpp
parentsmall fix (diff)
downloadKVIrc-2f5fc762ecde1b4c97006aa4343ccf447297cbfc.tar.gz
KVIrc-2f5fc762ecde1b4c97006aa4343ccf447297cbfc.tar.bz2
KVIrc-2f5fc762ecde1b4c97006aa4343ccf447297cbfc.zip
more qt4 port
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@387 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/theme/managementdialog.cpp')
-rw-r--r--src/modules/theme/managementdialog.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/modules/theme/managementdialog.cpp b/src/modules/theme/managementdialog.cpp
index 4b0150731..e72ede3d6 100644
--- a/src/modules/theme/managementdialog.cpp
+++ b/src/modules/theme/managementdialog.cpp
@@ -54,7 +54,10 @@
#include <qtooltip.h>
#include <qimage.h>
#include <kvi_tal_textedit.h>
-#include <qmultilineedit.h>
+//#include <qmultilineedit.h>
+#ifdef COMPILE_USE_QT4
+#include <QCloseEvent>
+#endif
#include <qbuffer.h>
#include "kvi_options.h"
@@ -105,7 +108,7 @@ KviThemeListBoxItem::KviThemeListBoxItem(KviTalListBox * box,KviThemeInfo * inf)
t += "<br><nobr><font size=\"-1\">";
t += inf->description();
t += "</font></nobr>";
- m_pText = new QSimpleRichText(t,box->font());
+ m_pText = new KviTalSimpleRichText(t,box->font());
int iWidth = box->visibleWidth();
if(iWidth < LVI_MINIMUM_CELL_WIDTH)iWidth = LVI_MINIMUM_CELL_WIDTH;
iWidth -= LVI_BORDER + LVI_ICON_SIZE + LVI_SPACING + LVI_BORDER;