summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/statistics/statisticsplugin.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kopete/plugins/statistics/statisticsplugin.h
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
TQt4 port kdenetwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/plugins/statistics/statisticsplugin.h')
-rw-r--r--kopete/plugins/statistics/statisticsplugin.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/kopete/plugins/statistics/statisticsplugin.h b/kopete/plugins/statistics/statisticsplugin.h
index 47658093..b3b9c9f9 100644
--- a/kopete/plugins/statistics/statisticsplugin.h
+++ b/kopete/plugins/statistics/statisticsplugin.h
@@ -50,7 +50,7 @@ class KActionCollection;
* In the future, it will maybe make prediction on when the contact should be available for chat.
*
* \subsection install_sec How it works ...
- * Each Metacontact is bound to a StatisticsContact which has access to the SQLITE database.
+ * Each Metacontact is bound to a StatisticsContact which has access to the STQLITE database.
* This StatisticsContact stores the last status of the metacontact; the member function onlineStatusChanged is called when the
* metacontact status changed (this is managed in the slot slotOnlineStatusChanged of StatisticsPlugin) and then the DB is
* updated for the contact.
@@ -61,7 +61,7 @@ class KActionCollection;
*
* <table>
* <tr>
- * <td>Event</td><td>Changes to database</td><td>oldStatus</td>
+ * <td>Event</td><td>Changes to database</td><td>oldtqStatus</td>
* </tr>
* <tr>
* <td>John 17:44 Away <i>(connexion)</i></td><td> - <i>(oldstatus was offline)</i></td><td>oldstatus = away </td>
@@ -99,9 +99,10 @@ class KActionCollection;
class StatisticsPlugin : public Kopete::Plugin, virtual public StatisticsDCOPIface
{
Q_OBJECT
+ TQ_OBJECT
public:
/// Standard plugin constructors
- StatisticsPlugin(TQObject *parent, const char *name, const TQStringList &args);
+ StatisticsPlugin(TQObject *tqparent, const char *name, const TQStringList &args);
~StatisticsPlugin();
/// Method to access m_db member
@@ -190,12 +191,12 @@ public slots:
bool dcopWasOffline(TQString id, int timeStamp);
bool dcopWasOffline(TQString id, TQString dt);
- bool dcopWasStatus(TQString id, TQDateTime dateTime, Kopete::OnlineStatus::StatusType status);
+ bool dcopWastqStatus(TQString id, TQDateTime dateTime, Kopete::OnlineStatus::StatusType status);
- TQString dcopStatus(TQString id, TQString dateTime);
- TQString dcopStatus(TQString id, int timeStamp);
+ TQString dcoptqStatus(TQString id, TQString dateTime);
+ TQString dcoptqStatus(TQString id, int timeStamp);
- TQString dcopMainStatus(TQString id, int timeStamp);
+ TQString dcopMaintqStatus(TQString id, int timeStamp);
private:
StatisticsDB *m_db;