summaryrefslogtreecommitdiffstats
path: root/knode/kngroupmanager.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /knode/kngroupmanager.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knode/kngroupmanager.h')
-rw-r--r--knode/kngroupmanager.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/knode/kngroupmanager.h b/knode/kngroupmanager.h
index f93b57046..4105e7cd9 100644
--- a/knode/kngroupmanager.h
+++ b/knode/kngroupmanager.h
@@ -31,20 +31,20 @@ class KNCleanUp;
//=================================================================================
/** helper classes for the group selection dialog
- tqcontains info about a newsgroup (name, description) */
+ contains info about a newsgroup (name, description) */
class KNGroupInfo {
public:
KNGroupInfo();
- KNGroupInfo(const TQString &n_ame, const TQString &d_escription, bool n_ewGroup=false, bool s_ubscribed=false, KNGroup::Status s_tatus=KNGroup::unknown );
+ KNGroupInfo(const TQString &n_ame, const TQString &d_escription, bool n_ewGroup=false, bool s_ubscribed=false, KNGroup::tqStatus s_tatus=KNGroup::unknown );
~KNGroupInfo();
/** group names will be utf-8 encoded in the future... */
TQString name,description;
bool newGroup, subscribed;
- KNGroup::Status status;
+ KNGroup::tqStatus status;
bool operator== (const KNGroupInfo &gi2);
bool operator< (const KNGroupInfo &gi2);
@@ -78,10 +78,11 @@ class KNGroupListData : public KNJobItem {
class KNGroupManager : public TQObject , public KNJobConsumer {
Q_OBJECT
+ TQ_OBJECT
public:
- KNGroupManager(TQObject * parent=0, const char * name=0);
+ KNGroupManager(TQObject * tqparent=0, const char * name=0);
~KNGroupManager();
// group access
@@ -99,7 +100,7 @@ class KNGroupManager : public TQObject , public KNJobConsumer {
void setCurrentGroup(KNGroup *g);
// group handling
- void showGroupDialog(KNNntpAccount *a, TQWidget *parent=0);
+ void showGroupDialog(KNNntpAccount *a, TQWidget *tqparent=0);
void subscribeGroup(const KNGroupInfo *gi, KNNntpAccount *a);
bool unsubscribeGroup(KNGroup *g=0);
void showGroupProperties(KNGroup *g=0);