summaryrefslogtreecommitdiffstats
path: root/konqueror/sidebar/trees/history_module
diff options
context:
space:
mode:
Diffstat (limited to 'konqueror/sidebar/trees/history_module')
-rw-r--r--konqueror/sidebar/trees/history_module/history_item.cpp8
-rw-r--r--konqueror/sidebar/trees/history_module/history_module.cpp30
-rw-r--r--konqueror/sidebar/trees/history_module/history_module.h2
-rw-r--r--konqueror/sidebar/trees/history_module/history_settings.h2
-rw-r--r--konqueror/sidebar/trees/history_module/kcmhistory.cpp54
-rw-r--r--konqueror/sidebar/trees/history_module/kcmhistory.h2
6 files changed, 49 insertions, 49 deletions
diff --git a/konqueror/sidebar/trees/history_module/history_item.cpp b/konqueror/sidebar/trees/history_module/history_item.cpp
index 44389702e..4825cfeda 100644
--- a/konqueror/sidebar/trees/history_module/history_item.cpp
+++ b/konqueror/sidebar/trees/history_module/history_item.cpp
@@ -132,18 +132,18 @@ void KonqSidebarHistoryItem::paintCell( TQPainter *p, const TQColorGroup & cg,
TQDateTime current = TQDateTime::currentDateTime();
if ( s_settings->m_metricYoungerThan == KonqSidebarHistorySettings::DAYS )
- dt = TQT_TQDATETIME_OBJECT(current.addDays( - s_settings->m_valueYoungerThan ));
+ dt = current.addDays( - s_settings->m_valueYoungerThan );
else
- dt = TQT_TQDATETIME_OBJECT(current.addSecs( - (s_settings->m_valueYoungerThan * 60) ));
+ dt = current.addSecs( - (s_settings->m_valueYoungerThan * 60) );
if ( m_entry->lastVisited > dt )
p->setFont( s_settings->m_fontYoungerThan );
else {
if ( s_settings->m_metricOlderThan == KonqSidebarHistorySettings::DAYS )
- dt = TQT_TQDATETIME_OBJECT(current.addDays( - s_settings->m_valueOlderThan ));
+ dt = current.addDays( - s_settings->m_valueOlderThan );
else
- dt = TQT_TQDATETIME_OBJECT(current.addSecs( - (s_settings->m_valueOlderThan * 60) ));
+ dt = current.addSecs( - (s_settings->m_valueOlderThan * 60) );
if ( m_entry->lastVisited < dt )
p->setFont( s_settings->m_fontOlderThan );
diff --git a/konqueror/sidebar/trees/history_module/history_module.cpp b/konqueror/sidebar/trees/history_module/history_module.cpp
index 6f051a553..416054cf1 100644
--- a/konqueror/sidebar/trees/history_module/history_module.cpp
+++ b/konqueror/sidebar/trees/history_module/history_module.cpp
@@ -51,7 +51,7 @@ KonqSidebarHistoryModule::KonqSidebarHistoryModule( KonqSidebarTree * parentTree
s_settings->readSettings( true );
}
- connect( s_settings, TQT_SIGNAL( settingsChanged() ), TQT_SLOT( slotSettingsChanged() ));
+ connect( s_settings, TQ_SIGNAL( settingsChanged() ), TQ_SLOT( slotSettingsChanged() ));
m_dict.setAutoDelete( true );
m_currentTime = TQDateTime::currentDateTime();
@@ -63,35 +63,35 @@ KonqSidebarHistoryModule::KonqSidebarHistoryModule( KonqSidebarTree * parentTree
KonqHistoryManager *manager = KonqHistoryManager::kself();
- connect( manager, TQT_SIGNAL( loadingFinished() ), TQT_SLOT( slotCreateItems() ));
- connect( manager, TQT_SIGNAL( cleared() ), TQT_SLOT( clear() ));
+ connect( manager, TQ_SIGNAL( loadingFinished() ), TQ_SLOT( slotCreateItems() ));
+ connect( manager, TQ_SIGNAL( cleared() ), TQ_SLOT( clear() ));
- connect( manager, TQT_SIGNAL( entryAdded( const KonqHistoryEntry * ) ),
- TQT_SLOT( slotEntryAdded( const KonqHistoryEntry * ) ));
- connect( manager, TQT_SIGNAL( entryRemoved( const KonqHistoryEntry *) ),
- TQT_SLOT( slotEntryRemoved( const KonqHistoryEntry *) ));
+ connect( manager, TQ_SIGNAL( entryAdded( const KonqHistoryEntry * ) ),
+ TQ_SLOT( slotEntryAdded( const KonqHistoryEntry * ) ));
+ connect( manager, TQ_SIGNAL( entryRemoved( const KonqHistoryEntry *) ),
+ TQ_SLOT( slotEntryRemoved( const KonqHistoryEntry *) ));
- connect( parentTree, TQT_SIGNAL( expanded( TQListViewItem * )),
- TQT_SLOT( slotItemExpanded( TQListViewItem * )));
+ connect( parentTree, TQ_SIGNAL( expanded( TQListViewItem * )),
+ TQ_SLOT( slotItemExpanded( TQListViewItem * )));
m_collection = new TDEActionCollection( this, "history actions" );
(void) new TDEAction( i18n("New &Window"), "window-new", 0, this,
- TQT_SLOT( slotNewWindow() ), m_collection, "open_new");
+ TQ_SLOT( slotNewWindow() ), m_collection, "open_new");
(void) new TDEAction( i18n("&Remove Entry"), "edit-delete", 0, this,
- TQT_SLOT( slotRemoveEntry() ), m_collection, "remove");
+ TQ_SLOT( slotRemoveEntry() ), m_collection, "remove");
(void) new TDEAction( i18n("C&lear History"), "history_clear", 0, this,
- TQT_SLOT( slotClearHistory() ), m_collection, "clear");
+ TQ_SLOT( slotClearHistory() ), m_collection, "clear");
(void) new TDEAction( i18n("&Preferences..."), "configure", 0, this,
- TQT_SLOT( slotPreferences()), m_collection, "preferences");
+ TQ_SLOT( slotPreferences()), m_collection, "preferences");
TDERadioAction *sort;
sort = new TDERadioAction( i18n("By &Name"), 0, this,
- TQT_SLOT( slotSortByName() ), m_collection, "byName");
+ TQ_SLOT( slotSortByName() ), m_collection, "byName");
sort->setExclusiveGroup("SortGroup");
sort->setChecked( m_sortsByName );
sort = new TDERadioAction( i18n("By &Date"), 0, this,
- TQT_SLOT( slotSortByDate() ), m_collection, "byDate");
+ TQ_SLOT( slotSortByDate() ), m_collection, "byDate");
sort->setExclusiveGroup("SortGroup");
sort->setChecked( !m_sortsByName );
diff --git a/konqueror/sidebar/trees/history_module/history_module.h b/konqueror/sidebar/trees/history_module/history_module.h
index 933097455..649f68150 100644
--- a/konqueror/sidebar/trees/history_module/history_module.h
+++ b/konqueror/sidebar/trees/history_module/history_module.h
@@ -38,7 +38,7 @@ class KonqSidebarTreeItem;
class KonqSidebarHistoryModule : public TQObject, public KonqSidebarTreeModule
{
- Q_OBJECT
+ TQ_OBJECT
public:
enum {
diff --git a/konqueror/sidebar/trees/history_module/history_settings.h b/konqueror/sidebar/trees/history_module/history_settings.h
index 7b7d75006..f4bdebe70 100644
--- a/konqueror/sidebar/trees/history_module/history_settings.h
+++ b/konqueror/sidebar/trees/history_module/history_settings.h
@@ -28,7 +28,7 @@
class KonqSidebarHistorySettings : public TQObject, public DCOPObject
{
K_DCOP
- Q_OBJECT
+ TQ_OBJECT
public:
enum { MINUTES, DAYS };
diff --git a/konqueror/sidebar/trees/history_module/kcmhistory.cpp b/konqueror/sidebar/trees/history_module/kcmhistory.cpp
index 70e42e113..188da9d93 100644
--- a/konqueror/sidebar/trees/history_module/kcmhistory.cpp
+++ b/konqueror/sidebar/trees/history_module/kcmhistory.cpp
@@ -75,33 +75,33 @@ HistorySidebarConfig::HistorySidebarConfig( TQWidget *parent, const char* name,
dialog->comboOlder->insertItem( i18n("Days"),
KonqSidebarHistorySettings::DAYS );
- connect( dialog->cbExpire, TQT_SIGNAL( toggled( bool )),
- dialog->spinExpire, TQT_SLOT( setEnabled( bool )));
- connect( dialog->spinExpire, TQT_SIGNAL( valueChanged( int )),
- this, TQT_SLOT( slotExpireChanged( int )));
-
- connect( dialog->spinNewer, TQT_SIGNAL( valueChanged( int )),
- TQT_SLOT( slotNewerChanged( int )));
- connect( dialog->spinOlder, TQT_SIGNAL( valueChanged( int )),
- TQT_SLOT( slotOlderChanged( int )));
-
- connect( dialog->btnFontNewer, TQT_SIGNAL( clicked() ),
- TQT_SLOT( slotGetFontNewer() ));
- connect( dialog->btnFontOlder, TQT_SIGNAL( clicked() ),
- TQT_SLOT( slotGetFontOlder() ));
- connect( dialog->btnClearHistory, TQT_SIGNAL( clicked() ),
- TQT_SLOT( slotClearHistory() ));
-
- connect( dialog->cbDetailedTips, TQT_SIGNAL( toggled( bool )),
- TQT_SLOT( configChanged() ));
- connect( dialog->cbExpire, TQT_SIGNAL( toggled( bool )),
- TQT_SLOT( configChanged() ));
- connect( dialog->spinEntries, TQT_SIGNAL( valueChanged( int )),
- TQT_SLOT( configChanged() ));
- connect( dialog->comboNewer, TQT_SIGNAL( activated( int )),
- TQT_SLOT( configChanged() ));
- connect( dialog->comboOlder, TQT_SIGNAL( activated( int )),
- TQT_SLOT( configChanged() ));
+ connect( dialog->cbExpire, TQ_SIGNAL( toggled( bool )),
+ dialog->spinExpire, TQ_SLOT( setEnabled( bool )));
+ connect( dialog->spinExpire, TQ_SIGNAL( valueChanged( int )),
+ this, TQ_SLOT( slotExpireChanged( int )));
+
+ connect( dialog->spinNewer, TQ_SIGNAL( valueChanged( int )),
+ TQ_SLOT( slotNewerChanged( int )));
+ connect( dialog->spinOlder, TQ_SIGNAL( valueChanged( int )),
+ TQ_SLOT( slotOlderChanged( int )));
+
+ connect( dialog->btnFontNewer, TQ_SIGNAL( clicked() ),
+ TQ_SLOT( slotGetFontNewer() ));
+ connect( dialog->btnFontOlder, TQ_SIGNAL( clicked() ),
+ TQ_SLOT( slotGetFontOlder() ));
+ connect( dialog->btnClearHistory, TQ_SIGNAL( clicked() ),
+ TQ_SLOT( slotClearHistory() ));
+
+ connect( dialog->cbDetailedTips, TQ_SIGNAL( toggled( bool )),
+ TQ_SLOT( configChanged() ));
+ connect( dialog->cbExpire, TQ_SIGNAL( toggled( bool )),
+ TQ_SLOT( configChanged() ));
+ connect( dialog->spinEntries, TQ_SIGNAL( valueChanged( int )),
+ TQ_SLOT( configChanged() ));
+ connect( dialog->comboNewer, TQ_SIGNAL( activated( int )),
+ TQ_SLOT( configChanged() ));
+ connect( dialog->comboOlder, TQ_SIGNAL( activated( int )),
+ TQ_SLOT( configChanged() ));
dialog->show();
topLayout->add(dialog);
diff --git a/konqueror/sidebar/trees/history_module/kcmhistory.h b/konqueror/sidebar/trees/history_module/kcmhistory.h
index ac82cdd60..215b78027 100644
--- a/konqueror/sidebar/trees/history_module/kcmhistory.h
+++ b/konqueror/sidebar/trees/history_module/kcmhistory.h
@@ -29,7 +29,7 @@ class KonqSidebarHistoryDlg;
class HistorySidebarConfig : public TDECModule
{
- Q_OBJECT
+ TQ_OBJECT
public:
HistorySidebarConfig( TQWidget *parent=0, const char* name=0, const TQStringList &list=TQStringList() );