summaryrefslogtreecommitdiffstats
path: root/kaddressbook/features/resourceselection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/features/resourceselection.cpp')
-rw-r--r--kaddressbook/features/resourceselection.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kaddressbook/features/resourceselection.cpp b/kaddressbook/features/resourceselection.cpp
index 59a3c1ee6..049f879b5 100644
--- a/kaddressbook/features/resourceselection.cpp
+++ b/kaddressbook/features/resourceselection.cpp
@@ -17,8 +17,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include <tqlayout.h>
@@ -54,11 +54,11 @@ class AddressBookWrapper : public KABC::AddressBook
}
};
-class ResourceItem : public QCheckListItem
+class ResourceItem : public TQCheckListItem
{
public:
- ResourceItem( KListView *parent, KABC::Resource *resource )
- : TQCheckListItem( parent, resource->resourceName(), CheckBox ),
+ ResourceItem( KListView *tqparent, KABC::Resource *resource )
+ : TQCheckListItem( tqparent, resource->resourceName(), CheckBox ),
mResource( resource ), mChecked( false ),
mIsSubresource( false ), mSubItemsCreated( false ),
mResourceIdentifier()
@@ -68,9 +68,9 @@ class ResourceItem : public QCheckListItem
mChecked = isOn();
}
- ResourceItem( KPIM::ResourceABC *resourceABC, ResourceItem* parent,
+ ResourceItem( KPIM::ResourceABC *resourceABC, ResourceItem* tqparent,
const TQString& resourceIdent )
- : TQCheckListItem( parent, resourceABC->subresourceLabel( resourceIdent ), CheckBox ),
+ : TQCheckListItem( tqparent, resourceABC->subresourceLabel( resourceIdent ), CheckBox ),
mResource( resourceABC ), mChecked( false ),
mIsSubresource( true ), mSubItemsCreated( false ),
mResourceIdentifier( resourceIdent )
@@ -134,8 +134,8 @@ void ResourceItem::stateChange( bool active )
////
-ResourceSelection::ResourceSelection( KAB::Core *core, TQWidget *parent, const char *name )
- : KAB::ExtensionWidget( core, parent, name ), mManager( 0 )
+ResourceSelection::ResourceSelection( KAB::Core *core, TQWidget *tqparent, const char *name )
+ : KAB::ExtensionWidget( core, tqparent, name ), mManager( 0 )
{
initGUI();
@@ -466,12 +466,12 @@ ResourceItem* ResourceSelection::selectedItem() const
ResourceItem* ResourceSelection::findSubResourceItem( KPIM::ResourceABC *resource,
const TQString &subResource )
{
- TQListViewItemIterator parentIt( mListView );
- for ( ; *parentIt; ++parentIt ) {
- if ( static_cast<ResourceItem*>(*parentIt)->resource() != resource )
+ TQListViewItemIterator tqparentIt( mListView );
+ for ( ; *tqparentIt; ++tqparentIt ) {
+ if ( static_cast<ResourceItem*>(*tqparentIt)->resource() != resource )
continue;
- TQListViewItemIterator childIt( *parentIt );
+ TQListViewItemIterator childIt( *tqparentIt );
for ( ; *childIt; ++childIt ) {
ResourceItem *item = static_cast<ResourceItem*>(*childIt);
if ( item->resourceIdentifier() == subResource )
@@ -520,9 +520,9 @@ void ResourceSelection::initGUI()
class ResourceSelectionFactory : public KAB::ExtensionFactory
{
public:
- KAB::ExtensionWidget *extension( KAB::Core *core, TQWidget *parent, const char *name )
+ KAB::ExtensionWidget *extension( KAB::Core *core, TQWidget *tqparent, const char *name )
{
- return new ResourceSelection( core, parent, name );
+ return new ResourceSelection( core, tqparent, name );
}
TQString identifier() const