diff options
author | Michele Calgaro <[email protected]> | 2023-11-13 20:33:00 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-15 23:47:11 +0900 |
commit | 303b6445011a6ed10c48ac6e1eda415e5c371264 (patch) | |
tree | aded2a8ee5046176d3295bbf1f90f5dd73746677 /tdeabc | |
parent | 141ced0c41af8726eedac425ea24cd162bcff862 (diff) | |
download | tdelibs-303b6445011a6ed10c48ac6e1eda415e5c371264.tar.gz tdelibs-303b6445011a6ed10c48ac6e1eda415e5c371264.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit c8ece3630d4d21acaf1749fc2cf660a0463070c3)
Diffstat (limited to 'tdeabc')
-rw-r--r-- | tdeabc/addresseedialog.cpp | 2 | ||||
-rw-r--r-- | tdeabc/addresslineedit.cpp | 2 | ||||
-rw-r--r-- | tdeabc/distributionlistdialog.cpp | 2 | ||||
-rw-r--r-- | tdeabc/distributionlisteditor.cpp | 2 | ||||
-rw-r--r-- | tdeabc/ldapconfigwidget.cpp | 2 | ||||
-rw-r--r-- | tdeabc/plugins/ldaptdeio/resourceldaptdeioconfig.cpp | 2 | ||||
-rw-r--r-- | tdeabc/plugins/sql/resourcesql.cpp | 4 | ||||
-rw-r--r-- | tdeabc/resourceselectdialog.cpp | 2 | ||||
-rw-r--r-- | tdeabc/scripts/field.src.cpp | 4 |
9 files changed, 11 insertions, 11 deletions
diff --git a/tdeabc/addresseedialog.cpp b/tdeabc/addresseedialog.cpp index 26c87d8b8..657878546 100644 --- a/tdeabc/addresseedialog.cpp +++ b/tdeabc/addresseedialog.cpp @@ -92,7 +92,7 @@ AddresseeDialog::AddresseeDialog( TQWidget *parent, bool multiple ) : topLayout->addLayout( selectedLayout ); topLayout->setSpacing( spacingHint() ); - TQGroupBox *selectedGroup = new TQGroupBox( 1, Qt::Horizontal, i18n("Selected"), + TQGroupBox *selectedGroup = new TQGroupBox( 1, TQt::Horizontal, i18n("Selected"), topWidget ); selectedLayout->addWidget( selectedGroup ); diff --git a/tdeabc/addresslineedit.cpp b/tdeabc/addresslineedit.cpp index 93a327889..1b4911318 100644 --- a/tdeabc/addresslineedit.cpp +++ b/tdeabc/addresslineedit.cpp @@ -190,7 +190,7 @@ void AddressLineEdit::keyPressEvent(TQKeyEvent *e) void AddressLineEdit::mouseReleaseEvent( TQMouseEvent * e ) { - if (m_useCompletion && (e->button() == Qt::MidButton)) + if (m_useCompletion && (e->button() == TQt::MidButton)) { m_smartPaste = true; KLineEdit::mouseReleaseEvent(e); diff --git a/tdeabc/distributionlistdialog.cpp b/tdeabc/distributionlistdialog.cpp index 04578e19a..5db7c976e 100644 --- a/tdeabc/distributionlistdialog.cpp +++ b/tdeabc/distributionlistdialog.cpp @@ -66,7 +66,7 @@ EmailSelector::EmailSelector( const TQStringList &emails, const TQString ¤ TQFrame *topFrame = plainPage(); TQBoxLayout *topLayout = new TQVBoxLayout( topFrame ); - mButtonGroup = new TQButtonGroup( 1, Qt::Horizontal, i18n("Email Addresses"), + mButtonGroup = new TQButtonGroup( 1, TQt::Horizontal, i18n("Email Addresses"), topFrame ); topLayout->addWidget( mButtonGroup ); diff --git a/tdeabc/distributionlisteditor.cpp b/tdeabc/distributionlisteditor.cpp index 215382f62..8ccb97951 100644 --- a/tdeabc/distributionlisteditor.cpp +++ b/tdeabc/distributionlisteditor.cpp @@ -46,7 +46,7 @@ EmailSelectDialog::EmailSelectDialog( const TQStringList &emails, const TQString TQFrame *topFrame = plainPage(); TQBoxLayout *topLayout = new TQVBoxLayout( topFrame ); - mButtonGroup = new TQButtonGroup( 1, Qt::Horizontal, i18n("Email Addresses"), + mButtonGroup = new TQButtonGroup( 1, TQt::Horizontal, i18n("Email Addresses"), topFrame ); mButtonGroup->setRadioButtonExclusive( true ); topLayout->addWidget( mButtonGroup ); diff --git a/tdeabc/ldapconfigwidget.cpp b/tdeabc/ldapconfigwidget.cpp index bc4b0ae5d..902e2b04c 100644 --- a/tdeabc/ldapconfigwidget.cpp +++ b/tdeabc/ldapconfigwidget.cpp @@ -213,7 +213,7 @@ void LdapConfigWidget::initWidget() if ( mFlags & W_AUTHBOX ) { TQButtonGroup *authbox = - new TQButtonGroup( 3, Qt::Horizontal, i18n( "Authentication" ), this ); + new TQButtonGroup( 3, TQt::Horizontal, i18n( "Authentication" ), this ); mAnonymous = new TQRadioButton( i18n( "Anonymous" ), authbox, "kcfg_ldapanon" ); mSimple = new TQRadioButton( i18n( "Simple" ), authbox, "kcfg_ldapsimple" ); diff --git a/tdeabc/plugins/ldaptdeio/resourceldaptdeioconfig.cpp b/tdeabc/plugins/ldaptdeio/resourceldaptdeioconfig.cpp index 429e6b494..5239062aa 100644 --- a/tdeabc/plugins/ldaptdeio/resourceldaptdeioconfig.cpp +++ b/tdeabc/plugins/ldaptdeio/resourceldaptdeioconfig.cpp @@ -342,7 +342,7 @@ OfflineDialog::OfflineDialog( bool autoCache, int cachePolicy, const KURL &src, layout->setAutoAdd( true ); mSrc = src; mDst = dst; - mCacheGroup = new TQButtonGroup( 1, Qt::Horizontal, + mCacheGroup = new TQButtonGroup( 1, TQt::Horizontal, i18n("Offline Cache Policy"), page ); TQRadioButton *bt; diff --git a/tdeabc/plugins/sql/resourcesql.cpp b/tdeabc/plugins/sql/resourcesql.cpp index b72afea15..a820b56df 100644 --- a/tdeabc/plugins/sql/resourcesql.cpp +++ b/tdeabc/plugins/sql/resourcesql.cpp @@ -247,7 +247,7 @@ bool ResourceSql::save( Ticket * ) (*it).prefix() + "','" + (*it).suffix() + "','" + (*it).nickName() + "','" + - (*it).birthday().toString( Qt::ISODate ) + "','" + + (*it).birthday().toString( TQt::ISODate ) + "','" + (*it).mailer() + "','" + TQString::number( (*it).timeZone().offset() ) + "','" + TQString::number( (*it).geo().latitude() ) + "','" + @@ -257,7 +257,7 @@ bool ResourceSql::save( Ticket * ) (*it).organization() + "','" + (*it).note() + "','" + (*it).productId() + "','" + - (*it).revision().toString( Qt::ISODate ) + "','" + + (*it).revision().toString( TQt::ISODate ) + "','" + (*it).sortString() + "','" + (*it).url().url() + "')" ); diff --git a/tdeabc/resourceselectdialog.cpp b/tdeabc/resourceselectdialog.cpp index a12e83611..0dc2aec04 100644 --- a/tdeabc/resourceselectdialog.cpp +++ b/tdeabc/resourceselectdialog.cpp @@ -42,7 +42,7 @@ ResourceSelectDialog::ResourceSelectDialog( AddressBook *ab, TQWidget *parent, c TQVBoxLayout *mainLayout = new TQVBoxLayout( this ); mainLayout->setMargin( marginHint() ); - TQGroupBox *groupBox = new TQGroupBox( 2, Qt::Horizontal, this ); + TQGroupBox *groupBox = new TQGroupBox( 2, TQt::Horizontal, this ); groupBox->setTitle( i18n( "Resources" ) ); mResourceId = new TDEListBox( groupBox ); diff --git a/tdeabc/scripts/field.src.cpp b/tdeabc/scripts/field.src.cpp index b3d5a4bf9..e162ea961 100644 --- a/tdeabc/scripts/field.src.cpp +++ b/tdeabc/scripts/field.src.cpp @@ -121,7 +121,7 @@ TQString Field::value( const TDEABC::Addressee &a ) return a.preferredEmail(); case FieldImpl::Birthday: if ( a.birthday().isValid() ) - return a.birthday().date().toString( Qt::ISODate ); + return a.birthday().date().toString( TQt::ISODate ); else return TQString::null; case FieldImpl::Url: @@ -362,7 +362,7 @@ bool Field::setValue( TDEABC::Addressee &a, const TQString &value ) return true; } case FieldImpl::Birthday: - a.setBirthday( TQDate::fromString( value, Qt::ISODate ) ); + a.setBirthday( TQDate::fromString( value, TQt::ISODate ) ); return true; case FieldImpl::CustomField: a.insertCustom( mImpl->app(), mImpl->key(), value ); |