aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Voker572008-04-06 17:18:22 +0000
committerGravatar Voker572008-04-06 17:18:22 +0000
commit33b1876d29724c427fbeaf7be08d574e356ad7ec (patch)
tree9d5009e29ebae5908d37f446d7ee6e9d4d5ee1a0 /src
parentmore gui fix (diff)
downloadKVIrc-33b1876d29724c427fbeaf7be08d574e356ad7ec.tar.gz
KVIrc-33b1876d29724c427fbeaf7be08d574e356ad7ec.tar.bz2
KVIrc-33b1876d29724c427fbeaf7be08d574e356ad7ec.zip
Qt4 porting
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1411 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src')
-rw-r--r--src/kvilib/core/kvi_qcstring.h2
-rw-r--r--src/kvilib/core/kvi_valuelist.h4
-rw-r--r--src/kvirc/ui/kvi_imagedialog.cpp6
3 files changed, 6 insertions, 6 deletions
diff --git a/src/kvilib/core/kvi_qcstring.h b/src/kvilib/core/kvi_qcstring.h
index b3cdc8201..a7fff6f34 100644
--- a/src/kvilib/core/kvi_qcstring.h
+++ b/src/kvilib/core/kvi_qcstring.h
@@ -27,7 +27,7 @@
#include "kvi_settings.h"
-#include <q3cstring.h> // includes <qbytearray.h>
+#include <QByteArray> // includes <qbytearray.h>
#define KviQCString QByteArray
#endif //!_KVI_QCSTRING_H_
diff --git a/src/kvilib/core/kvi_valuelist.h b/src/kvilib/core/kvi_valuelist.h
index 98d962308..65ed2674b 100644
--- a/src/kvilib/core/kvi_valuelist.h
+++ b/src/kvilib/core/kvi_valuelist.h
@@ -26,8 +26,8 @@
#include "kvi_settings.h"
-#include <q3valuelist.h>
-#define KviValueList Q3ValueList
+#include <QList>
+#define KviValueList QList
#endif //_KVI_VALUELIST_H_
diff --git a/src/kvirc/ui/kvi_imagedialog.cpp b/src/kvirc/ui/kvi_imagedialog.cpp
index e110fffdc..dc621f556 100644
--- a/src/kvirc/ui/kvi_imagedialog.cpp
+++ b/src/kvirc/ui/kvi_imagedialog.cpp
@@ -181,10 +181,10 @@ void KviImageDialog::jobTypeSelected(int index)
if(index < 0)return;
if(index >= (int)(m_pTypeList->count()))index = (int)m_pTypeList->count();
if(m_szInitialPath.isEmpty())
- startJob(*(m_pTypeList->at(index)),KVI_OPTION_STRING(KviOption_stringLastImageDialogPath));
+ startJob((m_pTypeList->at(index)),KVI_OPTION_STRING(KviOption_stringLastImageDialogPath));
else {
- startJob(*(m_pTypeList->at(index)),m_szInitialPath);
- m_szInitialPath = ""; // clear it so we will use the last path
+ startJob((m_pTypeList->at(index)),m_szInitialPath);
+ m_szInitialPath = ""; // clear it so we will use the last path
}
}