diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
commit | f4fae92b6768541e2952173c3d4b09040f95bf7e (patch) | |
tree | d8c5d93232235cd635f3310b4d95490df181ba2d /kandy/src | |
parent | 125c0a08265b75a133644d3b55f47e37c919f45d (diff) | |
download | tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip |
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
Diffstat (limited to 'kandy/src')
-rw-r--r-- | kandy/src/cmdpropertiesdialog_base.ui | 6 | ||||
-rw-r--r-- | kandy/src/mobilegui.cpp | 18 | ||||
-rw-r--r-- | kandy/src/mobilegui.h | 2 | ||||
-rw-r--r-- | kandy/src/mobilegui_base.ui | 16 | ||||
-rw-r--r-- | kandy/src/mobilemain.cpp | 6 | ||||
-rw-r--r-- | kandy/src/mobilemain.h | 2 |
6 files changed, 25 insertions, 25 deletions
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 @@ <property name="name"> <cstring>CmdPropertiesDialog_base</cstring> </property> - <property name="geometry"> + <property name="tqgeometry"> <rect> <x>0</x> <y>0</y> @@ -110,7 +110,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>79</width> <height>20</height> @@ -168,5 +168,5 @@ <slot>editParameterName(QListViewItem *)</slot> <slot access="protected">slotAccept()</slot> </slots> -<layoutdefaults spacing="6" margin="11"/> +<tqlayoutdefaults spacing="6" margin="11"/> </UI> 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 = "<qt><b>" + i18n( "Warning" ) + "</b><br>"; - text += i18n( "The KDE address book contains unsaved changes." ) + + text += i18n( "The KDE address book tqcontains unsaved changes." ) + "<br></qt>"; TQMessageBox *msg = new TQMessageBox( i18n( "Unsaved Changes" ), text, @@ -1646,7 +1646,7 @@ bool MobileGui::warnMobState( ABState newState ) if ( ( mMobState == MODIFIED ) && ( newState != MODIFIED ) ) { TQString text = "<qt><b>" + i18n( "Warning" ) + "</b><br>"; - text += i18n( "The mobile phone book contains unsaved changes." ) + + text += i18n( "The mobile phone book tqcontains unsaved changes." ) + "<br></qt>"; 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 @@ <property name="name"> <cstring>MobileGui_base</cstring> </property> - <property name="geometry"> + <property name="tqgeometry"> <rect> <x>0</x> <y>0</y> @@ -124,7 +124,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>20</height> @@ -207,7 +207,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>20</height> @@ -261,7 +261,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>20</width> <height>40</height> @@ -318,7 +318,7 @@ </widget> <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="2"> <property name="name"> - <cstring>layout21</cstring> + <cstring>tqlayout21</cstring> </property> <hbox> <property name="name"> @@ -342,7 +342,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <width>321</width> <height>20</height> @@ -439,7 +439,7 @@ <property name="sizeType"> <enum>Expanding</enum> </property> - <property name="sizeHint"> + <property name="tqsizeHint"> <size> <height>20</height> </size> @@ -579,5 +579,5 @@ <slot>toggleConnection()</slot> <slot>deleteMobPhonebook()</slot> </slots> -<layoutdefaults spacing="6" margin="11"/> +<tqlayoutdefaults spacing="6" margin="11"/> </UI> 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); |