From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- parts/fileview/filegroupspart.cpp | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'parts/fileview/filegroupspart.cpp') 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 -#include -#include +#include +#include +#include #include #include #include @@ -36,7 +36,7 @@ typedef KDevGenericFactory 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("File group view

" + TQWhatsThis::add(m_filegroups, i18n("File group view

" "The file group viewer shows all files of the project, " "in groups which can be configured in project settings dialog, File Groups 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()) ); } } -- cgit v1.2.1