Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Akonadi Contacts
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PIM
Akonadi Contacts
Commits
69a1f6bd
Commit
69a1f6bd
authored
Jun 20, 2017
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename akonadicontactcombobox
parent
2ff3ef85
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
19 additions
and
19 deletions
+19
-19
src/contact-editor/CMakeLists.txt
src/contact-editor/CMakeLists.txt
+1
-1
src/contact-editor/editor/generalinfoeditor/contactselecttypecombobox.cpp
...or/editor/generalinfoeditor/contactselecttypecombobox.cpp
+1
-1
src/contact-editor/editor/generalinfoeditor/contactselecttypecombobox.h
...itor/editor/generalinfoeditor/contactselecttypecombobox.h
+2
-2
src/contact-editor/editor/generalinfoeditor/messaging/messagingwidget.cpp
...or/editor/generalinfoeditor/messaging/messagingwidget.cpp
+2
-2
src/contact-editor/editor/generalinfoeditor/messaging/messagingwidget.h
...itor/editor/generalinfoeditor/messaging/messagingwidget.h
+2
-2
src/contact-editor/editor/generalinfoeditor/phone/phonecomboboxtype.cpp
...itor/editor/generalinfoeditor/phone/phonecomboboxtype.cpp
+1
-1
src/contact-editor/editor/generalinfoeditor/phone/phonecomboboxtype.h
...editor/editor/generalinfoeditor/phone/phonecomboboxtype.h
+2
-2
src/contact-editor/editor/generalinfoeditor/tests/CMakeLists.txt
...tact-editor/editor/generalinfoeditor/tests/CMakeLists.txt
+1
-1
src/contact-editor/editor/widgets/contacteditorcombobox.cpp
src/contact-editor/editor/widgets/contacteditorcombobox.cpp
+4
-4
src/contact-editor/editor/widgets/contacteditorcombobox.h
src/contact-editor/editor/widgets/contacteditorcombobox.h
+3
-3
No files found.
src/contact-editor/CMakeLists.txt
View file @
69a1f6bd
...
...
@@ -45,7 +45,7 @@ set(contacteditor_editor_utils_SRCS
set
(
contacteditor_editor_widgets_SRCS
editor/widgets/kwidgetlister.cpp
editor/widgets/
akonadicontact
combobox.cpp
editor/widgets/
contacteditor
combobox.cpp
)
set
(
contacteditor_editor_generalinfo_phone_SRCS
...
...
src/contact-editor/editor/generalinfoeditor/contactselecttypecombobox.cpp
View file @
69a1f6bd
...
...
@@ -25,7 +25,7 @@
using
namespace
ContactEditor
;
ContactSelectTypeCombobox
::
ContactSelectTypeCombobox
(
QWidget
*
parent
)
:
ContactEditor
::
AkonadiContact
ComboBox
(
parent
)
:
ContactEditor
::
ContactEditor
ComboBox
(
parent
)
{
initialize
();
}
...
...
src/contact-editor/editor/generalinfoeditor/contactselecttypecombobox.h
View file @
69a1f6bd
...
...
@@ -22,12 +22,12 @@
#ifndef ContactSelectTypeCombobox_H
#define ContactSelectTypeCombobox_H
#include "../widgets/
akonadicontact
combobox.h"
#include "../widgets/
contacteditor
combobox.h"
#include "contacteditor_private_export.h"
namespace
ContactEditor
{
class
CONTACTEDITOR_TESTS_EXPORT
ContactSelectTypeCombobox
:
public
ContactEditor
::
AkonadiContact
ComboBox
class
CONTACTEDITOR_TESTS_EXPORT
ContactSelectTypeCombobox
:
public
ContactEditor
::
ContactEditor
ComboBox
{
Q_OBJECT
public:
...
...
src/contact-editor/editor/generalinfoeditor/messaging/messagingwidget.cpp
View file @
69a1f6bd
...
...
@@ -22,7 +22,7 @@
#include "messagingwidget.h"
#include "../../im/improtocols.h"
#include "../../widgets/
akonadicontact
combobox.h"
#include "../../widgets/
contacteditor
combobox.h"
#include <QComboBox>
#include <KLocalizedString>
#include <QHBoxLayout>
...
...
@@ -45,7 +45,7 @@ MessagingWidget::MessagingWidget(QWidget *parent)
connect
(
mMessagingEdit
,
&
PreferredLineEditWidget
::
preferredChanged
,
this
,
&
MessagingWidget
::
slotPreferredChanged
);
layout
->
addWidget
(
mMessagingEdit
);
mProtocolCombo
=
new
ContactEditor
::
AkonadiContact
ComboBox
(
this
);
mProtocolCombo
=
new
ContactEditor
::
ContactEditor
ComboBox
(
this
);
mProtocolCombo
->
setObjectName
(
QStringLiteral
(
"protocol"
));
mProtocolCombo
->
addItem
(
i18nc
(
"@item:inlistbox select from a list of IM protocols"
,
"Select..."
));
...
...
src/contact-editor/editor/generalinfoeditor/messaging/messagingwidget.h
View file @
69a1f6bd
...
...
@@ -31,7 +31,7 @@ class QToolButton;
namespace
ContactEditor
{
class
PreferredLineEditWidget
;
class
AkonadiContact
ComboBox
;
class
ContactEditor
ComboBox
;
class
CONTACTEDITOR_TESTS_EXPORT
MessagingWidget
:
public
QWidget
{
Q_OBJECT
...
...
@@ -57,7 +57,7 @@ private:
PreferredLineEditWidget
*
mMessagingEdit
;
QToolButton
*
mAddButton
;
QToolButton
*
mRemoveButton
;
ContactEditor
::
AkonadiContact
ComboBox
*
mProtocolCombo
;
ContactEditor
::
ContactEditor
ComboBox
*
mProtocolCombo
;
};
}
#endif // MESSAGINGWIDGET_H
src/contact-editor/editor/generalinfoeditor/phone/phonecomboboxtype.cpp
View file @
69a1f6bd
...
...
@@ -28,7 +28,7 @@
using
namespace
ContactEditor
;
PhoneComboBoxType
::
PhoneComboBoxType
(
QWidget
*
parent
)
:
ContactEditor
::
AkonadiContact
ComboBox
(
parent
)
:
ContactEditor
::
ContactEditor
ComboBox
(
parent
)
,
mType
(
KContacts
::
PhoneNumber
::
Home
)
,
mLastSelected
(
0
)
{
...
...
src/contact-editor/editor/generalinfoeditor/phone/phonecomboboxtype.h
View file @
69a1f6bd
...
...
@@ -23,7 +23,7 @@
#ifndef PHONECOMBOBOXTYPE_H
#define PHONECOMBOBOXTYPE_H
#include <editor/widgets/
akonadicontact
combobox.h>
#include <editor/widgets/
contacteditor
combobox.h>
#include <kcontacts/addressee.h>
#include "contacteditor_private_export.h"
namespace
ContactEditor
...
...
@@ -31,7 +31,7 @@ namespace ContactEditor
/**
* @short A combobox to select a phone number type.
*/
class
CONTACTEDITOR_TESTS_EXPORT
PhoneComboBoxType
:
public
ContactEditor
::
AkonadiContact
ComboBox
class
CONTACTEDITOR_TESTS_EXPORT
PhoneComboBoxType
:
public
ContactEditor
::
ContactEditor
ComboBox
{
Q_OBJECT
...
...
src/contact-editor/editor/generalinfoeditor/tests/CMakeLists.txt
View file @
69a1f6bd
...
...
@@ -22,7 +22,7 @@ set(generalinfoeditor_SRCS
../../utils/utils.cpp
../categorieseditwidget.cpp
../nameeditdialog.cpp
../../widgets/
akonadicontact
combobox.cpp
../../widgets/
contacteditor
combobox.cpp
../../widgets/preferredlineeditwidget.cpp
../phone/phonetypedialog.cpp
../displaynameeditwidget.cpp
...
...
src/contact-editor/editor/widgets/
akonadicontact
combobox.cpp
→
src/contact-editor/editor/widgets/
contacteditor
combobox.cpp
View file @
69a1f6bd
...
...
@@ -19,22 +19,22 @@
02110-1301, USA.
*/
#include "
akonadicontact
combobox.h"
#include "
contacteditor
combobox.h"
using
namespace
ContactEditor
;
AkonadiContactComboBox
::
AkonadiContact
ComboBox
(
QWidget
*
parent
)
ContactEditorComboBox
::
ContactEditor
ComboBox
(
QWidget
*
parent
)
:
QComboBox
(
parent
)
{
setSizeAdjustPolicy
(
QComboBox
::
AdjustToMinimumContentsLength
);
}
AkonadiContactComboBox
::~
AkonadiContact
ComboBox
()
ContactEditorComboBox
::~
ContactEditor
ComboBox
()
{
}
QSize
AkonadiContact
ComboBox
::
minimumSizeHint
()
const
QSize
ContactEditor
ComboBox
::
minimumSizeHint
()
const
{
return
QSize
(
150
,
QComboBox
::
minimumSizeHint
().
height
());
}
src/contact-editor/editor/widgets/
akonadicontact
combobox.h
→
src/contact-editor/editor/widgets/
contacteditor
combobox.h
View file @
69a1f6bd
...
...
@@ -26,12 +26,12 @@
#include "contacteditor_private_export.h"
namespace
ContactEditor
{
class
CONTACTEDITOR_TESTS_EXPORT
AkonadiContact
ComboBox
:
public
QComboBox
class
CONTACTEDITOR_TESTS_EXPORT
ContactEditor
ComboBox
:
public
QComboBox
{
Q_OBJECT
public:
explicit
AkonadiContact
ComboBox
(
QWidget
*
parent
=
nullptr
);
~
AkonadiContact
ComboBox
();
explicit
ContactEditor
ComboBox
(
QWidget
*
parent
=
nullptr
);
~
ContactEditor
ComboBox
();
protected:
QSize
minimumSizeHint
()
const
override
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment