summaryrefslogtreecommitdiffstats
path: root/kresources/lib
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/lib')
-rw-r--r--kresources/lib/folderconfig.cpp2
-rw-r--r--kresources/lib/folderlister.cpp4
-rw-r--r--kresources/lib/folderlistview.cpp6
-rw-r--r--kresources/lib/folderselectdialog.cpp10
-rw-r--r--kresources/lib/kabc_resourcegroupwarebaseconfig.cpp2
-rw-r--r--kresources/lib/kcal_cachesettingsdlg.cpp2
-rw-r--r--kresources/lib/kcal_resourcegroupwarebaseconfig.cpp2
7 files changed, 14 insertions, 14 deletions
diff --git a/kresources/lib/folderconfig.cpp b/kresources/lib/folderconfig.cpp
index 20fa6fa1b..c82f39757 100644
--- a/kresources/lib/folderconfig.cpp
+++ b/kresources/lib/folderconfig.cpp
@@ -32,7 +32,7 @@
#include <kdebug.h>
#include <kdialog.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqgroupbox.h>
#include <tqpushbutton.h>
#include <tqcombobox.h>
diff --git a/kresources/lib/folderlister.cpp b/kresources/lib/folderlister.cpp
index eec969c26..affc6af57 100644
--- a/kresources/lib/folderlister.cpp
+++ b/kresources/lib/folderlister.cpp
@@ -137,7 +137,7 @@ void FolderLister::readConfig( KPIM::GroupwarePrefsBase *newprefs )
for ( int i=0; i<nr; ++i ) {
TQStringList l( newprefs->folder( i ) );
-// TQStringList l( cfgg.readListEntry( TQString("Folder%1").tqarg( i ) ) );
+// TQStringList l( cfgg.readListEntry( TQString("Folder%1").arg( i ) ) );
Entry e;
if ( l.count()>0 ) {
e.id = l.first();
@@ -186,7 +186,7 @@ void FolderLister::writeConfig( GroupwarePrefsBase *newprefs )
lst << (*it).name;
lst += contentTypeToStrings( (*it).type );
newprefs->setFolder( nr, lst );
-// cfgg.writeEntry( TQString("Folder%1").tqarg( nr ), lst );
+// cfgg.writeEntry( TQString("Folder%1").arg( nr ), lst );
if ( (*it).active ) active.append( (*it).id );
nr++;
}
diff --git a/kresources/lib/folderlistview.cpp b/kresources/lib/folderlistview.cpp
index 8cbdffd5e..b29e61c9d 100644
--- a/kresources/lib/folderlistview.cpp
+++ b/kresources/lib/folderlistview.cpp
@@ -134,7 +134,7 @@ void FolderListView::showPopupMenu( FolderListItem *i, const TQPoint &globalPos
void FolderListView::showPopupMenu( TQListViewItem *i )
{
if ( dynamic_cast<FolderListItem*>(i) )
- showPopupMenu( (FolderListItem*)i, viewport()->mapToGlobal(tqitemRect(i).topLeft()) );
+ showPopupMenu( (FolderListItem*)i, viewport()->mapToGlobal(itemRect(i).topLeft()) );
}
void FolderListView::slotPopupHandler( int z )
@@ -152,7 +152,7 @@ void FolderListView::slotMousePressed(int btn, TQListViewItem* i, const TQPoint&
}
else if ( btn == Qt::LeftButton && c > 0 ) {
// map pos to item/column and call FolderListItem::activate(col, pos)
- ((FolderListItem*)i)->activate( c, viewport()->mapFromGlobal( pos ) - TQPoint( 0, tqitemRect(i).top() ) );
+ ((FolderListItem*)i)->activate( c, viewport()->mapFromGlobal( pos ) - TQPoint( 0, itemRect(i).top() ) );
// } else {
// KListView::slotMousePressed( btn, i, pos, c );
}
@@ -242,7 +242,7 @@ void FolderListItem::paintCell( TQPainter *p, const TQColorGroup &cg, int col, i
if ( !lv ) return;
// use a private color group and set the text/highlighted text colors
-// TQColorGroup mcg = lv->viewport()->tqcolorGroup();
+// TQColorGroup mcg = lv->viewport()->colorGroup();
FolderListView::Property prop( mFolderListView->typeForColumn(col) );
if ( prop == FolderListView::FolderName ) {
diff --git a/kresources/lib/folderselectdialog.cpp b/kresources/lib/folderselectdialog.cpp
index f05dccf0a..44fbeb6b9 100644
--- a/kresources/lib/folderselectdialog.cpp
+++ b/kresources/lib/folderselectdialog.cpp
@@ -32,7 +32,7 @@
#include "folderselectdialog.h"
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
using namespace KPIM;
@@ -42,16 +42,16 @@ FolderSelectDialog::FolderSelectDialog( const TQString& caption, const TQString&
: KDialogBase(0, 0, true, caption, Ok|Cancel, Ok, true)
{
TQFrame* frame = makeMainWidget();
- TQVBoxLayout* tqlayout = new TQVBoxLayout( frame, 0, spacingHint() );
+ TQVBoxLayout* layout = new TQVBoxLayout( frame, 0, spacingHint() );
TQLabel* labelWidget = new TQLabel( label, frame );
- tqlayout->addWidget( labelWidget );
+ layout->addWidget( labelWidget );
mListBox = new KListBox( frame );
mListBox->insertStringList( list );
mListBox->setSelected( 0, true );
mListBox->ensureCurrentVisible();
- tqlayout->addWidget( mListBox, 10 );
+ layout->addWidget( mListBox, 10 );
connect( mListBox, TQT_SIGNAL( doubleClicked( TQListBoxItem * ) ),
TQT_SLOT( slotOk() ) );
@@ -60,7 +60,7 @@ FolderSelectDialog::FolderSelectDialog( const TQString& caption, const TQString&
mListBox->setFocus();
- tqlayout->addStretch();
+ layout->addStretch();
setMinimumWidth( 320 );
}
diff --git a/kresources/lib/kabc_resourcegroupwarebaseconfig.cpp b/kresources/lib/kabc_resourcegroupwarebaseconfig.cpp
index 6609a3b28..2997ae021 100644
--- a/kresources/lib/kabc_resourcegroupwarebaseconfig.cpp
+++ b/kresources/lib/kabc_resourcegroupwarebaseconfig.cpp
@@ -33,7 +33,7 @@
#include <kurlrequester.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
using namespace KABC;
diff --git a/kresources/lib/kcal_cachesettingsdlg.cpp b/kresources/lib/kcal_cachesettingsdlg.cpp
index 20b48ad9e..7eafa5307 100644
--- a/kresources/lib/kcal_cachesettingsdlg.cpp
+++ b/kresources/lib/kcal_cachesettingsdlg.cpp
@@ -33,7 +33,7 @@
#include <kdialog.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
using namespace KCal;
diff --git a/kresources/lib/kcal_resourcegroupwarebaseconfig.cpp b/kresources/lib/kcal_resourcegroupwarebaseconfig.cpp
index ed8a63f92..8ad00e62b 100644
--- a/kresources/lib/kcal_resourcegroupwarebaseconfig.cpp
+++ b/kresources/lib/kcal_resourcegroupwarebaseconfig.cpp
@@ -36,7 +36,7 @@
#include <kpushbutton.h>
#include <tqlabel.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqhbox.h>