here's my idea:
1. create a simple containerclass containing your connectionDetails in a QStringList, or equivalent QList <connectionDetails >
use signal slot mechanism to add new details, if listcount exceeds your limit, remove the first element and a new one
2. to view your connectiondetails use a QListView with a model derived from QAbstractListModel, in your model u access the container above
this should be faster, than the qtextedit method and will show only the number of messages you specify
regards
Bookmarks