diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kabc | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4,
however Qt3 builds are OK. Any alterations this commit makes to kdepim
behaviour under Qt3 are unintentional and should be fixed.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kabc')
-rw-r--r-- | kabc/frontend/mainWindow.ui | 206 | ||||
-rw-r--r-- | kabc/frontend/mainWindow.ui.h | 36 | ||||
-rw-r--r-- | kabc/kabc2mutt/kabc2mutt.cpp | 10 | ||||
-rw-r--r-- | kabc/kabc2mutt/kabc2mutt.h | 5 |
4 files changed, 129 insertions, 128 deletions
diff --git a/kabc/frontend/mainWindow.ui b/kabc/frontend/mainWindow.ui index 3497a9805..c07497bbe 100644 --- a/kabc/frontend/mainWindow.ui +++ b/kabc/frontend/mainWindow.ui @@ -1,6 +1,6 @@ <!DOCTYPE UI><UI version="3.1" stdsetdef="1"> <class>MainWindow</class> -<widget class="QMainWindow"> +<widget class="TQMainWindow"> <property name="name"> <cstring>MainWindow</cstring> </property> @@ -19,7 +19,7 @@ <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QListView" row="0" column="0"> + <widget class="TQListView" row="0" column="0"> <column> <property name="text"> <string>Name</string> @@ -63,7 +63,7 @@ <enum>AllColumns</enum> </property> </widget> - <widget class="QTabWidget" row="0" column="1"> + <widget class="TQTabWidget" row="0" column="1"> <property name="name"> <cstring>TabWidget2</cstring> </property> @@ -81,7 +81,7 @@ <property name="tabShape"> <enum>Rounded</enum> </property> - <widget class="QWidget"> + <widget class="TQWidget"> <property name="name"> <cstring>tab</cstring> </property> @@ -98,12 +98,12 @@ <property name="spacing"> <number>6</number> </property> - <widget class="QLineEdit" row="0" column="1"> + <widget class="TQLineEdit" row="0" column="1"> <property name="name"> <cstring>mNameEdit</cstring> </property> </widget> - <widget class="QLabel" row="0" column="0"> + <widget class="TQLabel" row="0" column="0"> <property name="name"> <cstring>TextLabel1</cstring> </property> @@ -111,7 +111,7 @@ <string>Name:</string> </property> </widget> - <widget class="QLabel" row="1" column="0"> + <widget class="TQLabel" row="1" column="0"> <property name="name"> <cstring>TextLabel1_2</cstring> </property> @@ -119,47 +119,47 @@ <string>URL:</string> </property> </widget> - <widget class="QLineEdit" row="1" column="1"> + <widget class="TQLineEdit" row="1" column="1"> <property name="name"> <cstring>mUrlEdit</cstring> </property> </widget> - <widget class="QLineEdit" row="5" column="1"> + <widget class="TQLineEdit" row="5" column="1"> <property name="name"> <cstring>mAdditionalNameEdit</cstring> </property> </widget> - <widget class="QLineEdit" row="7" column="1"> + <widget class="TQLineEdit" row="7" column="1"> <property name="name"> <cstring>mSuffixEdit</cstring> </property> </widget> - <widget class="QLineEdit" row="4" column="1"> + <widget class="TQLineEdit" row="4" column="1"> <property name="name"> <cstring>mGivenNameEdit</cstring> </property> </widget> - <widget class="QLineEdit" row="3" column="1"> + <widget class="TQLineEdit" row="3" column="1"> <property name="name"> <cstring>mPrefixEdit</cstring> </property> </widget> - <widget class="QLineEdit" row="6" column="1"> + <widget class="TQLineEdit" row="6" column="1"> <property name="name"> <cstring>mFamilyNameEdit</cstring> </property> </widget> - <widget class="QLineEdit" row="2" column="1"> + <widget class="TQLineEdit" row="2" column="1"> <property name="name"> <cstring>mFormattedNameEdit</cstring> </property> </widget> - <widget class="QLineEdit" row="8" column="1"> + <widget class="TQLineEdit" row="8" column="1"> <property name="name"> <cstring>mNickNameEdit</cstring> </property> </widget> - <widget class="QLabel" row="8" column="0"> + <widget class="TQLabel" row="8" column="0"> <property name="name"> <cstring>TextLabel7</cstring> </property> @@ -167,7 +167,7 @@ <string>Nickname:</string> </property> </widget> - <widget class="QLabel" row="7" column="0"> + <widget class="TQLabel" row="7" column="0"> <property name="name"> <cstring>TextLabel5</cstring> </property> @@ -175,7 +175,7 @@ <string>Honorific suffixes:</string> </property> </widget> - <widget class="QLabel" row="6" column="0"> + <widget class="TQLabel" row="6" column="0"> <property name="name"> <cstring>TextLabel3_2</cstring> </property> @@ -183,7 +183,7 @@ <string>Family name:</string> </property> </widget> - <widget class="QLabel" row="5" column="0"> + <widget class="TQLabel" row="5" column="0"> <property name="name"> <cstring>TextLabel4</cstring> </property> @@ -191,7 +191,7 @@ <string>Additional names:</string> </property> </widget> - <widget class="QLabel" row="4" column="0"> + <widget class="TQLabel" row="4" column="0"> <property name="name"> <cstring>TextLabel6</cstring> </property> @@ -199,7 +199,7 @@ <string>Given name:</string> </property> </widget> - <widget class="QLabel" row="3" column="0"> + <widget class="TQLabel" row="3" column="0"> <property name="name"> <cstring>TextLabel1_3</cstring> </property> @@ -207,7 +207,7 @@ <string>Honorific prefixes:</string> </property> </widget> - <widget class="QLabel" row="2" column="0"> + <widget class="TQLabel" row="2" column="0"> <property name="name"> <cstring>TextLabel8</cstring> </property> @@ -215,7 +215,7 @@ <string>Formatted name:</string> </property> </widget> - <widget class="QLabel" row="9" column="0"> + <widget class="TQLabel" row="9" column="0"> <property name="name"> <cstring>TextLabel15</cstring> </property> @@ -223,12 +223,12 @@ <string>Sort string:</string> </property> </widget> - <widget class="QLineEdit" row="9" column="1"> + <widget class="TQLineEdit" row="9" column="1"> <property name="name"> <cstring>mSortStringEdit</cstring> </property> </widget> - <widget class="QLabel" row="11" column="0"> + <widget class="TQLabel" row="11" column="0"> <property name="name"> <cstring>TextLabel11</cstring> </property> @@ -236,7 +236,7 @@ <string>Role:</string> </property> </widget> - <widget class="QLabel" row="12" column="0"> + <widget class="TQLabel" row="12" column="0"> <property name="name"> <cstring>TextLabel12</cstring> </property> @@ -244,7 +244,7 @@ <string>Organization:</string> </property> </widget> - <widget class="QLabel" row="10" column="0"> + <widget class="TQLabel" row="10" column="0"> <property name="name"> <cstring>TextLabel10</cstring> </property> @@ -252,17 +252,17 @@ <string>Title:</string> </property> </widget> - <widget class="QLineEdit" row="10" column="1"> + <widget class="TQLineEdit" row="10" column="1"> <property name="name"> <cstring>mTitleEdit</cstring> </property> </widget> - <widget class="QLineEdit" row="11" column="1"> + <widget class="TQLineEdit" row="11" column="1"> <property name="name"> <cstring>mRoleEdit</cstring> </property> </widget> - <widget class="QLineEdit" row="12" column="1"> + <widget class="TQLineEdit" row="12" column="1"> <property name="name"> <cstring>mOrganizationEdit</cstring> </property> @@ -286,7 +286,7 @@ </spacer> </grid> </widget> - <widget class="QWidget"> + <widget class="TQWidget"> <property name="name"> <cstring>tab</cstring> </property> @@ -297,7 +297,7 @@ <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QGroupBox" row="1" column="0"> + <widget class="TQGroupBox" row="1" column="0"> <property name="name"> <cstring>GroupBox1</cstring> </property> @@ -314,7 +314,7 @@ <property name="spacing"> <number>6</number> </property> - <widget class="QLabel" row="0" column="0"> + <widget class="TQLabel" row="0" column="0"> <property name="name"> <cstring>TextLabel2_3</cstring> </property> @@ -322,12 +322,12 @@ <string>Id:</string> </property> </widget> - <widget class="QComboBox" row="0" column="1" rowspan="1" colspan="2"> + <widget class="TQComboBox" row="0" column="1" rowspan="1" colspan="2"> <property name="name"> <cstring>mPhoneIdCombo</cstring> </property> </widget> - <widget class="QPushButton" row="0" column="3"> + <widget class="TQPushButton" row="0" column="3"> <property name="name"> <cstring>PushButton3</cstring> </property> @@ -335,7 +335,7 @@ <string>Remove</string> </property> </widget> - <widget class="QPushButton" row="0" column="4"> + <widget class="TQPushButton" row="0" column="4"> <property name="name"> <cstring>PushButton4</cstring> </property> @@ -343,12 +343,12 @@ <string>New</string> </property> </widget> - <widget class="QLineEdit" row="1" column="2" rowspan="1" colspan="3"> + <widget class="TQLineEdit" row="1" column="2" rowspan="1" colspan="3"> <property name="name"> <cstring>mPhoneNumberEdit</cstring> </property> </widget> - <widget class="QLabel" row="1" column="0" rowspan="1" colspan="2"> + <widget class="TQLabel" row="1" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>TextLabel1_5</cstring> </property> @@ -356,7 +356,7 @@ <string>Number:</string> </property> </widget> - <widget class="QButtonGroup" row="2" column="0" rowspan="1" colspan="5"> + <widget class="TQButtonGroup" row="2" column="0" rowspan="1" colspan="5"> <property name="name"> <cstring>ButtonGroup2</cstring> </property> @@ -373,7 +373,7 @@ <property name="spacing"> <number>6</number> </property> - <widget class="QCheckBox" row="2" column="0"> + <widget class="TQCheckBox" row="2" column="0"> <property name="name"> <cstring>mPhoneWorkCheck</cstring> </property> @@ -381,7 +381,7 @@ <string>Work</string> </property> </widget> - <widget class="QCheckBox" row="3" column="0"> + <widget class="TQCheckBox" row="3" column="0"> <property name="name"> <cstring>mPhonePrefCheck</cstring> </property> @@ -389,7 +389,7 @@ <string>Pref</string> </property> </widget> - <widget class="QCheckBox" row="1" column="0"> + <widget class="TQCheckBox" row="1" column="0"> <property name="name"> <cstring>mPhoneHomeCheck</cstring> </property> @@ -397,7 +397,7 @@ <string>Home</string> </property> </widget> - <widget class="QCheckBox" row="1" column="1"> + <widget class="TQCheckBox" row="1" column="1"> <property name="name"> <cstring>mPhoneCellCheck</cstring> </property> @@ -405,7 +405,7 @@ <string>Cell</string> </property> </widget> - <widget class="QCheckBox" row="0" column="0"> + <widget class="TQCheckBox" row="0" column="0"> <property name="name"> <cstring>mPhoneFaxCheck</cstring> </property> @@ -413,7 +413,7 @@ <string>Fax</string> </property> </widget> - <widget class="QCheckBox" row="3" column="1" rowspan="1" colspan="2"> + <widget class="TQCheckBox" row="3" column="1" rowspan="1" colspan="2"> <property name="name"> <cstring>mPhoneBbsCheck</cstring> </property> @@ -421,7 +421,7 @@ <string>BBS</string> </property> </widget> - <widget class="QCheckBox" row="0" column="1"> + <widget class="TQCheckBox" row="0" column="1"> <property name="name"> <cstring>mPhoneCarCheck</cstring> </property> @@ -429,7 +429,7 @@ <string>Car</string> </property> </widget> - <widget class="QCheckBox" row="2" column="1"> + <widget class="TQCheckBox" row="2" column="1"> <property name="name"> <cstring>mPhoneVideoCheck</cstring> </property> @@ -437,7 +437,7 @@ <string>Video</string> </property> </widget> - <widget class="QCheckBox" row="0" column="2"> + <widget class="TQCheckBox" row="0" column="2"> <property name="name"> <cstring>mPhoneIsdnCheck</cstring> </property> @@ -445,7 +445,7 @@ <string>ISDN</string> </property> </widget> - <widget class="QCheckBox" row="0" column="3"> + <widget class="TQCheckBox" row="0" column="3"> <property name="name"> <cstring>mPhoneVoiceCheck</cstring> </property> @@ -453,7 +453,7 @@ <string>Voice</string> </property> </widget> - <widget class="QCheckBox" row="1" column="2"> + <widget class="TQCheckBox" row="1" column="2"> <property name="name"> <cstring>mPhonePcsCheck</cstring> </property> @@ -461,7 +461,7 @@ <string>PCS</string> </property> </widget> - <widget class="QCheckBox" row="1" column="3"> + <widget class="TQCheckBox" row="1" column="3"> <property name="name"> <cstring>mPhoneModemCheck</cstring> </property> @@ -469,7 +469,7 @@ <string>Modem</string> </property> </widget> - <widget class="QCheckBox" row="2" column="2"> + <widget class="TQCheckBox" row="2" column="2"> <property name="name"> <cstring>mPhonePagerCheck</cstring> </property> @@ -477,7 +477,7 @@ <string>Pager</string> </property> </widget> - <widget class="QCheckBox" row="2" column="3"> + <widget class="TQCheckBox" row="2" column="3"> <property name="name"> <cstring>mPhoneMsgCheck</cstring> </property> @@ -489,7 +489,7 @@ </widget> </grid> </widget> - <widget class="QGroupBox" row="0" column="0"> + <widget class="TQGroupBox" row="0" column="0"> <property name="name"> <cstring>GroupBox2</cstring> </property> @@ -506,7 +506,7 @@ <property name="spacing"> <number>6</number> </property> - <widget class="QPushButton" row="0" column="1"> + <widget class="TQPushButton" row="0" column="1"> <property name="name"> <cstring>PushButton7</cstring> </property> @@ -514,7 +514,7 @@ <string>&New</string> </property> </widget> - <widget class="QPushButton" row="1" column="1"> + <widget class="TQPushButton" row="1" column="1"> <property name="name"> <cstring>PushButton5</cstring> </property> @@ -522,7 +522,7 @@ <string>&Edit</string> </property> </widget> - <widget class="QPushButton" row="2" column="1"> + <widget class="TQPushButton" row="2" column="1"> <property name="name"> <cstring>PushButton6</cstring> </property> @@ -547,7 +547,7 @@ </size> </property> </spacer> - <widget class="QListView" row="0" column="0" rowspan="4" colspan="1"> + <widget class="TQListView" row="0" column="0" rowspan="4" colspan="1"> <column> <property name="text"> <string>Address</string> @@ -570,7 +570,7 @@ </widget> </grid> </widget> - <widget class="QWidget"> + <widget class="TQWidget"> <property name="name"> <cstring>tab</cstring> </property> @@ -581,7 +581,7 @@ <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="QLabel" row="0" column="0"> + <widget class="TQLabel" row="0" column="0"> <property name="name"> <cstring>TextLabel16</cstring> </property> @@ -589,7 +589,7 @@ <string>Id:</string> </property> </widget> - <widget class="QLabel" row="2" column="0" rowspan="1" colspan="2"> + <widget class="TQLabel" row="2" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>TextLabel1_4</cstring> </property> @@ -597,7 +597,7 @@ <string>Post office box:</string> </property> </widget> - <widget class="QLabel" row="3" column="0" rowspan="1" colspan="2"> + <widget class="TQLabel" row="3" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>TextLabel2_2</cstring> </property> @@ -605,7 +605,7 @@ <string>Extended:</string> </property> </widget> - <widget class="QLabel" row="4" column="0" rowspan="1" colspan="2"> + <widget class="TQLabel" row="4" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>TextLabel3_3</cstring> </property> @@ -613,7 +613,7 @@ <string>Street:</string> </property> </widget> - <widget class="QLabel" row="5" column="0" rowspan="1" colspan="2"> + <widget class="TQLabel" row="5" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>TextLabel4_2</cstring> </property> @@ -621,32 +621,32 @@ <string>Locality:</string> </property> </widget> - <widget class="QLineEdit" row="2" column="2" rowspan="1" colspan="3"> + <widget class="TQLineEdit" row="2" column="2" rowspan="1" colspan="3"> <property name="name"> <cstring>mAddressPostOfficeBoxEdit</cstring> </property> </widget> - <widget class="QLineEdit" row="3" column="2" rowspan="1" colspan="3"> + <widget class="TQLineEdit" row="3" column="2" rowspan="1" colspan="3"> <property name="name"> <cstring>mAddressExtendedEdit</cstring> </property> </widget> - <widget class="QLineEdit" row="4" column="2" rowspan="1" colspan="3"> + <widget class="TQLineEdit" row="4" column="2" rowspan="1" colspan="3"> <property name="name"> <cstring>mAddressStreetEdit</cstring> </property> </widget> - <widget class="QLineEdit" row="5" column="2" rowspan="1" colspan="3"> + <widget class="TQLineEdit" row="5" column="2" rowspan="1" colspan="3"> <property name="name"> <cstring>mAddressLocalityEdit</cstring> </property> </widget> - <widget class="QLineEdit" row="6" column="2" rowspan="1" colspan="3"> + <widget class="TQLineEdit" row="6" column="2" rowspan="1" colspan="3"> <property name="name"> <cstring>mAddressRegionEdit</cstring> </property> </widget> - <widget class="QLabel" row="6" column="0" rowspan="1" colspan="2"> + <widget class="TQLabel" row="6" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>TextLabel5_2</cstring> </property> @@ -654,7 +654,7 @@ <string>Region:</string> </property> </widget> - <widget class="QLabel" row="8" column="0" rowspan="1" colspan="2"> + <widget class="TQLabel" row="8" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>TextLabel7_2</cstring> </property> @@ -662,7 +662,7 @@ <string>Country:</string> </property> </widget> - <widget class="QLabel" row="7" column="0" rowspan="1" colspan="2"> + <widget class="TQLabel" row="7" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>TextLabel6_2</cstring> </property> @@ -670,12 +670,12 @@ <string>Postal code:</string> </property> </widget> - <widget class="QTextEdit" row="10" column="0" rowspan="1" colspan="5"> + <widget class="TQTextEdit" row="10" column="0" rowspan="1" colspan="5"> <property name="name"> <cstring>mAddressLabelEdit</cstring> </property> </widget> - <widget class="QLabel" row="9" column="0" rowspan="1" colspan="2"> + <widget class="TQLabel" row="9" column="0" rowspan="1" colspan="2"> <property name="name"> <cstring>TextLabel13</cstring> </property> @@ -683,17 +683,17 @@ <string>Label:</string> </property> </widget> - <widget class="QLineEdit" row="7" column="2" rowspan="1" colspan="3"> + <widget class="TQLineEdit" row="7" column="2" rowspan="1" colspan="3"> <property name="name"> <cstring>mAddressPostalCodeEdit</cstring> </property> </widget> - <widget class="QLineEdit" row="8" column="2" rowspan="1" colspan="3"> + <widget class="TQLineEdit" row="8" column="2" rowspan="1" colspan="3"> <property name="name"> <cstring>mAddressCountryEdit</cstring> </property> </widget> - <widget class="QButtonGroup" row="1" column="0" rowspan="1" colspan="5"> + <widget class="TQButtonGroup" row="1" column="0" rowspan="1" colspan="5"> <property name="name"> <cstring>ButtonGroup1</cstring> </property> @@ -710,7 +710,7 @@ <property name="spacing"> <number>6</number> </property> - <widget class="QCheckBox" row="0" column="3"> + <widget class="TQCheckBox" row="0" column="3"> <property name="name"> <cstring>mAddressDomCheck</cstring> </property> @@ -718,7 +718,7 @@ <string>Dom</string> </property> </widget> - <widget class="QCheckBox" row="1" column="3"> + <widget class="TQCheckBox" row="1" column="3"> <property name="name"> <cstring>mAddressIntlCheck</cstring> </property> @@ -726,7 +726,7 @@ <string>Intl</string> </property> </widget> - <widget class="QCheckBox" row="0" column="2"> + <widget class="TQCheckBox" row="0" column="2"> <property name="name"> <cstring>mAddressParcelCheck</cstring> </property> @@ -734,7 +734,7 @@ <string>Parcel</string> </property> </widget> - <widget class="QCheckBox" row="1" column="2"> + <widget class="TQCheckBox" row="1" column="2"> <property name="name"> <cstring>mAddressPostalCheck</cstring> </property> @@ -742,7 +742,7 @@ <string>Postal</string> </property> </widget> - <widget class="QCheckBox" row="0" column="1"> + <widget class="TQCheckBox" row="0" column="1"> <property name="name"> <cstring>mAddressHomeCheck</cstring> </property> @@ -750,7 +750,7 @@ <string>Home</string> </property> </widget> - <widget class="QCheckBox" row="0" column="0"> + <widget class="TQCheckBox" row="0" column="0"> <property name="name"> <cstring>mAddressPrefCheck</cstring> </property> @@ -758,7 +758,7 @@ <string>Pref</string> </property> </widget> - <widget class="QCheckBox" row="1" column="1"> + <widget class="TQCheckBox" row="1" column="1"> <property name="name"> <cstring>mAddressWorkCheck</cstring> </property> @@ -768,7 +768,7 @@ </widget> </grid> </widget> - <widget class="QPushButton" row="0" column="4"> + <widget class="TQPushButton" row="0" column="4"> <property name="name"> <cstring>PushButton1</cstring> </property> @@ -776,7 +776,7 @@ <string>&New</string> </property> </widget> - <widget class="QPushButton" row="0" column="3"> + <widget class="TQPushButton" row="0" column="3"> <property name="name"> <cstring>PushButton2</cstring> </property> @@ -784,14 +784,14 @@ <string>&Remove</string> </property> </widget> - <widget class="QComboBox" row="0" column="1" rowspan="1" colspan="2"> + <widget class="TQComboBox" row="0" column="1" rowspan="1" colspan="2"> <property name="name"> <cstring>mAddressIdCombo</cstring> </property> </widget> </grid> </widget> - <widget class="QWidget"> + <widget class="TQWidget"> <property name="name"> <cstring>tab</cstring> </property> @@ -808,12 +808,12 @@ <property name="spacing"> <number>6</number> </property> - <widget class="QTextEdit" row="2" column="0"> + <widget class="TQTextEdit" row="2" column="0"> <property name="name"> <cstring>mNoteEdit</cstring> </property> </widget> - <widget class="QLabel" row="1" column="0"> + <widget class="TQLabel" row="1" column="0"> <property name="name"> <cstring>TextLabel14</cstring> </property> @@ -821,7 +821,7 @@ <string>Note:</string> </property> </widget> - <widget class="QGroupBox" row="0" column="0"> + <widget class="TQGroupBox" row="0" column="0"> <property name="name"> <cstring>GroupBox2_2</cstring> </property> @@ -838,7 +838,7 @@ <property name="spacing"> <number>6</number> </property> - <widget class="QListView" row="0" column="0" rowspan="4" colspan="1"> + <widget class="TQListView" row="0" column="0" rowspan="4" colspan="1"> <column> <property name="text"> <string>Name</string> @@ -874,7 +874,7 @@ </size> </property> </spacer> - <widget class="QPushButton" row="2" column="1"> + <widget class="TQPushButton" row="2" column="1"> <property name="name"> <cstring>PushButton6_2</cstring> </property> @@ -882,7 +882,7 @@ <string>&Remove</string> </property> </widget> - <widget class="QPushButton" row="1" column="1"> + <widget class="TQPushButton" row="1" column="1"> <property name="name"> <cstring>PushButton5_2</cstring> </property> @@ -890,7 +890,7 @@ <string>&Edit</string> </property> </widget> - <widget class="QPushButton" row="0" column="1"> + <widget class="TQPushButton" row="0" column="1"> <property name="name"> <cstring>PushButton7_2</cstring> </property> @@ -902,7 +902,7 @@ </widget> </grid> </widget> - <widget class="QWidget"> + <widget class="TQWidget"> <property name="name"> <cstring>tab</cstring> </property> @@ -919,7 +919,7 @@ <property name="spacing"> <number>6</number> </property> - <widget class="QGroupBox" row="0" column="0"> + <widget class="TQGroupBox" row="0" column="0"> <property name="name"> <cstring>GroupBox2_2_2</cstring> </property> @@ -936,7 +936,7 @@ <property name="spacing"> <number>6</number> </property> - <widget class="QListView" row="0" column="0" rowspan="4" colspan="1"> + <widget class="TQListView" row="0" column="0" rowspan="4" colspan="1"> <column> <property name="text"> <string>App</string> @@ -977,7 +977,7 @@ <enum>AllColumns</enum> </property> </widget> - <widget class="QPushButton" row="0" column="1"> + <widget class="TQPushButton" row="0" column="1"> <property name="name"> <cstring>PushButton7_2_2</cstring> </property> @@ -985,7 +985,7 @@ <string>&New</string> </property> </widget> - <widget class="QPushButton" row="1" column="1"> + <widget class="TQPushButton" row="1" column="1"> <property name="name"> <cstring>PushButton5_2_2</cstring> </property> @@ -993,7 +993,7 @@ <string>&Edit</string> </property> </widget> - <widget class="QPushButton" row="2" column="1"> + <widget class="TQPushButton" row="2" column="1"> <property name="name"> <cstring>PushButton6_2_2</cstring> </property> @@ -1365,7 +1365,7 @@ <variable>QString mCurrentAddress</variable> <variable>QString mCurrentPhone</variable> </variables> -<slots> +<Q_SLOTS> <slot>init()</slot> <slot>destroy()</slot> <slot>fileSave()</slot> @@ -1404,6 +1404,6 @@ <slot>addressBookLocked()</slot> <slot>addressBookUnlocked()</slot> <slot>fileOpenStd()</slot> -</slots> +</Q_SLOTS> <tqlayoutdefaults spacing="6" margin="11"/> </UI> diff --git a/kabc/frontend/mainWindow.ui.h b/kabc/frontend/mainWindow.ui.h index fb8377cbb..0740d9cf0 100644 --- a/kabc/frontend/mainWindow.ui.h +++ b/kabc/frontend/mainWindow.ui.h @@ -1,7 +1,7 @@ /**************************************************************************** ** ui.h extension file, included from the uic-generated form implementation. ** -** If you wish to add, delete or rename slots use Qt Designer which will +** If you wish to add, delete or rename slots use TQt Designer which will ** update this file, preserving your code. Create an init() slot in place of ** a constructor, and a destroy() slot in place of a destructor. *****************************************************************************/ @@ -17,11 +17,11 @@ using namespace KABC; -class AddresseeItem : public QListViewItem +class AddresseeItem : public TQListViewItem { public: - AddresseeItem( TQListView *parent, const Addressee &a ) : - TQListViewItem( parent, a.realName(), a.uid() ), mAddressee( a ) {} + AddresseeItem( TQListView *tqparent, const Addressee &a ) : + TQListViewItem( tqparent, a.realName(), a.uid() ), mAddressee( a ) {} void setAddressee( const Addressee &a ) { mAddressee = a; } Addressee &addressee() { return mAddressee; } @@ -72,7 +72,7 @@ void MainWindow::loadAddressBook( const TQString &fileName ) mAddresseeList->clear(); mCurrentItem = 0; - mCurrentAddress = TQString::null; + mCurrentAddress = TQString(); readAddressee( Addressee() ); KABC::AddressBook::Iterator it; @@ -139,8 +139,8 @@ void MainWindow::readAddressee( const KABC::Addressee &a ) TQStringList customs = a.customs(); TQStringList::ConstIterator it5; for( it5 = customs.begin(); it5 != customs.end(); ++it5 ) { - int posDash = (*it5).find( "-" ); - int posColon = (*it5).find( ":" ); + int posDash = (*it5).tqfind( "-" ); + int posColon = (*it5).tqfind( ":" ); TQString app = (*it5).left( posDash ); TQString cname = (*it5).mid( posDash + 1, posColon - posDash - 1 ); @@ -156,7 +156,7 @@ void MainWindow::readAddressee( const KABC::Addressee &a ) mAddressIdCombo->insertItem( (*it).id() ); } if ( mAddressIdCombo->count() > 0 ) mCurrentAddress = mAddressIdCombo->currentText(); - else mCurrentAddress = TQString::null; + else mCurrentAddress = TQString(); readAddress( mCurrentAddress ); mPhoneIdCombo->clear(); @@ -202,7 +202,7 @@ void MainWindow::newEntry() bool ok = false; TQString name = KInputDialog::getText( i18n("New Address Book Entry"), i18n("Please enter name:"), - TQString::null, &ok, + TQString(), &ok, this ); if ( !ok || name.isEmpty() ) return; @@ -232,7 +232,7 @@ void MainWindow::updateAddress( int id ) if ( mAddressIdCombo->count() > 0 ) { mCurrentAddress = mAddressIdCombo->text( id ); } else { - mCurrentAddress = TQString::null; + mCurrentAddress = TQString(); } readAddress( mCurrentAddress ); } @@ -323,7 +323,7 @@ void MainWindow::updatePhone( int id ) if ( mPhoneIdCombo->count() > 0 ) { mCurrentPhone = mPhoneIdCombo->text( id ); } else { - mCurrentPhone = TQString::null; + mCurrentPhone = TQString(); } readPhone( mCurrentPhone ); } @@ -452,7 +452,7 @@ void MainWindow::newEmail() bool ok = false; TQString name = KInputDialog::getText( i18n("New Email Address"), i18n("Please enter email address:"), - TQString::null, &ok, + TQString(), &ok, this ); if ( !ok || name.isEmpty() ) return; @@ -524,7 +524,7 @@ void MainWindow::newCategory() bool ok = false; TQString name = KInputDialog::getText( i18n("New Category"), i18n("Please enter category name:"), - TQString::null, &ok, + TQString(), &ok, this ); if ( !ok || name.isEmpty() ) return; @@ -583,8 +583,8 @@ void MainWindow::editCustom() this ); if ( !ok || name.isEmpty() ) return; - int posDash = name.find( "-" ); - int posColon = name.find( ":" ); + int posDash = name.tqfind( "-" ); + int posColon = name.tqfind( ":" ); TQString app = name.left( posDash ); TQString cname = name.mid( posDash + 1, posColon - posDash - 1 ); @@ -606,12 +606,12 @@ void MainWindow::newCustom() TQString name = KInputDialog::getText( i18n("New Custom Entry"), i18n("Please enter custom entry.\n" "Format: APP-NAME:VALUE"), - TQString::null, &ok, + TQString(), &ok, this ); if ( !ok || name.isEmpty() ) return; - int posDash = name.find( "-" ); - int posColon = name.find( ":" ); + int posDash = name.tqfind( "-" ); + int posColon = name.tqfind( ":" ); TQString app = name.left( posDash ); TQString cname = name.mid( posDash + 1, posColon - posDash - 1 ); diff --git a/kabc/kabc2mutt/kabc2mutt.cpp b/kabc/kabc2mutt/kabc2mutt.cpp index b86521dd5..7e10dc32e 100644 --- a/kabc/kabc2mutt/kabc2mutt.cpp +++ b/kabc/kabc2mutt/kabc2mutt.cpp @@ -29,8 +29,8 @@ static std::ostream & operator<< ( std::ostream &os, const TQString &s ); -KABC2Mutt::KABC2Mutt( TQObject *parent, const char *name ) - : TQObject( parent, name ), mFormat( Aliases ), +KABC2Mutt::KABC2Mutt( TQObject *tqparent, const char *name ) + : TQObject( tqparent, name ), mFormat( Aliases ), mIgnoreCase( false ), mAllAddresses( false ), mAlternateKeyFormat( false ), mAddressBook( 0 ) @@ -53,8 +53,8 @@ void KABC2Mutt::loadingFinished() for ( iaddr = mAddressBook->begin(); iaddr != mAddressBook->end(); ++iaddr ) { const TQString name = (*iaddr).givenName() + ' ' + (*iaddr).familyName(); if ( !mQuery.isEmpty() ) { - bool match = (name.find(mQuery, 0, mIgnoreCase) > -1) || - ((*iaddr).preferredEmail().find( mQuery, 0, mIgnoreCase ) > -1 ); + bool match = (name.tqfind(mQuery, 0, mIgnoreCase) > -1) || + ((*iaddr).preferredEmail().tqfind( mQuery, 0, mIgnoreCase ) > -1 ); if ( !match ) continue; } @@ -130,7 +130,7 @@ void KABC2Mutt::loadingFinished() KABC::DistributionList *list = manager.list( *iaddr ); if ( list ) { if ( !mQuery.isEmpty() ) { - bool match = ((*iaddr).find(mQuery) > -1); + bool match = ((*iaddr).tqfind(mQuery) > -1); if ( !match ) continue; } diff --git a/kabc/kabc2mutt/kabc2mutt.h b/kabc/kabc2mutt/kabc2mutt.h index ebe4f53fd..855b48dbd 100644 --- a/kabc/kabc2mutt/kabc2mutt.h +++ b/kabc/kabc2mutt/kabc2mutt.h @@ -22,15 +22,16 @@ #include <kabc/stdaddressbook.h> -class KABC2Mutt : public QObject +class KABC2Mutt : public TQObject { Q_OBJECT + TQ_OBJECT public: enum Format { Aliases, Query }; - KABC2Mutt( TQObject *parent, const char *name = 0 ); + KABC2Mutt( TQObject *tqparent, const char *name = 0 ); void setQuery( const TQString &query ) { mQuery = query; } void setFormat( Format format ) { mFormat = format; } |