summaryrefslogtreecommitdiffstats
path: root/examples/imapresource/imapserverproxy.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-01-07 18:58:19 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-01-07 18:58:19 +0100
commit4603487f087fc9d15b3919d55d651e434fa3cc6a (patch)
tree4f834646f9b5cee686ebc60ab74d845b29277e40 /examples/imapresource/imapserverproxy.h
parent3aab8be81f96e8a32a1edc09b836e6c0264d39e7 (diff)
downloadsink-4603487f087fc9d15b3919d55d651e434fa3cc6a.tar.gz
sink-4603487f087fc9d15b3919d55d651e434fa3cc6a.zip
No more normalizedPath
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 {