summaryrefslogtreecommitdiffstats
path: root/parts/fileselector/fileselector_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/fileselector/fileselector_part.cpp')
-rw-r--r--parts/fileselector/fileselector_part.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/parts/fileselector/fileselector_part.cpp b/parts/fileselector/fileselector_part.cpp
index 20a3d27a..4e30fe50 100644
--- a/parts/fileselector/fileselector_part.cpp
+++ b/parts/fileselector/fileselector_part.cpp
@@ -1,10 +1,10 @@
#include "fileselector_part.h"
-#include <qwhatsthis.h>
-#include <qpushbutton.h>
-#include <qcheckbox.h>
-#include <qslider.h>
-#include <qvbox.h>
+#include <tqwhatsthis.h>
+#include <tqpushbutton.h>
+#include <tqcheckbox.h>
+#include <tqslider.h>
+#include <tqvbox.h>
#include <kiconloader.h>
#include <klocale.h>
@@ -34,27 +34,27 @@ typedef KDevGenericFactory<FileSelectorPart> FileSelectorFactory;
static const KDevPluginInfo data("kdevfileselector");
K_EXPORT_COMPONENT_FACTORY( libkdevfileselector, FileSelectorFactory( data ) )
-FileSelectorPart::FileSelectorPart(QObject *parent, const char *name, const QStringList &)
+FileSelectorPart::FileSelectorPart(TQObject *parent, const char *name, const TQStringList &)
: KDevPlugin(&data, parent, name ? name : "FileSelectorPart")
{
setInstance(FileSelectorFactory::instance());
m_filetree = new KDevFileSelector( this, mainWindow(), partController(), 0, "fileselectorwidget" );
- connect( m_filetree->dirOperator(), SIGNAL(fileSelected(const KFileItem*)),
- this, SLOT(fileSelected(const KFileItem*)));
- connect( core(), SIGNAL(projectOpened()), this, SLOT(slotProjectOpened()) );
+ connect( m_filetree->dirOperator(), TQT_SIGNAL(fileSelected(const KFileItem*)),
+ this, TQT_SLOT(fileSelected(const KFileItem*)));
+ connect( core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(slotProjectOpened()) );
- connect( core(), SIGNAL(configWidget(KDialogBase*)), this, SLOT(slotConfigWidget(KDialogBase*)) );
+ connect( core(), TQT_SIGNAL(configWidget(KDialogBase*)), this, TQT_SLOT(slotConfigWidget(KDialogBase*)) );
m_filetree->setCaption( i18n("File Selector") );
m_filetree->setIcon( SmallIcon( info()->icon() ) );
mainWindow()->embedSelectView( m_filetree, i18n("File Selector"), i18n("File selector") );
- QWhatsThis::add(m_filetree, i18n("<b>File selector</b><p>This file selector lists directory contents and provides some file management functions."));
+ TQWhatsThis::add(m_filetree, i18n("<b>File selector</b><p>This file selector lists directory contents and provides some file management functions."));
m_filetree->readConfig( instance()->config(), "fileselector" );
- m_newFileAction = new KAction(i18n("New File..."), CTRL+ALT+SHIFT+Key_N, this, SLOT(newFile()), this);
+ m_newFileAction = new KAction(i18n("New File..."), CTRL+ALT+SHIFT+Key_N, this, TQT_SLOT(newFile()), this);
}
FileSelectorPart::~FileSelectorPart()
@@ -82,9 +82,9 @@ void FileSelectorPart::slotProjectOpened()
void FileSelectorPart::slotConfigWidget( KDialogBase * dlg )
{
- QVBox* vbox = dlg->addVBoxPage( i18n("File Selector"), i18n("File Selector"), BarIcon( info()->icon(), KIcon::SizeMedium) );
+ TQVBox* vbox = dlg->addVBoxPage( i18n("File Selector"), i18n("File Selector"), BarIcon( info()->icon(), KIcon::SizeMedium) );
KFSConfigPage* page = new KFSConfigPage( vbox, 0, m_filetree );
- connect( dlg, SIGNAL( okClicked( ) ), page, SLOT( apply( ) ) );
+ connect( dlg, TQT_SIGNAL( okClicked( ) ), page, TQT_SLOT( apply( ) ) );
// ### implement reload
}