summaryrefslogtreecommitdiffstats
path: root/src/app/historyAction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/historyAction.cpp')
-rw-r--r--src/app/historyAction.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/app/historyAction.cpp b/src/app/historyAction.cpp
index bf715cb..0013cfe 100644
--- a/src/app/historyAction.cpp
+++ b/src/app/historyAction.cpp
@@ -9,7 +9,7 @@
inline
-HistoryAction::HistoryAction( const QString &text, const char *icon, const KShortcut &cut, KActionCollection *ac, const char *name )
+HistoryAction::HistoryAction( const TQString &text, const char *icon, const KShortcut &cut, KActionCollection *ac, const char *name )
: KAction( text, icon, cut, 0, 0, ac, name )
, m_text( text )
{
@@ -18,7 +18,7 @@ HistoryAction::HistoryAction( const QString &text, const char *icon, const KShor
}
void
-HistoryAction::push( const QString &path )
+HistoryAction::push( const TQString &path )
{
if( !path.isEmpty() && m_list.last() != path )
{
@@ -28,10 +28,10 @@ HistoryAction::push( const QString &path )
}
}
-QString
+TQString
HistoryAction::pop()
{
- const QString s = m_list.last();
+ const TQString s = m_list.last();
m_list.pop_back();
setActionMenuTextOnly( this, m_list.last() );
setEnabled();
@@ -40,14 +40,14 @@ HistoryAction::pop()
-HistoryCollection::HistoryCollection( KActionCollection *ac, QObject *parent, const char *name )
- : QObject( parent, name )
+HistoryCollection::HistoryCollection( KActionCollection *ac, TQObject *tqparent, const char *name )
+ : TQObject( tqparent, name )
, m_b( new HistoryAction( i18n( "Back" ), "back", KStdAccel::back(), ac, "go_back" ) )
, m_f( new HistoryAction( i18n( "Forward" ), "forward", KStdAccel::forward(), ac, "go_forward" ) )
, m_receiver( 0 )
{
- connect( m_b, SIGNAL(activated()), SLOT(pop()) );
- connect( m_f, SIGNAL(activated()), SLOT(pop()) );
+ connect( m_b, TQT_SIGNAL(activated()), TQT_SLOT(pop()) );
+ connect( m_f, TQT_SIGNAL(activated()), TQT_SLOT(pop()) );
}
void
@@ -70,7 +70,7 @@ void
HistoryCollection::pop() //slot
{
KURL url;
- const QString path = ((HistoryAction*)sender())->pop(); //FIXME here we remove the constness
+ const TQString path = ((HistoryAction*)sender())->pop(); //FIXME here we remove the constness
url.setPath( path );
m_receiver = (sender() == m_b) ? m_f : m_b;