summaryrefslogtreecommitdiffstats
path: root/konq-plugins/crashes/crashesplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/crashes/crashesplugin.cpp')
-rw-r--r--konq-plugins/crashes/crashesplugin.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/konq-plugins/crashes/crashesplugin.cpp b/konq-plugins/crashes/crashesplugin.cpp
index 8d01553..b1e1f6f 100644
--- a/konq-plugins/crashes/crashesplugin.cpp
+++ b/konq-plugins/crashes/crashesplugin.cpp
@@ -37,7 +37,7 @@
typedef KGenericFactory<CrashesPlugin> CrashesPluginFactory;
K_EXPORT_COMPONENT_FACTORY( libcrashesplugin, CrashesPluginFactory( "crashesplugin" ) )
-CrashesPlugin::CrashesPlugin( QObject* parent, const char* name, const QStringList & )
+CrashesPlugin::CrashesPlugin( TQObject* parent, const char* name, const TQStringList & )
: KParts::Plugin( parent, name )
{
m_part = (parent && parent->inherits( "KHTMLPart" )) ? static_cast<KHTMLPart*>(parent) : 0L;
@@ -48,8 +48,8 @@ CrashesPlugin::CrashesPlugin( QObject* parent, const char* name, const QStringLi
m_pCrashesMenu->setDelayed( false );
m_pCrashesMenu->setEnabled( true );
- connect( m_pCrashesMenu->popupMenu(), SIGNAL( aboutToShow() ),
- this, SLOT( slotAboutToShow() ) );
+ connect( m_pCrashesMenu->popupMenu(), TQT_SIGNAL( aboutToShow() ),
+ this, TQT_SLOT( slotAboutToShow() ) );
}
CrashesPlugin::~CrashesPlugin()
@@ -62,10 +62,10 @@ void CrashesPlugin::slotAboutToShow()
KCrashBookmarkImporter importer(KCrashBookmarkImporter::crashBookmarksDir());
- connect( &importer, SIGNAL( newBookmark( const QString &, const QCString &, const QString &) ),
- SLOT( newBookmarkCallback( const QString &, const QCString &, const QString & ) ) );
+ connect( &importer, TQT_SIGNAL( newBookmark( const TQString &, const TQCString &, const TQString &) ),
+ TQT_SLOT( newBookmarkCallback( const TQString &, const TQCString &, const TQString & ) ) );
- connect( &importer, SIGNAL( endFolder() ), SLOT( endFolderCallback() ) );
+ connect( &importer, TQT_SIGNAL( endFolder() ), TQT_SLOT( endFolderCallback() ) );
int count = m_pCrashesMenu->popupMenu()->count();
@@ -89,7 +89,7 @@ void CrashesPlugin::slotAboutToShow()
m_crashRangesList.append( CrashRange(firstItem, count) );
m_pCrashesMenu->popupMenu()->insertItem(
i18n("All Pages of This Crash"), this,
- SLOT(slotGroupSelected(int)),
+ TQT_SLOT(slotGroupSelected(int)),
0, crashGroup--);
}
m_pCrashesMenu->popupMenu()->insertSeparator();
@@ -97,14 +97,14 @@ void CrashesPlugin::slotAboutToShow()
gotSep = true;
firstItem = ++count;
} else {
- QString str = (*e).first;
+ TQString str = (*e).first;
if (str.length() > 48) {
str.truncate(48);
str.append("...");
}
m_pCrashesMenu->popupMenu()->insertItem(
str, this,
- SLOT(slotItemSelected(int)),
+ TQT_SLOT(slotItemSelected(int)),
0, ++count );
gotSep = false;
}
@@ -113,13 +113,13 @@ void CrashesPlugin::slotAboutToShow()
m_crashRangesList.append( CrashRange(firstItem, count) );
m_pCrashesMenu->popupMenu()->insertItem(
i18n("All Pages of This Crash"), this,
- SLOT(slotGroupSelected(int)),
+ TQT_SLOT(slotGroupSelected(int)),
0, crashGroup--);
}
} else {
m_pCrashesMenu->popupMenu()->insertItem(
i18n("No Recovered Crashes"), this,
- SLOT(slotItemSelected(int)),
+ TQT_SLOT(slotItemSelected(int)),
0, ++count );
gotSep = false;
enable = false;
@@ -131,20 +131,20 @@ void CrashesPlugin::slotAboutToShow()
}
int id =m_pCrashesMenu->popupMenu()->insertItem( i18n("&Clear List of Crashes"), this,
- SLOT(slotClearCrashes()),
+ TQT_SLOT(slotClearCrashes()),
0, ++count );
m_pCrashesMenu->popupMenu()->setItemEnabled( id, enable);
}
-void CrashesPlugin::newBookmarkCallback( const QString & text, const QCString & url,
- const QString & )
+void CrashesPlugin::newBookmarkCallback( const TQString & text, const TQCString & url,
+ const TQString & )
{
m_crashesList.prepend(qMakePair(text,url));
}
void CrashesPlugin::endFolderCallback( )
{
- m_crashesList.prepend(qMakePair(QString("-"),QCString("-")));
+ m_crashesList.prepend(qMakePair(TQString("-"),TQCString("-")));
}
void CrashesPlugin::slotClearCrashes() {