summaryrefslogtreecommitdiffstats
path: root/kalarm/mainwindow.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kalarm/mainwindow.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalarm/mainwindow.h')
-rw-r--r--kalarm/mainwindow.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/kalarm/mainwindow.h b/kalarm/mainwindow.h
index 7a11b8b8..21e47e05 100644
--- a/kalarm/mainwindow.h
+++ b/kalarm/mainwindow.h
@@ -49,7 +49,7 @@ class MainWindow : public MainWindowBase
bool isTrayParent() const;
bool isHiddenTrayParent() const { return mHiddenTrayParent; }
bool showingExpired() const { return mShowExpired; }
- void selectEvent(const QString& eventID);
+ void selectEvent(const TQString& eventID);
static void refresh();
static void updateExpired();
@@ -59,33 +59,33 @@ class MainWindow : public MainWindowBase
static void executeNew(const KAEvent& e, MainWindow* w = 0)
{ executeNew(w, &e); }
static void executeEdit(KAEvent&, MainWindow* = 0);
- static void executeDragEnterEvent(QDragEnterEvent*);
- static void executeDropEvent(MainWindow*, QDropEvent*);
+ static void executeDragEnterEvent(TQDragEnterEvent*);
+ static void executeDropEvent(MainWindow*, TQDropEvent*);
static void closeAll();
static MainWindow* toggleWindow(MainWindow*);
static MainWindow* mainMainWindow();
static MainWindow* firstWindow() { return mWindowList.first(); }
static int count() { return mWindowList.count(); }
- static QString i18n_a_ShowAlarmTimes(); // text of 'Show Alarm Times' checkbox, with 'A' shortcut
- static QString i18n_m_ShowAlarmTime(); // text of 'Show alarm time' checkbox, with 'M' shortcut
- static QString i18n_o_ShowTimeToAlarms(); // text of 'Show Time to Alarms' checkbox, with 'O' shortcut
- static QString i18n_l_ShowTimeToAlarm(); // text of 'Show time until alarm' checkbox, with 'L' shortcut
- static QString i18n_ShowExpiredAlarms(); // plain text of 'Show Expired Alarms' action
- static QString i18n_e_ShowExpiredAlarms(); // text of 'Show Expired Alarms' checkbox, with 'E' shortcut
- static QString i18n_HideExpiredAlarms(); // plain text of 'Hide Expired Alarms' action
- static QString i18n_e_HideExpiredAlarms(); // text of 'Hide Expired Alarms' action, with 'E' shortcut
+ static TQString i18n_a_ShowAlarmTimes(); // text of 'Show Alarm Times' checkbox, with 'A' shortcut
+ static TQString i18n_m_ShowAlarmTime(); // text of 'Show alarm time' checkbox, with 'M' shortcut
+ static TQString i18n_o_ShowTimeToAlarms(); // text of 'Show Time to Alarms' checkbox, with 'O' shortcut
+ static TQString i18n_l_ShowTimeToAlarm(); // text of 'Show time until alarm' checkbox, with 'L' shortcut
+ static TQString i18n_ShowExpiredAlarms(); // plain text of 'Show Expired Alarms' action
+ static TQString i18n_e_ShowExpiredAlarms(); // text of 'Show Expired Alarms' checkbox, with 'E' shortcut
+ static TQString i18n_HideExpiredAlarms(); // plain text of 'Hide Expired Alarms' action
+ static TQString i18n_e_HideExpiredAlarms(); // text of 'Hide Expired Alarms' action, with 'E' shortcut
public slots:
virtual void show();
protected:
- virtual void resizeEvent(QResizeEvent*);
- virtual void showEvent(QShowEvent*);
- virtual void hideEvent(QHideEvent*);
- virtual void closeEvent(QCloseEvent*);
- virtual void dragEnterEvent(QDragEnterEvent*);
- virtual void dropEvent(QDropEvent*);
+ virtual void resizeEvent(TQResizeEvent*);
+ virtual void showEvent(TQShowEvent*);
+ virtual void hideEvent(TQHideEvent*);
+ virtual void closeEvent(TQCloseEvent*);
+ virtual void dragEnterEvent(TQDragEnterEvent*);
+ virtual void dropEvent(TQDropEvent*);
virtual void saveProperties(KConfig*);
virtual void readProperties(KConfig*);
@@ -112,9 +112,9 @@ class MainWindow : public MainWindowBase
void slotQuit();
void slotDeletion();
void slotSelection();
- void slotContextMenuRequested(QListViewItem*, const QPoint&, int);
- void slotMouseClicked(int button, QListViewItem*, const QPoint&, int);
- void slotDoubleClicked(QListViewItem*);
+ void slotContextMenuRequested(TQListViewItem*, const TQPoint&, int);
+ void slotMouseClicked(int button, TQListViewItem*, const TQPoint&, int);
+ void slotDoubleClicked(TQListViewItem*);
void slotShowTime();
void slotShowTimeTo();
void slotShowExpired();
@@ -125,7 +125,7 @@ class MainWindow : public MainWindowBase
void slotRedoItem(int id);
void slotInitUndoMenu();
void slotInitRedoMenu();
- void slotUndoStatus(const QString&, const QString&);
+ void slotUndoStatus(const TQString&, const TQString&);
void slotFindActive(bool);
void slotPrefsChanged();
void updateTrayIconAction();
@@ -133,13 +133,13 @@ class MainWindow : public MainWindowBase
void columnsReordered();
private:
- typedef QValueList<MainWindow*> WindowList;
+ typedef TQValueList<MainWindow*> WindowList;
MainWindow(bool restored);
void createListView(bool recreate);
void initActions();
void setEnableText(bool enable);
- static KAEvent::Action getDropAction(QDropEvent*, QString& text);
+ static KAEvent::Action getDropAction(TQDropEvent*, TQString& text);
static void executeNew(MainWindow*, const KAEvent*, KAEvent::Action = KAEvent::MESSAGE, const AlarmText& = AlarmText());
static void initUndoMenu(KPopupMenu*, Undo::Type);
static void setUpdateTimer();