summaryrefslogtreecommitdiffstats
path: root/kopete/plugins/addbookmarks/addbookmarkspreferences.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/plugins/addbookmarks/addbookmarkspreferences.cpp')
-rw-r--r--kopete/plugins/addbookmarks/addbookmarkspreferences.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/kopete/plugins/addbookmarks/addbookmarkspreferences.cpp b/kopete/plugins/addbookmarks/addbookmarkspreferences.cpp
index 12ebd877..69b7fc1b 100644
--- a/kopete/plugins/addbookmarks/addbookmarkspreferences.cpp
+++ b/kopete/plugins/addbookmarks/addbookmarkspreferences.cpp
@@ -15,32 +15,32 @@
#include <kgenericfactory.h>
#include <kopetepluginmanager.h>
#include <kopetecontactlist.h>
-#include <qcheckbox.h>
-#include <qlayout.h>
-#include <qbuttongroup.h>
-#include <qlistbox.h>
-#include <qnamespace.h>
-#include <qradiobutton.h>
+#include <tqcheckbox.h>
+#include <tqlayout.h>
+#include <tqbuttongroup.h>
+#include <tqlistbox.h>
+#include <tqnamespace.h>
+#include <tqradiobutton.h>
typedef KGenericFactory<BookmarksPreferences> BookmarksPreferencesFactory;
K_EXPORT_COMPONENT_FACTORY( kcm_kopete_addbookmarks, BookmarksPreferencesFactory("kcm_kopete_addbookmarks") )
-BookmarksPreferences::BookmarksPreferences(QWidget *parent, const char *name, const QStringList &args)
+BookmarksPreferences::BookmarksPreferences(TQWidget *parent, const char *name, const TQStringList &args)
: KCModule(BookmarksPreferencesFactory::instance(), parent, args)
{
Q_UNUSED( name );
- ( new QVBoxLayout (this) )->setAutoAdd( true );
+ ( new TQVBoxLayout (this) )->setAutoAdd( true );
p_dialog = new BookmarksPrefsUI( this );
load();
- connect( p_dialog->yesButton, SIGNAL( toggled(bool) ), this, SLOT( slotSetStatusChanged() ));
- connect( p_dialog->noButton, SIGNAL( toggled(bool) ), this, SLOT( slotSetStatusChanged() ));
- connect( p_dialog->onlySelectedButton, SIGNAL( toggled(bool) ), this, SLOT( slotSetStatusChanged() ));
- connect( p_dialog->onlyNotSelectedButton, SIGNAL( toggled(bool) ), this, SLOT( slotSetStatusChanged() ));
- connect( p_dialog->contactList, SIGNAL( selectionChanged() ), this, SLOT( slotSetStatusChanged() ));
+ connect( p_dialog->yesButton, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( slotSetStatusChanged() ));
+ connect( p_dialog->noButton, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( slotSetStatusChanged() ));
+ connect( p_dialog->onlySelectedButton, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( slotSetStatusChanged() ));
+ connect( p_dialog->onlyNotSelectedButton, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( slotSetStatusChanged() ));
+ connect( p_dialog->contactList, TQT_SIGNAL( selectionChanged() ), this, TQT_SLOT( slotSetStatusChanged() ));
if(Kopete::PluginManager::self()->plugin("kopete_addbookmarks") )
- connect( this, SIGNAL(PreferencesChanged()), Kopete::PluginManager::self()->plugin("kopete_addbookmarks") , SLOT(slotReloadSettings()));
- connect( p_dialog->m_addUntrusted, SIGNAL( toggled(bool) ), this, SLOT( slotAddUntrustedChanged() ) );
+ connect( this, TQT_SIGNAL(PreferencesChanged()), Kopete::PluginManager::self()->plugin("kopete_addbookmarks") , TQT_SLOT(slotReloadSettings()));
+ connect( p_dialog->m_addUntrusted, TQT_SIGNAL( toggled(bool) ), this, TQT_SLOT( slotAddUntrustedChanged() ) );
}
@@ -50,8 +50,8 @@ BookmarksPreferences::~BookmarksPreferences()
void BookmarksPreferences::save()
{
- QStringList list;
- QStringList::iterator it;
+ TQStringList list;
+ TQStringList::iterator it;
m_settings.setFolderForEachContact( (BookmarksPrefsSettings::UseSubfolders)p_dialog->buttonGroup1->selectedId() );
@@ -87,15 +87,15 @@ void BookmarksPreferences::slotAddUntrustedChanged()
void BookmarksPreferences::load()
{
- QStringList list;
- QStringList::iterator it;
- QListBoxItem* item;
+ TQStringList list;
+ TQStringList::iterator it;
+ TQListBoxItem* item;
m_settings.load();
p_dialog->buttonGroup1->setButton(m_settings.isFolderForEachContact());
p_dialog->m_addUntrusted->setChecked( m_settings.addBookmarksFromUnknownContacts() );
if( p_dialog->contactList->count() == 0 ){
- QStringList contacts = Kopete::ContactList::self()->contacts();
+ TQStringList contacts = Kopete::ContactList::self()->contacts();
contacts.sort();
p_dialog->contactList->insertStringList( contacts );
}