summaryrefslogtreecommitdiffstats
path: root/parts/fileview/fileviewpart.cpp
diff options
context:
space:
mode:
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()) );
}
}