commit | 560ef1bab1b5acb485ea0e1ac09fd71a138c3899 | [log] [tgz] |
---|---|---|
author | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Fri Sep 28 14:23:33 2012 -0700 |
committer | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Fri Sep 28 14:23:33 2012 -0700 |
tree | 7bb614b4616220d4c58e4d09b8776f44e1daf7df | |
parent | b5b7846671510c4466a39029eeb5f0b8f0f8cfbf [diff] [blame] |
refactor display code
diff --git a/chatdialog.h b/chatdialog.h index bfc1a33..1ee4216 100644 --- a/chatdialog.h +++ b/chatdialog.h
@@ -17,6 +17,7 @@ class QAction; class QMenu; class QStringListModel; +class QTextTable; class ChatDialog : public QDialog, private Ui::ChatDialog { @@ -55,6 +56,8 @@ void testDraw(); void createTrayIcon(); void createActions(); + QString formatTime(time_t); + void printTimeInCell(QTextTable *, time_t); private slots: void returnPressed();