summaryrefslogtreecommitdiffstats
path: root/konq-plugins/crashes/crashesplugin.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
commit7346aee26bf190a7e70333c40fab4caca847cd27 (patch)
tree4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /konq-plugins/crashes/crashesplugin.cpp
parent23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff)
downloadtdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz
tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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() {