summaryrefslogtreecommitdiffstats
path: root/akregator/src/settings_advanced.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /akregator/src/settings_advanced.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'akregator/src/settings_advanced.cpp')
-rw-r--r--akregator/src/settings_advanced.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/akregator/src/settings_advanced.cpp b/akregator/src/settings_advanced.cpp
index 5d1254835..7a849ff9b 100644
--- a/akregator/src/settings_advanced.cpp
+++ b/akregator/src/settings_advanced.cpp
@@ -3,38 +3,38 @@
#include "storagefactory.h"
#include "storagefactoryregistry.h"
-#include <qpushbutton.h>
-#include <qstringlist.h>
-#include <qwidget.h>
+#include <tqpushbutton.h>
+#include <tqstringlist.h>
+#include <tqwidget.h>
#include <kcombobox.h>
namespace Akregator {
-SettingsAdvanced::SettingsAdvanced(QWidget* parent, const char* name) : SettingsAdvancedBase(parent, name)
+SettingsAdvanced::SettingsAdvanced(TQWidget* parent, const char* name) : SettingsAdvancedBase(parent, name)
{
- QStringList backends = Backend::StorageFactoryRegistry::self()->list();
- QString tname;
+ TQStringList backends = Backend::StorageFactoryRegistry::self()->list();
+ TQString tname;
int i = 0;
- QStringList::Iterator end( backends.end() );
- for (QStringList::Iterator it = backends.begin(); it != end; ++it)
+ TQStringList::Iterator end( backends.end() );
+ for (TQStringList::Iterator it = backends.begin(); it != end; ++it)
{
m_factories[i] = Backend::StorageFactoryRegistry::self()->getFactory(*it);
m_keyPos[m_factories[i]->key()] = i;
cbBackend->insertItem(m_factories[i]->name());
i++;
}
- connect(pbBackendConfigure, SIGNAL(clicked()), this, SLOT(slotConfigureStorage()));
- connect(cbBackend, SIGNAL(activated(int)), this, SLOT(slotFactorySelected(int)));
+ connect(pbBackendConfigure, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotConfigureStorage()));
+ connect(cbBackend, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotFactorySelected(int)));
}
-QString SettingsAdvanced::selectedFactory() const
+TQString SettingsAdvanced::selectedFactory() const
{
return m_factories[cbBackend->currentItem()]->key();
}
-void SettingsAdvanced::selectFactory(const QString& key)
+void SettingsAdvanced::selectFactory(const TQString& key)
{
cbBackend->setCurrentItem(m_keyPos[key]);
pbBackendConfigure->setEnabled((m_factories[m_keyPos[key]]->isConfigurable()));