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
K
KDE Pim
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
Unmaintained
KDE Pim
Commits
bd8b7a37
Commit
bd8b7a37
authored
Dec 30, 2014
by
Christian Mollekopf
Committed by
Sandro Knauß
May 04, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable unsupported views.
(cherry picked from commit 222c8ecf6074a339cf6b95e20e15b9571da9265d)
parent
e0b9e2d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
24 deletions
+24
-24
korganizer/actionmanager.cpp
korganizer/actionmanager.cpp
+24
-24
No files found.
korganizer/actionmanager.cpp
View file @
bd8b7a37
...
...
@@ -384,30 +384,30 @@ void ActionManager::initActions()
connect
(
action
,
SIGNAL
(
triggered
(
bool
)),
mCalendarView
->
viewManager
(),
SLOT
(
showAgendaView
())
);
action
=
new
KAction
(
KIcon
(
QLatin1String
(
"view-calendar-list"
)
),
i18n
(
"&Event List"
),
this
);
mACollection
->
addAction
(
QLatin1String
(
"view_list"
),
action
);
connect
(
action
,
SIGNAL
(
triggered
(
bool
)),
mCalendarView
->
viewManager
(),
SLOT
(
showListView
())
);
action
=
new
KAction
(
KIcon
(
QLatin1String
(
"view-calendar-tasks"
)
),
i18n
(
"&To-do List"
),
this
);
mACollection
->
addAction
(
QLatin1String
(
"view_todo"
),
action
);
connect
(
action
,
SIGNAL
(
triggered
(
bool
)),
mCalendarView
->
viewManager
(),
SLOT
(
showTodoView
())
);
action
=
new
KAction
(
KIcon
(
QLatin1String
(
"view-calendar-journal"
)),
i18n
(
"&Journal"
),
this
);
mACollection
->
addAction
(
QLatin1String
(
"view_journal"
),
action
);
connect
(
action
,
SIGNAL
(
triggered
(
bool
)),
mCalendarView
->
viewManager
(),
SLOT
(
showJournalView
())
);
action
=
new
KAction
(
KIcon
(
QLatin1String
(
"view-calendar-timeline"
)
),
i18n
(
"Time&line"
),
this
);
mACollection
->
addAction
(
QLatin1String
(
"view_timeline"
),
action
);
connect
(
action
,
SIGNAL
(
triggered
(
bool
)),
mCalendarView
->
viewManager
(),
SLOT
(
showTimeLineView
())
);
action
=
new
KAction
(
KIcon
(
QLatin1String
(
"view-calendar-time-spent"
)
),
i18n
(
"Time&spent"
),
this
);
mACollection
->
addAction
(
QLatin1String
(
"view_timespent"
),
action
);
connect
(
action
,
SIGNAL
(
triggered
(
bool
)),
mCalendarView
->
viewManager
(),
SLOT
(
showTimeSpentView
())
);
//
action = new KAction( KIcon( QLatin1String("view-calendar-list") ), i18n( "&Event List" ), this );
//
mACollection->addAction( QLatin1String("view_list"), action );
//
connect( action, SIGNAL(triggered(bool)), mCalendarView->viewManager(),
//
SLOT(showListView()) );
//
action = new KAction( KIcon( QLatin1String("view-calendar-tasks") ), i18n( "&To-do List" ), this );
//
mACollection->addAction( QLatin1String("view_todo"), action );
//
connect( action, SIGNAL(triggered(bool)), mCalendarView->viewManager(),
//
SLOT(showTodoView()) );
//
action = new KAction( KIcon( QLatin1String("view-calendar-journal" )), i18n( "&Journal" ), this );
//
mACollection->addAction( QLatin1String("view_journal"), action );
//
connect( action, SIGNAL(triggered(bool)), mCalendarView->viewManager(),
//
SLOT(showJournalView()) );
//
action = new KAction( KIcon( QLatin1String("view-calendar-timeline") ), i18n( "Time&line" ), this );
//
mACollection->addAction( QLatin1String("view_timeline"), action );
//
connect( action, SIGNAL(triggered(bool)), mCalendarView->viewManager(),
//
SLOT(showTimeLineView()) );
//
action = new KAction( KIcon( QLatin1String("view-calendar-time-spent") ), i18n( "Time&spent" ), this );
//
mACollection->addAction( QLatin1String("view_timespent"), action );
//
connect( action, SIGNAL(triggered(bool)), mCalendarView->viewManager(),
//
SLOT(showTimeSpentView()) );
//~~~~~~~~~~~~~~~~~~~~~~~~~~~ REFRESH ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
action
=
new
KAction
(
i18n
(
"&Refresh"
),
this
);
...
...
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