summaryrefslogtreecommitdiffstats
path: root/kabc/resourceselectdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kabc/resourceselectdialog.cpp')
-rw-r--r--kabc/resourceselectdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kabc/resourceselectdialog.cpp b/kabc/resourceselectdialog.cpp
index d548b52ab..3d01bfc8e 100644
--- a/kabc/resourceselectdialog.cpp
+++ b/kabc/resourceselectdialog.cpp
@@ -24,7 +24,7 @@
#include <kstdguiitem.h>
#include <tqgroupbox.h>
-#include <layout.h>
+#include <tqlayout.h>
#include "resource.h"
#include "addressbook.h"
@@ -64,7 +64,7 @@ ResourceSelectDialog::ResourceSelectDialog( AddressBook *ab, TQWidget *parent, c
uint counter = 0;
TQPtrList<Resource> list = ab->resources();
for ( uint i = 0; i < list.count(); ++i ) {
- Resource *resource = list.at( i );
+ Resource *resource = list.tqat( i );
if ( resource && !resource->readOnly() ) {
mResourceMap.insert( counter, resource );
mResourceId->insertItem( resource->resourceName() );