summaryrefslogtreecommitdiffstats
path: root/konqueror/keditbookmarks/toplevel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konqueror/keditbookmarks/toplevel.cpp')
-rw-r--r--konqueror/keditbookmarks/toplevel.cpp26
1 files changed, 12 insertions, 14 deletions
diff --git a/konqueror/keditbookmarks/toplevel.cpp b/konqueror/keditbookmarks/toplevel.cpp
index d5a7c865c..d685e8dee 100644
--- a/konqueror/keditbookmarks/toplevel.cpp
+++ b/konqueror/keditbookmarks/toplevel.cpp
@@ -1,5 +1,3 @@
-// -*- indent-tabs-mode:nil -*-
-// vim: set ts=4 sts=4 sw=4 et:
/* This file is part of the KDE project
Copyright (C) 2000 David Faure <faure@kde.org>
Copyright (C) 2002-2003 Alexander Kellett <lypanov@kde.org>
@@ -60,8 +58,8 @@ CmdHistory* CmdHistory::s_self = 0;
CmdHistory::CmdHistory(TDEActionCollection *collection)
: m_commandHistory(collection) {
- connect(&m_commandHistory, TQT_SIGNAL( commandExecuted(KCommand *) ),
- TQT_SLOT( slotCommandExecuted(KCommand *) ));
+ connect(&m_commandHistory, TQ_SIGNAL( commandExecuted(KCommand *) ),
+ TQ_SLOT( slotCommandExecuted(KCommand *) ));
assert(!s_self);
s_self = this; // this is hacky
}
@@ -140,8 +138,8 @@ void CurrentMgr::createManager(const TQString &filename) {
m_mgr = KBookmarkManager::managerForFile(filename, false);
- connect(m_mgr, TQT_SIGNAL( changed(const TQString &, const TQString &) ),
- TQT_SLOT( slotBookmarksChanged(const TQString &, const TQString &) ));
+ connect(m_mgr, TQ_SIGNAL( changed(const TQString &, const TQString &) ),
+ TQ_SLOT( slotBookmarksChanged(const TQString &, const TQString &) ));
}
void CurrentMgr::slotBookmarksChanged(const TQString &, const TQString &) {
@@ -185,7 +183,7 @@ TQString CurrentMgr::makeTimeStr(int b)
TQDateTime dt;
dt.setTime_t(b);
return (dt.daysTo(TQDateTime::currentDateTime()) > 31)
- ? TDEGlobal::locale()->formatDate(TQT_TQDATE_OBJECT(dt.date()), false)
+ ? TDEGlobal::locale()->formatDate(dt.date(), false)
: TDEGlobal::locale()->formatDateTime(dt, false);
}
@@ -221,8 +219,8 @@ KEBApp::KEBApp(
TDEListViewSearchLine *searchLineEdit = new KEBSearchLine(quicksearch, 0, "TDEListViewSearchLine");
quicksearch->setStretchableWidget(searchLineEdit);
lbl->setBuddy(searchLineEdit);
- connect(resetQuickSearch, TQT_SIGNAL(activated()), searchLineEdit, TQT_SLOT(clear()));
- connect(searchLineEdit, TQT_SIGNAL(searchUpdated()), TQT_SLOT(updateActions()));
+ connect(resetQuickSearch, TQ_SIGNAL(activated()), searchLineEdit, TQ_SLOT(clear()));
+ connect(searchLineEdit, TQ_SIGNAL(searchUpdated()), TQ_SLOT(updateActions()));
ListView::createListViews(vsplitter);
ListView::self()->initListViews();
@@ -231,7 +229,7 @@ KEBApp::KEBApp(
m_bkinfo = new BookmarkInfoWidget(vsplitter);
- vsplitter->setOrientation(Qt::Vertical);
+ vsplitter->setOrientation(TQt::Vertical);
vsplitter->setSizes(TQValueList<int>() << h << 380
<< m_bkinfo->sizeHint().height() );
@@ -247,8 +245,8 @@ KEBApp::KEBApp(
m_dcopIface = new KBookmarkEditorIface();
- connect(kapp->clipboard(), TQT_SIGNAL( dataChanged() ),
- TQT_SLOT( slotClipboardDataChanged() ));
+ connect(kapp->clipboard(), TQ_SIGNAL( dataChanged() ),
+ TQ_SLOT( slotClipboardDataChanged() ));
ListView::self()->connectSignals();
@@ -339,8 +337,8 @@ void KEBApp::notifyCommandExecuted() {
void KEBApp::slotConfigureToolbars() {
saveMainWindowSettings(TDEGlobal::config(), "MainWindow");
KEditToolbar dlg(actionCollection());
- connect(&dlg, TQT_SIGNAL( newToolbarConfig() ),
- TQT_SLOT( slotNewToolbarConfig() ));
+ connect(&dlg, TQ_SIGNAL( newToolbarConfig() ),
+ TQ_SLOT( slotNewToolbarConfig() ));
dlg.exec();
}