summaryrefslogtreecommitdiffstats
path: root/examples/imapresource/imapserverproxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/imapresource/imapserverproxy.h')
-rw-r--r--examples/imapresource/imapserverproxy.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/examples/imapresource/imapserverproxy.h b/examples/imapresource/imapserverproxy.h
index 22527c0..fa2d022 100644
--- a/examples/imapresource/imapserverproxy.h
+++ b/examples/imapresource/imapserverproxy.h
@@ -72,16 +72,7 @@ struct Folder {
72 { 72 {
73 } 73 }
74 74
75 QString normalizedPath() const
76 {
77 return path('/');
78 }
79 75
80 QString path(const QChar &s) const
81 {
82 Q_ASSERT(!s.isNull());
83 return pathParts.join(s);
84 }
85 76
86 QString path() const 77 QString path() const
87 { 78 {
@@ -97,13 +88,6 @@ struct Folder {
97 return parts.join(mSeparator); 88 return parts.join(mSeparator);
98 } 89 }
99 90
100 QString normalizedParentPath() const
101 {
102 Q_ASSERT(!pathParts.isEmpty());
103 auto parts = pathParts;
104 parts.removeLast();
105 return parts.join('/');
106 }
107 91
108 QString name() const 92 QString name() const
109 { 93 {