summaryrefslogtreecommitdiffstats
path: root/kontact/src
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/src')
-rw-r--r--kontact/src/aboutdialog.h2
-rw-r--r--kontact/src/iconsidepane.cpp26
-rw-r--r--kontact/src/iconsidepane.h4
-rw-r--r--kontact/src/kcmkontact.cpp8
-rw-r--r--kontact/src/kcmkontact.h4
-rw-r--r--kontact/src/mainwindow.cpp74
-rw-r--r--kontact/src/mainwindow.h2
-rw-r--r--kontact/src/profiledialog.cpp44
-rw-r--r--kontact/src/profiledialog.h2
-rw-r--r--kontact/src/profilemanager.h2
-rw-r--r--kontact/src/sidepanebase.h2
11 files changed, 85 insertions, 85 deletions
diff --git a/kontact/src/aboutdialog.h b/kontact/src/aboutdialog.h
index f407f46a..de20c1ee 100644
--- a/kontact/src/aboutdialog.h
+++ b/kontact/src/aboutdialog.h
@@ -33,7 +33,7 @@ class Plugin;
class AboutDialog : public KDialogBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kontact/src/iconsidepane.cpp b/kontact/src/iconsidepane.cpp
index 338aeb8d..f9a261a9 100644
--- a/kontact/src/iconsidepane.cpp
+++ b/kontact/src/iconsidepane.cpp
@@ -265,18 +265,18 @@ Navigator::Navigator( IconSidePane *parent, const char *name )
setHScrollBarMode( TQScrollView::AlwaysOff );
setAcceptDrops( true );
- setFocusPolicy( TQ_NoFocus );
+ setFocusPolicy( TQWidget::NoFocus );
- connect( this, TQT_SIGNAL( selectionChanged( TQListBoxItem* ) ),
- TQT_SLOT( slotExecuted( TQListBoxItem* ) ) );
- connect( this, TQT_SIGNAL( rightButtonPressed( TQListBoxItem*, const TQPoint& ) ),
- TQT_SLOT( slotShowRMBMenu( TQListBoxItem*, const TQPoint& ) ) );
- connect( this, TQT_SIGNAL( onItem( TQListBoxItem * ) ),
- TQT_SLOT( slotMouseOn( TQListBoxItem * ) ) );
- connect( this, TQT_SIGNAL( onViewport() ), TQT_SLOT( slotMouseOff() ) );
+ connect( this, TQ_SIGNAL( selectionChanged( TQListBoxItem* ) ),
+ TQ_SLOT( slotExecuted( TQListBoxItem* ) ) );
+ connect( this, TQ_SIGNAL( rightButtonPressed( TQListBoxItem*, const TQPoint& ) ),
+ TQ_SLOT( slotShowRMBMenu( TQListBoxItem*, const TQPoint& ) ) );
+ connect( this, TQ_SIGNAL( onItem( TQListBoxItem * ) ),
+ TQ_SLOT( slotMouseOn( TQListBoxItem * ) ) );
+ connect( this, TQ_SIGNAL( onViewport() ), TQ_SLOT( slotMouseOff() ) );
- mMapper = new TQSignalMapper( TQT_TQOBJECT(this) );
- connect( mMapper, TQT_SIGNAL( mapped( int ) ), TQT_SLOT( shortCutSelected( int ) ) );
+ mMapper = new TQSignalMapper( this );
+ connect( mMapper, TQ_SIGNAL( mapped( int ) ), TQ_SLOT( shortCutSelected( int ) ) );
TQToolTip::remove( this );
if ( !mShowText )
@@ -295,7 +295,7 @@ void Navigator::highlightItem( EntryItem * item )
setPaintActiveItem( mHighlightItem, true );
- TQTimer::singleShot( 2000, this, TQT_SLOT( slotStopHighlight() ) );
+ TQTimer::singleShot( 2000, this, TQ_SLOT( slotStopHighlight() ) );
}
void Navigator::slotStopHighlight()
@@ -539,8 +539,8 @@ IconSidePane::IconSidePane( Core *core, TQWidget *parent, const char *name )
: SidePaneBase( core, parent, name )
{
mNavigator = new Navigator( this );
- connect( mNavigator, TQT_SIGNAL( pluginActivated( Kontact::Plugin* ) ),
- TQT_SIGNAL( pluginSelected( Kontact::Plugin* ) ) );
+ connect( mNavigator, TQ_SIGNAL( pluginActivated( Kontact::Plugin* ) ),
+ TQ_SIGNAL( pluginSelected( Kontact::Plugin* ) ) );
setAcceptDrops( true );
}
diff --git a/kontact/src/iconsidepane.h b/kontact/src/iconsidepane.h
index 4cfbd555..bb91997b 100644
--- a/kontact/src/iconsidepane.h
+++ b/kontact/src/iconsidepane.h
@@ -117,7 +117,7 @@ class EntryItemToolTip : public TQToolTip
*/
class Navigator : public TDEListBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
Navigator( IconSidePane *parent = 0, const char *name = 0 );
@@ -173,7 +173,7 @@ class Navigator : public TDEListBox
class IconSidePane : public SidePaneBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
IconSidePane( Core *core, TQWidget *parent, const char *name = 0 );
diff --git a/kontact/src/kcmkontact.cpp b/kontact/src/kcmkontact.cpp
index 622d597b..b1d0b039 100644
--- a/kontact/src/kcmkontact.cpp
+++ b/kontact/src/kcmkontact.cpp
@@ -38,7 +38,7 @@
#include <tqlabel.h>
#include <tqlayout.h>
-#include <tdepimmacros.h>
+#include <kdemacros.h>
extern "C"
{
@@ -81,8 +81,8 @@ KcmKontact::KcmKontact( TQWidget *parent, const char *name )
pluginStartupLayout->addWidget( selection->comboBox() );
selection->comboBox()->setEnabled( false );
- connect( forceStartupPlugin->checkBox(), TQT_SIGNAL( toggled( bool ) ),
- selection->comboBox(), TQT_SLOT( setEnabled( bool ) ) );
+ connect( forceStartupPlugin->checkBox(), TQ_SIGNAL( toggled( bool ) ),
+ selection->comboBox(), TQ_SLOT( setEnabled( bool ) ) );
load();
}
@@ -104,7 +104,7 @@ PluginSelection::PluginSelection( TDEConfigSkeleton::ItemString *item, TQWidget
{
mItem = item;
mPluginCombo = new TQComboBox( parent );
- connect( mPluginCombo, TQT_SIGNAL( activated( int ) ), TQT_SIGNAL( changed() ) );
+ connect( mPluginCombo, TQ_SIGNAL( activated( int ) ), TQ_SIGNAL( changed() ) );
}
PluginSelection::~PluginSelection()
diff --git a/kontact/src/kcmkontact.h b/kontact/src/kcmkontact.h
index f19980e2..5dcb714c 100644
--- a/kontact/src/kcmkontact.h
+++ b/kontact/src/kcmkontact.h
@@ -38,7 +38,7 @@ class TDEListView;
class KcmKontact : public KPrefsModule
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -49,7 +49,7 @@ class KcmKontact : public KPrefsModule
class PluginSelection : public KPrefsWid
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kontact/src/mainwindow.cpp b/kontact/src/mainwindow.cpp
index 1fd7ab88..a354fa41 100644
--- a/kontact/src/mainwindow.cpp
+++ b/kontact/src/mainwindow.cpp
@@ -96,7 +96,7 @@ class SettingsDialogWrapper : public KSettings::Dialog
void fixButtonLabel( TQWidget *widget )
{
TQObject *object = widget->child( "KJanusWidget::buttonBelowList" );
- TQPushButton *button = static_cast<TQPushButton*>( TQT_TQWIDGET(object) );
+ TQPushButton *button = static_cast<TQPushButton*>( object );
if ( button )
button->setText( i18n( "Select Components ..." ) );
}
@@ -120,8 +120,8 @@ void MainWindow::initGUI()
setupActions();
setHelpMenuEnabled( false );
KHelpMenu *helpMenu = new KHelpMenu( this, 0, true, actionCollection() );
- connect( helpMenu, TQT_SIGNAL( showAboutApplication() ),
- TQT_SLOT( showAboutDialog() ) );
+ connect( helpMenu, TQ_SIGNAL( showAboutApplication() ),
+ TQ_SLOT( showAboutDialog() ) );
TDETrader::OfferList offers = TDETrader::self()->query(
TQString::fromLatin1( "Kontact/Plugin" ),
@@ -133,7 +133,7 @@ void MainWindow::initGUI()
(*it)->load();
TDEAction *action = new TDEAction( (*it)->name(), (*it)->icon(), TDEShortcut(),
- TQT_TQOBJECT(this), TQT_SLOT(slotActionTriggered()),
+ this, TQ_SLOT(slotActionTriggered()),
actionCollection(), (*it)->pluginName().latin1() );
action->setName( (*it)->pluginName().latin1() );
action->setWhatsThis( i18n( "Switch to plugin %1" ).arg( (*it)->name() ) );
@@ -144,8 +144,8 @@ void MainWindow::initGUI()
}
}
- KStdAction::keyBindings( TQT_TQOBJECT(this), TQT_SLOT( configureShortcuts() ), actionCollection() );
- KStdAction::configureToolbars( TQT_TQOBJECT(this), TQT_SLOT( configureToolbars() ), actionCollection() );
+ KStdAction::keyBindings( this, TQ_SLOT( configureShortcuts() ), actionCollection() );
+ KStdAction::configureToolbars( this, TQ_SLOT( configureToolbars() ), actionCollection() );
setXMLFile( "kontactui.rc" );
setStandardToolBarMenuEnabled( true );
@@ -157,10 +157,10 @@ void MainWindow::initGUI()
resize( 700, 520 ); // initial size to prevent a scrollbar in sidepane
setAutoSaveSettings();
- connect( Kontact::ProfileManager::self(), TQT_SIGNAL( profileLoaded( const TQString& ) ),
- this, TQT_SLOT( slotLoadProfile( const TQString& ) ) );
- connect( Kontact::ProfileManager::self(), TQT_SIGNAL( saveToProfileRequested( const TQString& ) ),
- this, TQT_SLOT( slotSaveToProfile( const TQString& ) ) );
+ connect( Kontact::ProfileManager::self(), TQ_SIGNAL( profileLoaded( const TQString& ) ),
+ this, TQ_SLOT( slotLoadProfile( const TQString& ) ) );
+ connect( Kontact::ProfileManager::self(), TQ_SIGNAL( saveToProfileRequested( const TQString& ) ),
+ this, TQ_SLOT( slotSaveToProfile( const TQString& ) ) );
}
@@ -168,15 +168,15 @@ void MainWindow::initObject()
{
// prepare the part manager
mPartManager = new KParts::PartManager( this );
- connect( mPartManager, TQT_SIGNAL( activePartChanged( KParts::Part* ) ),
- this, TQT_SLOT( slotActivePartChanged( KParts::Part* ) ) );
+ connect( mPartManager, TQ_SIGNAL( activePartChanged( KParts::Part* ) ),
+ this, TQ_SLOT( slotActivePartChanged( KParts::Part* ) ) );
if ( mSidePane ) {
mSidePane->updatePlugins();
}
- KSettings::Dispatcher::self()->registerInstance( instance(), TQT_TQOBJECT(this),
- TQT_SLOT( updateConfig() ) );
+ KSettings::Dispatcher::self()->registerInstance( instance(), this,
+ TQ_SLOT( updateConfig() ) );
loadSettings();
@@ -187,8 +187,8 @@ void MainWindow::initObject()
// done initializing
slotShowStatusMsg( TQString() );
- connect( KPIM::BroadcastStatus::instance(), TQT_SIGNAL( statusMsg( const TQString& ) ),
- this, TQT_SLOT( slotShowStatusMsg( const TQString& ) ) );
+ connect( KPIM::BroadcastStatus::instance(), TQ_SIGNAL( statusMsg( const TQString& ) ),
+ this, TQ_SLOT( slotShowStatusMsg( const TQString& ) ) );
// launch commandline specified module if any
activatePluginModule();
@@ -251,8 +251,8 @@ void MainWindow::initWidgets()
sizes << 0;
mSplitter->setSizes(sizes);
- connect( mSidePane, TQT_SIGNAL( pluginSelected( Kontact::Plugin * ) ),
- TQT_SLOT( selectPlugin( Kontact::Plugin * ) ) );
+ connect( mSidePane, TQ_SIGNAL( pluginSelected( Kontact::Plugin * ) ),
+ TQ_SLOT( selectPlugin( Kontact::Plugin * ) ) );
TQVBox *vBox;
if ( mSplitter ) {
@@ -313,7 +313,7 @@ void MainWindow::initAboutScreen()
mPartsStack->addWidget( introbox );
mPartsStack->raiseWidget( introbox );
mIntroPart = new TDEHTMLPart( introbox );
- mIntroPart->widget()->setFocusPolicy( TQ_WheelFocus );
+ mIntroPart->widget()->setFocusPolicy( TQWidget::WheelFocus );
// Let's better be paranoid and disable plugins (it defaults to enabled):
mIntroPart->setPluginsEnabled( false );
mIntroPart->setJScriptEnabled( false ); // just make this explicit
@@ -323,19 +323,19 @@ void MainWindow::initAboutScreen()
mIntroPart->view()->setLineWidth( 0 );
connect( mIntroPart->browserExtension(),
- TQT_SIGNAL( openURLRequest( const KURL&, const KParts::URLArgs& ) ),
- TQT_SLOT( slotOpenUrl( const KURL& ) ) );
+ TQ_SIGNAL( openURLRequest( const KURL&, const KParts::URLArgs& ) ),
+ TQ_SLOT( slotOpenUrl( const KURL& ) ) );
connect( mIntroPart->browserExtension(),
- TQT_SIGNAL( createNewWindow( const KURL&, const KParts::URLArgs& ) ),
- TQT_SLOT( slotOpenUrl( const KURL& ) ) );
+ TQ_SIGNAL( createNewWindow( const KURL&, const KParts::URLArgs& ) ),
+ TQ_SLOT( slotOpenUrl( const KURL& ) ) );
}
void MainWindow::setupActions()
{
- KStdAction::quit( TQT_TQOBJECT(this), TQT_SLOT( slotQuit() ), actionCollection() );
+ KStdAction::quit( this, TQ_SLOT( slotQuit() ), actionCollection() );
mNewActions = new TDEToolBarPopupAction( KGuiItem( i18n( "New" ), "" ),
- TDEStdAccel::shortcut(TDEStdAccel::New), TQT_TQOBJECT(this), TQT_SLOT( slotNewClicked() ),
+ TDEStdAccel::shortcut(TDEStdAccel::New), this, TQ_SLOT( slotNewClicked() ),
actionCollection(), "action_new" );
TDEConfig* const cfg = Prefs::self()->config();
@@ -343,19 +343,19 @@ void MainWindow::setupActions()
mSyncActionsEnabled = cfg->readBoolEntry( "GroupwareMailFoldersEnabled", true );
if ( mSyncActionsEnabled ) {
- mSyncActions = new TDEToolBarPopupAction( KGuiItem( i18n( "Synchronize" ), "kitchensync" ),
- TDEStdAccel::shortcut(TDEStdAccel::Reload), TQT_TQOBJECT(this), TQT_SLOT( slotSyncClicked() ),
+ mSyncActions = new TDEToolBarPopupAction( KGuiItem( i18n( "Synchronize" ) ),
+ TDEStdAccel::shortcut(TDEStdAccel::Reload), this, TQ_SLOT( slotSyncClicked() ),
actionCollection(), "action_sync" );
}
- new TDEAction( i18n( "Configure Kontact..." ), "configure", 0, TQT_TQOBJECT(this), TQT_SLOT( slotPreferences() ),
+ new TDEAction( i18n( "Configure Kontact..." ), "configure", 0, this, TQ_SLOT( slotPreferences() ),
actionCollection(), "settings_configure_kontact" );
- new TDEAction( i18n( "Configure &Profiles..." ), 0, TQT_TQOBJECT(this), TQT_SLOT( slotConfigureProfiles() ),
+ new TDEAction( i18n( "Configure &Profiles..." ), 0, this, TQ_SLOT( slotConfigureProfiles() ),
actionCollection(), "settings_configure_kontact_profiles" );
- new TDEAction( i18n( "&Kontact Introduction" ), 0, TQT_TQOBJECT(this), TQT_SLOT( slotShowIntroduction() ),
+ new TDEAction( i18n( "&Kontact Introduction" ), 0, this, TQ_SLOT( slotShowIntroduction() ),
actionCollection(), "help_introduction" );
- new TDEAction( i18n( "&Tip of the Day" ), 0, TQT_TQOBJECT(this), TQT_SLOT( slotShowTip() ),
+ new TDEAction( i18n( "&Tip of the Day" ), 0, this, TQ_SLOT( slotShowTip() ),
actionCollection(), "help_tipofday" );
KWidgetAction* spacerAction = new KWidgetAction( new TQWidget( this ), "SpacerAction", "", 0, 0, actionCollection(), "navigator_spacer_item" );
@@ -543,7 +543,7 @@ void MainWindow::loadPlugins()
kdDebug(5600) << "Loading Plugin: " << (*it)->name() << endl;
Kontact::Plugin *plugin =
KParts::ComponentFactory::createInstanceFromService<Kontact::Plugin>(
- (*it)->service(), TQT_TQOBJECT(this) );
+ (*it)->service(), this );
if ( !plugin )
continue;
@@ -763,7 +763,7 @@ void MainWindow::slotSyncClicked()
TDEToolBar* Kontact::MainWindow::findToolBar(const char* name)
{
// like TDEMainWindow::toolBar, but which doesn't create the toolbar if not found
- return static_cast<TDEToolBar *>(TQT_TQWIDGET(child(name, "TDEToolBar")));
+ return static_cast<TDEToolBar *>(child(name, "TDEToolBar"));
}
void MainWindow::slotActionTriggered()
@@ -977,8 +977,8 @@ void MainWindow::slotPreferences()
}
dlg = new SettingsDialogWrapper( KSettings::Dialog::Configurable, this );
dlg->addPluginInfos( filteredPlugins );
- connect( dlg, TQT_SIGNAL( pluginSelectionChanged() ),
- TQT_SLOT( pluginsChanged() ) );
+ connect( dlg, TQ_SIGNAL( pluginSelectionChanged() ),
+ TQ_SLOT( pluginsChanged() ) );
}
dlg->show();
@@ -1053,8 +1053,8 @@ void MainWindow::configureToolbars()
saveMainWindowSettings( TDEGlobal::config(), "MainWindow" );
KEditToolbar edit( factory() );
- connect( &edit, TQT_SIGNAL( newToolbarConfig() ),
- this, TQT_SLOT( slotNewToolbarConfig() ) );
+ connect( &edit, TQ_SIGNAL( newToolbarConfig() ),
+ this, TQ_SLOT( slotNewToolbarConfig() ) );
edit.exec();
}
diff --git a/kontact/src/mainwindow.h b/kontact/src/mainwindow.h
index e5d66378..da7e23ca 100644
--- a/kontact/src/mainwindow.h
+++ b/kontact/src/mainwindow.h
@@ -66,7 +66,7 @@ typedef TQPtrList<TDEAction> ActionPluginList;
class MainWindow : public Kontact::Core, public KDCOPServiceStarter, public KontactIface
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/kontact/src/profiledialog.cpp b/kontact/src/profiledialog.cpp
index e85d90c5..0c9c2a49 100644
--- a/kontact/src/profiledialog.cpp
+++ b/kontact/src/profiledialog.cpp
@@ -53,10 +53,10 @@ Kontact::ProfileDialog::ProfileDialog( TQWidget* parent, WFlags flags ) : KDialo
m_list->setRenameable( NameColumn, true );
m_list->setRenameable( DescriptionColumn, true );
- connect( m_list, TQT_SIGNAL( selectionChanged() ),
- this, TQT_SLOT( listSelectionChanged() ) );
- connect( m_list, TQT_SIGNAL( itemRenamed( TQListViewItem*, const TQString&, int ) ),
- this, TQT_SLOT( listItemRenamed( TQListViewItem*, const TQString&, int ) ) );
+ connect( m_list, TQ_SIGNAL( selectionChanged() ),
+ this, TQ_SLOT( listSelectionChanged() ) );
+ connect( m_list, TQ_SIGNAL( itemRenamed( TQListViewItem*, const TQString&, int ) ),
+ this, TQ_SLOT( listItemRenamed( TQListViewItem*, const TQString&, int ) ) );
horizontalLayout->addWidget( m_list );
TQVBoxLayout* buttonLayout = new TQVBoxLayout( horizontalLayout );
@@ -64,49 +64,49 @@ Kontact::ProfileDialog::ProfileDialog( TQWidget* parent, WFlags flags ) : KDialo
m_newProfileButton = new TQPushButton( mainWidget );
m_newProfileButton->setText( i18n("New Profile") );
- connect( m_newProfileButton, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( addNewProfile() ) );
+ connect( m_newProfileButton, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( addNewProfile() ) );
buttonLayout->addWidget( m_newProfileButton );
m_deleteProfileButton = new TQPushButton( mainWidget );
m_deleteProfileButton->setText( i18n("Delete Profile") );
m_deleteProfileButton->setEnabled( false );
- connect( m_deleteProfileButton, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( deleteSelectedProfile() ) );
+ connect( m_deleteProfileButton, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( deleteSelectedProfile() ) );
buttonLayout->addWidget( m_deleteProfileButton );
m_saveProfileButton = new TQPushButton( mainWidget );
m_saveProfileButton->setText( i18n("Save Profile") );
m_saveProfileButton->setEnabled( false );
- connect( m_saveProfileButton, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( saveToSelectedProfile() ) );
+ connect( m_saveProfileButton, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( saveToSelectedProfile() ) );
buttonLayout->addWidget( m_saveProfileButton );
buttonLayout->addStretch();
m_importProfileButton = new TQPushButton( mainWidget );
m_importProfileButton->setText( i18n("Import Profile") );
- connect( m_importProfileButton, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( importProfile() ) );
+ connect( m_importProfileButton, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( importProfile() ) );
buttonLayout->addWidget( m_importProfileButton );
m_exportProfileButton = new TQPushButton( mainWidget );
m_exportProfileButton->setText( i18n("Export Profile") );
m_exportProfileButton->setEnabled( false );
- connect( m_exportProfileButton, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( exportSelectedProfile() ) );
+ connect( m_exportProfileButton, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( exportSelectedProfile() ) );
buttonLayout->addWidget( m_exportProfileButton );
setMainWidget( mainWidget );
- connect( Kontact::ProfileManager::self(), TQT_SIGNAL( profileAdded( const TQString& ) ),
- this, TQT_SLOT( profileAdded( const TQString& ) ) );
- connect( Kontact::ProfileManager::self(), TQT_SIGNAL( profileRemoved( const TQString& ) ),
- this, TQT_SLOT( profileRemoved( const TQString& ) ) );
- connect( Kontact::ProfileManager::self(), TQT_SIGNAL( profileLoaded( const TQString& ) ),
- this, TQT_SLOT( profileLoaded( const TQString& ) ) );
- connect( Kontact::ProfileManager::self(), TQT_SIGNAL( profileUpdated( const TQString& ) ),
- this, TQT_SLOT( profileUpdated( const TQString& ) ) );
+ connect( Kontact::ProfileManager::self(), TQ_SIGNAL( profileAdded( const TQString& ) ),
+ this, TQ_SLOT( profileAdded( const TQString& ) ) );
+ connect( Kontact::ProfileManager::self(), TQ_SIGNAL( profileRemoved( const TQString& ) ),
+ this, TQ_SLOT( profileRemoved( const TQString& ) ) );
+ connect( Kontact::ProfileManager::self(), TQ_SIGNAL( profileLoaded( const TQString& ) ),
+ this, TQ_SLOT( profileLoaded( const TQString& ) ) );
+ connect( Kontact::ProfileManager::self(), TQ_SIGNAL( profileUpdated( const TQString& ) ),
+ this, TQ_SLOT( profileUpdated( const TQString& ) ) );
const TQValueList<Kontact::Profile> profiles = Kontact::ProfileManager::self()->profiles();
for ( TQValueList<Kontact::Profile>::ConstIterator it = profiles.begin(), end = profiles.end(); it != end; ++it )
diff --git a/kontact/src/profiledialog.h b/kontact/src/profiledialog.h
index 73a44ae5..7661cb5b 100644
--- a/kontact/src/profiledialog.h
+++ b/kontact/src/profiledialog.h
@@ -39,7 +39,7 @@ namespace Kontact {
class ProfileDialog : public KDialogBase
{
-Q_OBJECT
+TQ_OBJECT
public:
diff --git a/kontact/src/profilemanager.h b/kontact/src/profilemanager.h
index b72511f5..bd05d49d 100644
--- a/kontact/src/profilemanager.h
+++ b/kontact/src/profilemanager.h
@@ -88,7 +88,7 @@ private:
class ProfileManager : public TQObject
{
-Q_OBJECT
+TQ_OBJECT
public:
enum ImportError {
diff --git a/kontact/src/sidepanebase.h b/kontact/src/sidepanebase.h
index c8e83442..5a92a0a1 100644
--- a/kontact/src/sidepanebase.h
+++ b/kontact/src/sidepanebase.h
@@ -33,7 +33,7 @@ class Plugin;
class SidePaneBase : public TQVBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
SidePaneBase( Core *core, TQWidget *parent, const char *name = 0 );