From f4fae92b6768541e2952173c3d4b09040f95bf7e Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 16 Feb 2011 20:17:18 +0000 Subject: Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kandy/src/cmdpropertiesdialog_base.ui | 6 +++--- kandy/src/mobilegui.cpp | 18 +++++++++--------- kandy/src/mobilegui.h | 2 +- kandy/src/mobilegui_base.ui | 16 ++++++++-------- kandy/src/mobilemain.cpp | 6 +++--- kandy/src/mobilemain.h | 2 +- 6 files changed, 25 insertions(+), 25 deletions(-) (limited to 'kandy') diff --git a/kandy/src/cmdpropertiesdialog_base.ui b/kandy/src/cmdpropertiesdialog_base.ui index 092074c6e..7231a6bee 100644 --- a/kandy/src/cmdpropertiesdialog_base.ui +++ b/kandy/src/cmdpropertiesdialog_base.ui @@ -4,7 +4,7 @@ CmdPropertiesDialog_base - + 0 0 @@ -110,7 +110,7 @@ Expanding - + 79 20 @@ -168,5 +168,5 @@ editParameterName(QListViewItem *) slotAccept() - + diff --git a/kandy/src/mobilegui.cpp b/kandy/src/mobilegui.cpp index 86f075148..fec40b7ff 100644 --- a/kandy/src/mobilegui.cpp +++ b/kandy/src/mobilegui.cpp @@ -430,7 +430,7 @@ void MobileGui::writePhonebook() void MobileGui::writePhonebookPostProcessing() { mLastWriteId = ""; - emit transientStatusMessage( i18n( "Wrote mobile phonebook." ) ); + emit transienStatusMessage( i18n( "Wrote mobile phonebook." ) ); PushButton12->setEnabled( true ); setMobState( LOADED ); updateMobileBook(); @@ -640,7 +640,7 @@ void MobileGui::readKabc() // Display KAB entries updateKabBook(); - emit transientStatusMessage( i18n( "Read KDE address book." ) ); + emit transienStatusMessage( i18n( "Read KDE address book." ) ); setKabState( LOADED ); } @@ -922,7 +922,7 @@ void MobileGui::writeKabc() *fields = TQStringList::split( ',', name ); if ( fields->count() > 1 ) { - // Name string contains comma separated entry so that we + // Name string tqcontains comma separated entry so that we // need to build family and given names out of them. TQString givenName = ""; @@ -933,7 +933,7 @@ void MobileGui::writeKabc() givenName += stripWhiteSpaces( (*fields)[ i ] ) + " "; entry.setGivenName( stripWhiteSpaces( givenName ) ); } else - // Name string contains only one string without comma. + // Name string tqcontains only one string without comma. entry.setFamilyName( stripWhiteSpaces( name ) ); entry.insertPhoneNumber( KABC::PhoneNumber( phoneNumber, phoneType ) ); @@ -948,7 +948,7 @@ void MobileGui::writeKabc() addressBook->save( ticket ); - emit transientStatusMessage( i18n( "Wrote KDE address book." ) ); + emit transienStatusMessage( i18n( "Wrote KDE address book." ) ); setKabState( LOADED ); } @@ -1159,7 +1159,7 @@ void MobileGui::fillPhonebook( ATCommand *cmd ) // Display mobile entries updateMobileBook(); - emit transientStatusMessage(i18n("Read mobile phonebook.")); + emit transienStatusMessage(i18n("Read mobile phonebook.")); emit phonebookRead(); setMobState( LOADED ); @@ -1398,7 +1398,7 @@ void MobileGui::mergePhonebooks() updateKabBook(); updateMobileBook(); - emit transientStatusMessage( i18n( "Synced phonebooks." ) ); + emit transienStatusMessage( i18n( "Synced phonebooks." ) ); PushButton8_3->setEnabled( true ); } @@ -1561,7 +1561,7 @@ void MobileGui::warnKabState( ABState newState ) { if ( ( mKabState == MODIFIED ) && ( newState != MODIFIED ) ) { TQString text = "" + i18n( "Warning" ) + "
"; - text += i18n( "The KDE address book contains unsaved changes." ) + + text += i18n( "The KDE address book tqcontains unsaved changes." ) + "
"; TQMessageBox *msg = new TQMessageBox( i18n( "Unsaved Changes" ), text, @@ -1646,7 +1646,7 @@ bool MobileGui::warnMobState( ABState newState ) if ( ( mMobState == MODIFIED ) && ( newState != MODIFIED ) ) { TQString text = "" + i18n( "Warning" ) + "
"; - text += i18n( "The mobile phone book contains unsaved changes." ) + + text += i18n( "The mobile phone book tqcontains unsaved changes." ) + "
"; TQMessageBox *msg = new TQMessageBox( i18n( "Unsaved Changes" ), text, diff --git a/kandy/src/mobilegui.h b/kandy/src/mobilegui.h index 2d0f3b073..de698729e 100644 --- a/kandy/src/mobilegui.h +++ b/kandy/src/mobilegui.h @@ -52,7 +52,7 @@ class MobileGui : public MobileGui_base, virtual public KandyIface void phonebookRead(); void statusMessage( const TQString & ); - void transientStatusMessage( const TQString & ); + void transienStatusMessage( const TQString & ); void connectModem(); void disconnectModem(); diff --git a/kandy/src/mobilegui_base.ui b/kandy/src/mobilegui_base.ui index 6361e5477..9379abab2 100644 --- a/kandy/src/mobilegui_base.ui +++ b/kandy/src/mobilegui_base.ui @@ -4,7 +4,7 @@ MobileGui_base - + 0 0 @@ -124,7 +124,7 @@ Expanding - + 20 20 @@ -207,7 +207,7 @@ Expanding - + 20 20 @@ -261,7 +261,7 @@ Expanding - + 20 40 @@ -318,7 +318,7 @@ - layout21 + tqlayout21 @@ -342,7 +342,7 @@ Expanding - + 321 20 @@ -439,7 +439,7 @@ Expanding - + 20 @@ -579,5 +579,5 @@ toggleConnection() deleteMobPhonebook() - + diff --git a/kandy/src/mobilemain.cpp b/kandy/src/mobilemain.cpp index 6143dec7b..851b78295 100644 --- a/kandy/src/mobilemain.cpp +++ b/kandy/src/mobilemain.cpp @@ -57,8 +57,8 @@ MobileMain::MobileMain(CommandScheduler *scheduler, KandyPrefs *prefs) statusBar()->insertItem(i18n(" Disconnected "),1,0,true); connect(mView,TQT_SIGNAL(statusMessage(const TQString &)), TQT_SLOT(showStatusMessage(const TQString &))); - connect(mView,TQT_SIGNAL(transientStatusMessage(const TQString &)), - TQT_SLOT(showTransientStatusMessage(const TQString &))); + connect(mView,TQT_SIGNAL(transienStatusMessage(const TQString &)), + TQT_SLOT(showTransienStatusMessage(const TQString &))); statusBar()->show(); @@ -152,7 +152,7 @@ void MobileMain::showStatusMessage(const TQString& text) statusBar()->message(text); } -void MobileMain::showTransientStatusMessage(const TQString& text) +void MobileMain::showTransienStatusMessage(const TQString& text) { // display the text on the statusbar for 2 s. statusBar()->message(text,2000); diff --git a/kandy/src/mobilemain.h b/kandy/src/mobilemain.h index 46c8bc576..d414d15e7 100644 --- a/kandy/src/mobilemain.h +++ b/kandy/src/mobilemain.h @@ -95,7 +95,7 @@ class MobileMain : public KMainWindow void newToolbarConfig(); void showStatusMessage(const TQString& text); - void showTransientStatusMessage(const TQString& text); + void showTransienStatusMessage(const TQString& text); void changeCaption(const TQString& text); -- cgit v1.2.1