summaryrefslogtreecommitdiffstats
path: root/kalarm
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commitdfb7562b7e607f0ae077a6a436966203029df56d (patch)
treed58abf870c3754458d44a192a0b9e186f506c4ed /kalarm
parentfc5197ec86abe5dc0fa4b48979684845b52357f2 (diff)
downloadtdepim-dfb7562b7e607f0ae077a6a436966203029df56d.tar.gz
tdepim-dfb7562b7e607f0ae077a6a436966203029df56d.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalarm')
-rw-r--r--kalarm/Changelog2
-rw-r--r--kalarm/alarmlistview.cpp2
-rw-r--r--kalarm/editdlg.cpp4
-rw-r--r--kalarm/lib/label.cpp2
-rw-r--r--kalarm/messagewin.cpp2
-rw-r--r--kalarm/prefdlg.cpp12
-rw-r--r--kalarm/traywindow.cpp2
7 files changed, 13 insertions, 13 deletions
diff --git a/kalarm/Changelog b/kalarm/Changelog
index c76cad450..90b5b05bb 100644
--- a/kalarm/Changelog
+++ b/kalarm/Changelog
@@ -260,7 +260,7 @@ KAlarm Change Log
- Align times in alarm list.
- Fix crash when the last recurrence of an alarm is reached.
- Fix random limit on expired alarm discard time if stepping with spinbox buttons.
-- Fix dialog tqlayouts for right-to-left languages.
+- Fix dialog layouts for right-to-left languages.
- Fix time spin box tqlayout for right-to-left languages.
=== Version 1.2.2 --- 27 November 2004 ===
diff --git a/kalarm/alarmlistview.cpp b/kalarm/alarmlistview.cpp
index 34eeffdab..3bbe042fd 100644
--- a/kalarm/alarmlistview.cpp
+++ b/kalarm/alarmlistview.cpp
@@ -684,7 +684,7 @@ TQString AlarmListViewItem::key(int column, bool) const
*/
void AlarmListTooltip::maybeTip(const TQPoint& pt)
{
- AlarmListView* listView = (AlarmListView*)tqparentWidget()->tqparentWidget();
+ AlarmListView* listView = (AlarmListView*)parentWidget()->parentWidget();
int column = listView->column(AlarmListView::MESSAGE_COLUMN);
int xOffset = listView->contentsX();
if (listView->header()->sectionAt(pt.x() + xOffset) == column)
diff --git a/kalarm/editdlg.cpp b/kalarm/editdlg.cpp
index f4ea9e654..082627260 100644
--- a/kalarm/editdlg.cpp
+++ b/kalarm/editdlg.cpp
@@ -102,7 +102,7 @@ class PickAlarmFileRadio : public PickFileRadio
virtual TQString pickFile() // called when browse button is pressed to select a file to display
{
return KAlarm::browseFile(i18n("Choose Text or Image File to Display"), mDefaultDir, fileEdit()->text(),
- TQString(), KFile::ExistingOnly, tqparentWidget(), "pickAlarmFile");
+ TQString(), KFile::ExistingOnly, parentWidget(), "pickAlarmFile");
}
private:
TQString mDefaultDir; // default directory for file browse button
@@ -119,7 +119,7 @@ class PickLogFileRadio : public PickFileRadio
virtual TQString pickFile() // called when browse button is pressed to select a log file
{
return KAlarm::browseFile(i18n("Choose Log File"), mDefaultDir, fileEdit()->text(), TQString(),
- KFile::LocalOnly, tqparentWidget(), "pickLogFile");
+ KFile::LocalOnly, parentWidget(), "pickLogFile");
}
private:
TQString mDefaultDir; // default directory for log file browse button
diff --git a/kalarm/lib/label.cpp b/kalarm/lib/label.cpp
index f4e6941ea..ee1750e8b 100644
--- a/kalarm/lib/label.cpp
+++ b/kalarm/lib/label.cpp
@@ -112,7 +112,7 @@ LabelFocusWidget::LabelFocusWidget(TQWidget* tqparent, const char* name)
void LabelFocusWidget::focusInEvent(TQFocusEvent*)
{
- Label* tqparent = (Label*)tqparentWidget();
+ Label* tqparent = (Label*)parentWidget();
tqparent->activated();
}
diff --git a/kalarm/messagewin.cpp b/kalarm/messagewin.cpp
index 30cac9789..ca7dd8241 100644
--- a/kalarm/messagewin.cpp
+++ b/kalarm/messagewin.cpp
@@ -125,7 +125,7 @@ class MWMimeSourceFactory : public TQMimeSourceFactory
// Basic flags for the window
static const TQt::WFlags WFLAGS = TQt::WStyle_StaysOnTop | TQt::WDestructiveClose;
-// Error message bit tqmasks
+// Error message bit masks
enum {
ErrMsg_Speak = 0x01,
ErrMsg_AudioFile = 0x02,
diff --git a/kalarm/prefdlg.cpp b/kalarm/prefdlg.cpp
index 90b48dd85..24a444b98 100644
--- a/kalarm/prefdlg.cpp
+++ b/kalarm/prefdlg.cpp
@@ -169,7 +169,7 @@ void KAlarmPrefDlg::slotApply()
TQString errmsg = mEmailPage->validate();
if (!errmsg.isEmpty())
{
- showPage(pageIndex(mEmailPage->tqparentWidget()));
+ showPage(pageIndex(mEmailPage->parentWidget()));
if (KMessageBox::warningYesNo(this, errmsg) != KMessageBox::Yes)
{
mValid = false;
@@ -179,7 +179,7 @@ void KAlarmPrefDlg::slotApply()
errmsg = mEditPage->validate();
if (!errmsg.isEmpty())
{
- showPage(pageIndex(mEditPage->tqparentWidget()));
+ showPage(pageIndex(mEditPage->parentWidget()));
KMessageBox::sorry(this, errmsg);
mValid = false;
return;
@@ -825,12 +825,12 @@ FontColourPrefTab::FontColourPrefTab(TQVBox* frame)
mFontChooser = new FontColourChooser(mPage, 0, false, TQStringList(), i18n("Message Font && Color"), true, false);
mPage->setStretchFactor(mFontChooser, 1);
- TQFrame* tqlayoutBox = new TQFrame(mPage);
- TQHBoxLayout* htqlayout = new TQHBoxLayout(tqlayoutBox);
+ TQFrame* layoutBox = new TQFrame(mPage);
+ TQHBoxLayout* htqlayout = new TQHBoxLayout(layoutBox);
TQVBoxLayout* colourLayout = new TQVBoxLayout(htqlayout, KDialog::spacingHint());
htqlayout->addStretch();
- TQHBox* box = new TQHBox(tqlayoutBox); // to group widgets for TQWhatsThis text
+ TQHBox* box = new TQHBox(layoutBox); // to group widgets for TQWhatsThis text
box->setSpacing(KDialog::spacingHint()/2);
colourLayout->addWidget(box);
TQLabel* label1 = new TQLabel(i18n("Di&sabled alarm color:"), box);
@@ -840,7 +840,7 @@ FontColourPrefTab::FontColourPrefTab(TQVBox* frame)
TQWhatsThis::add(box,
i18n("Choose the text color in the alarm list for disabled alarms."));
- box = new TQHBox(tqlayoutBox); // to group widgets for TQWhatsThis text
+ box = new TQHBox(layoutBox); // to group widgets for TQWhatsThis text
box->setSpacing(KDialog::spacingHint()/2);
colourLayout->addWidget(box);
TQLabel* label2 = new TQLabel(i18n("E&xpired alarm color:"), box);
diff --git a/kalarm/traywindow.cpp b/kalarm/traywindow.cpp
index 3dd686a9e..21efed812 100644
--- a/kalarm/traywindow.cpp
+++ b/kalarm/traywindow.cpp
@@ -348,7 +348,7 @@ bool TrayWindow::inSystemTray() const
*/
void TrayTooltip::maybeTip(const TQPoint&)
{
- TrayWindow* tqparent = (TrayWindow*)tqparentWidget();
+ TrayWindow* tqparent = (TrayWindow*)parentWidget();
TQString text;
if (Daemon::monitoringAlarms())
text = kapp->aboutData()->programName();