diff options
author | Michele Calgaro <[email protected]> | 2023-11-09 10:37:12 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-09 10:56:59 +0900 |
commit | 98876ba8c52c0fc2f38c258476bc9637f055d576 (patch) | |
tree | c603affd2b47d424507127e5bff9231bb06fc020 /knode | |
parent | f46438dda23948d5a4732428a1df913b3246fed8 (diff) | |
download | tdepim-98876ba8c52c0fc2f38c258476bc9637f055d576.tar.gz tdepim-98876ba8c52c0fc2f38c258476bc9637f055d576.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'knode')
-rw-r--r-- | knode/headerview.cpp | 2 | ||||
-rw-r--r-- | knode/kncollectionview.cpp | 2 | ||||
-rw-r--r-- | knode/kncomposer.cpp | 4 | ||||
-rw-r--r-- | knode/knconfigwidgets.cpp | 6 |
4 files changed, 7 insertions, 7 deletions
diff --git a/knode/headerview.cpp b/knode/headerview.cpp index fbc34c38f..31d85fda7 100644 --- a/knode/headerview.cpp +++ b/knode/headerview.cpp @@ -548,7 +548,7 @@ bool KNHeaderView::eventFilter(TQObject *o, TQEvent *e) // right click on header if ( e->type() == TQEvent::MouseButtonPress && - TQT_TQMOUSEEVENT(e)->button() == Qt::RightButton && + TQT_TQMOUSEEVENT(e)->button() == TQt::RightButton && o->isA("TQHeader") ) { mPopup->popup( TQT_TQMOUSEEVENT(e)->globalPos() ); diff --git a/knode/kncollectionview.cpp b/knode/kncollectionview.cpp index 0b51fd0bb..7a8e6840a 100644 --- a/knode/kncollectionview.cpp +++ b/knode/kncollectionview.cpp @@ -429,7 +429,7 @@ bool KNCollectionView::eventFilter(TQObject *o, TQEvent *e) // header popup menu if ( e->type() == TQEvent::MouseButtonPress && - TQT_TQMOUSEEVENT(e)->button() == Qt::RightButton && + TQT_TQMOUSEEVENT(e)->button() == TQt::RightButton && o->isA("TQHeader") ) { mPopup->popup( TQT_TQMOUSEEVENT(e)->globalPos() ); diff --git a/knode/kncomposer.cpp b/knode/kncomposer.cpp index 43b772e50..b478f9096 100644 --- a/knode/kncomposer.cpp +++ b/knode/kncomposer.cpp @@ -1725,7 +1725,7 @@ TQPopupMenu * KNComposer::popupMenu( const TQString& name ) KNComposer::ComposerView::ComposerView(KNComposer *composer, const char *n) - : TQSplitter(Qt::Vertical, composer, n), a_ttWidget(0), a_ttView(0), v_iewOpen(false) + : TQSplitter(TQt::Vertical, composer, n), a_ttWidget(0), a_ttView(0), v_iewOpen(false) { TQWidget *main=new TQWidget(this); @@ -1798,7 +1798,7 @@ KNComposer::ComposerView::ComposerView(KNComposer *composer, const char *n) TQVBoxLayout *notL=new TQVBoxLayout(e_dit); notL->addStretch(1); - n_otification=new TQGroupBox(2, Qt::Horizontal, e_dit); + n_otification=new TQGroupBox(2, TQt::Horizontal, e_dit); l=new TQLabel(i18n("You are currently editing the article body\nin an external editor. To continue, you have\nto close the external editor."), n_otification); c_ancelEditorBtn=new TQPushButton(i18n("&Kill External Editor"), n_otification); n_otification->setFrameStyle(TQFrame::Panel | TQFrame::Raised); diff --git a/knode/knconfigwidgets.cpp b/knode/knconfigwidgets.cpp index 68b474a14..ea2d77a2c 100644 --- a/knode/knconfigwidgets.cpp +++ b/knode/knconfigwidgets.cpp @@ -294,7 +294,7 @@ KNConfig::NntpAccountListWidget::NntpAccountListWidget(TQWidget *p, const char * topL->addMultiCellWidget(l_box, 0,4, 0,0); // info box - TQGroupBox *gb = new TQGroupBox(2,Qt::Vertical,TQString(),this); + TQGroupBox *gb = new TQGroupBox(2,TQt::Vertical,TQString(),this); topL->addWidget(gb,5,0); s_erverInfo = new TQLabel(gb); @@ -2372,7 +2372,7 @@ KNConfig::GroupCleanupWidget::GroupCleanupWidget( Cleanup *data, TQWidget *paren } mExpGroup = new TQGroupBox( i18n("Newsgroup Cleanup Settings"), this ); - mExpGroup->setColumnLayout(0, Qt::Vertical ); + mExpGroup->setColumnLayout(0, TQt::Vertical ); mExpGroup->layout()->setSpacing( KDialog::spacingHint() ); mExpGroup->layout()->setMargin( KDialog::marginHint() ); top->addWidget( mExpGroup ); @@ -2481,7 +2481,7 @@ KNConfig::CleanupWidget::CleanupWidget( TQWidget *p, const char *n ) : // === folders ========================================================= TQGroupBox *foldersB=new TQGroupBox(i18n("Folders"), this); - foldersB->setColumnLayout(0, Qt::Vertical ); + foldersB->setColumnLayout(0, TQt::Vertical ); foldersB->layout()->setSpacing( KDialog::spacingHint() ); foldersB->layout()->setMargin( KDialog::marginHint() ); |