summaryrefslogtreecommitdiffstats
path: root/kopete/kopete/contactlist/customnotificationprops.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/kopete/contactlist/customnotificationprops.cpp')
-rw-r--r--kopete/kopete/contactlist/customnotificationprops.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kopete/kopete/contactlist/customnotificationprops.cpp b/kopete/kopete/contactlist/customnotificationprops.cpp
index 87833fa7..2f341426 100644
--- a/kopete/kopete/contactlist/customnotificationprops.cpp
+++ b/kopete/kopete/contactlist/customnotificationprops.cpp
@@ -18,9 +18,9 @@
*************************************************************************
*/
-#include <qcheckbox.h>
-#include <qcombobox.h>
-#include <qlineedit.h>
+#include <tqcheckbox.h>
+#include <tqcombobox.h>
+#include <tqlineedit.h>
#include <kdebug.h>
#include <kconfig.h>
@@ -33,32 +33,32 @@
#include "customnotificationprops.h"
-CustomNotificationProps::CustomNotificationProps( QWidget *parent, Kopete::NotifyDataObject* item, const char * name )
-: QObject( parent, name )
+CustomNotificationProps::CustomNotificationProps( TQWidget *parent, Kopete::NotifyDataObject* item, const char * name )
+: TQObject( parent, name )
{
m_notifyWidget = new CustomNotificationWidget( parent, "notificationWidget" );
m_item = item;
- QString path = "kopete/eventsrc";
+ TQString path = "kopete/eventsrc";
KConfig eventsfile( path, true, false, "data" );
m_eventList = eventsfile.groupList();
- QStringList contactSpecificEvents; // we are only interested in events that relate to contacts
- QStringList::Iterator it = m_eventList.begin();
- QStringList::Iterator end = m_eventList.end();
+ TQStringList contactSpecificEvents; // we are only interested in events that relate to contacts
+ TQStringList::Iterator it = m_eventList.begin();
+ TQStringList::Iterator end = m_eventList.end();
for ( ; it != end; ++it )
{
- if ( !(*it).startsWith( QString::fromLatin1( "kopete_contact_" ) ) )
+ if ( !(*it).startsWith( TQString::fromLatin1( "kopete_contact_" ) ) )
continue;
contactSpecificEvents.append( *it );
- QMap<QString, QString> entries = eventsfile.entryMap( *it );
+ TQMap<TQString, TQString> entries = eventsfile.entryMap( *it );
eventsfile.setGroup( *it );
- QString comment = eventsfile.readEntry( "Comment", QString::fromLatin1( "Found nothing!" ) );
+ TQString comment = eventsfile.readEntry( "Comment", TQString::fromLatin1( "Found nothing!" ) );
m_notifyWidget->cmbEvents->insertItem( comment );
}
m_eventList = contactSpecificEvents;
slotEventsComboChanged( m_notifyWidget->cmbEvents->currentItem() );
// we have to do this after adding items
- connect( m_notifyWidget->cmbEvents, SIGNAL( activated( int ) ), this, SLOT( slotEventsComboChanged( int ) ) );
+ connect( m_notifyWidget->cmbEvents, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( slotEventsComboChanged( int ) ) );
}
void CustomNotificationProps::slotEventsComboChanged( int itemNo )
@@ -152,7 +152,7 @@ void CustomNotificationProps::storeCurrentCustoms()
evt->setPresentation( Kopete::EventPresentation::Message, eventNotify );
// set chat attributes
eventNotify = new Kopete::EventPresentation( Kopete::EventPresentation::Chat,
- QString::null,
+ TQString::null,
m_notifyWidget->chkChatSS->isChecked(),
m_notifyWidget->chkCustomChat->isChecked() );
evt->setPresentation( Kopete::EventPresentation::Chat, eventNotify );