0 comments

The MVC architecture of Qt *View classes is brilliant except one little thing that is not pretty obvious from the beginning: how to find the QModelIndex instance corresponding to specific internal pointer. I wonder why, but I’ve searched the Internet pretty much until I’ve found the possible solutions on Qt developer FAQ page: “How can a QModelIndex be retrived from the model for an internal data item?”. There are three possible solutions. I’ve chosen the first and the simplest one: “Use unique identifiers” as far as it matched our requirements. The main idea of this option is that when you create the instance of a QModelIndex you pass the pointer to some internal data, but you should be sure that there will be no QModelIndex‘es pointing to the same data. So how to implement this approach?

Continue Reading »


0 comments

The client for private message center for vBulletin-powered boards. The task was to make a tool to access private messages for vBulletin-powered message boards. Thus the software handles user authentication, downloads and stores full inbox locally with possibility to clear the remote inbox (as far as message boards often limit the inbox size), while having the full message index on local PC. The extra feature that was requested by customer was to make it capable of sending PMs and it was implemented as well within the project scope. As far as vBulletin does not provide tools for automating the job required some browser traffic sniffing to collect and analyze what data are sent and received during typical working session and then performing the same data exchange in background transparently for end-user.
Continue Reading »