diff options
Diffstat (limited to 'kopete/kopete/chatwindow/kopeteemailwindow.cpp')
-rw-r--r-- | kopete/kopete/chatwindow/kopeteemailwindow.cpp | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/kopete/kopete/chatwindow/kopeteemailwindow.cpp b/kopete/kopete/chatwindow/kopeteemailwindow.cpp index 4f0b24ea..0fda236e 100644 --- a/kopete/kopete/chatwindow/kopeteemailwindow.cpp +++ b/kopete/kopete/chatwindow/kopeteemailwindow.cpp @@ -129,22 +129,22 @@ KopeteEmailWindow::KopeteEmailWindow( Kopete::ChatSession *manager, EmailWindowP doc.documentElement().removeChild( doc.documentElement().childNodes().item(1) ); //Remove MainToolbar doc.documentElement().removeChild( doc.documentElement().lastChild() ); // Remove Edit popup */ - connect( d->editPart, TQT_SIGNAL( messageSent( Kopete::Message & ) ), - this, TQT_SIGNAL( messageSent( Kopete::Message & ) ) ); - connect( d->editPart, TQT_SIGNAL( canSendChanged( bool ) ), - this, TQT_SLOT( slotUpdateReplySend() ) ); - connect( d->editPart, TQT_SIGNAL( typing(bool) ), - manager, TQT_SIGNAL( typing(bool) ) ); + connect( d->editPart, TQ_SIGNAL( messageSent( Kopete::Message & ) ), + this, TQ_SIGNAL( messageSent( Kopete::Message & ) ) ); + connect( d->editPart, TQ_SIGNAL( canSendChanged( bool ) ), + this, TQ_SLOT( slotUpdateReplySend() ) ); + connect( d->editPart, TQ_SIGNAL( typing(bool) ), + manager, TQ_SIGNAL( typing(bool) ) ); //Connections to the manager and the ViewManager that every view should have - connect( this, TQT_SIGNAL( closing( KopeteView * ) ), - KopeteViewManager::viewManager(), TQT_SLOT( slotViewDestroyed( KopeteView * ) ) ); - connect( this, TQT_SIGNAL( activated( KopeteView * ) ), - KopeteViewManager::viewManager(), TQT_SLOT( slotViewActivated( KopeteView * ) ) ); - connect( this, TQT_SIGNAL( messageSent(Kopete::Message &) ), - manager, TQT_SLOT( sendMessage(Kopete::Message &) ) ); - connect( manager, TQT_SIGNAL( messageSuccess() ), - this, TQT_SLOT( messageSentSuccessfully() )); + connect( this, TQ_SIGNAL( closing( KopeteView * ) ), + KopeteViewManager::viewManager(), TQ_SLOT( slotViewDestroyed( KopeteView * ) ) ); + connect( this, TQ_SIGNAL( activated( KopeteView * ) ), + KopeteViewManager::viewManager(), TQ_SLOT( slotViewActivated( KopeteView * ) ) ); + connect( this, TQ_SIGNAL( messageSent(Kopete::Message &) ), + manager, TQ_SLOT( sendMessage(Kopete::Message &) ) ); + connect( manager, TQ_SIGNAL( messageSuccess() ), + this, TQ_SLOT( messageSentSuccessfully() )); TQWidget *containerWidget = new TQWidget( v ); containerWidget->setSizePolicy( TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Minimum) ); @@ -153,16 +153,16 @@ KopeteEmailWindow::KopeteEmailWindow( Kopete::ChatSession *manager, EmailWindowP h->addStretch(); d->btnReadPrev = new KPushButton( i18n( "<< Prev" ), containerWidget ); - connect( d->btnReadPrev, TQT_SIGNAL( pressed() ), this, TQT_SLOT( slotReadPrev() ) ); + connect( d->btnReadPrev, TQ_SIGNAL( pressed() ), this, TQ_SLOT( slotReadPrev() ) ); h->addWidget( d->btnReadPrev, 0, TQt::AlignRight | TQt::AlignVCenter ); d->btnReadPrev->setEnabled( false ); d->btnReadNext = new KPushButton( i18n( "(0) Next >>" ), containerWidget ); - connect( d->btnReadNext, TQT_SIGNAL( pressed() ), this, TQT_SLOT( slotReadNext() ) ); + connect( d->btnReadNext, TQ_SIGNAL( pressed() ), this, TQ_SLOT( slotReadNext() ) ); h->addWidget( d->btnReadNext, 0, TQt::AlignRight | TQt::AlignVCenter ); d->btnReplySend = new KPushButton( containerWidget ); - connect( d->btnReplySend, TQT_SIGNAL( pressed() ), this, TQT_SLOT( slotReplySend() ) ); + connect( d->btnReplySend, TQ_SIGNAL( pressed() ), this, TQ_SLOT( slotReplySend() ) ); h->addWidget( d->btnReplySend, 0, TQt::AlignRight | TQt::AlignVCenter ); initActions(); @@ -207,33 +207,33 @@ void KopeteEmailWindow::initActions(void) TDEActionCollection *coll = actionCollection(); d->chatSend = new TDEAction( i18n( "&Send Message" ), TQString::fromLatin1( "mail-send" ), 0, - this, TQT_SLOT( slotReplySend() ), coll, "chat_send" ); + this, TQ_SLOT( slotReplySend() ), coll, "chat_send" ); //Default to 'Return' for sending messages d->chatSend->setShortcut( TQKeySequence( Key_Return ) ); - KStdAction::quit ( this, TQT_SLOT( slotCloseView() ), coll ); + KStdAction::quit ( this, TQ_SLOT( slotCloseView() ), coll ); - KStdAction::cut( d->editPart->widget(), TQT_SLOT( cut() ), coll ); - KStdAction::copy( this, TQT_SLOT(slotCopy()), coll); - KStdAction::paste( d->editPart->widget(), TQT_SLOT( paste() ), coll ); + KStdAction::cut( d->editPart->widget(), TQ_SLOT( cut() ), coll ); + KStdAction::copy( this, TQ_SLOT(slotCopy()), coll); + KStdAction::paste( d->editPart->widget(), TQ_SLOT( paste() ), coll ); new TDEAction( i18n( "&Set Font..." ), TQString::fromLatin1( "charset" ), 0, - d->editPart, TQT_SLOT( setFont() ), coll, "format_font" ); + d->editPart, TQ_SLOT( setFont() ), coll, "format_font" ); new TDEAction( i18n( "Set Text &Color..." ), TQString::fromLatin1( "pencil" ), 0, - d->editPart, TQT_SLOT( setFgColor() ), coll, "format_color" ); + d->editPart, TQ_SLOT( setFgColor() ), coll, "format_color" ); new TDEAction( i18n( "Set &Background Color..." ), TQString::fromLatin1( "fill" ), 0, - d->editPart, TQT_SLOT( setBgColor() ), coll, "format_bgcolor" ); + d->editPart, TQ_SLOT( setBgColor() ), coll, "format_bgcolor" ); - KStdAction::showMenubar( this, TQT_SLOT( slotViewMenuBar() ), coll ); + KStdAction::showMenubar( this, TQ_SLOT( slotViewMenuBar() ), coll ); setStandardToolBarMenuEnabled( true ); d->actionSmileyMenu = new KopeteEmoticonAction( coll, "format_smiley" ); d->actionSmileyMenu->setDelayed( false ); - connect(d->actionSmileyMenu, TQT_SIGNAL(activated(const TQString &)), this, TQT_SLOT(slotSmileyActivated(const TQString &))); + connect(d->actionSmileyMenu, TQ_SIGNAL(activated(const TQString &)), this, TQ_SLOT(slotSmileyActivated(const TQString &))); // add configure key bindings menu item - KStdAction::keyBindings( guiFactory(), TQT_SLOT( configureShortcuts() ), coll ); - KStdAction::configureToolbars(this, TQT_SLOT( slotConfToolbar() ), coll); + KStdAction::keyBindings( guiFactory(), TQ_SLOT( configureShortcuts() ), coll ); + KStdAction::configureToolbars(this, TQ_SLOT( slotConfToolbar() ), coll); //FIXME: no longer works? KopeteStdAction::preferences( coll , "settings_prefs" ); @@ -319,7 +319,7 @@ void KopeteEmailWindow::appendMessage(Kopete::Message &message) d->unreadMessageFrom = message.from()->metaContact() ? message.from()->metaContact()->displayName() : message.from()->contactId(); - TQTimer::singleShot( 1000, this, TQT_SLOT(slotMarkMessageRead()) ); + TQTimer::singleShot( 1000, this, TQ_SLOT(slotMarkMessageRead()) ); } } |