summaryrefslogtreecommitdiffstats
path: root/parts/fileview/filegroupspart.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /parts/fileview/filegroupspart.cpp
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/fileview/filegroupspart.cpp')
-rw-r--r--parts/fileview/filegroupspart.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/parts/fileview/filegroupspart.cpp b/parts/fileview/filegroupspart.cpp
index 1c6a5abf..4451ff2a 100644
--- a/parts/fileview/filegroupspart.cpp
+++ b/parts/fileview/filegroupspart.cpp
@@ -12,9 +12,9 @@
#include "filegroupspart.h"
#include "filegroupspart.moc"
-#include <qwhatsthis.h>
-#include <qvbox.h>
-#include <qtimer.h>
+#include <tqwhatsthis.h>
+#include <tqvbox.h>
+#include <tqtimer.h>
#include <kaction.h>
#include <kdebug.h>
#include <kiconloader.h>
@@ -36,7 +36,7 @@ typedef KDevGenericFactory<FileGroupsPart> FileGroupsFactory;
static const KDevPluginInfo data("kdevfilegroups");
K_EXPORT_COMPONENT_FACTORY( libkdevfilegroups, FileGroupsFactory( data ) )
-FileGroupsPart::FileGroupsPart(QObject *parent, const char *name, const QStringList &)
+FileGroupsPart::FileGroupsPart(TQObject *parent, const char *name, const TQStringList &)
: KDevPlugin(&data, parent, name ? name : "FileGroupsPart")
{
deleteRequested = false;
@@ -45,26 +45,26 @@ FileGroupsPart::FileGroupsPart(QObject *parent, const char *name, const QStringL
m_filegroups = new FileGroupsWidget(this);
m_filegroups->setCaption(i18n("File Group View"));
m_filegroups->setIcon(SmallIcon( info()->icon() ) );
- QWhatsThis::add(m_filegroups, i18n("<b>File group view</b><p>"
+ TQWhatsThis::add(m_filegroups, i18n("<b>File group view</b><p>"
"The file group viewer shows all files of the project, "
"in groups which can be configured in project settings dialog, <b>File Groups</b> tab."));
mainWindow()->embedSelectView(m_filegroups, i18n("File Groups"), i18n("File groups in the project directory"));
_configProxy = new ConfigWidgetProxy( core() );
_configProxy->createProjectConfigPage( i18n("File Groups"), FILEGROUPS_OPTIONS, info()->icon() );
- connect( _configProxy, SIGNAL(insertConfigWidget(const KDialogBase*, QWidget*, unsigned int )),
- this, SLOT(insertConfigWidget(const KDialogBase*, QWidget*, unsigned int )) );
+ connect( _configProxy, TQT_SIGNAL(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )),
+ this, TQT_SLOT(insertConfigWidget(const KDialogBase*, TQWidget*, unsigned int )) );
// File groups
- connect( project(), SIGNAL(addedFilesToProject(const QStringList&)),
- m_filegroups, SLOT(addFiles(const QStringList&)) );
- connect( project(), SIGNAL(removedFilesFromProject(const QStringList&)),
- m_filegroups, SLOT(removeFiles(const QStringList&)) );
-/* connect( project(), SIGNAL(addedFileToProject(const QString&)),
- m_filegroups, SLOT(addFile(const QString&)) );
- connect( project(), SIGNAL(removedFileFromProject(const QString&)),
- m_filegroups, SLOT(removeFile(const QString&)) );*/
+ connect( project(), TQT_SIGNAL(addedFilesToProject(const TQStringList&)),
+ m_filegroups, TQT_SLOT(addFiles(const TQStringList&)) );
+ connect( project(), TQT_SIGNAL(removedFilesFromProject(const TQStringList&)),
+ m_filegroups, TQT_SLOT(removeFiles(const TQStringList&)) );
+/* connect( project(), TQT_SIGNAL(addedFileToProject(const TQString&)),
+ m_filegroups, TQT_SLOT(addFile(const TQString&)) );
+ connect( project(), TQT_SIGNAL(removedFileFromProject(const TQString&)),
+ m_filegroups, TQT_SLOT(removeFile(const TQString&)) );*/
m_filegroups->refresh();
}
@@ -84,14 +84,14 @@ void FileGroupsPart::refresh()
// This method may be called from m_filetree's slot,
// so we make sure not to modify the list view during
// the execution of the slot
- QTimer::singleShot(0, m_filegroups, SLOT(refresh()));
+ TQTimer::singleShot(0, m_filegroups, TQT_SLOT(refresh()));
}
-void FileGroupsPart::insertConfigWidget( const KDialogBase * dlg, QWidget * page, unsigned int pagenumber )
+void FileGroupsPart::insertConfigWidget( const KDialogBase * dlg, TQWidget * page, unsigned int pagenumber )
{
if ( pagenumber == FILEGROUPS_OPTIONS )
{
FileGroupsConfigWidget *w = new FileGroupsConfigWidget(this, page, "file groups config widget");
- connect( dlg, SIGNAL(okClicked()), w, SLOT(accept()) );
+ connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) );
}
}