diff options
Diffstat (limited to 'knode/knnntpaccount.cpp')
-rw-r--r-- | knode/knnntpaccount.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/knode/knnntpaccount.cpp b/knode/knnntpaccount.cpp index 22ff904b2..ba1657c0c 100644 --- a/knode/knnntpaccount.cpp +++ b/knode/knnntpaccount.cpp @@ -45,8 +45,8 @@ void KNNntpAccountIntervalChecking::installTimer() if (a_ccount->checkInterval() <= 0) return; if(!t_imer) { - t_imer = new QTimer(); - connect(t_imer,SIGNAL(timeout()),this,SLOT(slotCheckNews())); + t_imer = new TQTimer(); + connect(t_imer,TQT_SIGNAL(timeout()),this,TQT_SLOT(slotCheckNews())); } else { @@ -75,7 +75,7 @@ void KNNntpAccountIntervalChecking::slotCheckNews() KNNntpAccount::KNNntpAccount() : KNCollection(0), KNServerInfo(), i_dentity(0), f_etchDescriptions(true), w_asOpen(false), i_ntervalChecking(false), c_heckInterval(10) { - l_astNewFetch = QDate::currentDate(); + l_astNewFetch = TQDate::currentDate(); a_ccountIntervalChecking = new KNNntpAccountIntervalChecking(this); mCleanupConf = new KNConfig::Cleanup( false ); } @@ -90,7 +90,7 @@ KNNntpAccount::~KNNntpAccount() // tries to read information, returns false if it fails to do so -bool KNNntpAccount::readInfo(const QString &confPath) +bool KNNntpAccount::readInfo(const TQString &confPath) { KSimpleConfig conf(confPath); @@ -109,7 +109,7 @@ bool KNNntpAccount::readInfo(const QString &confPath) i_dentity=new KNConfig::Identity(false); i_dentity->loadConfig(&conf); if(!i_dentity->isEmpty()) { - kdDebug(5003) << "KNGroup::readInfo(const QString &confPath) : using alternative user for " << n_ame << endl; + kdDebug(5003) << "KNGroup::readInfo(const TQString &confPath) : using alternative user for " << n_ame << endl; } else { delete i_dentity; i_dentity=0; @@ -126,7 +126,7 @@ bool KNNntpAccount::readInfo(const QString &confPath) void KNNntpAccount::saveInfo() { - QString dir(path()); + TQString dir(path()); if (dir.isNull()) return; @@ -135,7 +135,7 @@ void KNNntpAccount::saveInfo() conf.writeEntry("name", n_ame); //conf.writeEntry("unsentCnt", u_nsentCount); conf.writeEntry("fetchDescriptions", f_etchDescriptions); - conf.writeEntry("lastNewFetch", QDateTime(l_astNewFetch)); + conf.writeEntry("lastNewFetch", TQDateTime(l_astNewFetch)); if(l_istItem) conf.writeEntry("listItemOpen", l_istItem->isOpen()); conf.writeEntry("useDiskCache", u_seDiskCache); @@ -164,7 +164,7 @@ void KNNntpAccount::saveInfo() /*void KNNntpAccount::syncInfo() { - QString dir(path()); + TQString dir(path()); if (dir.isNull()) return; KSimpleConfig conf(dir+"info"); @@ -172,16 +172,16 @@ void KNNntpAccount::saveInfo() }*/ -QString KNNntpAccount::path() +TQString KNNntpAccount::path() { - QString dir(locateLocal("data","knode/")+QString("nntp.%1/").arg(i_d)); + TQString dir(locateLocal("data","knode/")+TQString("nntp.%1/").arg(i_d)); if (dir.isNull()) KNHelper::displayInternalFileError(); return (dir); } -bool KNNntpAccount::editProperties(QWidget *parent) +bool KNNntpAccount::editProperties(TQWidget *parent) { if(!i_dentity) i_dentity=new KNConfig::Identity(false); KNConfig::NntpAccountConfDialog *d = new KNConfig::NntpAccountConfDialog(this, parent); |