summaryrefslogtreecommitdiffstats
path: root/kresources/lib/folderconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/lib/folderconfig.cpp')
-rw-r--r--kresources/lib/folderconfig.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/kresources/lib/folderconfig.cpp b/kresources/lib/folderconfig.cpp
index b0265494..25fd7d82 100644
--- a/kresources/lib/folderconfig.cpp
+++ b/kresources/lib/folderconfig.cpp
@@ -32,35 +32,35 @@
#include <kdebug.h>
#include <kdialog.h>
-#include <qlayout.h>
-#include <qgroupbox.h>
-#include <qpushbutton.h>
-#include <qcombobox.h>
-#include <qhbox.h>
-#include <qlabel.h>
+#include <tqlayout.h>
+#include <tqgroupbox.h>
+#include <tqpushbutton.h>
+#include <tqcombobox.h>
+#include <tqhbox.h>
+#include <tqlabel.h>
using namespace KPIM;
-FolderConfig::FolderConfig( QWidget *parent )
- : QWidget( parent ), mFolderLister( 0 )
+FolderConfig::FolderConfig( TQWidget *parent )
+ : TQWidget( parent ), mFolderLister( 0 )
{
- QBoxLayout *topLayout = new QVBoxLayout( this );
+ TQBoxLayout *topLayout = new TQVBoxLayout( this );
topLayout->addSpacing( KDialog::spacingHint() );
- QGroupBox *topBox = new QGroupBox( 1, Horizontal, i18n("Folder Selection"),
+ TQGroupBox *topBox = new TQGroupBox( 1, Horizontal, i18n("Folder Selection"),
this );
topLayout->addWidget( topBox );
- QPushButton *button = new QPushButton( i18n("Update Folder List"), topBox );
- connect( button, SIGNAL( clicked() ), SIGNAL( updateFoldersClicked() ) );
+ TQPushButton *button = new TQPushButton( i18n("Update Folder List"), topBox );
+ connect( button, TQT_SIGNAL( clicked() ), TQT_SIGNAL( updateFoldersClicked() ) );
mFolderList = new FolderListView( topBox );
-/* QHBox *writeBox = new QHBox( topBox );
+/* TQHBox *writeBox = new TQHBox( topBox );
- new QLabel( i18n("Write to:"), writeBox );
+ new TQLabel( i18n("Write to:"), writeBox );
- mWriteCombo = new QComboBox( writeBox );*/
+ mWriteCombo = new TQComboBox( writeBox );*/
}
FolderConfig::~FolderConfig()
@@ -71,8 +71,8 @@ void FolderConfig::setFolderLister( FolderLister *f )
{
mFolderLister = f;
- QValueList<FolderListView::Property> types;
- QValueList<FolderLister::ContentType> suptypes( mFolderLister->supportedTypes() );
+ TQValueList<FolderListView::Property> types;
+ TQValueList<FolderLister::ContentType> suptypes( mFolderLister->supportedTypes() );
if ( suptypes.contains( FolderLister::Event ) ) types << FolderListView::Event;
if ( suptypes.contains( FolderLister::Todo ) ) types << FolderListView::Todo;
if ( suptypes.contains( FolderLister::Journal ) ) types << FolderListView::Journal;
@@ -81,7 +81,7 @@ void FolderConfig::setFolderLister( FolderLister *f )
if ( suptypes.contains( FolderLister::Unknown ) ) types << FolderListView::Unknown;
mFolderList->setEnabledTypes( types );
- connect( mFolderLister, SIGNAL( foldersRead() ), SLOT( updateFolderList() ) );
+ connect( mFolderLister, TQT_SIGNAL( foldersRead() ), TQT_SLOT( updateFolderList() ) );
}
void FolderConfig::retrieveFolderList( const KURL &url )
@@ -100,7 +100,7 @@ void FolderConfig::updateFolderList()
{
mFolderList->clear();
- QStringList write;
+ TQStringList write;
if ( !mOldFolderListerURL.isEmpty() && mFolderLister->adaptor() ) {
mFolderLister->adaptor()->setBaseURL( mOldFolderListerURL );
@@ -134,11 +134,11 @@ void FolderConfig::updateFolderList()
void FolderConfig::saveSettings()
{
- QPtrList<QListViewItem> lst;
+ TQPtrList<TQListViewItem> lst;
FolderLister::Entry::List folders;
- QListViewItemIterator it( mFolderList );
+ TQListViewItemIterator it( mFolderList );
while ( it.current() ) {
FolderListItem *item = dynamic_cast<FolderListItem *>( it.current() );
if ( item ) {