[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/konsole/konsole
From: Laurent Montel <montel () kde ! org>
Date: 2005-11-10 13:50:27
Message-ID: 1131630627.988831.7736.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 479424 by mlaurent:
Byebye Q3MemArray
M +2 -1 TEHistory.cpp
M +2 -2 TEHistory.h
--- trunk/KDE/kdebase/konsole/konsole/TEHistory.cpp #479423:479424
@@ -220,7 +220,8 @@
histline* newLine = new histline;
- newLine->duplicate(a, count);
+ newLine->resize(count);
+ qCopy(a,a+count,newLine->begin());
++m_arrayIndex;
if (m_arrayIndex >= m_maxNbLines) {
--- trunk/KDE/kdebase/konsole/konsole/TEHistory.h #479423:479424
@@ -17,7 +17,7 @@
#include <q3ptrvector.h>
#include <qbitarray.h>
//Added by qt3to4:
-#include <Q3MemArray>
+#include <QVector>
#include <ktempfile.h>
@@ -116,7 +116,7 @@
class HistoryScrollBuffer : public HistoryScroll
{
public:
- typedef Q3MemArray<ca> histline;
+ typedef QVector<ca> histline;
HistoryScrollBuffer(unsigned int maxNbLines = 1000);
virtual ~HistoryScrollBuffer();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic