-rw-r--r-- | kmicromail/kmicromail.desktop | 6 | ||||
-rw-r--r-- | kmicromail/kmicromailE.pro | 2 | ||||
-rw-r--r-- | kmicromail/mainwindow.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/kmicromail/kmicromail.desktop b/kmicromail/kmicromail.desktop index 791ad4f..a23420a 100644 --- a/kmicromail/kmicromail.desktop +++ b/kmicromail/kmicromail.desktop | |||
@@ -1,15 +1,15 @@ | |||
1 | [Desktop Entry] | 1 | [Desktop Entry] |
2 | CanFastload=1 | 2 | CanFastload=1 |
3 | Comment=KM/PI | 3 | Comment=OM/PI |
4 | Comment[de]=KM/PI | 4 | Comment[de]=KM/PI |
5 | Display=640x480/144dpi,480x640/144dpi | 5 | Display=640x480/144dpi,480x640/144dpi |
6 | Exec=kmpi | 6 | Exec=ompi |
7 | GenericName= | 7 | GenericName= |
8 | GenericName[de]= | 8 | GenericName[de]= |
9 | Icon=kdepim/kmicromail/kmicromail | 9 | Icon=kdepim/kmicromail/kmicromail |
10 | MimeType= | 10 | MimeType= |
11 | Name=KM/Pi | 11 | Name=OM/Pi |
12 | StartupNotify=true | 12 | StartupNotify=true |
13 | Terminal=false | 13 | Terminal=false |
14 | TerminalOptions= | 14 | TerminalOptions= |
15 | Type=Application | 15 | Type=Application |
diff --git a/kmicromail/kmicromailE.pro b/kmicromail/kmicromailE.pro index 8f2438c..40761f5 100644 --- a/kmicromail/kmicromailE.pro +++ b/kmicromail/kmicromailE.pro | |||
@@ -1,65 +1,65 @@ | |||
1 | CONFIG += qt warn_on | 1 | CONFIG += qt warn_on |
2 | TEMPLATE= app | 2 | TEMPLATE= app |
3 | HEADERS = defines.h \ | 3 | HEADERS = defines.h \ |
4 | editaccounts.h \ | 4 | editaccounts.h \ |
5 | composemail.h \ | 5 | composemail.h \ |
6 | accountview.h \ | 6 | accountview.h \ |
7 | accountitem.h \ | 7 | accountitem.h \ |
8 | mainwindow.h \ | 8 | mainwindow.h \ |
9 | viewmail.h \ | 9 | viewmail.h \ |
10 | viewmailbase.h \ | 10 | viewmailbase.h \ |
11 | opiemail.h \ | 11 | opiemail.h \ |
12 | mailistviewitem.h \ | 12 | mailistviewitem.h \ |
13 | settingsdialog.h \ | 13 | settingsdialog.h \ |
14 | statuswidget.h \ | 14 | statuswidget.h \ |
15 | newmaildir.h \ | 15 | newmaildir.h \ |
16 | selectstore.h \ | 16 | selectstore.h \ |
17 | selectsmtp.h \ | 17 | selectsmtp.h \ |
18 | nntpgroups.h \ | 18 | nntpgroups.h \ |
19 | nntpgroupsdlg.h | 19 | nntpgroupsdlg.h |
20 | 20 | ||
21 | SOURCES = main.cpp \ | 21 | SOURCES = main.cpp \ |
22 | opiemail.cpp \ | 22 | opiemail.cpp \ |
23 | mainwindow.cpp \ | 23 | mainwindow.cpp \ |
24 | accountview.cpp \ | 24 | accountview.cpp \ |
25 | accountitem.cpp \ | 25 | accountitem.cpp \ |
26 | composemail.cpp \ | 26 | composemail.cpp \ |
27 | editaccounts.cpp \ | 27 | editaccounts.cpp \ |
28 | viewmail.cpp \ | 28 | viewmail.cpp \ |
29 | viewmailbase.cpp \ | 29 | viewmailbase.cpp \ |
30 | mailistviewitem.cpp \ | 30 | mailistviewitem.cpp \ |
31 | settingsdialog.cpp \ | 31 | settingsdialog.cpp \ |
32 | statuswidget.cpp \ | 32 | statuswidget.cpp \ |
33 | newmaildir.cpp \ | 33 | newmaildir.cpp \ |
34 | selectstore.cpp \ | 34 | selectstore.cpp \ |
35 | selectsmtp.cpp \ | 35 | selectsmtp.cpp \ |
36 | nntpgroups.cpp \ | 36 | nntpgroups.cpp \ |
37 | nntpgroupsdlg.cpp | 37 | nntpgroupsdlg.cpp |
38 | 38 | ||
39 | INTERFACES = editaccountsui.ui \ | 39 | INTERFACES = editaccountsui.ui \ |
40 | selectmailtypeui.ui \ | 40 | selectmailtypeui.ui \ |
41 | imapconfigui.ui \ | 41 | imapconfigui.ui \ |
42 | pop3configui.ui \ | 42 | pop3configui.ui \ |
43 | nntpconfigui.ui \ | 43 | nntpconfigui.ui \ |
44 | smtpconfigui.ui \ | 44 | smtpconfigui.ui \ |
45 | composemailui.ui \ | 45 | composemailui.ui \ |
46 | settingsdialogui.ui \ | 46 | settingsdialogui.ui \ |
47 | statuswidgetui.ui \ | 47 | statuswidgetui.ui \ |
48 | newmaildirui.ui \ | 48 | newmaildirui.ui \ |
49 | selectstoreui.ui \ | 49 | selectstoreui.ui \ |
50 | nntpgroupsui.ui | 50 | nntpgroupsui.ui |
51 | 51 | ||
52 | 52 | ||
53 | INCLUDEPATH += ../microkde ../microkde/kdecore ./libetpan/include $(QPEDIR)/include . .. ../microkde/kdeui ../qtcompat | 53 | INCLUDEPATH += ../microkde ../microkde/kdecore ./libetpan/include $(QPEDIR)/include . .. ../microkde/kdeui ../qtcompat |
54 | LIBS += -L$(QPEDIR)/lib -lkmicromailwrapper -lqpe -lkmicrolibetpan -lmicrokde -lmicroqtcompat -lssl -lcrypto -ljpeg -lmicrokde -lmicroqtcompat -lmicrokabc | 54 | LIBS += -L$(QPEDIR)/lib -lkmicromailwrapper -lqpe -lkmicrolibetpan -lmicrokde -lmicroqtcompat -lssl -lcrypto -ljpeg -lmicrokde -lmicroqtcompat -lmicrokabc |
55 | LIBS += $(QTOPIALIB) | 55 | LIBS += $(QTOPIALIB) |
56 | #LIBS += -lqtopia | 56 | #LIBS += -lqtopia |
57 | #next line for Zaurus only | 57 | #next line for Zaurus only |
58 | #LIBS += -luuid | 58 | #LIBS += -luuid |
59 | # | 59 | # |
60 | OBJECTS_DIR = obj/$(PLATFORM) | 60 | OBJECTS_DIR = obj/$(PLATFORM) |
61 | MOC_DIR = moc/$(PLATFORM) | 61 | MOC_DIR = moc/$(PLATFORM) |
62 | DESTDIR=$(QPEDIR)/bin | 62 | DESTDIR=$(QPEDIR)/bin |
63 | TARGET = kmpi | 63 | TARGET = ompi |
64 | 64 | ||
65 | 65 | ||
diff --git a/kmicromail/mainwindow.cpp b/kmicromail/mainwindow.cpp index cd32c72..aa51a37 100644 --- a/kmicromail/mainwindow.cpp +++ b/kmicromail/mainwindow.cpp | |||
@@ -1,238 +1,238 @@ | |||
1 | #include <qlabel.h> | 1 | #include <qlabel.h> |
2 | #include <qvbox.h> | 2 | #include <qvbox.h> |
3 | #include <qheader.h> | 3 | #include <qheader.h> |
4 | #include <qtimer.h> | 4 | #include <qtimer.h> |
5 | #include <qlayout.h> | 5 | #include <qlayout.h> |
6 | #include <kdialog.h> | 6 | #include <kdialog.h> |
7 | #include <kiconloader.h> | 7 | #include <kiconloader.h> |
8 | 8 | ||
9 | #ifndef DESKTOP_VERSION | 9 | #ifndef DESKTOP_VERSION |
10 | #include <qpe/qpeapplication.h> | 10 | #include <qpe/qpeapplication.h> |
11 | #endif | 11 | #endif |
12 | #include "defines.h" | 12 | #include "defines.h" |
13 | #include "mainwindow.h" | 13 | #include "mainwindow.h" |
14 | #include <KDGanttMinimizeSplitter.h> | 14 | #include <KDGanttMinimizeSplitter.h> |
15 | 15 | ||
16 | 16 | ||
17 | #include <kabc/stdaddressbook.h> | 17 | #include <kabc/stdaddressbook.h> |
18 | 18 | ||
19 | MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) | 19 | MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) |
20 | : QMainWindow( parent, name ) //, flags ) | 20 | : QMainWindow( parent, name ) //, flags ) |
21 | { | 21 | { |
22 | setCaption( tr( "KMicroMail" ) ); | 22 | setCaption( tr( "OpieMail/Pi" ) ); |
23 | setToolBarsMovable( false ); | 23 | setToolBarsMovable( false ); |
24 | KABC::StdAddressBook::self(); | 24 | KABC::StdAddressBook::self(); |
25 | toolBar = new QToolBar( this ); | 25 | toolBar = new QToolBar( this ); |
26 | menuBar = new QMenuBar( toolBar ); | 26 | menuBar = new QMenuBar( toolBar ); |
27 | mailMenu = new QPopupMenu( menuBar ); | 27 | mailMenu = new QPopupMenu( menuBar ); |
28 | menuBar->insertItem( tr( "Mail" ), mailMenu ); | 28 | menuBar->insertItem( tr( "Mail" ), mailMenu ); |
29 | settingsMenu = new QPopupMenu( menuBar ); | 29 | settingsMenu = new QPopupMenu( menuBar ); |
30 | menuBar->insertItem( tr( "Settings" ), settingsMenu ); | 30 | menuBar->insertItem( tr( "Settings" ), settingsMenu ); |
31 | 31 | ||
32 | addToolBar( toolBar ); | 32 | addToolBar( toolBar ); |
33 | toolBar->setHorizontalStretchable( true ); | 33 | toolBar->setHorizontalStretchable( true ); |
34 | 34 | ||
35 | 35 | ||
36 | 36 | ||
37 | composeMail = new QAction( tr( "Compose new mail" ), SmallIcon("composemail"), | 37 | composeMail = new QAction( tr( "Compose new mail" ), SmallIcon("composemail"), |
38 | 0, 0, this ); | 38 | 0, 0, this ); |
39 | composeMail->addTo( toolBar ); | 39 | composeMail->addTo( toolBar ); |
40 | composeMail->addTo( mailMenu ); | 40 | composeMail->addTo( mailMenu ); |
41 | 41 | ||
42 | sendQueued = new QAction( tr( "Send queued mails" ), SmallIcon("sendqueued") , | 42 | sendQueued = new QAction( tr( "Send queued mails" ), SmallIcon("sendqueued") , |
43 | 0, 0, this ); | 43 | 0, 0, this ); |
44 | sendQueued->addTo( toolBar ); | 44 | sendQueued->addTo( toolBar ); |
45 | sendQueued->addTo( mailMenu ); | 45 | sendQueued->addTo( mailMenu ); |
46 | 46 | ||
47 | /* | 47 | /* |
48 | syncFolders = new QAction( tr( "Sync mailfolders" ), ICON_SYNC, | 48 | syncFolders = new QAction( tr( "Sync mailfolders" ), ICON_SYNC, |
49 | 0, 0, this ); | 49 | 0, 0, this ); |
50 | syncFolders->addTo( toolBar ); | 50 | syncFolders->addTo( toolBar ); |
51 | syncFolders->addTo( mailMenu ); | 51 | syncFolders->addTo( mailMenu ); |
52 | */ | 52 | */ |
53 | 53 | ||
54 | showFolders = new QAction( tr( "Show/Hide folders" ), SmallIcon("showfolders") , | 54 | showFolders = new QAction( tr( "Show/Hide folders" ), SmallIcon("showfolders") , |
55 | 0, 0, this, 0, true ); | 55 | 0, 0, this, 0, true ); |
56 | showFolders->addTo( toolBar ); | 56 | showFolders->addTo( toolBar ); |
57 | showFolders->addTo( mailMenu ); | 57 | showFolders->addTo( mailMenu ); |
58 | showFolders->setOn( true ); | 58 | showFolders->setOn( true ); |
59 | connect(showFolders, SIGNAL( toggled(bool) ), | 59 | connect(showFolders, SIGNAL( toggled(bool) ), |
60 | SLOT( slotShowFolders(bool) ) ); | 60 | SLOT( slotShowFolders(bool) ) ); |
61 | 61 | ||
62 | /* | 62 | /* |
63 | searchMails = new QAction( tr( "Search mails" ), SmallIcon("find") ), | 63 | searchMails = new QAction( tr( "Search mails" ), SmallIcon("find") ), |
64 | 0, 0, this ); | 64 | 0, 0, this ); |
65 | searchMails->addTo( toolBar ); | 65 | searchMails->addTo( toolBar ); |
66 | searchMails->addTo( mailMenu ); | 66 | searchMails->addTo( mailMenu ); |
67 | */ | 67 | */ |
68 | 68 | ||
69 | deleteMails = new QAction(tr("Delete Mail"), SmallIcon("trash"), 0, 0, this); | 69 | deleteMails = new QAction(tr("Delete Mail"), SmallIcon("trash"), 0, 0, this); |
70 | deleteMails->addTo( toolBar ); | 70 | deleteMails->addTo( toolBar ); |
71 | deleteMails->addTo( mailMenu ); | 71 | deleteMails->addTo( mailMenu ); |
72 | connect( deleteMails, SIGNAL( activated() ), | 72 | connect( deleteMails, SIGNAL( activated() ), |
73 | SLOT( slotDeleteMail() ) ); | 73 | SLOT( slotDeleteMail() ) ); |
74 | 74 | ||
75 | editSettings = new QAction( tr( "Edit settings" ), SmallIcon("SettingsIcon") , | 75 | editSettings = new QAction( tr( "Edit settings" ), SmallIcon("SettingsIcon") , |
76 | 0, 0, this ); | 76 | 0, 0, this ); |
77 | editSettings->addTo( settingsMenu ); | 77 | editSettings->addTo( settingsMenu ); |
78 | connect( editSettings, SIGNAL( activated() ), | 78 | connect( editSettings, SIGNAL( activated() ), |
79 | SLOT( slotEditSettings() ) ); | 79 | SLOT( slotEditSettings() ) ); |
80 | editAccounts = new QAction( tr( "Configure accounts" ), SmallIcon("editaccounts") , | 80 | editAccounts = new QAction( tr( "Configure accounts" ), SmallIcon("editaccounts") , |
81 | 0, 0, this ); | 81 | 0, 0, this ); |
82 | editAccounts->addTo( settingsMenu ); | 82 | editAccounts->addTo( settingsMenu ); |
83 | 83 | ||
84 | //setCentralWidget( view ); | 84 | //setCentralWidget( view ); |
85 | 85 | ||
86 | QVBox* wrapperBox = new QVBox( this ); | 86 | QVBox* wrapperBox = new QVBox( this ); |
87 | setCentralWidget( wrapperBox ); | 87 | setCentralWidget( wrapperBox ); |
88 | 88 | ||
89 | // QWidget *view = new QWidget( wrapperBox ); | 89 | // QWidget *view = new QWidget( wrapperBox ); |
90 | KDGanttMinimizeSplitter* split = new KDGanttMinimizeSplitter( Qt::Horizontal, wrapperBox); | 90 | KDGanttMinimizeSplitter* split = new KDGanttMinimizeSplitter( Qt::Horizontal, wrapperBox); |
91 | split->setMinimizeDirection( KDGanttMinimizeSplitter::Left); | 91 | split->setMinimizeDirection( KDGanttMinimizeSplitter::Left); |
92 | //layout = new QBoxLayout ( split, QBoxLayout::LeftToRight ); | 92 | //layout = new QBoxLayout ( split, QBoxLayout::LeftToRight ); |
93 | 93 | ||
94 | folderView = new AccountView( split ); | 94 | folderView = new AccountView( split ); |
95 | folderView->header()->hide(); | 95 | folderView->header()->hide(); |
96 | folderView->setRootIsDecorated( false ); | 96 | folderView->setRootIsDecorated( false ); |
97 | folderView->addColumn( tr( "Mailbox" ) ); | 97 | folderView->addColumn( tr( "Mailbox" ) ); |
98 | 98 | ||
99 | //layout->addWidget( folderView ); | 99 | //layout->addWidget( folderView ); |
100 | 100 | ||
101 | mailView = new QListView( split ); | 101 | mailView = new QListView( split ); |
102 | mailView->addColumn( tr( " " ) ); | 102 | mailView->addColumn( tr( " " ) ); |
103 | mailView->addColumn( tr( "Subject" ),QListView::Manual ); | 103 | mailView->addColumn( tr( "Subject" ),QListView::Manual ); |
104 | mailView->addColumn( tr( "Sender" ),QListView::Manual ); | 104 | mailView->addColumn( tr( "Sender" ),QListView::Manual ); |
105 | mailView->addColumn( tr( "Size" ),QListView::Manual); | 105 | mailView->addColumn( tr( "Size" ),QListView::Manual); |
106 | mailView->addColumn( tr( "Date" ),QListView::Manual); | 106 | mailView->addColumn( tr( "Date" ),QListView::Manual); |
107 | mailView->setAllColumnsShowFocus(true); | 107 | mailView->setAllColumnsShowFocus(true); |
108 | //mailView->setSorting(-1); | 108 | //mailView->setSorting(-1); |
109 | mailView->setRootIsDecorated( false ); | 109 | mailView->setRootIsDecorated( false ); |
110 | statusWidget = new StatusWidget( wrapperBox ); | 110 | statusWidget = new StatusWidget( wrapperBox ); |
111 | statusWidget->hide(); | 111 | statusWidget->hide(); |
112 | 112 | ||
113 | //layout->addWidget( mailView ); | 113 | //layout->addWidget( mailView ); |
114 | //layout->setStretchFactor( folderView, 1 ); | 114 | //layout->setStretchFactor( folderView, 1 ); |
115 | //layout->setStretchFactor( mailView, 2 ); | 115 | //layout->setStretchFactor( mailView, 2 ); |
116 | 116 | ||
117 | slotAdjustLayout(); | 117 | slotAdjustLayout(); |
118 | #ifndef DESKTOP_VERSION | 118 | #ifndef DESKTOP_VERSION |
119 | QPEApplication::setStylusOperation( mailView->viewport(),QPEApplication::RightOnHold); | 119 | QPEApplication::setStylusOperation( mailView->viewport(),QPEApplication::RightOnHold); |
120 | QPEApplication::setStylusOperation( folderView->viewport(),QPEApplication::RightOnHold); | 120 | QPEApplication::setStylusOperation( folderView->viewport(),QPEApplication::RightOnHold); |
121 | #endif | 121 | #endif |
122 | connect( mailView, SIGNAL( doubleClicked (QListViewItem* )),this, | 122 | connect( mailView, SIGNAL( doubleClicked (QListViewItem* )),this, |
123 | SLOT( mailLeftClicked(QListViewItem*) ) ); | 123 | SLOT( mailLeftClicked(QListViewItem*) ) ); |
124 | connect( mailView, SIGNAL( returnPressed (QListViewItem* )),this, | 124 | connect( mailView, SIGNAL( returnPressed (QListViewItem* )),this, |
125 | SLOT( mailLeftClicked(QListViewItem*) ) ); | 125 | SLOT( mailLeftClicked(QListViewItem*) ) ); |
126 | connect( mailView, SIGNAL( mouseButtonPressed(int,QListViewItem*,const QPoint&,int) ),this, | 126 | connect( mailView, SIGNAL( mouseButtonPressed(int,QListViewItem*,const QPoint&,int) ),this, |
127 | SLOT( mailHold(int,QListViewItem*,const QPoint&,int) ) ); | 127 | SLOT( mailHold(int,QListViewItem*,const QPoint&,int) ) ); |
128 | connect(folderView, SIGNAL(refreshMailview(const QValueList<RecMailP>&)), | 128 | connect(folderView, SIGNAL(refreshMailview(const QValueList<RecMailP>&)), |
129 | this,SLOT(refreshMailView(const QValueList<RecMailP>&))); | 129 | this,SLOT(refreshMailView(const QValueList<RecMailP>&))); |
130 | connect( composeMail, SIGNAL( activated() ), SLOT( slotComposeMail() ) ); | 130 | connect( composeMail, SIGNAL( activated() ), SLOT( slotComposeMail() ) ); |
131 | connect( sendQueued, SIGNAL( activated() ), SLOT( slotSendQueued() ) ); | 131 | connect( sendQueued, SIGNAL( activated() ), SLOT( slotSendQueued() ) ); |
132 | // connect( searchMails, SIGNAL( activated() ), SLOT( slotSearchMails() ) ); | 132 | // connect( searchMails, SIGNAL( activated() ), SLOT( slotSearchMails() ) ); |
133 | connect( editAccounts, SIGNAL( activated() ), SLOT( slotEditAccounts() ) ); | 133 | connect( editAccounts, SIGNAL( activated() ), SLOT( slotEditAccounts() ) ); |
134 | //mailView->setMultiSelection ( true ); | 134 | //mailView->setMultiSelection ( true ); |
135 | mailView->setSelectionMode( QListView::Extended ); | 135 | mailView->setSelectionMode( QListView::Extended ); |
136 | QValueList<int> list; | 136 | QValueList<int> list; |
137 | int fw = 100; | 137 | int fw = 100; |
138 | if ( QApplication::desktop()->width() > 320 ) | 138 | if ( QApplication::desktop()->width() > 320 ) |
139 | fw = 50; | 139 | fw = 50; |
140 | list.append( fw ); | 140 | list.append( fw ); |
141 | list.append( 100 ); | 141 | list.append( 100 ); |
142 | split->setSizes( list ); | 142 | split->setSizes( list ); |
143 | QTimer::singleShot( 1000, this, SLOT( slotAdjustColumns() ) ); | 143 | QTimer::singleShot( 1000, this, SLOT( slotAdjustColumns() ) ); |
144 | mailView->setShowSortIndicator ( true ); | 144 | mailView->setShowSortIndicator ( true ); |
145 | QLabel *spacer = new QLabel( toolBar ); | 145 | QLabel *spacer = new QLabel( toolBar ); |
146 | spacer->setBackgroundMode( QWidget::PaletteButton ); | 146 | spacer->setBackgroundMode( QWidget::PaletteButton ); |
147 | toolBar->setStretchableWidget( spacer ); | 147 | toolBar->setStretchableWidget( spacer ); |
148 | 148 | ||
149 | QAction* closeMail = new QAction(tr("Close"),SmallIcon("exit"), 0, 0, this); | 149 | QAction* closeMail = new QAction(tr("Close"),SmallIcon("exit"), 0, 0, this); |
150 | connect( closeMail, SIGNAL( activated() ), SLOT( close() ) ); | 150 | connect( closeMail, SIGNAL( activated() ), SLOT( close() ) ); |
151 | closeMail->addTo(toolBar); | 151 | closeMail->addTo(toolBar); |
152 | closeMail->addTo(mailMenu); | 152 | closeMail->addTo(mailMenu); |
153 | } | 153 | } |
154 | 154 | ||
155 | MainWindow::~MainWindow() | 155 | MainWindow::~MainWindow() |
156 | { | 156 | { |
157 | } | 157 | } |
158 | 158 | ||
159 | void MainWindow::appMessage(const QCString &, const QByteArray &) | 159 | void MainWindow::appMessage(const QCString &, const QByteArray &) |
160 | { | 160 | { |
161 | qDebug("appMessage implemented by subclass"); | 161 | qDebug("appMessage implemented by subclass"); |
162 | } | 162 | } |
163 | 163 | ||
164 | void MainWindow::slotAdjustLayout() { | 164 | void MainWindow::slotAdjustLayout() { |
165 | 165 | ||
166 | /* | 166 | /* |
167 | QWidget *d = QApplication::desktop(); | 167 | QWidget *d = QApplication::desktop(); |
168 | 168 | ||
169 | if ( d->width() < d->height() ) { | 169 | if ( d->width() < d->height() ) { |
170 | layout->setDirection( QBoxLayout::TopToBottom ); | 170 | layout->setDirection( QBoxLayout::TopToBottom ); |
171 | } else { | 171 | } else { |
172 | layout->setDirection( QBoxLayout::LeftToRight ); | 172 | layout->setDirection( QBoxLayout::LeftToRight ); |
173 | } | 173 | } |
174 | */ | 174 | */ |
175 | } | 175 | } |
176 | 176 | ||
177 | void MainWindow::slotAdjustColumns() | 177 | void MainWindow::slotAdjustColumns() |
178 | { | 178 | { |
179 | bool hidden = folderView->isHidden(); | 179 | bool hidden = folderView->isHidden(); |
180 | if ( hidden ) folderView->show(); | 180 | if ( hidden ) folderView->show(); |
181 | folderView->setColumnWidth( 0, folderView->visibleWidth() ); | 181 | folderView->setColumnWidth( 0, folderView->visibleWidth() ); |
182 | if ( hidden ) folderView->hide(); | 182 | if ( hidden ) folderView->hide(); |
183 | 183 | ||
184 | mailView->setColumnWidth( 0, 10 ); | 184 | mailView->setColumnWidth( 0, 10 ); |
185 | mailView->setColumnWidth( 1, 100 ); | 185 | mailView->setColumnWidth( 1, 100 ); |
186 | mailView->setColumnWidth( 2, 100 ); | 186 | mailView->setColumnWidth( 2, 100 ); |
187 | mailView->setColumnWidth( 3, 50 ); | 187 | mailView->setColumnWidth( 3, 50 ); |
188 | mailView->setColumnWidth( 4, 120 ); | 188 | mailView->setColumnWidth( 4, 120 ); |
189 | } | 189 | } |
190 | 190 | ||
191 | void MainWindow::slotEditSettings() | 191 | void MainWindow::slotEditSettings() |
192 | { | 192 | { |
193 | } | 193 | } |
194 | 194 | ||
195 | void MainWindow::slotShowFolders( bool ) | 195 | void MainWindow::slotShowFolders( bool ) |
196 | { | 196 | { |
197 | qDebug("not implemented: "); | 197 | qDebug("not implemented: "); |
198 | } | 198 | } |
199 | 199 | ||
200 | void MainWindow::refreshMailView(const QValueList<RecMailP>&) | 200 | void MainWindow::refreshMailView(const QValueList<RecMailP>&) |
201 | { | 201 | { |
202 | qDebug("not implemented: "); | 202 | qDebug("not implemented: "); |
203 | } | 203 | } |
204 | 204 | ||
205 | void MainWindow::mailLeftClicked(QListViewItem * ) | 205 | void MainWindow::mailLeftClicked(QListViewItem * ) |
206 | { | 206 | { |
207 | qDebug("not implemented: "); | 207 | qDebug("not implemented: "); |
208 | } | 208 | } |
209 | 209 | ||
210 | void MainWindow::displayMail() | 210 | void MainWindow::displayMail() |
211 | { | 211 | { |
212 | qDebug("not implemented: "); | 212 | qDebug("not implemented: "); |
213 | } | 213 | } |
214 | 214 | ||
215 | void MainWindow::slotDeleteMail() | 215 | void MainWindow::slotDeleteMail() |
216 | { | 216 | { |
217 | qDebug("not implemented: "); | 217 | qDebug("not implemented: "); |
218 | } | 218 | } |
219 | 219 | ||
220 | void MainWindow::mailHold(int, QListViewItem *,const QPoint&,int ) | 220 | void MainWindow::mailHold(int, QListViewItem *,const QPoint&,int ) |
221 | { | 221 | { |
222 | qDebug("not implemented: "); | 222 | qDebug("not implemented: "); |
223 | } | 223 | } |
224 | 224 | ||
225 | void MainWindow::slotSendQueued() | 225 | void MainWindow::slotSendQueued() |
226 | { | 226 | { |
227 | qDebug("not implemented: "); | 227 | qDebug("not implemented: "); |
228 | } | 228 | } |
229 | 229 | ||
230 | void MainWindow::slotEditAccounts() | 230 | void MainWindow::slotEditAccounts() |
231 | { | 231 | { |
232 | qDebug("not implemented: "); | 232 | qDebug("not implemented: "); |
233 | } | 233 | } |
234 | 234 | ||
235 | void MainWindow::slotComposeMail() | 235 | void MainWindow::slotComposeMail() |
236 | { | 236 | { |
237 | qDebug("not implemented: "); | 237 | qDebug("not implemented: "); |
238 | } | 238 | } |