summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/statistics/statisticsplugin.h
diff options
context:
space:
mode:
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;