summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/history/historydialog.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/plugins/history/historydialog.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/plugins/history/historydialog.h')
-rw-r--r--kopete/plugins/history/historydialog.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kopete/plugins/history/historydialog.h b/kopete/plugins/history/historydialog.h
index cf26037d..63b08470 100644
--- a/kopete/plugins/history/historydialog.h
+++ b/kopete/plugins/history/historydialog.h
@@ -19,8 +19,8 @@
#ifndef _HISTORYDIALOG_H
#define _HISTORYDIALOG_H
-#include <qfile.h>
-#include <qstringlist.h>
+#include <tqfile.h>
+#include <tqstringlist.h>
#include <kdialogbase.h>
#include <klistview.h>
@@ -45,13 +45,13 @@ class KListViewDateItem;
class DMPair
{
public:
- DMPair() {md = QDate(0, 0, 0); mc = 0; }
- DMPair(QDate d, Kopete::MetaContact *c) { md = d; mc =c; }
- QDate date() const { return md; }
+ DMPair() {md = TQDate(0, 0, 0); mc = 0; }
+ DMPair(TQDate d, Kopete::MetaContact *c) { md = d; mc =c; }
+ TQDate date() const { return md; }
Kopete::MetaContact* metaContact() const { return mc; }
bool operator==(const DMPair p1) const { return p1.date() == this->date() && p1.metaContact() == this->metaContact(); }
private:
- QDate md;
+ TQDate md;
Kopete::MetaContact *mc;
};
@@ -64,7 +64,7 @@ class HistoryDialog : public KDialogBase
Q_OBJECT
public:
- HistoryDialog(Kopete::MetaContact *mc, QWidget* parent=0,
+ HistoryDialog(Kopete::MetaContact *mc, TQWidget* parent=0,
const char* name="HistoryDialog");
~HistoryDialog();
@@ -80,20 +80,20 @@ class HistoryDialog : public KDialogBase
void slotOpenURLRequest(const KURL &url, const KParts::URLArgs &/*args*/);
// Called when a date is selected in the treeview
- void dateSelected(QListViewItem *);
+ void dateSelected(TQListViewItem *);
void slotSearch();
// Reinitialise search
void slotSearchErase();
- void slotSearchTextChanged(const QString& txt); // To enable/disable search button
+ void slotSearchTextChanged(const TQString& txt); // To enable/disable search button
void slotContactChanged(int index);
void slotFilterChanged(int index);
void init();
void slotLoadDays();
- void slotRightClick(const QString &url, const QPoint &point);
+ void slotRightClick(const TQString &url, const TQPoint &point);
void slotCopy();
void slotCopyURL();
@@ -101,7 +101,7 @@ class HistoryDialog : public KDialogBase
enum Disabled { Prev=1, Next=2 };
void refreshEnabled( /*Disabled*/ uint disabled );
- void initProgressBar(const QString& text, int nbSteps);
+ void initProgressBar(const TQString& text, int nbSteps);
void doneProgressBar();
void init(Kopete::MetaContact *mc);
void init(Kopete::Contact *c);
@@ -109,7 +109,7 @@ class HistoryDialog : public KDialogBase
/**
* Show the messages in the HTML View
*/
- void setMessages(QValueList<Kopete::Message> m);
+ void setMessages(TQValueList<Kopete::Message> m);
void listViewShowElements(bool s);
@@ -123,7 +123,7 @@ class HistoryDialog : public KDialogBase
*/
Kopete::MetaContact *mMetaContact;
- QPtrList<Kopete::MetaContact> mMetaContactList;
+ TQPtrList<Kopete::MetaContact> mMetaContactList;
// History View
KHTMLView *mHtmlView;
@@ -133,14 +133,14 @@ class HistoryDialog : public KDialogBase
struct Init
{
- QValueList<DMPair> dateMCList; // mc for MetaContact
+ TQValueList<DMPair> dateMCList; // mc for MetaContact
} mInit;
bool mSearching;
KAction *mCopyAct;
KAction *mCopyURLAct;
- QString mURL;
+ TQString mURL;
};
#endif