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.cpp4
-rw-r--r--kresources/lib/kcal_resourcegroupwarebase.cpp2
-rw-r--r--kresources/lib/webdavhandler.cpp2
5 files changed, 7 insertions, 7 deletions
diff --git a/kresources/lib/folderconfig.cpp b/kresources/lib/folderconfig.cpp
index 06d9f9fc2..f8feb456f 100644
--- a/kresources/lib/folderconfig.cpp
+++ b/kresources/lib/folderconfig.cpp
@@ -47,7 +47,7 @@ FolderConfig::FolderConfig( TQWidget *tqparent )
TQBoxLayout *topLayout = new TQVBoxLayout( this );
topLayout->addSpacing( KDialog::spacingHint() );
- TQGroupBox *topBox = new TQGroupBox( 1, Horizontal, i18n("Folder Selection"),
+ TQGroupBox *topBox = new TQGroupBox( 1, Qt::Horizontal, i18n("Folder Selection"),
this );
topLayout->addWidget( topBox );
diff --git a/kresources/lib/folderlister.cpp b/kresources/lib/folderlister.cpp
index a0ef5f0e2..9436a6f92 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").arg( i ) ) );
+// TQStringList l( cfgg.readListEntry( TQString("Folder%1").tqarg( 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").arg( nr ), lst );
+// cfgg.writeEntry( TQString("Folder%1").tqarg( nr ), lst );
if ( (*it).active ) active.append( (*it).id );
nr++;
}
diff --git a/kresources/lib/folderlistview.cpp b/kresources/lib/folderlistview.cpp
index 23e115c0a..c6b34cbd2 100644
--- a/kresources/lib/folderlistview.cpp
+++ b/kresources/lib/folderlistview.cpp
@@ -147,10 +147,10 @@ void FolderListView::slotPopupHandler( int z )
void FolderListView::slotMousePressed(int btn, TQListViewItem* i, const TQPoint& pos, int c)
{
if ( dynamic_cast<FolderListItem*>(i) ) {
- if ( btn == TQt::RightButton ) {
+ if ( btn == Qt::RightButton ) {
showPopupMenu( (FolderListItem*)i, /*mapToGlobal(*/pos/*)*/ );
}
- else if ( btn == TQt::LeftButton && c > 0 ) {
+ 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() ) );
// } else {
diff --git a/kresources/lib/kcal_resourcegroupwarebase.cpp b/kresources/lib/kcal_resourcegroupwarebase.cpp
index 11db0e81e..2f48362d9 100644
--- a/kresources/lib/kcal_resourcegroupwarebase.cpp
+++ b/kresources/lib/kcal_resourcegroupwarebase.cpp
@@ -217,7 +217,7 @@ void qt_leave_modal( TQWidget *widget );
void ResourceGroupwareBase::enter_loop()
{
TQWidget dummy(0,0,WType_Dialog | WShowModal);
- dummy.setFocusPolicy( TQWidget::NoFocus );
+ dummy.setFocusPolicy( Qt::NoFocus );
qt_enter_modal(&dummy);
tqApp->enter_loop();
qt_leave_modal(&dummy);
diff --git a/kresources/lib/webdavhandler.cpp b/kresources/lib/webdavhandler.cpp
index 0eb2144fa..9ae500e52 100644
--- a/kresources/lib/webdavhandler.cpp
+++ b/kresources/lib/webdavhandler.cpp
@@ -120,7 +120,7 @@ bool WebdavHandler::extractDateTime( const TQDomElement &node, const TQString &e
{
TQDomElement element = node.namedItem( entry ).toElement();
if ( !element.isNull() && !element.text().isEmpty() ) {
- value = TQDateTime::fromString( element.text(), TQt::ISODate );
+ value = TQDateTime::fromString( element.text(), Qt::ISODate );
return true;
}
return false;