summaryrefslogtreecommitdiffstats
path: root/parts/fileview/fileviewpart.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/fileviewpart.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/fileviewpart.cpp')
-rw-r--r--parts/fileview/fileviewpart.cpp40
1 files changed, 20 insertions, 20 deletions
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 <qwhatsthis.h>
-#include <qvbox.h>
-#include <qtoolbutton.h>
-#include <qdom.h>
+#include <tqwhatsthis.h>
+#include <tqvbox.h>
+#include <tqtoolbutton.h>
+#include <tqdom.h>
#include <kcombobox.h>
-#include <qtimer.h>
+#include <tqtimer.h>
#include <kaction.h>
#include <kdebug.h>
#include <kiconloader.h>
@@ -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()) );
}
}