summaryrefslogtreecommitdiffstats
path: root/knode
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-14 12:33:20 +0900
committerMichele Calgaro <[email protected]>2024-01-14 12:43:48 +0900
commit3b3f9ec8f31978030c17309fae48335bea5c1587 (patch)
tree0b493383a1501860371aacd792ec6fc08d595824 /knode
parent99e6e1d1f43610c3573e9824a2a8a38f69930cd0 (diff)
downloadtdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.tar.gz
tdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'knode')
-rw-r--r--knode/articlewidget.cpp68
-rw-r--r--knode/headerview.cpp16
-rw-r--r--knode/knaccountmanager.cpp2
-rw-r--r--knode/knarticlefactory.cpp18
-rw-r--r--knode/knarticlemanager.cpp16
-rw-r--r--knode/knarticlewindow.cpp4
-rw-r--r--knode/kncollectionview.cpp22
-rw-r--r--knode/kncomposer.cpp180
-rw-r--r--knode/knconfig.cpp4
-rw-r--r--knode/knconfigmanager.cpp4
-rw-r--r--knode/knconfigpages.cpp2
-rw-r--r--knode/knconfigwidgets.cpp252
-rw-r--r--knode/knconvert.cpp10
-rw-r--r--knode/knfilterdialog.cpp2
-rw-r--r--knode/knfiltermanager.cpp6
-rw-r--r--knode/kngroupbrowser.cpp24
-rw-r--r--knode/kngroupdialog.cpp26
-rw-r--r--knode/kngroupmanager.cpp8
-rw-r--r--knode/kngrouppropdlg.cpp2
-rw-r--r--knode/kngroupselectdialog.cpp16
-rw-r--r--knode/knjobdata.cpp8
-rw-r--r--knode/knmainwidget.cpp232
-rw-r--r--knode/knnetaccess.cpp12
-rw-r--r--knode/knnntpaccount.cpp2
-rw-r--r--knode/knode.cpp16
-rw-r--r--knode/knrangefilter.cpp6
-rw-r--r--knode/knsearchdialog.cpp6
-rw-r--r--knode/knsourceviewwindow.cpp2
-rw-r--r--knode/knstatusfilter.cpp2
-rw-r--r--knode/knwidgets.cpp2
30 files changed, 485 insertions, 485 deletions
diff --git a/knode/articlewidget.cpp b/knode/articlewidget.cpp
index bd148cdd3..faf4b4e8b 100644
--- a/knode/articlewidget.cpp
+++ b/knode/articlewidget.cpp
@@ -105,13 +105,13 @@ ArticleWidget::ArticleWidget( TQWidget *parent,
mViewer->setMetaRefreshEnabled( false );
mViewer->setOnlyLocalReferences( true );
mViewer->view()->setFocusPolicy( TQWidget::WheelFocus );
- connect( mViewer->browserExtension(), TQT_SIGNAL(openURLRequestDelayed(const KURL&, const KParts::URLArgs&)),
- TQT_SLOT(slotURLClicked(const KURL&)) );
- connect( mViewer, TQT_SIGNAL(popupMenu(const TQString&, const TQPoint&)),
- TQT_SLOT(slotURLPopup(const TQString&, const TQPoint&)) );
+ connect( mViewer->browserExtension(), TQ_SIGNAL(openURLRequestDelayed(const KURL&, const KParts::URLArgs&)),
+ TQ_SLOT(slotURLClicked(const KURL&)) );
+ connect( mViewer, TQ_SIGNAL(popupMenu(const TQString&, const TQPoint&)),
+ TQ_SLOT(slotURLPopup(const TQString&, const TQPoint&)) );
mTimer = new TQTimer( this );
- connect( mTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotTimeout()) );
+ connect( mTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotTimeout()) );
initActions();
readConfig();
@@ -134,58 +134,58 @@ ArticleWidget::~ArticleWidget()
void ArticleWidget::initActions()
{
- mSaveAction = KStdAction::save( this, TQT_SLOT(slotSave()), mActionCollection );
+ mSaveAction = KStdAction::save( this, TQ_SLOT(slotSave()), mActionCollection );
mSaveAction->setText( KStdGuiItem::saveAs().text() );
- mPrintAction = KStdAction::print( this, TQT_SLOT(slotPrint()), mActionCollection );
- mCopySelectionAction = KStdAction::copy( this, TQT_SLOT(slotCopySelection()), mActionCollection );
- mSelectAllAction = KStdAction::selectAll( this, TQT_SLOT(slotSelectAll()), mActionCollection );
- mFindAction = KStdAction::find( this, TQT_SLOT(slotFind()), mActionCollection, "find_in_article" );
+ mPrintAction = KStdAction::print( this, TQ_SLOT(slotPrint()), mActionCollection );
+ mCopySelectionAction = KStdAction::copy( this, TQ_SLOT(slotCopySelection()), mActionCollection );
+ mSelectAllAction = KStdAction::selectAll( this, TQ_SLOT(slotSelectAll()), mActionCollection );
+ mFindAction = KStdAction::find( this, TQ_SLOT(slotFind()), mActionCollection, "find_in_article" );
mFindAction->setText( i18n("F&ind in Article...") );
mViewSourceAction = new TDEAction( i18n("&View Source"), Key_V , this,
- TQT_SLOT(slotViewSource()), mActionCollection, "article_viewSource" );
+ TQ_SLOT(slotViewSource()), mActionCollection, "article_viewSource" );
mReplyAction = new TDEAction( i18n("&Followup to Newsgroup..."), "message_reply",
- Key_R, this, TQT_SLOT(slotReply()), mActionCollection, "article_postReply" );
+ Key_R, this, TQ_SLOT(slotReply()), mActionCollection, "article_postReply" );
mRemailAction = new TDEAction( i18n("Reply by E&mail..."), "mail-reply-sender",
- Key_A, this, TQT_SLOT(slotRemail()), mActionCollection, "article_mailReply" );
+ Key_A, this, TQ_SLOT(slotRemail()), mActionCollection, "article_mailReply" );
mForwardAction = new TDEAction( i18n("Forw&ard by Email..."), "mail-forward",
- Key_F, this, TQT_SLOT(slotForward()), mActionCollection, "article_forward" );
+ Key_F, this, TQ_SLOT(slotForward()), mActionCollection, "article_forward" );
mCancelAction = new TDEAction( i18n("article","&Cancel Article"),
- 0, this, TQT_SLOT(slotCancel()), mActionCollection, "article_cancel" );
+ 0, this, TQ_SLOT(slotCancel()), mActionCollection, "article_cancel" );
mSupersedeAction = new TDEAction(i18n("S&upersede Article"),
- 0, this, TQT_SLOT(slotSupersede()), mActionCollection, "article_supersede" );
+ 0, this, TQ_SLOT(slotSupersede()), mActionCollection, "article_supersede" );
mFixedFontToggle = new TDEToggleAction( i18n("U&se Fixed Font"),
- Key_X ,this, TQT_SLOT(slotToggleFixedFont()), mActionCollection, "view_useFixedFont" );
+ Key_X ,this, TQ_SLOT(slotToggleFixedFont()), mActionCollection, "view_useFixedFont" );
mFancyToggle = new TDEToggleAction( i18n("Fancy Formating"),
- Key_Y, this, TQT_SLOT(slotToggleFancyFormating()), mActionCollection, "view_fancyFormating" );
+ Key_Y, this, TQ_SLOT(slotToggleFancyFormating()), mActionCollection, "view_fancyFormating" );
mRot13Toggle = new TDEToggleAction( i18n("&Unscramble (Rot 13)"), "decrypted", 0 , this,
- TQT_SLOT(slotToggleRot13()), mActionCollection, "view_rot13" );
+ TQ_SLOT(slotToggleRot13()), mActionCollection, "view_rot13" );
mRot13Toggle->setChecked( false );
TDERadioAction *ra;
mHeaderStyleMenu = new TDEActionMenu( i18n("&Headers"), mActionCollection, "view_headers" );
- ra = new TDERadioAction( i18n("&Fancy Headers"), 0, this, TQT_SLOT(slotFancyHeaders()),
+ ra = new TDERadioAction( i18n("&Fancy Headers"), 0, this, TQ_SLOT(slotFancyHeaders()),
mActionCollection, "view_headers_fancy" );
ra->setExclusiveGroup( "view_headers" );
mHeaderStyleMenu->insert( ra );
- ra = new TDERadioAction( i18n("&Standard Headers"), 0, this, TQT_SLOT(slotStandardHeaders()),
+ ra = new TDERadioAction( i18n("&Standard Headers"), 0, this, TQ_SLOT(slotStandardHeaders()),
mActionCollection, "view_headers_standard" );
ra->setExclusiveGroup( "view_headers" );
mHeaderStyleMenu->insert( ra );
- ra = new TDERadioAction( i18n("&All Headers"), 0, this, TQT_SLOT(slotAllHeaders()),
+ ra = new TDERadioAction( i18n("&All Headers"), 0, this, TQ_SLOT(slotAllHeaders()),
mActionCollection, "view_headers_all" );
ra->setExclusiveGroup( "view_headers" );
mHeaderStyleMenu->insert( ra );
mAttachmentStyleMenu = new TDEActionMenu( i18n("&Attachments"), mActionCollection, "view_attachments" );
- ra = new TDERadioAction( i18n("&As Icon"), 0, this, TQT_SLOT(slotIconAttachments()),
+ ra = new TDERadioAction( i18n("&As Icon"), 0, this, TQ_SLOT(slotIconAttachments()),
mActionCollection, "view_attachments_icon" );
ra->setExclusiveGroup( "view_attachments" );
mAttachmentStyleMenu->insert( ra );
- ra = new TDERadioAction( i18n("&Inline"), 0, this, TQT_SLOT(slotInlineAttachments()),
+ ra = new TDERadioAction( i18n("&Inline"), 0, this, TQ_SLOT(slotInlineAttachments()),
mActionCollection, "view_attachments_inline" );
ra->setExclusiveGroup( "view_attachments" );
mAttachmentStyleMenu->insert( ra );
- ra = new TDERadioAction( i18n("&Hide"), 0, this, TQT_SLOT(slotHideAttachments()),
+ ra = new TDERadioAction( i18n("&Hide"), 0, this, TQ_SLOT(slotHideAttachments()),
mActionCollection, "view_attachments_hide" );
ra->setExclusiveGroup( "view_attachments" );
mAttachmentStyleMenu->insert( ra );
@@ -196,23 +196,23 @@ void ArticleWidget::initActions()
cs.prepend( i18n("Automatic") );
mCharsetSelect->setItems( cs );
mCharsetSelect->setCurrentItem( 0 );
- connect( mCharsetSelect, TQT_SIGNAL(activated(const TQString&)),TQT_SLOT(slotSetCharset(const TQString&)) );
+ connect( mCharsetSelect, TQ_SIGNAL(activated(const TQString&)),TQ_SLOT(slotSetCharset(const TQString&)) );
mCharsetSelectKeyb = new TDEAction( i18n("Charset"), Key_C, this,
- TQT_SLOT(slotSetCharsetKeyboard()), mActionCollection, "set_charset_keyboard" );
+ TQ_SLOT(slotSetCharsetKeyboard()), mActionCollection, "set_charset_keyboard" );
- new TDEAction( i18n("&Open URL"), "document-open", 0, this, TQT_SLOT(slotOpenURL()),
+ new TDEAction( i18n("&Open URL"), "document-open", 0, this, TQ_SLOT(slotOpenURL()),
mActionCollection, "open_url" );
- new TDEAction( i18n("&Copy Link Address"), "edit-copy", 0, this, TQT_SLOT( slotCopyURL()),
+ new TDEAction( i18n("&Copy Link Address"), "edit-copy", 0, this, TQ_SLOT( slotCopyURL()),
mActionCollection, "copy_url" );
- new TDEAction( i18n("&Bookmark This Link"), "bookmark_add", 0, this, TQT_SLOT(slotAddBookmark()),
+ new TDEAction( i18n("&Bookmark This Link"), "bookmark_add", 0, this, TQ_SLOT(slotAddBookmark()),
mActionCollection, "add_bookmark" );
- new TDEAction( i18n("&Add to Address Book"), 0, this, TQT_SLOT(slotAddToAddressBook()),
+ new TDEAction( i18n("&Add to Address Book"), 0, this, TQ_SLOT(slotAddToAddressBook()),
mActionCollection, "add_addr_book" );
- new TDEAction( i18n("&Open in Address Book"), 0, this, TQT_SLOT(slotOpenInAddressBook()),
+ new TDEAction( i18n("&Open in Address Book"), 0, this, TQ_SLOT(slotOpenInAddressBook()),
mActionCollection, "openin_addr_book" );
- new TDEAction( i18n("&Open Attachment"), "document-open", 0, this, TQT_SLOT(slotOpenAttachment()),
+ new TDEAction( i18n("&Open Attachment"), "document-open", 0, this, TQ_SLOT(slotOpenAttachment()),
mActionCollection, "open_attachment" );
- new TDEAction( i18n("&Save Attachment As..."), "document-save-as", 0, this, TQT_SLOT(slotSaveAttachment()),
+ new TDEAction( i18n("&Save Attachment As..."), "document-save-as", 0, this, TQ_SLOT(slotSaveAttachment()),
mActionCollection, "save_attachment" );
}
diff --git a/knode/headerview.cpp b/knode/headerview.cpp
index d30cc5a31..cae8da28b 100644
--- a/knode/headerview.cpp
+++ b/knode/headerview.cpp
@@ -65,9 +65,9 @@ KNHeaderView::KNHeaderView(TQWidget *parent, const char *name) :
setColumnAlignment( mPaintInfo.scoreCol, TQt::AlignRight );
// due to our own column text squeezing we need to repaint on column resizing
- disconnect( header(), TQT_SIGNAL(sizeChange(int, int, int)) );
- connect( header(), TQT_SIGNAL(sizeChange(int, int, int)),
- TQT_SLOT(slotSizeChanged(int, int, int)) );
+ disconnect( header(), TQ_SIGNAL(sizeChange(int, int, int)) );
+ connect( header(), TQ_SIGNAL(sizeChange(int, int, int)),
+ TQ_SLOT(slotSizeChanged(int, int, int)) );
// column selection RMB menu
mPopup = new TDEPopupMenu( this );
@@ -76,11 +76,11 @@ KNHeaderView::KNHeaderView(TQWidget *parent, const char *name) :
mPopup->insertItem( i18n("Line Count"), KPaintInfo::COL_SIZE );
mPopup->insertItem( i18n("Score"), KPaintInfo::COL_SCORE );
- connect( mPopup, TQT_SIGNAL(activated(int)), this, TQT_SLOT(toggleColumn(int)) );
+ connect( mPopup, TQ_SIGNAL(activated(int)), this, TQ_SLOT(toggleColumn(int)) );
// connect to the article manager
- connect( knGlobals.articleManager(), TQT_SIGNAL(aboutToShowGroup()), TQT_SLOT(prepareForGroup()) );
- connect( knGlobals.articleManager(), TQT_SIGNAL(aboutToShowFolder()), TQT_SLOT(prepareForFolder()) );
+ connect( knGlobals.articleManager(), TQ_SIGNAL(aboutToShowGroup()), TQ_SLOT(prepareForGroup()) );
+ connect( knGlobals.articleManager(), TQ_SIGNAL(aboutToShowFolder()), TQ_SLOT(prepareForFolder()) );
new KNHeaderViewToolTip( this );
@@ -188,7 +188,7 @@ void KNHeaderView::ensureItemVisibleWithMargin( const TQListViewItem *i )
{
ensureVisible( contentsX(), y + h/2, 0, h/2 );
mDelayedCenter = y + h/2;
- TQTimer::singleShot( 300, this, TQT_SLOT(slotCenterDelayed()) );
+ TQTimer::singleShot( 300, this, TQ_SLOT(slotCenterDelayed()) );
} else {
ensureVisible( contentsX(), y + h/2, 0, h/2 );
}
@@ -576,7 +576,7 @@ void KNHeaderView::focusOutEvent(TQFocusEvent *e)
void KNHeaderView::resetCurrentTime()
{
mDateFormatter.reset();
- TQTimer::singleShot( 1000, this, TQT_SLOT(resetCurrentTime()) );
+ TQTimer::singleShot( 1000, this, TQ_SLOT(resetCurrentTime()) );
}
diff --git a/knode/knaccountmanager.cpp b/knode/knaccountmanager.cpp
index 77b97288e..45c219365 100644
--- a/knode/knaccountmanager.cpp
+++ b/knode/knaccountmanager.cpp
@@ -228,7 +228,7 @@ void KNAccountManager::loadPasswordsAsync()
else
mWallet = Wallet::openWallet( Wallet::NetworkWallet(), 0, Wallet::Asynchronous );
if ( mWallet ) {
- connect( mWallet, TQT_SIGNAL(walletOpened(bool)), TQT_SLOT(slotWalletOpened(bool)) );
+ connect( mWallet, TQ_SIGNAL(walletOpened(bool)), TQ_SLOT(slotWalletOpened(bool)) );
mAsyncOpening = true;
}
else {
diff --git a/knode/knarticlefactory.cpp b/knode/knarticlefactory.cpp
index 78d391495..c01e58f8e 100644
--- a/knode/knarticlefactory.cpp
+++ b/knode/knarticlefactory.cpp
@@ -65,7 +65,7 @@ void KNArticleFactory::createPosting(KNNntpAccount *a)
KNComposer *c = new KNComposer( art, TQString(), sig, TQString(), true );
mCompList.append( c );
- connect(c, TQT_SIGNAL(composerDone(KNComposer*)), this, TQT_SLOT(slotComposerDone(KNComposer*)));
+ connect(c, TQ_SIGNAL(composerDone(KNComposer*)), this, TQ_SLOT(slotComposerDone(KNComposer*)));
c->show();
}
@@ -94,7 +94,7 @@ void KNArticleFactory::createPosting(KNGroup *g)
KNComposer *c=new KNComposer(art, TQString(), sig, TQString(), true);
mCompList.append( c );
- connect(c, TQT_SIGNAL(composerDone(KNComposer*)), this, TQT_SLOT(slotComposerDone(KNComposer*)));
+ connect(c, TQ_SIGNAL(composerDone(KNComposer*)), this, TQ_SLOT(slotComposerDone(KNComposer*)));
c->show();
}
@@ -264,7 +264,7 @@ void KNArticleFactory::createReply(KNRemoteArticle *a, TQString selectedText, bo
//open composer
KNComposer *c=new KNComposer(art, quoted, sig, notRewraped, true, authorDislikesMailCopies, authorWantsMailCopies);
mCompList.append( c );
- connect(c, TQT_SIGNAL(composerDone(KNComposer*)), this, TQT_SLOT(slotComposerDone(KNComposer*)));
+ connect(c, TQ_SIGNAL(composerDone(KNComposer*)), this, TQ_SLOT(slotComposerDone(KNComposer*)));
c->show();
}
@@ -349,7 +349,7 @@ void KNArticleFactory::createForward(KNArticle *a)
//open composer
KNComposer *c=new KNComposer(art, fwd, sig, TQString(), true);
mCompList.append( c );
- connect(c, TQT_SIGNAL(composerDone(KNComposer*)), this, TQT_SLOT(slotComposerDone(KNComposer*)));
+ connect(c, TQ_SIGNAL(composerDone(KNComposer*)), this, TQ_SLOT(slotComposerDone(KNComposer*)));
c->show();
}
@@ -500,7 +500,7 @@ void KNArticleFactory::createSupersede(KNArticle *a)
//open composer
KNComposer *c=new KNComposer(art, text, sig);
mCompList.append( c );
- connect(c, TQT_SIGNAL(composerDone(KNComposer*)), this, TQT_SLOT(slotComposerDone(KNComposer*)));
+ connect(c, TQ_SIGNAL(composerDone(KNComposer*)), this, TQ_SLOT(slotComposerDone(KNComposer*)));
c->show();
}
@@ -525,7 +525,7 @@ void KNArticleFactory::createMail(KMime::Headers::AddressField *address)
//open composer
KNComposer *c=new KNComposer(art, TQString(), sig, TQString(), true);
mCompList.append( c );
- connect(c, TQT_SIGNAL(composerDone(KNComposer*)), this, TQT_SLOT(slotComposerDone(KNComposer*)));
+ connect(c, TQ_SIGNAL(composerDone(KNComposer*)), this, TQ_SLOT(slotComposerDone(KNComposer*)));
c->show();
}
@@ -604,7 +604,7 @@ void KNArticleFactory::edit(KNLocalArticle *a)
.arg(id->getSigGeneratorStdErr()));
mCompList.append( com );
- connect(com, TQT_SIGNAL(composerDone(KNComposer*)), this, TQT_SLOT(slotComposerDone(KNComposer*)));
+ connect(com, TQ_SIGNAL(composerDone(KNComposer*)), this, TQ_SLOT(slotComposerDone(KNComposer*)));
com->show();
}
@@ -990,7 +990,7 @@ void KNArticleFactory::showSendErrorDialog()
{
if(!s_endErrDlg) {
s_endErrDlg=new KNSendErrorDialog();
- connect(s_endErrDlg, TQT_SIGNAL(closeClicked()), this, TQT_SLOT(slotSendErrorDialogDone()));
+ connect(s_endErrDlg, TQ_SIGNAL(closeClicked()), this, TQ_SLOT(slotSendErrorDialogDone()));
}
s_endErrDlg->show();
}
@@ -1075,7 +1075,7 @@ KNSendErrorDialog::KNSendErrorDialog()
j_obs=new KNDialogListBox(true, page);
e_rror=new TQLabel(TQString(), page);
- connect(j_obs, TQT_SIGNAL(highlighted(int)), this, TQT_SLOT(slotHighlighted(int)));
+ connect(j_obs, TQ_SIGNAL(highlighted(int)), this, TQ_SLOT(slotHighlighted(int)));
KNHelper::restoreWindowSize("sendDlg", this, TQSize(320,250));
}
diff --git a/knode/knarticlemanager.cpp b/knode/knarticlemanager.cpp
index 86c58cc61..332690c2e 100644
--- a/knode/knarticlemanager.cpp
+++ b/knode/knarticlemanager.cpp
@@ -53,8 +53,8 @@ KNArticleManager::KNArticleManager() : TQObject(0,0)
s_earchDlg=0;
d_isableExpander=false;
- connect(f_ilterMgr, TQT_SIGNAL(filterChanged(KNArticleFilter*)), this,
- TQT_SLOT(slotFilterChanged(KNArticleFilter*)));
+ connect(f_ilterMgr, TQ_SIGNAL(filterChanged(KNArticleFilter*)), this,
+ TQ_SLOT(slotFilterChanged(KNArticleFilter*)));
}
@@ -390,10 +390,10 @@ void KNArticleManager::search()
KWin::activateWindow(s_earchDlg->winId());
} else {
s_earchDlg=new KNSearchDialog(KNSearchDialog::STgroupSearch, 0);
- connect(s_earchDlg, TQT_SIGNAL(doSearch(KNArticleFilter*)), this,
- TQT_SLOT(slotFilterChanged(KNArticleFilter*)));
- connect(s_earchDlg, TQT_SIGNAL(dialogDone()), this,
- TQT_SLOT(slotSearchDialogDone()));
+ connect(s_earchDlg, TQ_SIGNAL(doSearch(KNArticleFilter*)), this,
+ TQ_SLOT(slotFilterChanged(KNArticleFilter*)));
+ connect(s_earchDlg, TQ_SIGNAL(dialogDone()), this,
+ TQ_SLOT(slotSearchDialogDone()));
s_earchDlg->show();
}
}
@@ -1081,8 +1081,8 @@ void KNArticleManager::slotItemExpanded(TQListViewItem *p)
void KNArticleManager::setView(KNHeaderView* v) {
v_iew = v;
if(v) {
- connect(v, TQT_SIGNAL(expanded(TQListViewItem*)), this,
- TQT_SLOT(slotItemExpanded(TQListViewItem*)));
+ connect(v, TQ_SIGNAL(expanded(TQListViewItem*)), this,
+ TQ_SLOT(slotItemExpanded(TQListViewItem*)));
}
}
diff --git a/knode/knarticlewindow.cpp b/knode/knarticlewindow.cpp
index 8fb30e5c3..4a4235e82 100644
--- a/knode/knarticlewindow.cpp
+++ b/knode/knarticlewindow.cpp
@@ -100,10 +100,10 @@ KNArticleWindow::KNArticleWindow(KNArticle *art)
mInstances.append( this );
// file menu
- KStdAction::close( this, TQT_SLOT(close()), actionCollection() );
+ KStdAction::close( this, TQ_SLOT(close()), actionCollection() );
// settings menu
- KStdAction::preferences(knGlobals.top, TQT_SLOT(slotSettings()), actionCollection());
+ KStdAction::preferences(knGlobals.top, TQ_SLOT(slotSettings()), actionCollection());
TDEAccel *accel = new TDEAccel( this );
artW->setCharsetKeyboardAction()->plugAccel( accel );
diff --git a/knode/kncollectionview.cpp b/knode/kncollectionview.cpp
index ad952552b..e7f9aa877 100644
--- a/knode/kncollectionview.cpp
+++ b/knode/kncollectionview.cpp
@@ -49,8 +49,8 @@ KNCollectionView::KNCollectionView(TQWidget *parent, const char* name) :
mPopup = new TDEPopupMenu( this );
mPopup->insertTitle( i18n("View Columns") );
mPopup->setCheckable( true );
- mUnreadPop = mPopup->insertItem( i18n("Unread Column"), this, TQT_SLOT(toggleUnreadColumn()) );
- mTotalPop = mPopup->insertItem( i18n("Total Column"), this, TQT_SLOT(toggleTotalColumn()) );
+ mUnreadPop = mPopup->insertItem( i18n("Unread Column"), this, TQ_SLOT(toggleUnreadColumn()) );
+ mTotalPop = mPopup->insertItem( i18n("Total Column"), this, TQ_SLOT(toggleTotalColumn()) );
// add unread and total columns if necessary
readConfig();
@@ -61,21 +61,21 @@ KNCollectionView::KNCollectionView(TQWidget *parent, const char* name) :
// connect to the account manager
KNAccountManager* am = knGlobals.accountManager();
- connect(am, TQT_SIGNAL(accountAdded(KNNntpAccount*)), TQT_SLOT(addAccount(KNNntpAccount*)));
- connect(am, TQT_SIGNAL(accountRemoved(KNNntpAccount*)), TQT_SLOT(removeAccount(KNNntpAccount*)));
- connect(am, TQT_SIGNAL(accountModified(KNNntpAccount*)), TQT_SLOT(updateAccount(KNNntpAccount*)));
+ connect(am, TQ_SIGNAL(accountAdded(KNNntpAccount*)), TQ_SLOT(addAccount(KNNntpAccount*)));
+ connect(am, TQ_SIGNAL(accountRemoved(KNNntpAccount*)), TQ_SLOT(removeAccount(KNNntpAccount*)));
+ connect(am, TQ_SIGNAL(accountModified(KNNntpAccount*)), TQ_SLOT(updateAccount(KNNntpAccount*)));
// connect to the group manager
KNGroupManager* gm = knGlobals.groupManager();
- connect(gm, TQT_SIGNAL(groupAdded(KNGroup*)), TQT_SLOT(addGroup(KNGroup*)));
- connect(gm, TQT_SIGNAL(groupRemoved(KNGroup*)), TQT_SLOT(removeGroup(KNGroup*)));
- connect(gm, TQT_SIGNAL(groupUpdated(KNGroup*)), TQT_SLOT(updateGroup(KNGroup*)));
+ connect(gm, TQ_SIGNAL(groupAdded(KNGroup*)), TQ_SLOT(addGroup(KNGroup*)));
+ connect(gm, TQ_SIGNAL(groupRemoved(KNGroup*)), TQ_SLOT(removeGroup(KNGroup*)));
+ connect(gm, TQ_SIGNAL(groupUpdated(KNGroup*)), TQ_SLOT(updateGroup(KNGroup*)));
// connect to the folder manager
KNFolderManager* fm = knGlobals.folderManager();
- connect(fm, TQT_SIGNAL(folderAdded(KNFolder*)), TQT_SLOT(addPendingFolders()));
- connect(fm, TQT_SIGNAL(folderRemoved(KNFolder*)), TQT_SLOT(removeFolder(KNFolder*)));
- connect(fm, TQT_SIGNAL(folderActivated(KNFolder*)), TQT_SLOT(activateFolder(KNFolder*)));
+ connect(fm, TQ_SIGNAL(folderAdded(KNFolder*)), TQ_SLOT(addPendingFolders()));
+ connect(fm, TQ_SIGNAL(folderRemoved(KNFolder*)), TQ_SLOT(removeFolder(KNFolder*)));
+ connect(fm, TQ_SIGNAL(folderActivated(KNFolder*)), TQ_SLOT(activateFolder(KNFolder*)));
installEventFilter(this);
}
diff --git a/knode/kncomposer.cpp b/knode/kncomposer.cpp
index 707db3fda..5b4f86038 100644
--- a/knode/kncomposer.cpp
+++ b/knode/kncomposer.cpp
@@ -78,7 +78,7 @@ TQPopupMenu *KNLineEdit::createPopupMenu()
menu->insertSeparator();
menu->insertItem( i18n( "Edit Recent Addresses..." ),
- this, TQT_SLOT( editRecentAddresses() ) );
+ this, TQ_SLOT( editRecentAddresses() ) );
return menu;
}
@@ -183,9 +183,9 @@ KNComposer::KNComposer(KNLocalArticle *a, const TQString &text, const TQString &
v_iew=new ComposerView(this);
setCentralWidget(v_iew);
- connect(v_iew->c_ancelEditorBtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotCancelEditor()));
- connect(v_iew->e_dit, TQT_SIGNAL(sigDragEnterEvent(TQDragEnterEvent *)), TQT_SLOT(slotDragEnterEvent(TQDragEnterEvent *)));
- connect(v_iew->e_dit, TQT_SIGNAL(sigDropEvent(TQDropEvent *)), TQT_SLOT(slotDropEvent(TQDropEvent *)));
+ connect(v_iew->c_ancelEditorBtn, TQ_SIGNAL(clicked()), TQ_SLOT(slotCancelEditor()));
+ connect(v_iew->e_dit, TQ_SIGNAL(sigDragEnterEvent(TQDragEnterEvent *)), TQ_SLOT(slotDragEnterEvent(TQDragEnterEvent *)));
+ connect(v_iew->e_dit, TQ_SIGNAL(sigDropEvent(TQDropEvent *)), TQ_SLOT(slotDropEvent(TQDropEvent *)));
//statusbar
KStatusBar *sb=statusBar();
@@ -199,58 +199,58 @@ KNComposer::KNComposer(KNLocalArticle *a, const TQString &text, const TQString &
sb->setItemAlignment (4,AlignCenter | AlignVCenter);
sb->insertItem(TQString(), 5,0); // line
sb->setItemAlignment (5,AlignCenter | AlignVCenter);
- connect(v_iew->e_dit, TQT_SIGNAL(CursorPositionChanged()), TQT_SLOT(slotUpdateCursorPos()));
- connect(v_iew->e_dit, TQT_SIGNAL(toggle_overwrite_signal()), TQT_SLOT(slotUpdateStatusBar()));
+ connect(v_iew->e_dit, TQ_SIGNAL(CursorPositionChanged()), TQ_SLOT(slotUpdateCursorPos()));
+ connect(v_iew->e_dit, TQ_SIGNAL(toggle_overwrite_signal()), TQ_SLOT(slotUpdateStatusBar()));
//------------------------------- <Actions> --------------------------------------
//file menu
new TDEAction(i18n("&Send Now"),"mail-send", CTRL + Key_Return , this,
- TQT_SLOT(slotSendNow()), actionCollection(), "send_now");
+ TQ_SLOT(slotSendNow()), actionCollection(), "send_now");
new TDEAction(i18n("Send &Later"), "queue", 0, this,
- TQT_SLOT(slotSendLater()), actionCollection(), "send_later");
+ TQ_SLOT(slotSendLater()), actionCollection(), "send_later");
new TDEAction(i18n("Save as &Draft"),"document-save", 0 , this,
- TQT_SLOT(slotSaveAsDraft()), actionCollection(), "save_as_draft");
+ TQ_SLOT(slotSaveAsDraft()), actionCollection(), "save_as_draft");
new TDEAction(i18n("D&elete"),"edit-delete", 0 , this,
- TQT_SLOT(slotArtDelete()), actionCollection(), "art_delete");
+ TQ_SLOT(slotArtDelete()), actionCollection(), "art_delete");
- KStdAction::close(this, TQT_SLOT(close()),actionCollection());
+ KStdAction::close(this, TQ_SLOT(close()),actionCollection());
//edit menu
- KStdAction::undo(this, TQT_SLOT(slotUndo()), actionCollection());
- KStdAction::redo(this, TQT_SLOT(slotRedo()), actionCollection());
+ KStdAction::undo(this, TQ_SLOT(slotUndo()), actionCollection());
+ KStdAction::redo(this, TQ_SLOT(slotRedo()), actionCollection());
- KStdAction::cut(this, TQT_SLOT(slotCut()), actionCollection());
+ KStdAction::cut(this, TQ_SLOT(slotCut()), actionCollection());
- KStdAction::copy(this, TQT_SLOT(slotCopy()), actionCollection());
+ KStdAction::copy(this, TQ_SLOT(slotCopy()), actionCollection());
- KStdAction::pasteText(this, TQT_SLOT(slotPaste()), actionCollection());
+ KStdAction::pasteText(this, TQ_SLOT(slotPaste()), actionCollection());
new TDEAction(i18n("Paste as &Quotation"), 0, v_iew->e_dit,
- TQT_SLOT(slotPasteAsQuotation()), actionCollection(), "paste_quoted");
+ TQ_SLOT(slotPasteAsQuotation()), actionCollection(), "paste_quoted");
- KStdAction::selectAll(this, TQT_SLOT(slotSelectAll()), actionCollection());
+ KStdAction::selectAll(this, TQ_SLOT(slotSelectAll()), actionCollection());
- KStdAction::find(v_iew->e_dit, TQT_SLOT(slotFind()), actionCollection());
- KStdAction::findNext(v_iew->e_dit, TQT_SLOT(slotSearchAgain()), actionCollection());
+ KStdAction::find(v_iew->e_dit, TQ_SLOT(slotFind()), actionCollection());
+ KStdAction::findNext(v_iew->e_dit, TQ_SLOT(slotSearchAgain()), actionCollection());
- KStdAction::replace(v_iew->e_dit, TQT_SLOT(slotReplace()), actionCollection());
+ KStdAction::replace(v_iew->e_dit, TQ_SLOT(slotReplace()), actionCollection());
//attach menu
- new TDEAction(i18n("Append &Signature"), 0 , this, TQT_SLOT(slotAppendSig()),
+ new TDEAction(i18n("Append &Signature"), 0 , this, TQ_SLOT(slotAppendSig()),
actionCollection(), "append_signature");
- new TDEAction(i18n("&Insert File..."), 0, this, TQT_SLOT(slotInsertFile()),
+ new TDEAction(i18n("&Insert File..."), 0, this, TQ_SLOT(slotInsertFile()),
actionCollection(), "insert_file");
- new TDEAction(i18n("Insert File (in a &box)..."), 0, this, TQT_SLOT(slotInsertFileBoxed()),
+ new TDEAction(i18n("Insert File (in a &box)..."), 0, this, TQ_SLOT(slotInsertFileBoxed()),
actionCollection(), "insert_file_boxed");
- new TDEAction(i18n("Attach &File..."), "attach", 0, this, TQT_SLOT(slotAttachFile()),
+ new TDEAction(i18n("Attach &File..."), "attach", 0, this, TQ_SLOT(slotAttachFile()),
actionCollection(), "attach_file");
a_ctPGPsign = new TDEToggleAction(i18n("Sign Article with &PGP"),
@@ -258,69 +258,69 @@ KNComposer::KNComposer(KNLocalArticle *a, const TQString &text, const TQString &
actionCollection(), "sign_article");
a_ctRemoveAttachment = new TDEAction(i18n("&Remove"), 0, this,
- TQT_SLOT(slotRemoveAttachment()), actionCollection(), "remove_attachment");
+ TQ_SLOT(slotRemoveAttachment()), actionCollection(), "remove_attachment");
a_ctAttachmentProperties = new TDEAction(i18n("&Properties"), 0, this,
- TQT_SLOT(slotAttachmentProperties()), actionCollection(), "attachment_properties");
+ TQ_SLOT(slotAttachmentProperties()), actionCollection(), "attachment_properties");
//options menu
a_ctDoPost = new TDEToggleAction(i18n("Send &News Article"), "document-new", 0 , this,
- TQT_SLOT(slotToggleDoPost()), actionCollection(), "send_news");
+ TQ_SLOT(slotToggleDoPost()), actionCollection(), "send_news");
a_ctDoMail = new TDEToggleAction(i18n("Send E&mail"), "mail_generic" , 0 , this,
- TQT_SLOT(slotToggleDoMail()), actionCollection(), "send_mail");
+ TQ_SLOT(slotToggleDoMail()), actionCollection(), "send_mail");
a_ctSetCharset = new TDESelectAction(i18n("Set &Charset"), 0, actionCollection(), "set_charset");
a_ctSetCharset->setItems(knGlobals.configManager()->postNewsTechnical()->composerCharsets());
a_ctSetCharset->setShortcutConfigurable(false);
- connect(a_ctSetCharset, TQT_SIGNAL(activated(const TQString&)),
- this, TQT_SLOT(slotSetCharset(const TQString&)));
+ connect(a_ctSetCharset, TQ_SIGNAL(activated(const TQString&)),
+ this, TQ_SLOT(slotSetCharset(const TQString&)));
a_ctSetCharsetKeyb = new TDEAction(i18n("Set Charset"), 0, this,
- TQT_SLOT(slotSetCharsetKeyboard()), actionCollection(), "set_charset_keyboard");
+ TQ_SLOT(slotSetCharsetKeyboard()), actionCollection(), "set_charset_keyboard");
a_ctWordWrap = new TDEToggleAction(i18n("&Word Wrap"), 0 , this,
- TQT_SLOT(slotToggleWordWrap()), actionCollection(), "toggle_wordwrap");
+ TQ_SLOT(slotToggleWordWrap()), actionCollection(), "toggle_wordwrap");
//tools menu
new TDEAction(i18n("Add &Quote Characters"), 0, v_iew->e_dit,
- TQT_SLOT(slotAddQuotes()), actionCollection(), "tools_quote");
+ TQ_SLOT(slotAddQuotes()), actionCollection(), "tools_quote");
new TDEAction(i18n("&Remove Quote Characters"), 0, v_iew->e_dit,
- TQT_SLOT(slotRemoveQuotes()), actionCollection(), "tools_unquote");
+ TQ_SLOT(slotRemoveQuotes()), actionCollection(), "tools_unquote");
new TDEAction(i18n("Add &Box"), 0, v_iew->e_dit,
- TQT_SLOT(slotAddBox()), actionCollection(), "tools_box");
+ TQ_SLOT(slotAddBox()), actionCollection(), "tools_box");
new TDEAction(i18n("Re&move Box"), 0, v_iew->e_dit,
- TQT_SLOT(slotRemoveBox()), actionCollection(), "tools_unbox");
+ TQ_SLOT(slotRemoveBox()), actionCollection(), "tools_unbox");
TDEAction *undoRewrap = new TDEAction(i18n("Get &Original Text (not re-wrapped)"), 0, this,
- TQT_SLOT(slotUndoRewrap()), actionCollection(), "tools_undoRewrap");
+ TQ_SLOT(slotUndoRewrap()), actionCollection(), "tools_undoRewrap");
undoRewrap->setEnabled(!u_nwraped.isNull());
TDEAction *rot13 = new TDEAction(i18n("S&cramble (Rot 13)"), "encrypted", 0, v_iew->e_dit,
- TQT_SLOT(slotRot13()), actionCollection(), "tools_rot13");
+ TQ_SLOT(slotRot13()), actionCollection(), "tools_rot13");
rot13->setEnabled(false);
- connect(v_iew->e_dit, TQT_SIGNAL(copyAvailable(bool)), rot13, TQT_SLOT(setEnabled(bool)));
+ connect(v_iew->e_dit, TQ_SIGNAL(copyAvailable(bool)), rot13, TQ_SLOT(setEnabled(bool)));
a_ctExternalEditor = new TDEAction(i18n("Start &External Editor"), "system-run", 0, this,
- TQT_SLOT(slotExternalEditor()), actionCollection(), "external_editor");
+ TQ_SLOT(slotExternalEditor()), actionCollection(), "external_editor");
- a_ctSpellCheck = KStdAction::spelling (this, TQT_SLOT(slotSpellcheck()), actionCollection());
+ a_ctSpellCheck = KStdAction::spelling (this, TQ_SLOT(slotSpellcheck()), actionCollection());
//settings menu
createStandardStatusBarAction();
setStandardToolBarMenuEnabled(true);
- KStdAction::keyBindings(this, TQT_SLOT(slotConfKeys()), actionCollection());
+ KStdAction::keyBindings(this, TQ_SLOT(slotConfKeys()), actionCollection());
- KStdAction::configureToolbars(this, TQT_SLOT(slotConfToolbar()), actionCollection());
+ KStdAction::configureToolbars(this, TQ_SLOT(slotConfToolbar()), actionCollection());
- KStdAction::preferences(knGlobals.top, TQT_SLOT(slotSettings()), actionCollection());
+ KStdAction::preferences(knGlobals.top, TQ_SLOT(slotSettings()), actionCollection());
a_ccel=new TDEAccel(this);
a_ctSetCharsetKeyb->plugAccel(a_ccel);
@@ -420,7 +420,7 @@ int KNComposer::listOfResultOfCheckWord( const TQStringList & lst , const TQStri
{
TDEAction * act = new TDEAction( *it );
- connect( act, TQT_SIGNAL(activated()), v_iew->e_dit, TQT_SLOT(slotCorrectWord()) );
+ connect( act, TQ_SIGNAL(activated()), v_iew->e_dit, TQ_SLOT(slotCorrectWord()) );
m_listAction.append( act );
}
}
@@ -1302,7 +1302,7 @@ void KNComposer::slotExternalEditor()
if(!filenameAdded) // no %f in the editor command
(*e_xternalEditor) << e_ditorTempfile->name();
- connect(e_xternalEditor, TQT_SIGNAL(processExited(TDEProcess *)),this, TQT_SLOT(slotEditorFinished(TDEProcess *)));
+ connect(e_xternalEditor, TQ_SIGNAL(processExited(TDEProcess *)),this, TQ_SLOT(slotEditorFinished(TDEProcess *)));
if(!e_xternalEditor->start()) {
KMessageBox::error(this, i18n("Unable to start external editor.\nPlease check your configuration in the settings dialog."));
delete e_xternalEditor;
@@ -1327,17 +1327,17 @@ void KNComposer::slotSpellcheck()
a_ctExternalEditor->setEnabled(false);
a_ctSpellCheck->setEnabled(false);
- s_pellChecker = new KSpell(this, i18n("Spellcheck"), this, TQT_SLOT(slotSpellStarted(KSpell *)));
+ s_pellChecker = new KSpell(this, i18n("Spellcheck"), this, TQ_SLOT(slotSpellStarted(KSpell *)));
TQStringList l = KSpellingHighlighter::personalWords();
for ( TQStringList::Iterator it = l.begin(); it != l.end(); ++it ) {
s_pellChecker->addPersonal( *it );
}
- connect(s_pellChecker, TQT_SIGNAL(death()), this, TQT_SLOT(slotSpellFinished()));
- connect(s_pellChecker, TQT_SIGNAL(done(const TQString&)), this, TQT_SLOT(slotSpellDone(const TQString&)));
- connect(s_pellChecker, TQT_SIGNAL(misspelling (const TQString &, const TQStringList &, unsigned int)),
- this, TQT_SLOT(slotMisspelling (const TQString &, const TQStringList &, unsigned int)));
- connect(s_pellChecker, TQT_SIGNAL(corrected (const TQString &, const TQString &, unsigned int)),
- this, TQT_SLOT(slotCorrected (const TQString &, const TQString &, unsigned int)));
+ connect(s_pellChecker, TQ_SIGNAL(death()), this, TQ_SLOT(slotSpellFinished()));
+ connect(s_pellChecker, TQ_SIGNAL(done(const TQString&)), this, TQ_SLOT(slotSpellDone(const TQString&)));
+ connect(s_pellChecker, TQ_SIGNAL(misspelling (const TQString &, const TQStringList &, unsigned int)),
+ this, TQ_SLOT(slotMisspelling (const TQString &, const TQStringList &, unsigned int)));
+ connect(s_pellChecker, TQ_SIGNAL(corrected (const TQString &, const TQString &, unsigned int)),
+ this, TQ_SLOT(slotCorrected (const TQString &, const TQString &, unsigned int)));
}
@@ -1401,7 +1401,7 @@ void KNComposer::slotConfToolbar()
conf->setGroup("composerWindow_options");
saveMainWindowSettings(conf);
KEditToolbar dlg(guiFactory(),this);
- connect(&dlg,TQT_SIGNAL( newToolbarConfig() ), this, TQT_SLOT( slotNewToolbarConfig() ));
+ connect(&dlg,TQ_SIGNAL( newToolbarConfig() ), this, TQ_SLOT( slotNewToolbarConfig() ));
dlg.exec();
}
@@ -1508,10 +1508,10 @@ void KNComposer::slotGroupsBtnClicked()
KNGroupSelectDialog *dlg=new KNGroupSelectDialog(this, nntp, v_iew->g_roups->text().remove(TQRegExp("\\s")));
- connect(dlg, TQT_SIGNAL(loadList(KNNntpAccount*)),
- knGlobals.groupManager(), TQT_SLOT(slotLoadGroupList(KNNntpAccount*)));
- connect(knGlobals.groupManager(), TQT_SIGNAL(newListReady(KNGroupListData*)),
- dlg, TQT_SLOT(slotReceiveList(KNGroupListData*)));
+ connect(dlg, TQ_SIGNAL(loadList(KNNntpAccount*)),
+ knGlobals.groupManager(), TQ_SLOT(slotLoadGroupList(KNNntpAccount*)));
+ connect(knGlobals.groupManager(), TQ_SIGNAL(newListReady(KNGroupListData*)),
+ dlg, TQ_SLOT(slotReceiveList(KNGroupListData*)));
if(dlg->exec())
v_iew->g_roups->setText(dlg->selectedGroups());
@@ -1744,7 +1744,7 @@ KNComposer::ComposerView::ComposerView(KNComposer *composer, const char *n)
hdrL->addWidget(l_to, 0,0);
hdrL->addWidget(t_o, 0,1);
hdrL->addWidget(t_oBtn, 0,2);
- connect(t_oBtn, TQT_SIGNAL(clicked()), parent(), TQT_SLOT(slotToBtnClicked()));
+ connect(t_oBtn, TQ_SIGNAL(clicked()), parent(), TQ_SLOT(slotToBtnClicked()));
//Newsgroups
g_roups=new KNLineEdit(this, false, hdrFrame);
@@ -1755,9 +1755,9 @@ KNComposer::ComposerView::ComposerView(KNComposer *composer, const char *n)
hdrL->addWidget(l_groups, 1,0);
hdrL->addWidget(g_roups, 1,1);
hdrL->addWidget(g_roupsBtn, 1,2);
- connect(g_roups, TQT_SIGNAL(textChanged(const TQString&)),
- parent(), TQT_SLOT(slotGroupsChanged(const TQString&)));
- connect(g_roupsBtn, TQT_SIGNAL(clicked()), parent(), TQT_SLOT(slotGroupsBtnClicked()));
+ connect(g_roups, TQ_SIGNAL(textChanged(const TQString&)),
+ parent(), TQ_SLOT(slotGroupsChanged(const TQString&)));
+ connect(g_roupsBtn, TQ_SIGNAL(clicked()), parent(), TQ_SLOT(slotGroupsBtnClicked()));
//Followup-To
f_up2=new KComboBox(true, hdrFrame);
@@ -1772,8 +1772,8 @@ KNComposer::ComposerView::ComposerView(KNComposer *composer, const char *n)
TQLabel *l=new TQLabel(s_ubject, i18n("S&ubject:"), hdrFrame);
hdrL->addWidget(l, 3,0);
hdrL->addMultiCellWidget(s_ubject, 3,3, 1,2);
- connect(s_ubject, TQT_SIGNAL(textChanged(const TQString&)),
- parent(), TQT_SLOT(slotSubjectChanged(const TQString&)));
+ connect(s_ubject, TQ_SIGNAL(textChanged(const TQString&)),
+ parent(), TQ_SLOT(slotSubjectChanged(const TQString&)));
//Editor
e_dit=new Editor(this, composer, main);
@@ -1793,8 +1793,8 @@ KNComposer::ComposerView::ComposerView(KNComposer *composer, const char *n)
mSpellChecker = new KDictSpellingHighlighter(e_dit, /*active*/ true, /*autoEnabled*/ true,
/*spellColor*/ config->readColorEntry("NewMessage", &c),
/*colorQuoting*/ true, col1, col2, col3, col4);
- connect( mSpellChecker, TQT_SIGNAL(newSuggestions(const TQString&, const TQStringList&, unsigned int)), e_dit,
- TQT_SLOT(slotAddSuggestion(const TQString&, const TQStringList&, unsigned int)) );
+ connect( mSpellChecker, TQ_SIGNAL(newSuggestions(const TQString&, const TQStringList&, unsigned int)), e_dit,
+ TQ_SLOT(slotAddSuggestion(const TQString&, const TQStringList&, unsigned int)) );
TQVBoxLayout *notL=new TQVBoxLayout(e_dit);
notL->addStretch(1);
@@ -1906,33 +1906,33 @@ void KNComposer::ComposerView::showAttachmentView()
topL->addMultiCellWidget(a_ttView, 0,2, 0,0);
//connections
- connect(a_ttView, TQT_SIGNAL(currentChanged(TQListViewItem*)),
- parent(), TQT_SLOT(slotAttachmentSelected(TQListViewItem*)));
- connect(a_ttView, TQT_SIGNAL(clicked ( TQListViewItem * )),
- parent(), TQT_SLOT(slotAttachmentSelected(TQListViewItem*)));
-
- connect(a_ttView, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
- parent(), TQT_SLOT(slotAttachmentPopup(TDEListView*, TQListViewItem*, const TQPoint&)));
- connect(a_ttView, TQT_SIGNAL(delPressed(TQListViewItem*)),
- parent(), TQT_SLOT(slotAttachmentRemove(TQListViewItem*)));
- connect(a_ttView, TQT_SIGNAL(doubleClicked(TQListViewItem*)),
- parent(), TQT_SLOT(slotAttachmentEdit(TQListViewItem*)));
- connect(a_ttView, TQT_SIGNAL(returnPressed(TQListViewItem*)),
- parent(), TQT_SLOT(slotAttachmentEdit(TQListViewItem*)));
+ connect(a_ttView, TQ_SIGNAL(currentChanged(TQListViewItem*)),
+ parent(), TQ_SLOT(slotAttachmentSelected(TQListViewItem*)));
+ connect(a_ttView, TQ_SIGNAL(clicked ( TQListViewItem * )),
+ parent(), TQ_SLOT(slotAttachmentSelected(TQListViewItem*)));
+
+ connect(a_ttView, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
+ parent(), TQ_SLOT(slotAttachmentPopup(TDEListView*, TQListViewItem*, const TQPoint&)));
+ connect(a_ttView, TQ_SIGNAL(delPressed(TQListViewItem*)),
+ parent(), TQ_SLOT(slotAttachmentRemove(TQListViewItem*)));
+ connect(a_ttView, TQ_SIGNAL(doubleClicked(TQListViewItem*)),
+ parent(), TQ_SLOT(slotAttachmentEdit(TQListViewItem*)));
+ connect(a_ttView, TQ_SIGNAL(returnPressed(TQListViewItem*)),
+ parent(), TQ_SLOT(slotAttachmentEdit(TQListViewItem*)));
//buttons
a_ttAddBtn=new TQPushButton(i18n("A&dd..."),a_ttWidget);
- connect(a_ttAddBtn, TQT_SIGNAL(clicked()), parent(), TQT_SLOT(slotAttachFile()));
+ connect(a_ttAddBtn, TQ_SIGNAL(clicked()), parent(), TQ_SLOT(slotAttachFile()));
topL->addWidget(a_ttAddBtn, 0,1);
a_ttRemoveBtn=new TQPushButton(i18n("&Remove"), a_ttWidget);
a_ttRemoveBtn->setEnabled(false);
- connect(a_ttRemoveBtn, TQT_SIGNAL(clicked()), parent(), TQT_SLOT(slotRemoveAttachment()));
+ connect(a_ttRemoveBtn, TQ_SIGNAL(clicked()), parent(), TQ_SLOT(slotRemoveAttachment()));
topL->addWidget(a_ttRemoveBtn, 1,1);
a_ttEditBtn=new TQPushButton(i18n("&Properties"), a_ttWidget);
a_ttEditBtn->setEnabled(false);
- connect(a_ttEditBtn, TQT_SIGNAL(clicked()), parent(), TQT_SLOT(slotAttachmentProperties()));
+ connect(a_ttEditBtn, TQ_SIGNAL(clicked()), parent(), TQ_SLOT(slotAttachmentProperties()));
topL->addWidget(a_ttEditBtn, 2,1, TQt::AlignTop);
topL->setRowStretch(2,1);
@@ -2398,15 +2398,15 @@ void KNComposer::Editor::contentsContextMenuEvent( TQContextMenuEvent */*e*/ )
}
else
{
- spell = new KSpell(this, i18n("Spellcheck"), this, TQT_SLOT(slotSpellStarted(KSpell *)));
+ spell = new KSpell(this, i18n("Spellcheck"), this, TQ_SLOT(slotSpellStarted(KSpell *)));
TQStringList l = KSpellingHighlighter::personalWords();
for ( TQStringList::Iterator it = l.begin(); it != l.end(); ++it ) {
spell->addPersonal( *it );
}
- connect(spell, TQT_SIGNAL(death()), this, TQT_SLOT(slotSpellFinished()));
- connect(spell, TQT_SIGNAL(done(const TQString&)), this, TQT_SLOT(slotSpellDone(const TQString&)));
- connect(spell, TQT_SIGNAL(misspelling (const TQString &, const TQStringList &, unsigned int)),
- this, TQT_SLOT(slotMisspelling (const TQString &, const TQStringList &, unsigned int)));
+ connect(spell, TQ_SIGNAL(death()), this, TQ_SLOT(slotSpellFinished()));
+ connect(spell, TQ_SIGNAL(done(const TQString&)), this, TQ_SLOT(slotSpellDone(const TQString&)));
+ connect(spell, TQ_SIGNAL(misspelling (const TQString &, const TQStringList &, unsigned int)),
+ this, TQ_SLOT(slotMisspelling (const TQString &, const TQStringList &, unsigned int)));
}
}
@@ -2600,8 +2600,8 @@ KNComposer::AttachmentPropertiesDlg::AttachmentPropertiesDlg(KNAttachment *a, TQ
topL->addWidget(mimeGB);
//connections
- connect(m_imeType, TQT_SIGNAL(textChanged(const TQString&)),
- this, TQT_SLOT(slotMimeTypeTextChanged(const TQString&)));
+ connect(m_imeType, TQ_SIGNAL(textChanged(const TQString&)),
+ this, TQ_SLOT(slotMimeTypeTextChanged(const TQString&)));
//finish GUI
setFixedHeight(sizeHint().height());
diff --git a/knode/knconfig.cpp b/knode/knconfig.cpp
index 7c0ef4359..9be34f005 100644
--- a/knode/knconfig.cpp
+++ b/knode/knconfig.cpp
@@ -138,8 +138,8 @@ TQString KNConfig::Identity::getSignature()
for ( TQStringList::Iterator it = command.begin(); it != command.end(); ++it )
process << (*it);
- connect(&process, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)), TQT_SLOT(slotReceiveStdout(TDEProcess *, char *, int)));
- connect(&process, TQT_SIGNAL(receivedStderr(TDEProcess *, char *, int)), TQT_SLOT(slotReceiveStderr(TDEProcess *, char *, int)));
+ connect(&process, TQ_SIGNAL(receivedStdout(TDEProcess *, char *, int)), TQ_SLOT(slotReceiveStdout(TDEProcess *, char *, int)));
+ connect(&process, TQ_SIGNAL(receivedStderr(TDEProcess *, char *, int)), TQ_SLOT(slotReceiveStderr(TDEProcess *, char *, int)));
if (!process.start(TDEProcess::Block,TDEProcess::AllOutput))
KMessageBox::error(knGlobals.topWidget, i18n("Cannot run the signature generator."));
diff --git a/knode/knconfigmanager.cpp b/knode/knconfigmanager.cpp
index a07a9c5e0..f7d265067 100644
--- a/knode/knconfigmanager.cpp
+++ b/knode/knconfigmanager.cpp
@@ -67,7 +67,7 @@ void KNConfigManager::configure()
{
if(!d_ialog) {
d_ialog=new KNConfigDialog(knGlobals.topWidget, "Preferences_Dlg");
- connect(d_ialog, TQT_SIGNAL(finished()), this, TQT_SLOT(slotDialogDone()));
+ connect(d_ialog, TQ_SIGNAL(finished()), this, TQ_SLOT(slotDialogDone()));
d_ialog->show();
}
else
@@ -113,7 +113,7 @@ KNConfigDialog::KNConfigDialog(TQWidget *p, const char *n)
setHelp("anc-setting-your-identity");
- connect(this, TQT_SIGNAL(configCommitted()), this, TQT_SLOT(slotConfigCommitted()));
+ connect(this, TQ_SIGNAL(configCommitted()), this, TQ_SLOT(slotConfigCommitted()));
}
diff --git a/knode/knconfigpages.cpp b/knode/knconfigpages.cpp
index d9f218781..91d7666c2 100644
--- a/knode/knconfigpages.cpp
+++ b/knode/knconfigpages.cpp
@@ -38,7 +38,7 @@ KNConfig::BasePageWithTabs::BasePageWithTabs( TQWidget * parent, const char * na
void KNConfig::BasePageWithTabs::addTab( TDECModule* tab, const TQString & title ) {
mTabWidget->addTab( tab, title );
- connect( tab, TQT_SIGNAL(changed( bool )), this, TQT_SIGNAL(changed( bool )) );
+ connect( tab, TQ_SIGNAL(changed( bool )), this, TQ_SIGNAL(changed( bool )) );
}
void KNConfig::BasePageWithTabs::load() {
diff --git a/knode/knconfigwidgets.cpp b/knode/knconfigwidgets.cpp
index ea2d77a2c..27c81824a 100644
--- a/knode/knconfigwidgets.cpp
+++ b/knode/knconfigwidgets.cpp
@@ -66,7 +66,7 @@ KNConfig::IdentityWidget::IdentityWidget( Identity *d, TQWidget *p, const char *
"<p>Ex: <b>John Stuart Masterson III</b>.</p></qt>");
TQWhatsThis::add( n_ame, msg );
TQWhatsThis::add( l, msg );
- connect( n_ame, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(changed()) );
+ connect( n_ame, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(changed()) );
o_rga=new KLineEdit(this);
l=new TQLabel(o_rga, i18n("Organi&zation:"), this);
@@ -76,7 +76,7 @@ KNConfig::IdentityWidget::IdentityWidget( Identity *d, TQWidget *p, const char *
"<p>Ex: <b>KNode, Inc</b>.</p></qt>" );
TQWhatsThis::add( o_rga, msg );
TQWhatsThis::add( l, msg );
- connect( o_rga, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(changed()) );
+ connect( o_rga, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(changed()) );
e_mail=new KLineEdit(this);
l=new TQLabel(e_mail, i18n("Email a&ddress:"), this);
@@ -86,7 +86,7 @@ KNConfig::IdentityWidget::IdentityWidget( Identity *d, TQWidget *p, const char *
"reading your articles</p><p>Ex: <b>[email protected]</b>.</qt>" );
TQWhatsThis::add( l, msg );
TQWhatsThis::add( e_mail, msg );
- connect( e_mail, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(changed()) );
+ connect( e_mail, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(changed()) );
r_eplyTo=new KLineEdit(this);
l=new TQLabel(r_eplyTo, i18n("&Reply-to address:"), this);
@@ -97,13 +97,13 @@ KNConfig::IdentityWidget::IdentityWidget( Identity *d, TQWidget *p, const char *
"email address.</p><p>Ex: <b>[email protected]</b>.</p></qt>" );
TQWhatsThis::add( l, msg );
TQWhatsThis::add( r_eplyTo, msg );
- connect( r_eplyTo, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(changed()) );
+ connect( r_eplyTo, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(changed()) );
m_ailCopiesTo=new KLineEdit(this);
l=new TQLabel(m_ailCopiesTo, i18n("&Mail-copies-to:"), this);
topL->addWidget(l, 4,0);
topL->addMultiCellWidget(m_ailCopiesTo, 4,4, 1,2);
- connect( m_ailCopiesTo, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(changed()) );
+ connect( m_ailCopiesTo, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(changed()) );
s_igningKey = new Kpgp::SecretKeyRequester(this);
s_igningKey->dialogButton()->setText(i18n("Chan&ge..."));
@@ -117,11 +117,11 @@ KNConfig::IdentityWidget::IdentityWidget( Identity *d, TQWidget *p, const char *
"used to sign your articles.</p></qt>");
TQWhatsThis::add( l, msg );
TQWhatsThis::add( s_igningKey, msg );
- connect( s_igningKey, TQT_SIGNAL(changed()), TQT_SLOT(changed()) );
+ connect( s_igningKey, TQ_SIGNAL(changed()), TQ_SLOT(changed()) );
b_uttonGroup = new TQButtonGroup(this);
- connect( b_uttonGroup, TQT_SIGNAL(clicked(int)),
- this, TQT_SLOT(slotSignatureType(int)) );
+ connect( b_uttonGroup, TQ_SIGNAL(clicked(int)),
+ this, TQ_SLOT(slotSignatureType(int)) );
b_uttonGroup->setExclusive(true);
b_uttonGroup->hide();
@@ -143,12 +143,12 @@ KNConfig::IdentityWidget::IdentityWidget( Identity *d, TQWidget *p, const char *
TQWhatsThis::add( s_ig, msg );
c_hooseBtn = new TQPushButton( i18n("Choo&se..."), this);
- connect(c_hooseBtn, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotSignatureChoose()));
+ connect(c_hooseBtn, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotSignatureChoose()));
topL->addWidget(c_hooseBtn, 7, 2 );
e_ditBtn = new TQPushButton( i18n("&Edit File"), this);
- connect(e_ditBtn, TQT_SIGNAL(clicked()),
- this, TQT_SLOT(slotSignatureEdit()));
+ connect(e_ditBtn, TQ_SIGNAL(clicked()),
+ this, TQ_SLOT(slotSignatureEdit()));
topL->addWidget(e_ditBtn, 8, 2);
s_igGenerator = new TQCheckBox(i18n("&The file is a program"), this);
@@ -156,7 +156,7 @@ KNConfig::IdentityWidget::IdentityWidget( Identity *d, TQWidget *p, const char *
msg = i18n( "<qt><p>Mark this option if the signature will be generated by a program</p>"
"<p>Ex: <b>/home/robt/gensig.sh</b>.</p></qt>" );
TQWhatsThis::add( s_igGenerator, msg );
- connect( s_igGenerator, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()) );
+ connect( s_igGenerator, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()) );
s_igEdit = new TQRadioButton( i18n("Specify signature &below"), this);
b_uttonGroup->insert(s_igEdit, 1);
@@ -165,13 +165,13 @@ KNConfig::IdentityWidget::IdentityWidget( Identity *d, TQWidget *p, const char *
s_igEditor = new TQTextEdit(this);
s_igEditor->setTextFormat(TQt::PlainText);
topL->addMultiCellWidget(s_igEditor, 10, 10, 0, 2);
- connect( s_igEditor, TQT_SIGNAL(textChanged()), TQT_SLOT(changed()) );
+ connect( s_igEditor, TQ_SIGNAL(textChanged()), TQ_SLOT(changed()) );
topL->setColStretch(1,1);
topL->setRowStretch(7,1);
topL->setResizeMode(TQLayout::Minimum);
- connect(s_ig,TQT_SIGNAL(textChanged ( const TQString & )),
- this,TQT_SLOT(textFileNameChanged(const TQString &)));
+ connect(s_ig,TQ_SIGNAL(textChanged ( const TQString & )),
+ this,TQ_SLOT(textFileNameChanged(const TQString &)));
load();
}
@@ -289,8 +289,8 @@ KNConfig::NntpAccountListWidget::NntpAccountListWidget(TQWidget *p, const char *
// account listbox
l_box=new KNDialogListBox(false, this);
- connect(l_box, TQT_SIGNAL(selected(int)), this, TQT_SLOT(slotItemSelected(int)));
- connect(l_box, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotSelectionChanged()));
+ connect(l_box, TQ_SIGNAL(selected(int)), this, TQ_SLOT(slotItemSelected(int)));
+ connect(l_box, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(slotSelectionChanged()));
topL->addMultiCellWidget(l_box, 0,4, 0,0);
// info box
@@ -302,19 +302,19 @@ KNConfig::NntpAccountListWidget::NntpAccountListWidget(TQWidget *p, const char *
// buttons
a_ddBtn=new TQPushButton(i18n("&Add..."), this);
- connect(a_ddBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotAddBtnClicked()));
+ connect(a_ddBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotAddBtnClicked()));
topL->addWidget(a_ddBtn, 0,1);
e_ditBtn=new TQPushButton(i18n("modify something","&Edit..."), this);
- connect(e_ditBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditBtnClicked()));
+ connect(e_ditBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEditBtnClicked()));
topL->addWidget(e_ditBtn, 1,1);
d_elBtn=new TQPushButton(i18n("&Delete"), this);
- connect(d_elBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotDelBtnClicked()));
+ connect(d_elBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotDelBtnClicked()));
topL->addWidget(d_elBtn, 2,1);
s_ubBtn=new TQPushButton(i18n("&Subscribe..."), this);
- connect(s_ubBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSubBtnClicked()));
+ connect(s_ubBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSubBtnClicked()));
topL->addWidget(s_ubBtn, 3,1);
topL->setRowStretch(4,1); // stretch the server listbox
@@ -323,9 +323,9 @@ KNConfig::NntpAccountListWidget::NntpAccountListWidget(TQWidget *p, const char *
// the settings dialog is non-modal, so we have to react to changes
// made outside of the dialog
- connect(a_ccManager, TQT_SIGNAL(accountAdded(KNNntpAccount*)), this, TQT_SLOT(slotAddItem(KNNntpAccount*)));
- connect(a_ccManager, TQT_SIGNAL(accountRemoved(KNNntpAccount*)), this, TQT_SLOT(slotRemoveItem(KNNntpAccount*)));
- connect(a_ccManager, TQT_SIGNAL(accountModified(KNNntpAccount*)), this, TQT_SLOT(slotUpdateItem(KNNntpAccount*)));
+ connect(a_ccManager, TQ_SIGNAL(accountAdded(KNNntpAccount*)), this, TQ_SLOT(slotAddItem(KNNntpAccount*)));
+ connect(a_ccManager, TQ_SIGNAL(accountRemoved(KNNntpAccount*)), this, TQ_SLOT(slotRemoveItem(KNNntpAccount*)));
+ connect(a_ccManager, TQ_SIGNAL(accountModified(KNNntpAccount*)), this, TQ_SLOT(slotUpdateItem(KNNntpAccount*)));
slotSelectionChanged(); // disable Delete & Edit initially
}
@@ -510,7 +510,7 @@ KNConfig::NntpAccountConfDialog::NntpAccountConfDialog(KNNntpAccount *a, TQWidge
topL->addMultiCellWidget(u_seDiskCache, 6,6, 0,3);*/
a_uth=new TQCheckBox(i18n("Server requires &authentication"), page);
- connect(a_uth, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotAuthChecked(bool)));
+ connect(a_uth, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotAuthChecked(bool)));
topL->addMultiCellWidget(a_uth, 6,6, 0,3);
u_ser=new KLineEdit(page);
@@ -531,7 +531,7 @@ KNConfig::NntpAccountConfDialog::NntpAccountConfDialog(KNNntpAccount *a, TQWidge
topL->addMultiCellWidget(p_ass, 8,8, 1,2);
i_nterval=new TQCheckBox(i18n("Enable &interval news checking"), page);
- connect(i_nterval, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotIntervalChecked(bool)));
+ connect(i_nterval, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotIntervalChecked(bool)));
topL->addMultiCellWidget(i_nterval, 9,9, 0,3);
c_heckInterval=new KIntSpinBox(1,10000,1,1,10,page);
@@ -559,7 +559,7 @@ KNConfig::NntpAccountConfDialog::NntpAccountConfDialog(KNNntpAccount *a, TQWidge
cleanupLayout->addWidget( mCleanupWidget );
cleanupLayout->addStretch( 1 );
- connect( knGlobals.accountManager(), TQT_SIGNAL(passwordsChanged()), TQT_SLOT(slotPasswordChanged()) );
+ connect( knGlobals.accountManager(), TQ_SIGNAL(passwordsChanged()), TQ_SLOT(slotPasswordChanged()) );
KNHelper::restoreWindowSize("accNewsPropDLG", this, sizeHint());
@@ -633,7 +633,7 @@ KNConfig::SmtpAccountWidget::SmtpAccountWidget( TQWidget *p, const char *n ) :
SmtpAccountWidgetBase( p, n )
{
mAccount = knGlobals.accountManager()->smtp();
- connect( knGlobals.accountManager(), TQT_SIGNAL(passwordsChanged()), TQT_SLOT(slotPasswordChanged()) );
+ connect( knGlobals.accountManager(), TQ_SIGNAL(passwordsChanged()), TQ_SLOT(slotPasswordChanged()) );
load();
}
@@ -821,29 +821,29 @@ KNConfig::AppearanceWidget::AppearanceWidget( TQWidget *p, const char *n ) :
//color-list
c_List = new KNDialogListBox(false, this);
topL->addMultiCellWidget(c_List,1,3,0,0);
- connect(c_List, TQT_SIGNAL(selected(TQListBoxItem*)),TQT_SLOT(slotColItemSelected(TQListBoxItem*)));
- connect(c_List, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotColSelectionChanged()));
+ connect(c_List, TQ_SIGNAL(selected(TQListBoxItem*)),TQ_SLOT(slotColItemSelected(TQListBoxItem*)));
+ connect(c_List, TQ_SIGNAL(selectionChanged()), TQ_SLOT(slotColSelectionChanged()));
c_olorCB = new TQCheckBox(i18n("&Use custom colors"),this);
topL->addWidget(c_olorCB,0,0);
- connect(c_olorCB, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotColCheckBoxToggled(bool)));
+ connect(c_olorCB, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotColCheckBoxToggled(bool)));
c_olChngBtn=new TQPushButton(i18n("Cha&nge..."), this);
- connect(c_olChngBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotColChangeBtnClicked()));
+ connect(c_olChngBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotColChangeBtnClicked()));
topL->addWidget(c_olChngBtn,1,1);
//font-list
f_List = new KNDialogListBox(false, this);
topL->addMultiCellWidget(f_List,5,7,0,0);
- connect(f_List, TQT_SIGNAL(selected(TQListBoxItem*)),TQT_SLOT(slotFontItemSelected(TQListBoxItem*)));
- connect(f_List, TQT_SIGNAL(selectionChanged()),TQT_SLOT(slotFontSelectionChanged()));
+ connect(f_List, TQ_SIGNAL(selected(TQListBoxItem*)),TQ_SLOT(slotFontItemSelected(TQListBoxItem*)));
+ connect(f_List, TQ_SIGNAL(selectionChanged()),TQ_SLOT(slotFontSelectionChanged()));
f_ontCB = new TQCheckBox(i18n("Use custom &fonts"),this);
topL->addWidget(f_ontCB,4,0);
- connect(f_ontCB, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotFontCheckBoxToggled(bool)));
+ connect(f_ontCB, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotFontCheckBoxToggled(bool)));
f_ntChngBtn=new TQPushButton(i18n("Chang&e..."), this);
- connect(f_ntChngBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotFontChangeBtnClicked()));
+ connect(f_ntChngBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotFontChangeBtnClicked()));
topL->addWidget(f_ntChngBtn,5,1);
load();
@@ -1005,7 +1005,7 @@ KNConfig::ReadNewsGeneralWidget::ReadNewsGeneralWidget( ReadNewsGeneral *d, TQWi
l1=new TQLabel(m_axFetch, i18n("&Maximum number of articles to fetch:"), hgb);
m_arkCB=new TQCheckBox(i18n("Mar&k article as read after:"), hgb);
m_arkSecs=new KIntSpinBox(0, 9999, 1, 0, 10, hgb);
- connect(m_arkCB, TQT_SIGNAL(toggled(bool)), m_arkSecs, TQT_SLOT(setEnabled(bool)));
+ connect(m_arkCB, TQ_SIGNAL(toggled(bool)), m_arkSecs, TQ_SLOT(setEnabled(bool)));
m_arkSecs->setSuffix(i18n(" sec"));
m_arkCrossCB=new TQCheckBox(i18n("Mark c&rossposted articles as read"), hgb);
@@ -1059,19 +1059,19 @@ KNConfig::ReadNewsGeneralWidget::ReadNewsGeneralWidget( ReadNewsGeneral *d, TQWi
topL->setResizeMode(TQLayout::Minimum);
- connect(a_utoCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
- connect(m_axFetch, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(changed()));
- connect(m_arkCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
- connect(m_arkSecs, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(changed()));
- connect(m_arkCrossCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
- connect(s_martScrollingCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
- connect(e_xpThrCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
- connect(d_efaultExpandCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
- connect(l_inesCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
- connect(s_coreCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
- connect(u_nreadCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
- connect(c_ollCacheSize, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(changed()));
- connect(a_rtCacheSize, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(changed()));
+ connect(a_utoCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
+ connect(m_axFetch, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(changed()));
+ connect(m_arkCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
+ connect(m_arkSecs, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(changed()));
+ connect(m_arkCrossCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
+ connect(s_martScrollingCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
+ connect(e_xpThrCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
+ connect(d_efaultExpandCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
+ connect(l_inesCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
+ connect(s_coreCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
+ connect(u_nreadCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
+ connect(c_ollCacheSize, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(changed()));
+ connect(a_rtCacheSize, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(changed()));
load();
}
@@ -1138,7 +1138,7 @@ KNConfig::ReadNewsNavigationWidget::ReadNewsNavigationWidget( ReadNewsNavigation
m_arkAllReadGoNextCB=new TQCheckBox(i18n("&Switch to the next group"), gb);
gbL->addWidget(m_arkAllReadGoNextCB);
- connect(m_arkAllReadGoNextCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
+ connect(m_arkAllReadGoNextCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
// ==== Mark Thread as Read =================================================
@@ -1152,8 +1152,8 @@ KNConfig::ReadNewsNavigationWidget::ReadNewsNavigationWidget( ReadNewsNavigation
m_arkThreadReadGoNextCB=new TQCheckBox(i18n("Go &to the next unread thread"), gb);
gbL->addWidget(m_arkThreadReadGoNextCB);
- connect(m_arkThreadReadCloseThreadCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
- connect(m_arkThreadReadGoNextCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
+ connect(m_arkThreadReadCloseThreadCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
+ connect(m_arkThreadReadGoNextCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
// ==== Ignore Thread =======================================================
@@ -1167,8 +1167,8 @@ KNConfig::ReadNewsNavigationWidget::ReadNewsNavigationWidget( ReadNewsNavigation
i_gnoreThreadGoNextCB=new TQCheckBox(i18n("Go to the next &unread thread"), gb);
gbL->addWidget(i_gnoreThreadGoNextCB);
- connect(i_gnoreThreadCloseThreadCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
- connect(i_gnoreThreadGoNextCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
+ connect(i_gnoreThreadCloseThreadCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
+ connect(i_gnoreThreadGoNextCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
topL->addStretch(1);
topL->setResizeMode(TQLayout::Minimum);
@@ -1253,14 +1253,14 @@ KNConfig::ReadNewsViewerWidget::ReadNewsViewerWidget( ReadNewsViewer *d, TQWidge
topL->setResizeMode(TQLayout::Minimum);
- connect(r_ewrapCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
- connect(r_emoveTrailingCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
- connect(s_igCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
- connect(q_uoteCharacters, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(changed()));
- connect(o_penAttCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
- connect(a_ltAttCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
- connect( mShowRefBar, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()) );
- connect( mAlwaysShowHTML, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()) );
+ connect(r_ewrapCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
+ connect(r_emoveTrailingCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
+ connect(s_igCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
+ connect(q_uoteCharacters, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(changed()));
+ connect(o_penAttCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
+ connect(a_ltAttCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
+ connect( mShowRefBar, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()) );
+ connect( mAlwaysShowHTML, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()) );
load();
}
@@ -1311,29 +1311,29 @@ KNConfig::DisplayedHeadersWidget::DisplayedHeadersWidget( DisplayedHeaders *d, T
//listbox
l_box=new KNDialogListBox(false, this);
- connect(l_box, TQT_SIGNAL(selected(int)), this, TQT_SLOT(slotItemSelected(int)));
- connect(l_box, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotSelectionChanged()));
+ connect(l_box, TQ_SIGNAL(selected(int)), this, TQ_SLOT(slotItemSelected(int)));
+ connect(l_box, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(slotSelectionChanged()));
topL->addMultiCellWidget(l_box, 0,6, 0,0);
// buttons
a_ddBtn=new TQPushButton(i18n("&Add..."), this);
- connect(a_ddBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotAddBtnClicked()));
+ connect(a_ddBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotAddBtnClicked()));
topL->addWidget(a_ddBtn, 0,1);
d_elBtn=new TQPushButton(i18n("&Delete"), this);
- connect(d_elBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotDelBtnClicked()));
+ connect(d_elBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotDelBtnClicked()));
topL->addWidget(d_elBtn, 1,1);
e_ditBtn=new TQPushButton(i18n("modify something","&Edit..."), this);
- connect(e_ditBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditBtnClicked()));
+ connect(e_ditBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEditBtnClicked()));
topL->addWidget(e_ditBtn, 2,1);
u_pBtn=new TQPushButton(i18n("&Up"), this);
- connect(u_pBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotUpBtnClicked()));
+ connect(u_pBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotUpBtnClicked()));
topL->addWidget(u_pBtn, 4,1);
d_ownBtn=new TQPushButton(i18n("Do&wn"), this);
- connect(d_ownBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotDownBtnClicked()));
+ connect(d_ownBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotDownBtnClicked()));
topL->addWidget(d_ownBtn, 5,1);
topL->addRowSpacing(3,20); // separate up/down buttons
@@ -1499,7 +1499,7 @@ KNConfig::DisplayedHeaderConfDialog::DisplayedHeaderConfDialog(KNDisplayedHeader
h_drC=new KComboBox(true, nameW);
h_drC->lineEdit()->setMaxLength(64);
- connect(h_drC, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotActivated(int)));
+ connect(h_drC, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotActivated(int)));
nameL->addWidget(new TQLabel(h_drC, i18n("H&eader:"),nameW),0,0);
nameL->addWidget(h_drC,0,1);
@@ -1551,7 +1551,7 @@ KNConfig::DisplayedHeaderConfDialog::DisplayedHeaderConfDialog(KNDisplayedHeader
setFixedHeight(sizeHint().height());
KNHelper::restoreWindowSize("accReadHdrPropDLG", this, sizeHint());
- connect(n_ameE, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(slotNameChanged(const TQString&)));
+ connect(n_ameE, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(slotNameChanged(const TQString&)));
setHelp("anc-knode-headers");
slotNameChanged( n_ameE->text() );
@@ -1610,13 +1610,13 @@ KNConfig::ScoringWidget::ScoringWidget( Scoring *d, TQWidget *p, const char *n )
TQLabel *l=new TQLabel(i_gnored, i18n("Default score for &ignored threads:"), this);
topL->addWidget(l, 2, 0);
topL->addWidget(i_gnored, 2, 1);
- connect(i_gnored, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(changed()));
+ connect(i_gnored, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(changed()));
w_atched=new KIntSpinBox(-100000, 100000, 1, 0, 10, this);
l=new TQLabel(w_atched, i18n("Default score for &watched threads:"), this);
topL->addWidget(l, 3, 0);
topL->addWidget(w_atched, 3, 1);
- connect(w_atched, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(changed()));
+ connect(w_atched, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(changed()));
topL->setColStretch(0, 1);
@@ -1658,24 +1658,24 @@ KNConfig::FilterListWidget::FilterListWidget( TQWidget *p, const char *n ) :
f_lb=new KNDialogListBox(false, this);
topL->addWidget(new TQLabel(f_lb, i18n("&Filters:"),this),0,0);
- connect(f_lb, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotSelectionChangedFilter()));
- connect(f_lb, TQT_SIGNAL(selected(int)), TQT_SLOT(slotItemSelectedFilter(int)));
+ connect(f_lb, TQ_SIGNAL(selectionChanged()), TQ_SLOT(slotSelectionChangedFilter()));
+ connect(f_lb, TQ_SIGNAL(selected(int)), TQ_SLOT(slotItemSelectedFilter(int)));
topL->addMultiCellWidget(f_lb,1,5,0,0);
a_ddBtn=new TQPushButton(i18n("&Add..."), this);
- connect(a_ddBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotAddBtnClicked()));
+ connect(a_ddBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotAddBtnClicked()));
topL->addWidget(a_ddBtn,1,1);
e_ditBtn=new TQPushButton(i18n("modify something","&Edit..."), this);
- connect(e_ditBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotEditBtnClicked()));
+ connect(e_ditBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotEditBtnClicked()));
topL->addWidget(e_ditBtn,2,1);
c_opyBtn=new TQPushButton(i18n("Co&py..."), this);
- connect(c_opyBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCopyBtnClicked()));
+ connect(c_opyBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotCopyBtnClicked()));
topL->addWidget(c_opyBtn,3,1);
d_elBtn=new TQPushButton(i18n("&Delete"), this);
- connect(d_elBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotDelBtnClicked()));
+ connect(d_elBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotDelBtnClicked()));
topL->addWidget(d_elBtn,4,1);
// == Menu ====================================================
@@ -1683,23 +1683,23 @@ KNConfig::FilterListWidget::FilterListWidget( TQWidget *p, const char *n ) :
m_lb=new KNDialogListBox(false, this);
topL->addWidget(new TQLabel(m_lb, i18n("&Menu:"),this),6,0);
- connect(m_lb, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotSelectionChangedMenu()));
+ connect(m_lb, TQ_SIGNAL(selectionChanged()), TQ_SLOT(slotSelectionChangedMenu()));
topL->addMultiCellWidget(m_lb,7,11,0,0);
u_pBtn=new TQPushButton(i18n("&Up"), this);
- connect(u_pBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotUpBtnClicked()));
+ connect(u_pBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotUpBtnClicked()));
topL->addWidget(u_pBtn,7,1);
d_ownBtn=new TQPushButton(i18n("Do&wn"), this);
- connect(d_ownBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotDownBtnClicked()));
+ connect(d_ownBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotDownBtnClicked()));
topL->addWidget(d_ownBtn,8,1);
s_epAddBtn=new TQPushButton(i18n("Add\n&Separator"), this);
- connect(s_epAddBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSepAddBtnClicked()));
+ connect(s_epAddBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSepAddBtnClicked()));
topL->addWidget(s_epAddBtn,9,1);
s_epRemBtn=new TQPushButton(i18n("&Remove\nSeparator"), this);
- connect(s_epRemBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSepRemBtnClicked()));
+ connect(s_epRemBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSepRemBtnClicked()));
topL->addWidget(s_epRemBtn,10,1);
topL->setRowStretch(5,1);
@@ -1946,21 +1946,21 @@ KNConfig::PostNewsTechnicalWidget::PostNewsTechnicalWidget( PostNewsTechnical *d
c_harset->insertStringList(d->composerCharsets());
ggbL->addWidget(new TQLabel(c_harset, i18n("Cha&rset:"), ggb), 1,0);
ggbL->addWidget(c_harset, 1,1);
- connect(c_harset, TQT_SIGNAL(activated(int)), TQT_SLOT(changed()));
+ connect(c_harset, TQ_SIGNAL(activated(int)), TQ_SLOT(changed()));
e_ncoding=new TQComboBox(ggb);
e_ncoding->insertItem(i18n("Allow 8-bit"));
e_ncoding->insertItem(i18n("7-bit (Quoted-Printable)"));
ggbL->addWidget(new TQLabel(e_ncoding, i18n("Enco&ding:"), ggb), 2,0);
ggbL->addWidget(e_ncoding, 2,1);
- connect(e_ncoding, TQT_SIGNAL(activated(int)), TQT_SLOT(changed()));
+ connect(e_ncoding, TQ_SIGNAL(activated(int)), TQ_SLOT(changed()));
u_seOwnCSCB=new TQCheckBox(i18n("Use o&wn default charset when replying"), ggb);
ggbL->addMultiCellWidget(u_seOwnCSCB, 3,3, 0,1);
- connect(u_seOwnCSCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
+ connect(u_seOwnCSCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
g_enMIdCB=new TQCheckBox(i18n("&Generate message-id"), ggb);
- connect(g_enMIdCB, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotGenMIdCBToggled(bool)));
+ connect(g_enMIdCB, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotGenMIdCBToggled(bool)));
ggbL->addMultiCellWidget(g_enMIdCB, 4,4, 0,1);
h_ost=new KLineEdit(ggb);
h_ost->setEnabled(false);
@@ -1969,7 +1969,7 @@ KNConfig::PostNewsTechnicalWidget::PostNewsTechnicalWidget( PostNewsTechnical *d
ggbL->addWidget(h_ostL, 5,0);
ggbL->addWidget(h_ost, 5,1);
ggbL->setColStretch(1,1);
- connect(h_ost, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(changed()));
+ connect(h_ost, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(changed()));
// ==== X-Headers =============================================================
@@ -1980,20 +1980,20 @@ KNConfig::PostNewsTechnicalWidget::PostNewsTechnicalWidget( PostNewsTechnical *d
xgbL->addRowSpacing(0, fontMetrics().lineSpacing()-4);
l_box=new KNDialogListBox(false, xgb);
- connect(l_box, TQT_SIGNAL(selected(int)), TQT_SLOT(slotItemSelected(int)));
- connect(l_box, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotSelectionChanged()));
+ connect(l_box, TQ_SIGNAL(selected(int)), TQ_SLOT(slotItemSelected(int)));
+ connect(l_box, TQ_SIGNAL(selectionChanged()), TQ_SLOT(slotSelectionChanged()));
xgbL->addMultiCellWidget(l_box, 1,4, 0,0);
a_ddBtn=new TQPushButton(i18n("&Add..."), xgb);
- connect(a_ddBtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotAddBtnClicked()));
+ connect(a_ddBtn, TQ_SIGNAL(clicked()), TQ_SLOT(slotAddBtnClicked()));
xgbL->addWidget(a_ddBtn, 1,1);
d_elBtn=new TQPushButton(i18n("Dele&te"), xgb);
- connect(d_elBtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotDelBtnClicked()));
+ connect(d_elBtn, TQ_SIGNAL(clicked()), TQ_SLOT(slotDelBtnClicked()));
xgbL->addWidget(d_elBtn, 2,1);
e_ditBtn=new TQPushButton(i18n("modify something","&Edit..."), xgb);
- connect(e_ditBtn, TQT_SIGNAL(clicked()), TQT_SLOT(slotEditBtnClicked()));
+ connect(e_ditBtn, TQ_SIGNAL(clicked()), TQ_SLOT(slotEditBtnClicked()));
xgbL->addWidget(e_ditBtn, 3,1);
TQLabel *placeHolders = new TQLabel(i18n("<qt>Placeholders for replies: <b>%NAME</b>=sender's name, <b>%EMAIL</b>=sender's address</qt>"), xgb);
@@ -2001,7 +2001,7 @@ KNConfig::PostNewsTechnicalWidget::PostNewsTechnicalWidget( PostNewsTechnical *d
i_ncUaCB=new TQCheckBox(i18n("Do not add the \"&User-Agent\" identification header"), xgb);
xgbL->addMultiCellWidget(i_ncUaCB, 6,6, 0,1);
- connect(i_ncUaCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
+ connect(i_ncUaCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
xgbL->setRowStretch(4,1);
xgbL->setColStretch(0,1);
@@ -2183,13 +2183,13 @@ KNConfig::PostNewsComposerWidget::PostNewsComposerWidget( PostNewsComposer *d, T
generalL->addWidget(w_ordWrapCB,1,0);
m_axLen=new KIntSpinBox(20, 200, 1, 20, 10, generalB);
generalL->addWidget(m_axLen,1,2);
- connect(w_ordWrapCB, TQT_SIGNAL(toggled(bool)), m_axLen, TQT_SLOT(setEnabled(bool)));
- connect(w_ordWrapCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
- connect(m_axLen, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(changed()));
+ connect(w_ordWrapCB, TQ_SIGNAL(toggled(bool)), m_axLen, TQ_SLOT(setEnabled(bool)));
+ connect(w_ordWrapCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
+ connect(m_axLen, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(changed()));
o_wnSigCB=new TQCheckBox(i18n("Appe&nd signature automatically"), generalB);
generalL->addMultiCellWidget(o_wnSigCB,2,2,0,1);
- connect(o_wnSigCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
+ connect(o_wnSigCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
generalL->setColStretch(1,1);
@@ -2205,19 +2205,19 @@ KNConfig::PostNewsComposerWidget::PostNewsComposerWidget( PostNewsComposer *d, T
replyL->addMultiCellWidget(new TQLabel(i_ntro,i18n("&Introduction phrase:"), replyB),1,1,0,1);
replyL->addMultiCellWidget(i_ntro, 2,2,0,1);
replyL->addMultiCellWidget(new TQLabel(i18n("<qt>Placeholders: <b>%NAME</b>=sender's name, <b>%EMAIL</b>=sender's address,<br><b>%DATE</b>=date, <b>%MSID</b>=message-id, <b>%GROUP</b>=group name, <b>%L</b>=line break</qt>"), replyB),3,3,0,1);
- connect(i_ntro, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(changed()));
+ connect(i_ntro, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(changed()));
r_ewrapCB=new TQCheckBox(i18n("Rewrap quoted te&xt automatically"), replyB);
replyL->addMultiCellWidget(r_ewrapCB, 4,4,0,1);
- connect(r_ewrapCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
+ connect(r_ewrapCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
a_uthSigCB=new TQCheckBox(i18n("Include the a&uthor's signature"), replyB);
replyL->addMultiCellWidget(a_uthSigCB, 5,5,0,1);
- connect(a_uthSigCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
+ connect(a_uthSigCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
c_ursorOnTopCB=new TQCheckBox(i18n("Put the cursor &below the introduction phrase"), replyB);
replyL->addMultiCellWidget(c_ursorOnTopCB, 6,6,0,1);
- connect(c_ursorOnTopCB, TQT_SIGNAL(toggled(bool)), TQT_SLOT(changed()));
+ connect(c_ursorOnTopCB, TQ_SIGNAL(toggled(bool)), TQ_SLOT(changed()));
replyL->setColStretch(1,1);
@@ -2233,15 +2233,15 @@ KNConfig::PostNewsComposerWidget::PostNewsComposerWidget( PostNewsComposer *d, T
editorL->addWidget(new TQLabel(e_ditor, i18n("Specify edi&tor:"), editorB),1,0);
editorL->addWidget(e_ditor,1,1);
TQPushButton *btn = new TQPushButton(i18n("Choo&se..."),editorB);
- connect(btn, TQT_SIGNAL(clicked()), TQT_SLOT(slotChooseEditor()));
- connect(e_ditor, TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(changed()));
+ connect(btn, TQ_SIGNAL(clicked()), TQ_SLOT(slotChooseEditor()));
+ connect(e_ditor, TQ_SIGNAL(textChanged(const TQString&)), TQ_SLOT(changed()));
editorL->addWidget(btn,1,2);
editorL->addMultiCellWidget(new TQLabel(i18n("%f will be replaced with the filename to edit."), editorB),2,2,0,2);
e_xternCB=new TQCheckBox(i18n("Start exte&rnal editor automatically"), editorB);
editorL->addMultiCellWidget(e_xternCB, 3,3,0,2);
- connect(e_xternCB, TQT_SIGNAL(clicked()), TQT_SLOT(changed()));
+ connect(e_xternCB, TQ_SIGNAL(clicked()), TQ_SLOT(changed()));
editorL->setColStretch(1,1);
@@ -2310,7 +2310,7 @@ KNConfig::PostNewsSpellingWidget::PostNewsSpellingWidget( TQWidget *p, const cha
c_onf = new KSpellConfig( this, "spell", 0, false );
topL->addWidget(c_onf);
- connect(c_onf, TQT_SIGNAL(configChanged()), TQT_SLOT(changed()));
+ connect(c_onf, TQ_SIGNAL(configChanged()), TQ_SLOT(changed()));
topL->addStretch(1);
}
@@ -2335,7 +2335,7 @@ KNConfig::PrivacyWidget::PrivacyWidget(TQWidget *p, const char *n) :
TQBoxLayout *topLayout = new TQVBoxLayout(this, 5);
c_onf = new Kpgp::Config(this,"knode pgp config",false);
topLayout->addWidget(c_onf);
- connect(c_onf, TQT_SIGNAL(changed()), TQT_SLOT(changed()));
+ connect(c_onf, TQ_SIGNAL(changed()), TQ_SLOT(changed()));
topLayout->addStretch(1);
@@ -2367,7 +2367,7 @@ KNConfig::GroupCleanupWidget::GroupCleanupWidget( Cleanup *data, TQWidget *paren
if (!mData->isGlobal()) {
mDefault = new TQCheckBox( i18n("&Use global cleanup configuration"), this );
- connect( mDefault, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotDefaultToggled(bool)) );
+ connect( mDefault, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotDefaultToggled(bool)) );
top->addWidget( mDefault );
}
@@ -2382,38 +2382,38 @@ KNConfig::GroupCleanupWidget::GroupCleanupWidget( Cleanup *data, TQWidget *paren
mExpEnabled = new TQCheckBox( i18n("&Expire old articles automatically"), mExpGroup );
grid->addMultiCellWidget( mExpEnabled, 1, 1, 0, 1 );
- connect( mExpEnabled, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed()) );
+ connect( mExpEnabled, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()) );
mExpDays = new KIntSpinBox( 0, 99999, 1, 0, 10, mExpGroup );
TQLabel *label = new TQLabel( mExpDays, i18n("&Purge groups every:"), mExpGroup );
grid->addWidget( label, 2, 0 );
grid->addWidget( mExpDays, 2, 1, TQt::AlignRight );
- connect( mExpDays, TQT_SIGNAL(valueChanged(int)), TQT_SIGNAL(changed()) );
- connect( mExpDays, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(expDaysChanged(int)) );
- connect( mExpEnabled, TQT_SIGNAL(toggled(bool)), label, TQT_SLOT(setEnabled(bool)) );
- connect( mExpEnabled, TQT_SIGNAL(toggled(bool)), mExpDays, TQT_SLOT(setEnabled(bool)) );
+ connect( mExpDays, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()) );
+ connect( mExpDays, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(expDaysChanged(int)) );
+ connect( mExpEnabled, TQ_SIGNAL(toggled(bool)), label, TQ_SLOT(setEnabled(bool)) );
+ connect( mExpEnabled, TQ_SIGNAL(toggled(bool)), mExpDays, TQ_SLOT(setEnabled(bool)) );
mExpReadDays = new KIntSpinBox( 0, 99999, 1, 0, 10, mExpGroup );
label = new TQLabel( mExpReadDays, i18n("&Keep read articles:"), mExpGroup );
grid->addWidget( label, 3, 0 );
grid->addWidget( mExpReadDays, 3, 1, TQt::AlignRight );
- connect( mExpReadDays, TQT_SIGNAL(valueChanged(int)), TQT_SIGNAL(changed()) );
- connect( mExpReadDays, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(expReadDaysChanged(int)) );
+ connect( mExpReadDays, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()) );
+ connect( mExpReadDays, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(expReadDaysChanged(int)) );
mExpUnreadDays = new KIntSpinBox( 0, 99999, 1, 0, 10, mExpGroup );
label = new TQLabel( mExpUnreadDays, i18n("Keep u&nread articles:"), mExpGroup );
grid->addWidget( label, 4, 0 );
grid->addWidget( mExpUnreadDays, 4, 1, TQt::AlignRight );
- connect( mExpUnreadDays, TQT_SIGNAL(valueChanged(int)), TQT_SIGNAL(changed()) );
- connect( mExpUnreadDays, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(expUnreadDaysChanged(int)) );
+ connect( mExpUnreadDays, TQ_SIGNAL(valueChanged(int)), TQ_SIGNAL(changed()) );
+ connect( mExpUnreadDays, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(expUnreadDaysChanged(int)) );
mExpUnavailable = new TQCheckBox( i18n("&Remove articles that are not available on the server"), mExpGroup );
grid->addMultiCellWidget( mExpUnavailable, 5, 5, 0, 1 );
- connect( mExpUnavailable, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed()) );
+ connect( mExpUnavailable, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()) );
mPreserveThreads = new TQCheckBox( i18n("Preser&ve threads"), mExpGroup );
grid->addMultiCellWidget( mPreserveThreads, 6, 6, 0, 1 );
- connect( mPreserveThreads, TQT_SIGNAL(toggled(bool)), TQT_SIGNAL(changed()) );
+ connect( mPreserveThreads, TQ_SIGNAL(toggled(bool)), TQ_SIGNAL(changed()) );
grid->setColStretch(1,1);
}
@@ -2476,7 +2476,7 @@ KNConfig::CleanupWidget::CleanupWidget( TQWidget *p, const char *n ) :
mGroupCleanup = new GroupCleanupWidget( d_ata, this );
topL->addWidget( mGroupCleanup );
- connect( mGroupCleanup, TQT_SIGNAL(changed()), TQT_SLOT(changed()) );
+ connect( mGroupCleanup, TQ_SIGNAL(changed()), TQ_SLOT(changed()) );
// === folders =========================================================
@@ -2491,15 +2491,15 @@ KNConfig::CleanupWidget::CleanupWidget( TQWidget *p, const char *n ) :
foldersL->setRowSpacing( 0, KDialog::spacingHint() );
f_olderCB=new TQCheckBox(i18n("Co&mpact folders automatically"), foldersB);
- connect(f_olderCB, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotFolderCBtoggled(bool)));
+ connect(f_olderCB, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotFolderCBtoggled(bool)));
foldersL->addMultiCellWidget(f_olderCB,1,1,0,1);
f_olderDays=new KIntSpinBox(0, 99999, 1, 0, 10, foldersB);
f_olderDaysL=new TQLabel(f_olderDays,i18n("P&urge folders every:"), foldersB);
foldersL->addWidget(f_olderDaysL,2,0);
foldersL->addWidget(f_olderDays,2,1,TQt::AlignRight);
- connect(f_olderDays, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(changed()));
- connect(f_olderDays, TQT_SIGNAL(valueChanged(int)), TQT_SLOT(slotFolderDaysChanged(int)));
+ connect(f_olderDays, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(changed()));
+ connect(f_olderDays, TQ_SIGNAL(valueChanged(int)), TQ_SLOT(slotFolderDaysChanged(int)));
foldersL->setColStretch(1,1);
diff --git a/knode/knconvert.cpp b/knode/knconvert.cpp
index 20a63ffa0..c8325f642 100644
--- a/knode/knconvert.cpp
+++ b/knode/knconvert.cpp
@@ -61,8 +61,8 @@ KNConvert::KNConvert(const TQString &version)
c_ancelBtn=new KPushButton(KStdGuiItem::cancel(), this);
btnL->addWidget(c_ancelBtn);
- connect(s_tartBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotStart()));
- connect(c_ancelBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()));
+ connect(s_tartBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotStart()));
+ connect(c_ancelBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(reject()));
w_1=new TQWidget(s_tack);
s_tack->addWidget(w_1, 1);
@@ -78,7 +78,7 @@ will be created before the conversion starts.").arg(KNODE_VERSION), w_1);
c_reateBkup=new TQCheckBox(i18n("Create backup of old data"), w_1);
w1L->addMultiCellWidget(c_reateBkup, 2,2, 0,2);
- connect(c_reateBkup, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotCreateBkupToggled(bool)));
+ connect(c_reateBkup, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(slotCreateBkupToggled(bool)));
b_ackupPathLabel=new TQLabel(i18n("Save backup in:"), w_1);
w1L->addWidget(b_ackupPathLabel, 3,0);
@@ -87,7 +87,7 @@ will be created before the conversion starts.").arg(KNODE_VERSION), w_1);
w1L->addWidget(b_ackupPath, 3,1);
b_rowseBtn= new TQPushButton(i18n("Browse..."), w_1);
- connect(b_rowseBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotBrowse()));
+ connect(b_rowseBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotBrowse()));
w1L->addWidget(b_rowseBtn, 3,2);
w1L->setColStretch(1,1);
w1L->addRowSpacing(1,15);
@@ -177,7 +177,7 @@ void KNConvert::slotStart()
*t_ar << "tar";
*t_ar << "-cz" << dataDir
<< "-f" << b_ackupPath->text();
- connect(t_ar, TQT_SIGNAL(processExited(TDEProcess*)), this, TQT_SLOT(slotTarExited(TDEProcess*)));
+ connect(t_ar, TQ_SIGNAL(processExited(TDEProcess*)), this, TQ_SLOT(slotTarExited(TDEProcess*)));
if(!t_ar->start()) {
delete t_ar;
t_ar = 0;
diff --git a/knode/knfilterdialog.cpp b/knode/knfilterdialog.cpp
index 6a0e972a4..b8471e6b8 100644
--- a/knode/knfilterdialog.cpp
+++ b/knode/knfilterdialog.cpp
@@ -78,7 +78,7 @@ KNFilterDialog::KNFilterDialog(KNArticleFilter *f, TQWidget *parent, const char
KNHelper::restoreWindowSize("filterDLG", this, sizeHint());
setHelp("anc-using-filters");
- connect( fname, TQT_SIGNAL( textChanged ( const TQString & )), this, TQT_SLOT( slotTextChanged( const TQString & )));
+ connect( fname, TQ_SIGNAL( textChanged ( const TQString & )), this, TQ_SLOT( slotTextChanged( const TQString & )));
slotTextChanged( fname->text() );
}
diff --git a/knode/knfiltermanager.cpp b/knode/knfiltermanager.cpp
index eee045c28..a80853ea4 100644
--- a/knode/knfiltermanager.cpp
+++ b/knode/knfiltermanager.cpp
@@ -34,7 +34,7 @@ KNFilterSelectAction::KNFilterSelectAction( const TQString& text, const TQString
: TDEActionMenu(text,pix,parent,name), currentItem(-42)
{
popupMenu()->setCheckable(true);
- connect(popupMenu(),TQT_SIGNAL(activated(int)),this,TQT_SLOT(slotMenuActivated(int)));
+ connect(popupMenu(),TQ_SIGNAL(activated(int)),this,TQ_SLOT(slotMenuActivated(int)));
setDelayed(false);
}
@@ -383,10 +383,10 @@ void KNFilterManager::setMenuAction(KNFilterSelectAction *a, TDEAction *keybA)
{
if(a) {
a_ctFilter = a;
- connect(a_ctFilter, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotMenuActivated(int)));
+ connect(a_ctFilter, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotMenuActivated(int)));
}
if(keybA)
- connect(keybA, TQT_SIGNAL(activated()), this, TQT_SLOT(slotShowFilterChooser()));
+ connect(keybA, TQ_SIGNAL(activated()), this, TQ_SLOT(slotShowFilterChooser()));
updateMenu();
}
diff --git a/knode/kngroupbrowser.cpp b/knode/kngroupbrowser.cpp
index bafa065c9..865dbd202 100644
--- a/knode/kngroupbrowser.cpp
+++ b/knode/kngroupbrowser.cpp
@@ -87,8 +87,8 @@ KNGroupBrowser::KNGroupBrowser(TQWidget *parent, const TQString &caption, KNNntp
groupView->addColumn(i18n("Description"));
groupView->setTreeStepSize(15);
- connect(groupView, TQT_SIGNAL(doubleClicked(TQListViewItem*)),
- this, TQT_SLOT(slotItemDoubleClicked(TQListViewItem*)));
+ connect(groupView, TQ_SIGNAL(doubleClicked(TQListViewItem*)),
+ this, TQ_SLOT(slotItemDoubleClicked(TQListViewItem*)));
//layout
TQGridLayout *topL=new TQGridLayout(page,3,1,0,5);
@@ -119,22 +119,22 @@ KNGroupBrowser::KNGroupBrowser(TQWidget *parent, const TQString &caption, KNNntp
arrL->addWidget(arrowBtn2, AlignCenter);
//connect
- connect(filterEdit, TQT_SIGNAL(textChanged(const TQString&)),
- TQT_SLOT(slotFilterTextChanged(const TQString&)));
- connect(groupView, TQT_SIGNAL(expanded(TQListViewItem*)),
- TQT_SLOT(slotItemExpand(TQListViewItem*)));
+ connect(filterEdit, TQ_SIGNAL(textChanged(const TQString&)),
+ TQ_SLOT(slotFilterTextChanged(const TQString&)));
+ connect(groupView, TQ_SIGNAL(expanded(TQListViewItem*)),
+ TQ_SLOT(slotItemExpand(TQListViewItem*)));
- connect(refilterTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotRefilter()));
- connect(noTreeCB, TQT_SIGNAL(clicked()), TQT_SLOT(slotTreeCBToggled()));
- connect(subCB, TQT_SIGNAL(clicked()), TQT_SLOT(slotSubCBToggled()));
- connect(newCB, TQT_SIGNAL(clicked()), TQT_SLOT(slotNewCBToggled()));
+ connect(refilterTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotRefilter()));
+ connect(noTreeCB, TQ_SIGNAL(clicked()), TQ_SLOT(slotTreeCBToggled()));
+ connect(subCB, TQ_SIGNAL(clicked()), TQ_SLOT(slotSubCBToggled()));
+ connect(newCB, TQ_SIGNAL(clicked()), TQ_SLOT(slotNewCBToggled()));
enableButton(User1,false);
enableButton(User2,false);
filterEdit->setFocus();
- TQTimer::singleShot(2, this, TQT_SLOT(slotLoadList()));
+ TQTimer::singleShot(2, this, TQ_SLOT(slotLoadList()));
}
@@ -301,7 +301,7 @@ void KNGroupBrowser::slotItemExpand(TQListViewItem *it)
{
groupView->ensureVisible(groupView->contentsX(), y+h/2, 0, h/2);
delayedCenter = y+h/2;
- TQTimer::singleShot(300, this, TQT_SLOT(slotCenterDelayed()));
+ TQTimer::singleShot(300, this, TQ_SLOT(slotCenterDelayed()));
}
}
diff --git a/knode/kngroupdialog.cpp b/knode/kngroupdialog.cpp
index 19bbad34f..0fe1e7db3 100644
--- a/knode/kngroupdialog.cpp
+++ b/knode/kngroupdialog.cpp
@@ -51,17 +51,17 @@ KNGroupDialog::KNGroupDialog(TQWidget *parent, KNNntpAccount *a) :
dir1=right;
dir2=left;
- connect(groupView, TQT_SIGNAL(selectionChanged(TQListViewItem*)),
- this, TQT_SLOT(slotItemSelected(TQListViewItem*)));
- connect(groupView, TQT_SIGNAL(selectionChanged()),
- this, TQT_SLOT(slotSelectionChanged()));
- connect(subView, TQT_SIGNAL(selectionChanged(TQListViewItem*)),
- this, TQT_SLOT(slotItemSelected(TQListViewItem*)));
- connect(unsubView, TQT_SIGNAL(selectionChanged(TQListViewItem*)),
- this, TQT_SLOT(slotItemSelected(TQListViewItem*)));
-
- connect(arrowBtn1, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotArrowBtn1()));
- connect(arrowBtn2, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotArrowBtn2()));
+ connect(groupView, TQ_SIGNAL(selectionChanged(TQListViewItem*)),
+ this, TQ_SLOT(slotItemSelected(TQListViewItem*)));
+ connect(groupView, TQ_SIGNAL(selectionChanged()),
+ this, TQ_SLOT(slotSelectionChanged()));
+ connect(subView, TQ_SIGNAL(selectionChanged(TQListViewItem*)),
+ this, TQ_SLOT(slotItemSelected(TQListViewItem*)));
+ connect(unsubView, TQ_SIGNAL(selectionChanged(TQListViewItem*)),
+ this, TQ_SLOT(slotItemSelected(TQListViewItem*)));
+
+ connect(arrowBtn1, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotArrowBtn1()));
+ connect(arrowBtn2, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotArrowBtn2()));
KNHelper::restoreWindowSize("groupDlg", this, TQSize(662,393)); // optimized for 800x600
@@ -293,7 +293,7 @@ void KNGroupDialog::slotUser2()
TQLabel *l = new TQLabel(TDEGlobal::locale()->formatDate(lastDate, false),btnGrp);
topL->addWidget(l, 1, 1, TQt::AlignLeft);
- connect(takeLast, TQT_SIGNAL(toggled(bool)), l, TQT_SLOT(setEnabled(bool)));
+ connect(takeLast, TQ_SIGNAL(toggled(bool)), l, TQ_SLOT(setEnabled(bool)));
TQRadioButton *takeCustom = new TQRadioButton( i18n("Created since this date:"), btnGrp );
topL->addMultiCellWidget(takeCustom, 2, 2, 0, 1);
@@ -302,7 +302,7 @@ void KNGroupDialog::slotUser2()
dateSel->setMinimumSize(dateSel->sizeHint());
topL->addWidget(dateSel, 3, 1, TQt::AlignLeft);
- connect(takeCustom, TQT_SIGNAL(toggled(bool)), dateSel, TQT_SLOT(setEnabled(bool)));
+ connect(takeCustom, TQ_SIGNAL(toggled(bool)), dateSel, TQ_SLOT(setEnabled(bool)));
takeLast->setChecked(true);
dateSel->setEnabled(false);
diff --git a/knode/kngroupmanager.cpp b/knode/kngroupmanager.cpp
index d2d21762a..e4c7aed6f 100644
--- a/knode/kngroupmanager.cpp
+++ b/knode/kngroupmanager.cpp
@@ -418,10 +418,10 @@ void KNGroupManager::showGroupDialog(KNNntpAccount *a, TQWidget *parent)
{
KNGroupDialog* gDialog=new KNGroupDialog((parent!=0)? parent:knGlobals.topWidget, a);
- connect(gDialog, TQT_SIGNAL(loadList(KNNntpAccount*)), this, TQT_SLOT(slotLoadGroupList(KNNntpAccount*)));
- connect(gDialog, TQT_SIGNAL(fetchList(KNNntpAccount*)), this, TQT_SLOT(slotFetchGroupList(KNNntpAccount*)));
- connect(gDialog, TQT_SIGNAL(checkNew(KNNntpAccount*,TQDate)), this, TQT_SLOT(slotCheckForNewGroups(KNNntpAccount*,TQDate)));
- connect(this, TQT_SIGNAL(newListReady(KNGroupListData*)), gDialog, TQT_SLOT(slotReceiveList(KNGroupListData*)));
+ connect(gDialog, TQ_SIGNAL(loadList(KNNntpAccount*)), this, TQ_SLOT(slotLoadGroupList(KNNntpAccount*)));
+ connect(gDialog, TQ_SIGNAL(fetchList(KNNntpAccount*)), this, TQ_SLOT(slotFetchGroupList(KNNntpAccount*)));
+ connect(gDialog, TQ_SIGNAL(checkNew(KNNntpAccount*,TQDate)), this, TQ_SLOT(slotCheckForNewGroups(KNNntpAccount*,TQDate)));
+ connect(this, TQ_SIGNAL(newListReady(KNGroupListData*)), gDialog, TQ_SLOT(slotReceiveList(KNGroupListData*)));
if(gDialog->exec()) {
KNGroup *g=0;
diff --git a/knode/kngrouppropdlg.cpp b/knode/kngrouppropdlg.cpp
index a6a905786..5a7f52005 100644
--- a/knode/kngrouppropdlg.cpp
+++ b/knode/kngrouppropdlg.cpp
@@ -62,7 +62,7 @@ KNGroupPropDlg::KNGroupPropDlg(KNGroup *group, TQWidget *parent, const char *nam
c_harset->insertStringList(knGlobals.configManager()->postNewsTechnical()->composerCharsets());
c_harset->setCurrentItem(knGlobals.configManager()->postNewsTechnical()->indexForCharset(g_rp->defaultCharset()));
c_harset->setEnabled(g_rp->useCharset());
- connect(u_seCharset, TQT_SIGNAL(toggled(bool)), c_harset, TQT_SLOT(setEnabled(bool)));
+ connect(u_seCharset, TQ_SIGNAL(toggled(bool)), c_harset, TQ_SLOT(setEnabled(bool)));
grpL->addWidget(c_harset, 2,2);
grpL->setColStretch(1,1);
diff --git a/knode/kngroupselectdialog.cpp b/knode/kngroupselectdialog.cpp
index 07f118c88..10374d6d0 100644
--- a/knode/kngroupselectdialog.cpp
+++ b/knode/kngroupselectdialog.cpp
@@ -44,14 +44,14 @@ KNGroupSelectDialog::KNGroupSelectDialog(TQWidget *parent, KNNntpAccount *a, con
new GroupItem(selView, info);
}
- connect(selView, TQT_SIGNAL(selectionChanged(TQListViewItem*)),
- this, TQT_SLOT(slotItemSelected(TQListViewItem*)));
- connect(groupView, TQT_SIGNAL(selectionChanged(TQListViewItem*)),
- this, TQT_SLOT(slotItemSelected(TQListViewItem*)));
- connect(groupView, TQT_SIGNAL(selectionChanged()),
- this, TQT_SLOT(slotSelectionChanged()));
- connect(arrowBtn1, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotArrowBtn1()));
- connect(arrowBtn2, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotArrowBtn2()));
+ connect(selView, TQ_SIGNAL(selectionChanged(TQListViewItem*)),
+ this, TQ_SLOT(slotItemSelected(TQListViewItem*)));
+ connect(groupView, TQ_SIGNAL(selectionChanged(TQListViewItem*)),
+ this, TQ_SLOT(slotItemSelected(TQListViewItem*)));
+ connect(groupView, TQ_SIGNAL(selectionChanged()),
+ this, TQ_SLOT(slotSelectionChanged()));
+ connect(arrowBtn1, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotArrowBtn1()));
+ connect(arrowBtn2, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotArrowBtn2()));
KNHelper::restoreWindowSize("groupSelDlg", this, TQSize(659,364)); // optimized for 800x600
}
diff --git a/knode/knjobdata.cpp b/knode/knjobdata.cpp
index 7d4ac9123..74d98a856 100644
--- a/knode/knjobdata.cpp
+++ b/knode/knjobdata.cpp
@@ -105,10 +105,10 @@ void KNJobData::setJob( TDEIO::Job *job )
{
mJob = job;
if ( job ) {
- connect( job, TQT_SIGNAL( percent(TDEIO::Job*, unsigned long) ),
- TQT_SLOT( slotJobPercent(TDEIO::Job*, unsigned long) ) );
- connect( job, TQT_SIGNAL( infoMessage(TDEIO::Job*, const TQString&) ),
- TQT_SLOT( slotJobInfoMessage(TDEIO::Job*, const TQString&) ) );
+ connect( job, TQ_SIGNAL( percent(TDEIO::Job*, unsigned long) ),
+ TQ_SLOT( slotJobPercent(TDEIO::Job*, unsigned long) ) );
+ connect( job, TQ_SIGNAL( infoMessage(TDEIO::Job*, const TQString&) ),
+ TQ_SLOT( slotJobInfoMessage(TDEIO::Job*, const TQString&) ) );
}
}
diff --git a/knode/knmainwidget.cpp b/knode/knmainwidget.cpp
index 19baa9267..35f976c48 100644
--- a/knode/knmainwidget.cpp
+++ b/knode/knmainwidget.cpp
@@ -106,9 +106,9 @@ KNMainWidget::KNMainWidget( KXMLGUIClient* client, bool detachable, TQWidget* pa
//setView(a_rtDock);
setMainDockWidget(a_rtDock);
- connect(a_rtDock, TQT_SIGNAL(iMBeingClosed()), TQT_SLOT(slotArticleDockHidden()));
- connect(a_rtDock, TQT_SIGNAL(hasUndocked()), TQT_SLOT(slotArticleDockHidden()));
- connect( mArticleViewer, TQT_SIGNAL(focusChangeRequest(TQWidget*)), TQT_SLOT(slotDockWidgetFocusChangeRequest(TQWidget*)) );
+ connect(a_rtDock, TQ_SIGNAL(iMBeingClosed()), TQ_SLOT(slotArticleDockHidden()));
+ connect(a_rtDock, TQ_SIGNAL(hasUndocked()), TQ_SLOT(slotArticleDockHidden()));
+ connect( mArticleViewer, TQ_SIGNAL(focusChangeRequest(TQWidget*)), TQ_SLOT(slotDockWidgetFocusChangeRequest(TQWidget*)) );
//collection view
c_olDock = createDockWidget("group_view", UserIcon("group"), 0,
@@ -123,22 +123,22 @@ KNMainWidget::KNMainWidget( KXMLGUIClient* client, bool detachable, TQWidget* pa
c_olDock->setWidget(c_olView);
c_olDock->manualDock(a_rtDock, KDockWidget::DockLeft, 3000);
- connect(c_olDock, TQT_SIGNAL(iMBeingClosed()), TQT_SLOT(slotGroupDockHidden()));
- connect(c_olDock, TQT_SIGNAL(hasUndocked()), TQT_SLOT(slotGroupDockHidden()));
- connect(c_olView, TQT_SIGNAL(focusChangeRequest(TQWidget *)), TQT_SLOT(slotDockWidgetFocusChangeRequest(TQWidget *)));
- connect(c_olView, TQT_SIGNAL(selectionChanged(TQListViewItem*)),
- TQT_SLOT(slotCollectionSelected(TQListViewItem*)));
- connect(c_olView, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
- TQT_SLOT(slotCollectionRMB(TDEListView*, TQListViewItem*, const TQPoint&)));
- connect(c_olView, TQT_SIGNAL(folderDrop(TQDropEvent*, KNCollectionViewItem*)),
- TQT_SLOT(slotCollectionViewDrop(TQDropEvent*, KNCollectionViewItem*)));
- connect(c_olView, TQT_SIGNAL(itemRenamed(TQListViewItem*)),
- TQT_SLOT(slotCollectionRenamed(TQListViewItem*)));
-
- accel->connectItem( accel->insertItem(Key_Up), mArticleViewer, TQT_SLOT(scrollUp()) );
- accel->connectItem( accel->insertItem(Key_Down), mArticleViewer, TQT_SLOT(scrollDown()) );
- accel->connectItem( accel->insertItem(Key_Prior), mArticleViewer, TQT_SLOT(scrollPrior()) );
- accel->connectItem( accel->insertItem(Key_Next), mArticleViewer, TQT_SLOT(scrollNext()) );
+ connect(c_olDock, TQ_SIGNAL(iMBeingClosed()), TQ_SLOT(slotGroupDockHidden()));
+ connect(c_olDock, TQ_SIGNAL(hasUndocked()), TQ_SLOT(slotGroupDockHidden()));
+ connect(c_olView, TQ_SIGNAL(focusChangeRequest(TQWidget *)), TQ_SLOT(slotDockWidgetFocusChangeRequest(TQWidget *)));
+ connect(c_olView, TQ_SIGNAL(selectionChanged(TQListViewItem*)),
+ TQ_SLOT(slotCollectionSelected(TQListViewItem*)));
+ connect(c_olView, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
+ TQ_SLOT(slotCollectionRMB(TDEListView*, TQListViewItem*, const TQPoint&)));
+ connect(c_olView, TQ_SIGNAL(folderDrop(TQDropEvent*, KNCollectionViewItem*)),
+ TQ_SLOT(slotCollectionViewDrop(TQDropEvent*, KNCollectionViewItem*)));
+ connect(c_olView, TQ_SIGNAL(itemRenamed(TQListViewItem*)),
+ TQ_SLOT(slotCollectionRenamed(TQListViewItem*)));
+
+ accel->connectItem( accel->insertItem(Key_Up), mArticleViewer, TQ_SLOT(scrollUp()) );
+ accel->connectItem( accel->insertItem(Key_Down), mArticleViewer, TQ_SLOT(scrollDown()) );
+ accel->connectItem( accel->insertItem(Key_Prior), mArticleViewer, TQ_SLOT(scrollPrior()) );
+ accel->connectItem( accel->insertItem(Key_Next), mArticleViewer, TQ_SLOT(scrollNext()) );
//header view
h_drDock = createDockWidget("header_view", SmallIcon("text_block"), 0,
@@ -171,25 +171,25 @@ KNMainWidget::KNMainWidget( KXMLGUIClient* client, bool detachable, TQWidget* pa
s_earchLineEdit = new TDEListViewSearchLine(q_uicksearch, h_drView, "TDEListViewSearchLine");
q_uicksearch->setStretchableWidget(s_earchLineEdit);
lbl->setBuddy(s_earchLineEdit);
- connect( resetQuickSearch, TQT_SIGNAL( activated() ), s_earchLineEdit, TQT_SLOT( clear() ));
+ connect( resetQuickSearch, TQ_SIGNAL( activated() ), s_earchLineEdit, TQ_SLOT( clear() ));
vlay->addWidget(q_uicksearch);
vlay->addWidget(h_drView);
- connect(h_drDock, TQT_SIGNAL(iMBeingClosed()), TQT_SLOT(slotHeaderDockHidden()));
- connect(h_drDock, TQT_SIGNAL(hasUndocked()), TQT_SLOT(slotHeaderDockHidden()));
- connect(h_drView, TQT_SIGNAL(focusChangeRequest(TQWidget *)),
- TQT_SLOT(slotDockWidgetFocusChangeRequest(TQWidget *)));
- connect(h_drView, TQT_SIGNAL(itemSelected(TQListViewItem*)),
- TQT_SLOT(slotArticleSelected(TQListViewItem*)));
- connect(h_drView, TQT_SIGNAL(selectionChanged()),
- TQT_SLOT(slotArticleSelectionChanged()));
- connect(h_drView, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
- TQT_SLOT(slotArticleRMB(TDEListView*, TQListViewItem*, const TQPoint&)));
- connect(h_drView, TQT_SIGNAL(doubleClick(TQListViewItem *)),
- TQT_SLOT(slotOpenArticle(TQListViewItem *)));
- connect(h_drView, TQT_SIGNAL(sortingChanged(int)),
- TQT_SLOT(slotHdrViewSortingChanged(int)));
+ connect(h_drDock, TQ_SIGNAL(iMBeingClosed()), TQ_SLOT(slotHeaderDockHidden()));
+ connect(h_drDock, TQ_SIGNAL(hasUndocked()), TQ_SLOT(slotHeaderDockHidden()));
+ connect(h_drView, TQ_SIGNAL(focusChangeRequest(TQWidget *)),
+ TQ_SLOT(slotDockWidgetFocusChangeRequest(TQWidget *)));
+ connect(h_drView, TQ_SIGNAL(itemSelected(TQListViewItem*)),
+ TQ_SLOT(slotArticleSelected(TQListViewItem*)));
+ connect(h_drView, TQ_SIGNAL(selectionChanged()),
+ TQ_SLOT(slotArticleSelectionChanged()));
+ connect(h_drView, TQ_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
+ TQ_SLOT(slotArticleRMB(TDEListView*, TQListViewItem*, const TQPoint&)));
+ connect(h_drView, TQ_SIGNAL(doubleClick(TQListViewItem *)),
+ TQ_SLOT(slotOpenArticle(TQListViewItem *)));
+ connect(h_drView, TQ_SIGNAL(sortingChanged(int)),
+ TQ_SLOT(slotHdrViewSortingChanged(int)));
//actions
initActions();
@@ -200,7 +200,7 @@ KNMainWidget::KNMainWidget( KXMLGUIClient* client, bool detachable, TQWidget* pa
//Network
n_etAccess = knGlobals.netAccess();
- connect(n_etAccess, TQT_SIGNAL(netActive(bool)), this, TQT_SLOT(slotNetworkActive(bool)));
+ connect(n_etAccess, TQ_SIGNAL(netActive(bool)), this, TQ_SLOT(slotNetworkActive(bool)));
//Filter Manager
f_ilManager = knGlobals.filterManager();
@@ -225,8 +225,8 @@ KNMainWidget::KNMainWidget( KXMLGUIClient* client, bool detachable, TQWidget* pa
// Score Manager
s_coreManager = knGlobals.scoringManager();
- //connect(s_coreManager, TQT_SIGNAL(changedRules()), TQT_SLOT(slotReScore()));
- connect(s_coreManager, TQT_SIGNAL(finishedEditing()), TQT_SLOT(slotReScore()));
+ //connect(s_coreManager, TQ_SIGNAL(changedRules()), TQ_SLOT(slotReScore()));
+ connect(s_coreManager, TQ_SIGNAL(finishedEditing()), TQ_SLOT(slotReScore()));
// Memory Manager
m_emManager = knGlobals.memoryManager();
@@ -551,113 +551,113 @@ void KNMainWidget::initActions()
//navigation
a_ctNavNextArt = new TDEAction( KGuiItem(i18n("&Next Article"), "go-next",
i18n("Go to next article")), "N;Right", h_drView,
- TQT_SLOT(nextArticle()), actionCollection(), "go_nextArticle" );
+ TQ_SLOT(nextArticle()), actionCollection(), "go_nextArticle" );
a_ctNavPrevArt = new TDEAction( KGuiItem(i18n("&Previous Article"), "go-previous",
i18n("Go to previous article")), "P;Left" , h_drView,
- TQT_SLOT(prevArticle()), actionCollection(), "go_prevArticle" );
+ TQ_SLOT(prevArticle()), actionCollection(), "go_prevArticle" );
a_ctNavNextUnreadArt = new TDEAction(i18n("Next Unread &Article"), "1rightarrow", ALT+SHIFT+Key_Space , this,
- TQT_SLOT(slotNavNextUnreadArt()), actionCollection(), "go_nextUnreadArticle");
+ TQ_SLOT(slotNavNextUnreadArt()), actionCollection(), "go_nextUnreadArticle");
a_ctNavNextUnreadThread = new TDEAction(i18n("Next Unread &Thread"),"2rightarrow", SHIFT+Key_Space , this,
- TQT_SLOT(slotNavNextUnreadThread()), actionCollection(), "go_nextUnreadThread");
+ TQ_SLOT(slotNavNextUnreadThread()), actionCollection(), "go_nextUnreadThread");
a_ctNavNextGroup = new TDEAction(i18n("Ne&xt Group"), "go-down", Key_Plus , c_olView,
- TQT_SLOT(nextGroup()), actionCollection(), "go_nextGroup");
+ TQ_SLOT(nextGroup()), actionCollection(), "go_nextGroup");
a_ctNavPrevGroup = new TDEAction(i18n("Pre&vious Group"), "go-up", Key_Minus , c_olView,
- TQT_SLOT(prevGroup()), actionCollection(), "go_prevGroup");
+ TQ_SLOT(prevGroup()), actionCollection(), "go_prevGroup");
a_ctNavReadThrough = new TDEAction(i18n("Read &Through Articles"), Key_Space , this,
- TQT_SLOT(slotNavReadThrough()), actionCollection(), "go_readThrough");
+ TQ_SLOT(slotNavReadThrough()), actionCollection(), "go_readThrough");
a_ctNavReadThrough->plugAccel(a_ccel);
TQAccel *accel = new TQAccel( this );
new TDEAction( i18n("Focus on Next Folder"), CTRL+Key_Right, c_olView,
- TQT_SLOT(incCurrentFolder()), actionCollection(), "inc_current_folder" );
+ TQ_SLOT(incCurrentFolder()), actionCollection(), "inc_current_folder" );
accel->connectItem(accel->insertItem(CTRL+Key_Right),
- c_olView, TQT_SLOT(incCurrentFolder()));
+ c_olView, TQ_SLOT(incCurrentFolder()));
new TDEAction( i18n("Focus on Previous Folder"), CTRL+Key_Left, c_olView,
- TQT_SLOT(decCurrentFolder()), actionCollection(), "dec_current_folder" );
+ TQ_SLOT(decCurrentFolder()), actionCollection(), "dec_current_folder" );
accel->connectItem(accel->insertItem(CTRL+Key_Left),
- c_olView, TQT_SLOT(decCurrentFolder()));
+ c_olView, TQ_SLOT(decCurrentFolder()));
new TDEAction( i18n("Select Folder with Focus"), CTRL+Key_Space, c_olView,
- TQT_SLOT(selectCurrentFolder()), actionCollection(), "select_current_folder" );
+ TQ_SLOT(selectCurrentFolder()), actionCollection(), "select_current_folder" );
accel->connectItem(accel->insertItem(CTRL+Key_Space),
- c_olView, TQT_SLOT(selectCurrentFolder()));
+ c_olView, TQ_SLOT(selectCurrentFolder()));
new TDEAction( i18n("Focus on Next Article"), ALT+Key_Right, h_drView,
- TQT_SLOT(incCurrentArticle()), actionCollection(), "inc_current_article" );
+ TQ_SLOT(incCurrentArticle()), actionCollection(), "inc_current_article" );
accel->connectItem( accel->insertItem(ALT+Key_Right),
- h_drView, TQT_SLOT(incCurrentArticle()) );
+ h_drView, TQ_SLOT(incCurrentArticle()) );
new TDEAction( i18n("Focus on Previous Article"), ALT+Key_Left, h_drView,
- TQT_SLOT(decCurrentArticle()), actionCollection(), "dec_current_article" );
+ TQ_SLOT(decCurrentArticle()), actionCollection(), "dec_current_article" );
accel->connectItem( accel->insertItem(ALT+Key_Left),
- h_drView, TQT_SLOT(decCurrentArticle()) );
+ h_drView, TQ_SLOT(decCurrentArticle()) );
new TDEAction( i18n("Select Article with Focus"), ALT+Key_Space, h_drView,
- TQT_SLOT(selectCurrentArticle()), actionCollection(), "select_current_article" );
+ TQ_SLOT(selectCurrentArticle()), actionCollection(), "select_current_article" );
accel->connectItem( accel->insertItem(ALT+Key_Space),
- h_drView, TQT_SLOT(selectCurrentArticle()) );
+ h_drView, TQ_SLOT(selectCurrentArticle()) );
//collection-view - accounts
a_ctAccProperties = new TDEAction(i18n("Account &Properties"), "configure", 0, this,
- TQT_SLOT(slotAccProperties()), actionCollection(), "account_properties");
+ TQ_SLOT(slotAccProperties()), actionCollection(), "account_properties");
a_ctAccRename = new TDEAction(i18n("&Rename Account"), "text", 0, this,
- TQT_SLOT(slotAccRename()), actionCollection(), "account_rename");
+ TQ_SLOT(slotAccRename()), actionCollection(), "account_rename");
a_ctAccSubscribe = new TDEAction(i18n("&Subscribe to Newsgroups..."), "news_subscribe", 0, this,
- TQT_SLOT(slotAccSubscribe()), actionCollection(), "account_subscribe");
+ TQ_SLOT(slotAccSubscribe()), actionCollection(), "account_subscribe");
a_ctAccExpireAll = new TDEAction(i18n("&Expire All Groups"), 0, this,
- TQT_SLOT(slotAccExpireAll()), actionCollection(), "account_expire_all");
+ TQ_SLOT(slotAccExpireAll()), actionCollection(), "account_expire_all");
a_ctAccGetNewHdrs = new TDEAction(i18n("&Get New Articles in All Groups"), "mail_get", 0, this,
- TQT_SLOT(slotAccGetNewHdrs()), actionCollection(), "account_dnlHeaders");
+ TQ_SLOT(slotAccGetNewHdrs()), actionCollection(), "account_dnlHeaders");
a_ctAccGetNewHdrsAll = new TDEAction(i18n("&Get New Articles in All Accounts"), "mail_get_all", 0, this,
- TQT_SLOT(slotAccGetNewHdrsAll()), actionCollection(), "account_dnlAllHeaders");
+ TQ_SLOT(slotAccGetNewHdrsAll()), actionCollection(), "account_dnlAllHeaders");
a_ctAccDelete = new TDEAction(i18n("&Delete Account"), "edit-delete", 0, this,
- TQT_SLOT(slotAccDelete()), actionCollection(), "account_delete");
+ TQ_SLOT(slotAccDelete()), actionCollection(), "account_delete");
a_ctAccPostNewArticle = new TDEAction(i18n("&Post to Newsgroup..."), "mail-message-new", CTRL+Key_N, this,
- TQT_SLOT(slotAccPostNewArticle()), actionCollection(), "article_postNew");
+ TQ_SLOT(slotAccPostNewArticle()), actionCollection(), "article_postNew");
//collection-view - groups
a_ctGrpProperties = new TDEAction(i18n("Group &Properties"), "configure", 0, this,
- TQT_SLOT(slotGrpProperties()), actionCollection(), "group_properties");
+ TQ_SLOT(slotGrpProperties()), actionCollection(), "group_properties");
a_ctGrpRename = new TDEAction(i18n("Rename &Group"), "text", 0, this,
- TQT_SLOT(slotGrpRename()), actionCollection(), "group_rename");
+ TQ_SLOT(slotGrpRename()), actionCollection(), "group_rename");
a_ctGrpGetNewHdrs = new TDEAction(i18n("&Get New Articles"), "mail_get" , 0, this,
- TQT_SLOT(slotGrpGetNewHdrs()), actionCollection(), "group_dnlHeaders");
+ TQ_SLOT(slotGrpGetNewHdrs()), actionCollection(), "group_dnlHeaders");
a_ctGrpExpire = new TDEAction(i18n("E&xpire Group"), "wizard", 0, this,
- TQT_SLOT(slotGrpExpire()), actionCollection(), "group_expire");
+ TQ_SLOT(slotGrpExpire()), actionCollection(), "group_expire");
a_ctGrpReorganize = new TDEAction(i18n("Re&organize Group"), 0, this,
- TQT_SLOT(slotGrpReorganize()), actionCollection(), "group_reorg");
+ TQ_SLOT(slotGrpReorganize()), actionCollection(), "group_reorg");
a_ctGrpUnsubscribe = new TDEAction(i18n("&Unsubscribe From Group"), "news_unsubscribe", 0, this,
- TQT_SLOT(slotGrpUnsubscribe()), actionCollection(), "group_unsubscribe");
+ TQ_SLOT(slotGrpUnsubscribe()), actionCollection(), "group_unsubscribe");
a_ctGrpSetAllRead = new TDEAction(i18n("Mark All as &Read"), "goto", 0, this,
- TQT_SLOT(slotGrpSetAllRead()), actionCollection(), "group_allRead");
+ TQ_SLOT(slotGrpSetAllRead()), actionCollection(), "group_allRead");
a_ctGrpSetAllUnread = new TDEAction(i18n("Mark All as U&nread"), 0, this,
- TQT_SLOT(slotGrpSetAllUnread()), actionCollection(), "group_allUnread");
+ TQ_SLOT(slotGrpSetAllUnread()), actionCollection(), "group_allUnread");
a_ctGrpSetUnread = new TDEAction(i18n("Mark Last as Unr&ead..."), 0, this,
- TQT_SLOT(slotGrpSetUnread()), actionCollection(), "group_unread");
+ TQ_SLOT(slotGrpSetUnread()), actionCollection(), "group_unread");
(void) new TDEAction( i18n("&Configure KNode..."),
"configure", 0, this,
- TQT_SLOT(slotSettings()), actionCollection(),
+ TQ_SLOT(slotSettings()), actionCollection(),
"knode_configure_knode" );
//collection-view - folder
a_ctFolNew = new TDEAction(i18n("&New Folder"), "folder-new", 0, this,
- TQT_SLOT(slotFolNew()), actionCollection(), "folder-new");
+ TQ_SLOT(slotFolNew()), actionCollection(), "folder-new");
a_ctFolNewChild = new TDEAction(i18n("New &Subfolder"), "folder-new", 0, this,
- TQT_SLOT(slotFolNewChild()), actionCollection(), "folder_newChild");
+ TQ_SLOT(slotFolNewChild()), actionCollection(), "folder_newChild");
a_ctFolDelete = new TDEAction(i18n("&Delete Folder"), "edit-delete", 0, this,
- TQT_SLOT(slotFolDelete()), actionCollection(), "folder_delete");
+ TQ_SLOT(slotFolDelete()), actionCollection(), "folder_delete");
a_ctFolRename = new TDEAction(i18n("&Rename Folder"), "text", 0, this,
- TQT_SLOT(slotFolRename()), actionCollection(), "folder_rename");
+ TQ_SLOT(slotFolRename()), actionCollection(), "folder_rename");
a_ctFolCompact = new TDEAction(i18n("C&ompact Folder"), "wizard", 0, this,
- TQT_SLOT(slotFolCompact()), actionCollection(), "folder_compact");
+ TQ_SLOT(slotFolCompact()), actionCollection(), "folder_compact");
a_ctFolCompactAll = new TDEAction(i18n("Co&mpact All Folders"), 0, this,
- TQT_SLOT(slotFolCompactAll()), actionCollection(), "folder_compact_all");
+ TQ_SLOT(slotFolCompactAll()), actionCollection(), "folder_compact_all");
a_ctFolEmpty = new TDEAction(i18n("&Empty Folder"), 0, this,
- TQT_SLOT(slotFolEmpty()), actionCollection(), "folder_empty");
+ TQ_SLOT(slotFolEmpty()), actionCollection(), "folder_empty");
a_ctFolMboxImport = new TDEAction(i18n("&Import MBox Folder..."), 0, this,
- TQT_SLOT(slotFolMBoxImport()), actionCollection(), "folder_MboxImport");
+ TQ_SLOT(slotFolMBoxImport()), actionCollection(), "folder_MboxImport");
a_ctFolMboxExport = new TDEAction(i18n("E&xport as MBox Folder..."), 0, this,
- TQT_SLOT(slotFolMBoxExport()), actionCollection(), "folder_MboxExport");
+ TQ_SLOT(slotFolMBoxExport()), actionCollection(), "folder_MboxExport");
//header-view - list-handling
a_ctArtSortHeaders = new TDESelectAction(i18n("S&ort"), 0, actionCollection(), "view_Sort");
@@ -669,9 +669,9 @@ void KNMainWidget::initActions()
items += i18n("By &Date");
a_ctArtSortHeaders->setItems(items);
a_ctArtSortHeaders->setShortcutConfigurable(false);
- connect(a_ctArtSortHeaders, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotArtSortHeaders(int)));
+ connect(a_ctArtSortHeaders, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotArtSortHeaders(int)));
a_ctArtSortHeadersKeyb = new TDEAction(i18n("Sort"), TQString(), Key_F7 , this,
- TQT_SLOT(slotArtSortHeadersKeyb()), actionCollection(), "view_Sort_Keyb");
+ TQ_SLOT(slotArtSortHeadersKeyb()), actionCollection(), "view_Sort_Keyb");
a_ctArtSortHeadersKeyb->plugAccel(a_ccel);
a_ctArtFilter = new KNFilterSelectAction(i18n("&Filter"), "filter",
actionCollection(), "view_Filter");
@@ -679,86 +679,86 @@ void KNMainWidget::initActions()
a_ctArtFilterKeyb = new TDEAction(i18n("Filter"), Key_F6, actionCollection(), "view_Filter_Keyb");
a_ctArtFilterKeyb->plugAccel(a_ccel);
a_ctArtSearch = new TDEAction(i18n("&Search Articles..."),"mail_find" , Key_F4 , this,
- TQT_SLOT(slotArtSearch()), actionCollection(), "article_search");
+ TQ_SLOT(slotArtSearch()), actionCollection(), "article_search");
a_ctArtRefreshList = new TDEAction(i18n("&Refresh List"),"reload", TDEStdAccel::shortcut(TDEStdAccel::Reload), this,
- TQT_SLOT(slotArtRefreshList()), actionCollection(), "view_Refresh");
+ TQ_SLOT(slotArtRefreshList()), actionCollection(), "view_Refresh");
a_ctArtCollapseAll = new TDEAction(i18n("&Collapse All Threads"), 0 , this,
- TQT_SLOT(slotArtCollapseAll()), actionCollection(), "view_CollapseAll");
+ TQ_SLOT(slotArtCollapseAll()), actionCollection(), "view_CollapseAll");
a_ctArtExpandAll = new TDEAction(i18n("E&xpand All Threads"), 0 , this,
- TQT_SLOT(slotArtExpandAll()), actionCollection(), "view_ExpandAll");
+ TQ_SLOT(slotArtExpandAll()), actionCollection(), "view_ExpandAll");
a_ctArtToggleThread = new TDEAction(i18n("&Toggle Subthread"), Key_T, this,
- TQT_SLOT(slotArtToggleThread()), actionCollection(), "thread_toggle");
+ TQ_SLOT(slotArtToggleThread()), actionCollection(), "thread_toggle");
a_ctArtToggleShowThreads = new TDEToggleAction(i18n("Show T&hreads"), 0 , this,
- TQT_SLOT(slotArtToggleShowThreads()), actionCollection(), "view_showThreads");
+ TQ_SLOT(slotArtToggleShowThreads()), actionCollection(), "view_showThreads");
a_ctArtToggleShowThreads->setCheckedState(i18n("Hide T&hreads"));
a_ctArtToggleShowThreads->setChecked(c_fgManager->readNewsGeneral()->showThreads());
//header-view - remote articles
a_ctArtSetArtRead = new TDEAction(i18n("Mark as &Read"), Key_D , this,
- TQT_SLOT(slotArtSetArtRead()), actionCollection(), "article_read");
+ TQ_SLOT(slotArtSetArtRead()), actionCollection(), "article_read");
a_ctArtSetArtUnread = new TDEAction(i18n("Mar&k as Unread"), Key_U , this,
- TQT_SLOT(slotArtSetArtUnread()), actionCollection(), "article_unread");
+ TQ_SLOT(slotArtSetArtUnread()), actionCollection(), "article_unread");
a_ctArtSetThreadRead = new TDEAction(i18n("Mark &Thread as Read"), CTRL+Key_D , this,
- TQT_SLOT(slotArtSetThreadRead()), actionCollection(), "thread_read");
+ TQ_SLOT(slotArtSetThreadRead()), actionCollection(), "thread_read");
a_ctArtSetThreadUnread = new TDEAction(i18n("Mark T&hread as Unread"), CTRL+Key_U , this,
- TQT_SLOT(slotArtSetThreadUnread()), actionCollection(), "thread_unread");
+ TQ_SLOT(slotArtSetThreadUnread()), actionCollection(), "thread_unread");
a_ctArtOpenNewWindow = new TDEAction(i18n("Open in Own &Window"), "window-new", Key_O , this,
- TQT_SLOT(slotArtOpenNewWindow()), actionCollection(), "article_ownWindow");
+ TQ_SLOT(slotArtOpenNewWindow()), actionCollection(), "article_ownWindow");
// scoring
a_ctScoresEdit = new TDEAction(i18n("&Edit Scoring Rules..."), "edit", CTRL+Key_E, this,
- TQT_SLOT(slotScoreEdit()), actionCollection(), "scoreedit");
+ TQ_SLOT(slotScoreEdit()), actionCollection(), "scoreedit");
a_ctReScore = new TDEAction(i18n("Recalculate &Scores"), 0, this,
- TQT_SLOT(slotReScore()),actionCollection(),"rescore");
+ TQ_SLOT(slotReScore()),actionCollection(),"rescore");
a_ctScoreLower = new TDEAction(i18n("&Lower Score for Author..."), CTRL+Key_L, this,
- TQT_SLOT(slotScoreLower()), actionCollection(), "scorelower");
+ TQ_SLOT(slotScoreLower()), actionCollection(), "scorelower");
a_ctScoreRaise = new TDEAction(i18n("&Raise Score for Author..."), CTRL+Key_I, this,
- TQT_SLOT(slotScoreRaise()),actionCollection(),"scoreraise");
+ TQ_SLOT(slotScoreRaise()),actionCollection(),"scoreraise");
a_ctArtToggleIgnored = new TDEAction(i18n("&Ignore Thread"), "go-bottom", Key_I , this,
- TQT_SLOT(slotArtToggleIgnored()), actionCollection(), "thread_ignore");
+ TQ_SLOT(slotArtToggleIgnored()), actionCollection(), "thread_ignore");
a_ctArtToggleWatched = new TDEAction(i18n("&Watch Thread"), "go-top", Key_W , this,
- TQT_SLOT(slotArtToggleWatched()), actionCollection(), "thread_watch");
+ TQ_SLOT(slotArtToggleWatched()), actionCollection(), "thread_watch");
//header-view local articles
a_ctArtSendOutbox = new TDEAction(i18n("Sen&d Pending Messages"), "mail-send", 0, this,
- TQT_SLOT(slotArtSendOutbox()), actionCollection(), "net_sendPending");
+ TQ_SLOT(slotArtSendOutbox()), actionCollection(), "net_sendPending");
a_ctArtDelete = new TDEAction(i18n("&Delete Article"), "edit-delete", Key_Delete, this,
- TQT_SLOT(slotArtDelete()), actionCollection(), "article_delete");
+ TQ_SLOT(slotArtDelete()), actionCollection(), "article_delete");
a_ctArtSendNow = new TDEAction(i18n("Send &Now"),"mail-send", 0 , this,
- TQT_SLOT(slotArtSendNow()), actionCollection(), "article_sendNow");
+ TQ_SLOT(slotArtSendNow()), actionCollection(), "article_sendNow");
a_ctArtEdit = new TDEAction(i18n("edit article","&Edit Article..."), "edit", Key_E , this,
- TQT_SLOT(slotArtEdit()), actionCollection(), "article_edit");
+ TQ_SLOT(slotArtEdit()), actionCollection(), "article_edit");
//network
a_ctNetCancel = new TDEAction(i18n("Stop &Network"),"process-stop",0, this,
- TQT_SLOT(slotNetCancel()), actionCollection(), "net_stop");
+ TQ_SLOT(slotNetCancel()), actionCollection(), "net_stop");
a_ctNetCancel->setEnabled(false);
a_ctFetchArticleWithID = new TDEAction(i18n("&Fetch Article with ID..."), 0, this,
- TQT_SLOT(slotFetchArticleWithID()), actionCollection(), "fetch_article_with_id");
+ TQ_SLOT(slotFetchArticleWithID()), actionCollection(), "fetch_article_with_id");
a_ctFetchArticleWithID->setEnabled(false);
a_ctToggleGroupView = new TDEToggleAction(i18n("Show &Group View"), CTRL+Key_G, this,
- TQT_SLOT(slotToggleGroupView()), actionCollection(), "settings_show_groupView");
+ TQ_SLOT(slotToggleGroupView()), actionCollection(), "settings_show_groupView");
a_ctToggleGroupView->setCheckedState(i18n("Hide &Group View"));
a_ctToggleHeaderView = new TDEToggleAction(i18n("Show &Header View"), CTRL+Key_H, this,
- TQT_SLOT(slotToggleHeaderView()), actionCollection(), "settings_show_headerView");
+ TQ_SLOT(slotToggleHeaderView()), actionCollection(), "settings_show_headerView");
a_ctToggleHeaderView->setCheckedState(i18n("Hide &Header View"));
a_ctToggleArticleViewer = new TDEToggleAction(i18n("Show &Article Viewer"), CTRL+Key_J, this,
- TQT_SLOT(slotToggleArticleViewer()), actionCollection(), "settings_show_articleViewer");
+ TQ_SLOT(slotToggleArticleViewer()), actionCollection(), "settings_show_articleViewer");
a_ctToggleArticleViewer->setCheckedState(i18n("Hide &Article Viewer"));
a_ctToggleQuickSearch = new TDEToggleAction(i18n("Show Quick Search"), TQString(), this,
- TQT_SLOT(slotToggleQuickSearch()), actionCollection(), "settings_show_quickSearch");
+ TQ_SLOT(slotToggleQuickSearch()), actionCollection(), "settings_show_quickSearch");
a_ctToggleQuickSearch->setCheckedState(i18n("Hide Quick Search"));
a_ctSwitchToGroupView = new TDEAction(i18n("Switch to Group View"), Key_G , this,
- TQT_SLOT(slotSwitchToGroupView()), actionCollection(), "switch_to_group_view");
+ TQ_SLOT(slotSwitchToGroupView()), actionCollection(), "switch_to_group_view");
a_ctSwitchToGroupView->plugAccel(a_ccel);
a_ctSwitchToHeaderView = new TDEAction(i18n("Switch to Header View"), Key_H , this,
- TQT_SLOT(slotSwitchToHeaderView()), actionCollection(), "switch_to_header_view");
+ TQ_SLOT(slotSwitchToHeaderView()), actionCollection(), "switch_to_header_view");
a_ctSwitchToHeaderView->plugAccel(a_ccel);
a_ctSwitchToArticleViewer = new TDEAction(i18n("Switch to Article Viewer"), Key_J , this,
- TQT_SLOT(slotSwitchToArticleViewer()), actionCollection(), "switch_to_article_viewer");
+ TQ_SLOT(slotSwitchToArticleViewer()), actionCollection(), "switch_to_article_viewer");
a_ctSwitchToArticleViewer->plugAccel(a_ccel);
}
@@ -2054,7 +2054,7 @@ FetchArticleIdDlg::FetchArticleIdDlg(TQWidget *parent, const char */*name*/ )
edit->setFocus();
enableButtonOK( false );
setButtonOK( i18n("&Fetch") );
- connect( edit, TQT_SIGNAL(textChanged( const TQString & )), this, TQT_SLOT(slotTextChanged(const TQString & )));
+ connect( edit, TQ_SIGNAL(textChanged( const TQString & )), this, TQ_SLOT(slotTextChanged(const TQString & )));
KNHelper::restoreWindowSize("fetchArticleWithID", this, TQSize(325,66));
}
diff --git a/knode/knnetaccess.cpp b/knode/knnetaccess.cpp
index 57488f717..b63ba859b 100644
--- a/knode/knnetaccess.cpp
+++ b/knode/knnetaccess.cpp
@@ -51,7 +51,7 @@ KNNetAccess::KNNetAccess(TQObject *parent, const char *name )
}
nntpNotifier=new TQSocketNotifier(nntpInPipe[0], TQSocketNotifier::Read);
- connect(nntpNotifier, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotThreadSignal(int)));
+ connect(nntpNotifier, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotThreadSignal(int)));
// initialize the KSocks stuff in the main thread, otherwise we get
// strange effects on FreeBSD
@@ -60,14 +60,14 @@ KNNetAccess::KNNetAccess(TQObject *parent, const char *name )
nntpClient=new KNNntpClient(nntpOutPipe[0],nntpInPipe[1],nntp_Mutex);
nntpClient->start();
- connect( knGlobals.accountManager(), TQT_SIGNAL(passwordsChanged()), TQT_SLOT(slotPasswordsChanged()) );
+ connect( knGlobals.accountManager(), TQ_SIGNAL(passwordsChanged()), TQ_SLOT(slotPasswordsChanged()) );
}
KNNetAccess::~KNNetAccess()
{
- disconnect(nntpNotifier, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotThreadSignal(int)));
+ disconnect(nntpNotifier, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotThreadSignal(int)));
nntpClient->terminateClient();
triggerAsyncThread(nntpOutPipe[1]);
@@ -95,7 +95,7 @@ void KNNetAccess::addJob(KNJobData *job)
}
job->createProgressItem();
- connect( job->progressItem(), TQT_SIGNAL(progressItemCanceled(KPIM::ProgressItem*)), TQT_SLOT(slotCancelJob(KPIM::ProgressItem*)) );
+ connect( job->progressItem(), TQ_SIGNAL(progressItemCanceled(KPIM::ProgressItem*)), TQ_SLOT(slotCancelJob(KPIM::ProgressItem*)) );
emit netActive( true );
// put jobs which are waiting for the wallet into an extra queue
@@ -275,8 +275,8 @@ void KNNetAccess::startJobSmtp()
destination.setPass( account->pass() );
}
TDEIO::Job* job = TDEIO::storedPut( art->encodedContent(true), destination, -1, false, false, false );
- connect( job, TQT_SIGNAL( result(TDEIO::Job*) ),
- TQT_SLOT( slotJobResult(TDEIO::Job*) ) );
+ connect( job, TQ_SIGNAL( result(TDEIO::Job*) ),
+ TQ_SLOT( slotJobResult(TDEIO::Job*) ) );
if ( account->encryption() == KNServerInfo::TLS )
job->addMetaData( "tls", "on" );
else
diff --git a/knode/knnntpaccount.cpp b/knode/knnntpaccount.cpp
index ba1657c0c..c5536c96a 100644
--- a/knode/knnntpaccount.cpp
+++ b/knode/knnntpaccount.cpp
@@ -46,7 +46,7 @@ void KNNntpAccountIntervalChecking::installTimer()
if(!t_imer)
{
t_imer = new TQTimer();
- connect(t_imer,TQT_SIGNAL(timeout()),this,TQT_SLOT(slotCheckNews()));
+ connect(t_imer,TQ_SIGNAL(timeout()),this,TQ_SLOT(slotCheckNews()));
}
else
{
diff --git a/knode/knode.cpp b/knode/knode.cpp
index 549ac3546..51f4f1278 100644
--- a/knode/knode.cpp
+++ b/knode/knode.cpp
@@ -46,17 +46,17 @@ KNMainWindow::KNMainWindow( TQWidget* pWidget )
setStandardToolBarMenuEnabled(true);
//config stuff
- KStdAction::quit(kapp, TQT_SLOT(closeAllWindows()), actionCollection());
- KStdAction::configureToolbars(this, TQT_SLOT(slotConfToolbar()), actionCollection());
- KStdAction::keyBindings(this, TQT_SLOT(slotConfKeys()), actionCollection());
+ KStdAction::quit(kapp, TQ_SLOT(closeAllWindows()), actionCollection());
+ KStdAction::configureToolbars(this, TQ_SLOT(slotConfToolbar()), actionCollection());
+ KStdAction::keyBindings(this, TQ_SLOT(slotConfKeys()), actionCollection());
m_mainWidget = new KNMainWidget( this, true, this, 0 );
- connect( m_mainWidget, TQT_SIGNAL(signalCaptionChangeRequest(const TQString&)),
- TQT_SLOT( setCaption(const TQString&)) );
+ connect( m_mainWidget, TQ_SIGNAL(signalCaptionChangeRequest(const TQString&)),
+ TQ_SLOT( setCaption(const TQString&)) );
setCentralWidget( m_mainWidget );
setupStatusBar();
- 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& )) );
createGUI( "knodeui.rc" );
knGlobals.instance = 0;
@@ -77,7 +77,7 @@ void KNMainWindow::slotConfToolbar()
{
saveMainWindowSettings(knGlobals.config(),"mainWindow_options");
KEditToolbar dlg(actionCollection(), "knodeui.rc");
- connect(&dlg,TQT_SIGNAL( newToolbarConfig() ), this, TQT_SLOT( slotNewToolbarConfig() ));
+ connect(&dlg,TQ_SIGNAL( newToolbarConfig() ), this, TQ_SLOT( slotNewToolbarConfig() ));
dlg.exec();
}
diff --git a/knode/knrangefilter.cpp b/knode/knrangefilter.cpp
index f5aa55938..a74a48df8 100644
--- a/knode/knrangefilter.cpp
+++ b/knode/knrangefilter.cpp
@@ -134,9 +134,9 @@ KNRangeFilterWidget::KNRangeFilterWidget(const TQString& value, int min, int max
topL->setColStretch(1,1);
topL->setColStretch(5,1);
- connect(op1, TQT_SIGNAL(activated(int)), TQT_SLOT(slotOp1Changed(int)));
- connect(op2, TQT_SIGNAL(activated(int)), TQT_SLOT(slotOp2Changed(int)));
- connect(enabled, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotEnabled(bool)));
+ connect(op1, TQ_SIGNAL(activated(int)), TQ_SLOT(slotOp1Changed(int)));
+ connect(op2, TQ_SIGNAL(activated(int)), TQ_SLOT(slotOp2Changed(int)));
+ connect(enabled, TQ_SIGNAL(toggled(bool)), TQ_SLOT(slotEnabled(bool)));
slotEnabled(false);
}
diff --git a/knode/knsearchdialog.cpp b/knode/knsearchdialog.cpp
index b38e06507..646969ee9 100644
--- a/knode/knsearchdialog.cpp
+++ b/knode/knsearchdialog.cpp
@@ -60,9 +60,9 @@ KNSearchDialog::KNSearchDialog(searchType /*t*/, TQWidget *parent)
topL->addLayout(filterL, 1);
topL->addWidget(bg);
- connect(startBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotStartClicked()));
- connect(newBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNewClicked()));
- connect(closeBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotCloseClicked()));
+ connect(startBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotStartClicked()));
+ connect(newBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotNewClicked()));
+ connect(closeBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotCloseClicked()));
f_ilter=new KNArticleFilter();
f_ilter->setLoaded(true);
diff --git a/knode/knsourceviewwindow.cpp b/knode/knsourceviewwindow.cpp
index 71af3c18e..651bc1e80 100644
--- a/knode/knsourceviewwindow.cpp
+++ b/knode/knsourceviewwindow.cpp
@@ -27,7 +27,7 @@ KNSourceViewWindow::KNSourceViewWindow( const TQString &text )
{
setWFlags(WType_TopLevel | WDestructiveClose);
TQAccel *accel = new TQAccel( this, "browser close-accel" );
- accel->connectItem( accel->insertItem( TQt::Key_Escape ), this , TQT_SLOT( close() ));
+ accel->connectItem( accel->insertItem( TQt::Key_Escape ), this , TQ_SLOT( close() ));
KNConfig::Appearance *app=knGlobals.configManager()->appearance();
setTextFormat( PlainText );
diff --git a/knode/knstatusfilter.cpp b/knode/knstatusfilter.cpp
index ec098d9cc..d770ae22c 100644
--- a/knode/knstatusfilter.cpp
+++ b/knode/knstatusfilter.cpp
@@ -116,7 +116,7 @@ KNStatusFilterWidget::KNStatusFilterWidget(TQWidget *parent) :
topL->setColStretch(2,1);
topL->setRowStretch(4,1);
- connect(this, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(slotEnabled(int)));
+ connect(this, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(slotEnabled(int)));
}
diff --git a/knode/knwidgets.cpp b/knode/knwidgets.cpp
index b4c9a160c..3e1d8deca 100644
--- a/knode/knwidgets.cpp
+++ b/knode/knwidgets.cpp
@@ -110,7 +110,7 @@ void KNDialogListBox::keyPressEvent(TQKeyEvent *e)
KNDockWidgetHeaderDrag::KNDockWidgetHeaderDrag(TQWidget *focusWidget, KDockWidgetAbstractHeader* parent, KDockWidget* dock, const char* name )
: KDockWidgetHeaderDrag(parent, dock, name), f_ocus(false)
{
- connect(focusWidget, TQT_SIGNAL(focusChanged(TQFocusEvent*)), TQT_SLOT(slotFocusChanged(TQFocusEvent*)));
+ connect(focusWidget, TQ_SIGNAL(focusChanged(TQFocusEvent*)), TQ_SLOT(slotFocusChanged(TQFocusEvent*)));
}