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/fileviewpart.cpp | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'parts/fileview/fileviewpart.cpp') diff --git a/parts/fileview/fileviewpart.cpp b/parts/fileview/fileviewpart.cpp index d6d6691d..0e3758c9 100644 --- a/parts/fileview/fileviewpart.cpp +++ b/parts/fileview/fileviewpart.cpp @@ -13,12 +13,12 @@ #include "fileviewpart.h" -#include -#include -#include -#include +#include +#include +#include +#include #include -#include +#include #include #include #include @@ -57,7 +57,7 @@ K_EXPORT_COMPONENT_FACTORY( libkdevfileview, FileViewFactory( data ) ) // class FileTreeWidget /////////////////////////////////////////////////////////////////////////////// -FileViewPart::FileViewPart(QObject *parent, const char *name, const QStringList &) +FileViewPart::FileViewPart(TQObject *parent, const char *name, const TQStringList &) : KDevPlugin(&data, parent, name ? name : "FileViewPart"), m_widget( 0 ) { @@ -66,10 +66,10 @@ FileViewPart::FileViewPart(QObject *parent, const char *name, const QStringList _configProxy = new ConfigWidgetProxy( core() ); _configProxy->createProjectConfigPage( i18n("File Tree"), FILETREE_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 )) ); - QTimer::singleShot( 1000, this, SLOT(init()) ); + TQTimer::singleShot( 1000, this, TQT_SLOT(init()) ); } /////////////////////////////////////////////////////////////////////////////// @@ -102,15 +102,15 @@ FileViewPart::~FileViewPart() void FileViewPart::loadSettings() { - const QColor added = QColor( "#CCFF99" ), - updated = QColor( "#FFFFCC" ), - modified = QColor( "#CCCCFF" ), - conflict = QColor( "#FF6666" ), - sticky = QColor( "#FFCCCC" ), - needsPatch = QColor( "#FFCCFF" ), - needsCheckout = QColor( "#FFCCFF" ), - unknown = QColor( white ), - defaultColor = QColor( white ); + const TQColor added = TQColor( "#CCFF99" ), + updated = TQColor( "#FFFFCC" ), + modified = TQColor( "#CCCCFF" ), + conflict = TQColor( "#FF6666" ), + sticky = TQColor( "#FFCCCC" ), + needsPatch = TQColor( "#FFCCFF" ), + needsCheckout = TQColor( "#FFCCFF" ), + unknown = TQColor( white ), + defaultColor = TQColor( white ); KConfig *cfg = instance()->config(); @@ -144,12 +144,12 @@ void FileViewPart::storeSettings() cfg->writeEntry( "DefaultColor", vcsColors.defaultColor ); } -void FileViewPart::insertConfigWidget( const KDialogBase* dlg, QWidget * page, unsigned int pagenumber ) +void FileViewPart::insertConfigWidget( const KDialogBase* dlg, TQWidget * page, unsigned int pagenumber ) { if ( pagenumber == FILETREE_OPTIONS ) { VCSColorsConfigWidget *w = new VCSColorsConfigWidget( this, vcsColors, page, "vcscolorsconfigwidget" ); - connect( dlg, SIGNAL(okClicked()), w, SLOT(slotAccept()) ); + connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(slotAccept()) ); } } -- cgit v1.2.1