Changeset 418:db5fa97c4e4c
- Timestamp:
- 06/23/2010 09:29:18 PM (20 months ago)
- Author:
- Dmitry Nezhevenko <dion@…>
- Branch:
- default
- Message:
-
Move include to cpp file. Limit number of results to one
- Location:
- src/plugins/muc
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r414
|
r418
|
|
| 171 | 171 | { |
| 172 | 172 | query=DataStorage::instance() |
| 173 | | ->prepareQuery("SELECT id from conference_jids WHERE conference_id=? AND jid=?"); |
| | 173 | ->prepareQuery("SELECT id from conference_jids WHERE conference_id=? AND jid=? LIMIT 1"); |
| 174 | 174 | query.addBindValue(myId); |
| 175 | 175 | query.addBindValue(n); |
-
|
r414
|
r418
|
|
| 11 | 11 | // |
| 12 | 12 | #include "nicklist.h" |
| | 13 | #include "jid.h" |
| | 14 | |
| 13 | 15 | #include <QtDebug> |
| 14 | 16 | |
-
|
r414
|
r418
|
|
| 3 | 3 | |
| 4 | 4 | #include "nick.h" |
| 5 | | #include "jid.h" |
| 6 | 5 | #include <QList> |
| | 6 | |
| 7 | 7 | /** |
| 8 | 8 | @author Dmitry Nezhevenko <dion@inhex.net> |
| 9 | 9 | */ |
| 10 | | class Jid; |
| 11 | | |
| 12 | 10 | class NickList: public QList<Nick*> |
| 13 | 11 | { |