|
@@ -22,8 +22,8 @@
|
22
|
22
|
|
23
|
23
|
package com.dmdirc.commandparser.commands.context;
|
24
|
24
|
|
25
|
|
-import com.dmdirc.Query;
|
26
|
25
|
import com.dmdirc.commandparser.CommandInfo;
|
|
26
|
+import com.dmdirc.interfaces.PrivateChat;
|
27
|
27
|
import com.dmdirc.interfaces.WindowModel;
|
28
|
28
|
|
29
|
29
|
/**
|
|
@@ -34,7 +34,7 @@ import com.dmdirc.interfaces.WindowModel;
|
34
|
34
|
public class QueryCommandContext extends ChatCommandContext {
|
35
|
35
|
|
36
|
36
|
/** The query the command was executed for. */
|
37
|
|
- private final Query query;
|
|
37
|
+ private final PrivateChat query;
|
38
|
38
|
|
39
|
39
|
/**
|
40
|
40
|
* Creates a new query command context.
|
|
@@ -44,7 +44,7 @@ public class QueryCommandContext extends ChatCommandContext {
|
44
|
44
|
* @param query The query associated with the command
|
45
|
45
|
*/
|
46
|
46
|
public QueryCommandContext(final WindowModel source,
|
47
|
|
- final CommandInfo commandInfo, final Query query) {
|
|
47
|
+ final CommandInfo commandInfo, final PrivateChat query) {
|
48
|
48
|
super(source, commandInfo, query);
|
49
|
49
|
this.query = query;
|
50
|
50
|
}
|
|
@@ -54,7 +54,7 @@ public class QueryCommandContext extends ChatCommandContext {
|
54
|
54
|
*
|
55
|
55
|
* @return This context's query
|
56
|
56
|
*/
|
57
|
|
- public Query getQuery() {
|
|
57
|
+ public PrivateChat getQuery() {
|
58
|
58
|
return query;
|
59
|
59
|
}
|
60
|
60
|
|